From aba81a91aa86463f881fca4f52f2d597dedeab47 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Wed, 16 Nov 2022 21:16:40 +0000 Subject: [PATCH 1/2] feat: Add files field to finding's list of attributes PiperOrigin-RevId: 488290111 Source-Link: https://github.com/googleapis/googleapis/commit/7349e1cd02f5b40058f457387f604357dc871a57 Source-Link: https://github.com/googleapis/googleapis-gen/commit/721049d512deebaa96d438aa23e970299d97712b Copy-Tag: eyJwIjoiamF2YS1zZWN1cml0eWNlbnRlci8uT3dsQm90LnlhbWwiLCJoIjoiNzIxMDQ5ZDUxMmRlZWJhYTk2ZDQzOGFhMjNlOTcwMjk5ZDk3NzEyYiJ9 --- .../securitycenter/v1/SecurityCenterGrpc.java | 4634 -------------- .../v1beta1/SecurityCenterGrpc.java | 2437 -------- .../v1p1beta1/SecurityCenterGrpc.java | 3087 --------- .../cloud/securitycenter/v1/AccessProto.java | 110 - .../securitycenter/v1/AssetOuterClass.java | 166 - .../v1/BigQueryExportProto.java | 101 - .../v1/BulkMuteFindingsResponseOrBuilder.java | 24 - .../securitycenter/v1/ComplianceProto.java | 68 - .../securitycenter/v1/ConnectionProto.java | 73 - .../v1/ContactDetailsProto.java | 81 - .../securitycenter/v1/ContactOrBuilder.java | 50 - .../securitycenter/v1/ContainerProto.java | 75 - .../securitycenter/v1/DatabaseProto.java | 69 - .../DeleteBigQueryExportRequestOrBuilder.java | 60 - .../v1/DeleteMuteConfigRequestOrBuilder.java | 60 - ...eteNotificationConfigRequestOrBuilder.java | 56 - .../securitycenter/v1/ExfiltrationProto.java | 84 - .../v1/ExternalSystemProto.java | 91 - .../cloud/securitycenter/v1/FileProto.java | 69 - .../securitycenter/v1/FindingOuterClass.java | 267 - .../cloud/securitycenter/v1/FolderProto.java | 68 - .../v1/GeolocationOrBuilder.java | 50 - .../v1/GetBigQueryExportRequestOrBuilder.java | 60 - .../v1/GetMuteConfigRequestOrBuilder.java | 60 - ...GetNotificationConfigRequestOrBuilder.java | 56 - ...tOrganizationSettingsRequestOrBuilder.java | 56 - .../v1/GetSourceRequestOrBuilder.java | 56 - .../securitycenter/v1/IamBindingProto.java | 71 - .../securitycenter/v1/IndicatorProto.java | 137 - .../securitycenter/v1/KubernetesProto.java | 207 - .../cloud/securitycenter/v1/LabelProto.java | 67 - .../securitycenter/v1/MitreAttackProto.java | 111 - .../securitycenter/v1/MuteConfigProto.java | 100 - .../v1/NotificationConfigProto.java | 117 - .../v1/NotificationMessageProto.java | 80 - .../v1/OrganizationSettingsOuterClass.java | 104 - .../cloud/securitycenter/v1/ProcessProto.java | 103 - .../securitycenter/v1/ResourceProto.java | 92 - .../v1/RunAssetDiscoveryRequestOrBuilder.java | 56 - .../RunAssetDiscoveryResponseOuterClass.java | 77 - .../v1/SecurityMarksOuterClass.java | 105 - .../v1/SecuritycenterService.java | 1188 ---- .../v1/SetMuteRequestOrBuilder.java | 93 - .../securitycenter/v1/SourceOuterClass.java | 82 - .../securitycenter/v1/VulnerabilityProto.java | 151 - .../v1beta1/AssetOuterClass.java | 138 - .../v1beta1/FindingOuterClass.java | 127 - ...tOrganizationSettingsRequestOrBuilder.java | 56 - .../v1beta1/GetSourceRequestOrBuilder.java | 56 - .../OrganizationSettingsOuterClass.java | 101 - .../RunAssetDiscoveryRequestOrBuilder.java | 56 - .../RunAssetDiscoveryResponseOuterClass.java | 75 - .../v1beta1/SecurityMarksOuterClass.java | 97 - .../v1beta1/SecuritycenterService.java | 600 -- .../v1beta1/SourceOuterClass.java | 78 - .../v1p1beta1/AssetOuterClass.java | 174 - ...eteNotificationConfigRequestOrBuilder.java | 56 - .../v1p1beta1/FindingOuterClass.java | 140 - .../securitycenter/v1p1beta1/FolderProto.java | 70 - ...GetNotificationConfigRequestOrBuilder.java | 56 - ...tOrganizationSettingsRequestOrBuilder.java | 56 - .../v1p1beta1/GetSourceRequestOrBuilder.java | 56 - .../NotificationConfigOuterClass.java | 119 - .../NotificationMessageOuterClass.java | 81 - .../OrganizationSettingsOuterClass.java | 105 - .../v1p1beta1/ResourceProto.java | 86 - .../RunAssetDiscoveryRequestOrBuilder.java | 56 - .../RunAssetDiscoveryResponseOuterClass.java | 79 - .../v1p1beta1/SecurityMarksOuterClass.java | 106 - .../v1p1beta1/SecuritycenterService.java | 845 --- .../v1p1beta1/SourceOuterClass.java | 83 - .../v1/SecurityCenterClient.java | 16 +- .../v1/SecurityCenterSettings.java | 1 + .../securitycenter/v1/gapic_metadata.json | 0 .../cloud/securitycenter/v1/package-info.java | 0 .../GrpcSecurityCenterCallableFactory.java | 0 .../v1/stub/GrpcSecurityCenterStub.java | 1 + ...HttpJsonSecurityCenterCallableFactory.java | 0 .../v1/stub/HttpJsonSecurityCenterStub.java | 1 + .../v1/stub/SecurityCenterStub.java | 0 .../v1/stub/SecurityCenterStubSettings.java | 0 .../securitycenter/v1/MockSecurityCenter.java | 0 .../v1/MockSecurityCenterImpl.java | 0 .../v1/SecurityCenterClientHttpJsonTest.java | 9 + .../v1/SecurityCenterClientTest.java | 7 + .../securitycenter/v1/SecurityCenterGrpc.java | 3397 ++++++++++ .../cloud/securitycenter/v1/Access.java | 1172 ++-- .../securitycenter/v1/AccessOrBuilder.java | 130 +- .../cloud/securitycenter/v1/AccessProto.java | 87 + .../google/cloud/securitycenter/v1/Asset.java | 2635 +++----- .../cloud/securitycenter/v1/AssetName.java | 0 .../securitycenter/v1/AssetOrBuilder.java | 122 +- .../securitycenter/v1/AssetOuterClass.java | 133 + .../securitycenter/v1/BigQueryExport.java | 978 ++- .../securitycenter/v1/BigQueryExportName.java | 0 .../v1/BigQueryExportOrBuilder.java | 106 +- .../v1/BigQueryExportProto.java | 79 + .../v1/BulkMuteFindingsRequest.java | 553 +- .../v1/BulkMuteFindingsRequestOrBuilder.java | 65 +- .../v1/BulkMuteFindingsResponse.java | 254 +- .../v1/BulkMuteFindingsResponseOrBuilder.java | 9 + .../cloud/securitycenter/v1/Compliance.java | 499 +- .../v1/ComplianceOrBuilder.java | 54 +- .../securitycenter/v1/ComplianceProto.java | 55 + .../cloud/securitycenter/v1/Connection.java | 626 +- .../v1/ConnectionOrBuilder.java | 48 +- .../securitycenter/v1/ConnectionProto.java | 60 + .../cloud/securitycenter/v1/Contact.java | 320 +- .../securitycenter/v1/ContactDetails.java | 406 +- .../v1/ContactDetailsOrBuilder.java | 36 +- .../v1/ContactDetailsProto.java | 67 + .../securitycenter/v1/ContactOrBuilder.java | 29 + .../cloud/securitycenter/v1/Container.java | 629 +- .../securitycenter/v1/ContainerOrBuilder.java | 63 +- .../securitycenter/v1/ContainerProto.java | 60 + .../v1/CreateBigQueryExportRequest.java | 582 +- .../CreateBigQueryExportRequestOrBuilder.java | 64 +- .../v1/CreateFindingRequest.java | 568 +- .../v1/CreateFindingRequestOrBuilder.java | 64 +- .../v1/CreateMuteConfigRequest.java | 565 +- .../v1/CreateMuteConfigRequestOrBuilder.java | 64 +- .../v1/CreateNotificationConfigRequest.java | 616 +- ...ateNotificationConfigRequestOrBuilder.java | 64 +- .../v1/CreateSourceRequest.java | 495 +- .../v1/CreateSourceRequestOrBuilder.java | 55 +- .../google/cloud/securitycenter/v1/Cve.java | 592 +- .../cloud/securitycenter/v1/CveOrBuilder.java | 56 +- .../cloud/securitycenter/v1/Cvssv3.java | 1256 ++-- .../securitycenter/v1/Cvssv3OrBuilder.java | 69 +- .../cloud/securitycenter/v1/Database.java | 658 +- .../securitycenter/v1/DatabaseOrBuilder.java | 72 +- .../securitycenter/v1/DatabaseProto.java | 56 + .../v1/DeleteBigQueryExportRequest.java | 375 +- .../DeleteBigQueryExportRequestOrBuilder.java | 35 + .../v1/DeleteMuteConfigRequest.java | 358 +- .../v1/DeleteMuteConfigRequestOrBuilder.java | 35 + .../v1/DeleteNotificationConfigRequest.java | 393 +- ...eteNotificationConfigRequestOrBuilder.java | 31 + .../v1/EnvironmentVariable.java | 409 +- .../v1/EnvironmentVariableOrBuilder.java | 36 +- .../securitycenter/v1/ExfilResource.java | 434 +- .../v1/ExfilResourceOrBuilder.java | 45 +- .../cloud/securitycenter/v1/Exfiltration.java | 555 +- .../v1/ExfiltrationOrBuilder.java | 54 +- .../securitycenter/v1/ExfiltrationProto.java | 70 + .../securitycenter/v1/ExternalSystem.java | 673 +- .../v1/ExternalSystemOrBuilder.java | 71 +- .../v1/ExternalSystemProto.java | 76 + .../google/cloud/securitycenter/v1/File.java | 589 +- .../securitycenter/v1/FileOrBuilder.java | 54 +- .../cloud/securitycenter/v1/FileProto.java | 56 + .../cloud/securitycenter/v1/Finding.java | 4641 ++++++-------- .../cloud/securitycenter/v1/FindingName.java | 0 .../securitycenter/v1/FindingOrBuilder.java | 508 +- .../securitycenter/v1/FindingOuterClass.java | 221 + .../cloud/securitycenter/v1/Folder.java | 402 +- .../cloud/securitycenter/v1/FolderName.java | 0 .../securitycenter/v1/FolderOrBuilder.java | 36 +- .../cloud/securitycenter/v1/FolderProto.java | 55 + .../cloud/securitycenter/v1/Geolocation.java | 320 +- .../v1/GeolocationOrBuilder.java | 29 + .../v1/GetBigQueryExportRequest.java | 358 +- .../v1/GetBigQueryExportRequestOrBuilder.java | 35 + .../v1/GetMuteConfigRequest.java | 358 +- .../v1/GetMuteConfigRequestOrBuilder.java | 35 + .../v1/GetNotificationConfigRequest.java | 378 +- ...GetNotificationConfigRequestOrBuilder.java | 31 + .../v1/GetOrganizationSettingsRequest.java | 389 +- ...tOrganizationSettingsRequestOrBuilder.java | 31 + .../securitycenter/v1/GetSourceRequest.java | 355 +- .../v1/GetSourceRequestOrBuilder.java | 31 + .../securitycenter/v1/GroupAssetsRequest.java | 796 +-- .../v1/GroupAssetsRequestOrBuilder.java | 81 +- .../v1/GroupAssetsResponse.java | 572 +- .../v1/GroupAssetsResponseOrBuilder.java | 56 +- .../v1/GroupFindingsRequest.java | 796 +-- .../v1/GroupFindingsRequestOrBuilder.java | 81 +- .../v1/GroupFindingsResponse.java | 572 +- .../v1/GroupFindingsResponseOrBuilder.java | 56 +- .../cloud/securitycenter/v1/GroupResult.java | 522 +- .../v1/GroupResultOrBuilder.java | 52 +- .../cloud/securitycenter/v1/IamBinding.java | 533 +- .../v1/IamBindingOrBuilder.java | 42 +- .../securitycenter/v1/IamBindingProto.java | 58 + .../cloud/securitycenter/v1/Indicator.java | 3381 ++++------ .../securitycenter/v1/IndicatorOrBuilder.java | 102 +- .../securitycenter/v1/IndicatorProto.java | 114 + .../cloud/securitycenter/v1/Kubernetes.java | 5509 +++++++---------- .../v1/KubernetesOrBuilder.java | 138 +- .../securitycenter/v1/KubernetesProto.java | 171 + .../google/cloud/securitycenter/v1/Label.java | 396 +- .../securitycenter/v1/LabelOrBuilder.java | 36 +- .../cloud/securitycenter/v1/LabelProto.java | 54 + .../securitycenter/v1/ListAssetsRequest.java | 870 +-- .../v1/ListAssetsRequestOrBuilder.java | 89 +- .../securitycenter/v1/ListAssetsResponse.java | 1317 ++-- .../v1/ListAssetsResponseOrBuilder.java | 80 +- .../v1/ListBigQueryExportsRequest.java | 483 +- .../ListBigQueryExportsRequestOrBuilder.java | 47 +- .../v1/ListBigQueryExportsResponse.java | 489 +- .../ListBigQueryExportsResponseOrBuilder.java | 45 +- .../v1/ListFindingsRequest.java | 873 +-- .../v1/ListFindingsRequestOrBuilder.java | 89 +- .../v1/ListFindingsResponse.java | 2744 +++----- .../v1/ListFindingsResponseOrBuilder.java | 81 +- .../v1/ListMuteConfigsRequest.java | 472 +- .../v1/ListMuteConfigsRequestOrBuilder.java | 47 +- .../v1/ListMuteConfigsResponse.java | 483 +- .../v1/ListMuteConfigsResponseOrBuilder.java | 45 +- .../v1/ListNotificationConfigsRequest.java | 503 +- ...stNotificationConfigsRequestOrBuilder.java | 47 +- .../v1/ListNotificationConfigsResponse.java | 607 +- ...tNotificationConfigsResponseOrBuilder.java | 56 +- .../securitycenter/v1/ListSourcesRequest.java | 472 +- .../v1/ListSourcesRequestOrBuilder.java | 47 +- .../v1/ListSourcesResponse.java | 486 +- .../v1/ListSourcesResponseOrBuilder.java | 45 +- .../cloud/securitycenter/v1/MitreAttack.java | 1442 ++--- .../v1/MitreAttackOrBuilder.java | 138 +- .../securitycenter/v1/MitreAttackProto.java | 95 + .../cloud/securitycenter/v1/MuteConfig.java | 933 ++- .../securitycenter/v1/MuteConfigName.java | 0 .../v1/MuteConfigOrBuilder.java | 109 +- .../securitycenter/v1/MuteConfigProto.java | 79 + .../securitycenter/v1/NotificationConfig.java | 1157 ++-- .../v1/NotificationConfigName.java | 0 .../v1/NotificationConfigOrBuilder.java | 77 +- .../v1/NotificationConfigProto.java | 94 + .../v1/NotificationMessage.java | 544 +- .../v1/NotificationMessageOrBuilder.java | 43 +- .../v1/NotificationMessageProto.java | 65 + .../securitycenter/v1/OrganizationName.java | 0 .../v1/OrganizationSettings.java | 1320 ++-- .../v1/OrganizationSettingsName.java | 0 .../v1/OrganizationSettingsOrBuilder.java | 56 +- .../v1/OrganizationSettingsOuterClass.java | 86 + .../cloud/securitycenter/v1/Process.java | 1059 ++-- .../securitycenter/v1/ProcessOrBuilder.java | 106 +- .../cloud/securitycenter/v1/ProcessProto.java | 78 + .../cloud/securitycenter/v1/ProjectName.java | 0 .../cloud/securitycenter/v1/Reference.java | 399 +- .../securitycenter/v1/ReferenceOrBuilder.java | 36 +- .../cloud/securitycenter/v1/Resource.java | 1046 ++-- .../securitycenter/v1/ResourceOrBuilder.java | 119 +- .../securitycenter/v1/ResourceProto.java | 70 + .../v1/RunAssetDiscoveryRequest.java | 358 +- .../v1/RunAssetDiscoveryRequestOrBuilder.java | 31 + .../v1/RunAssetDiscoveryResponse.java | 485 +- .../RunAssetDiscoveryResponseOrBuilder.java | 32 +- .../RunAssetDiscoveryResponseOuterClass.java | 62 + .../securitycenter/v1/SecurityMarks.java | 661 +- .../v1/SecurityMarksOrBuilder.java | 67 +- .../v1/SecurityMarksOuterClass.java | 87 + .../v1/SecuritycenterService.java | 1099 ++++ .../v1/ServiceAccountDelegationInfo.java | 429 +- ...ServiceAccountDelegationInfoOrBuilder.java | 36 +- .../v1/SetFindingStateRequest.java | 567 +- .../v1/SetFindingStateRequestOrBuilder.java | 70 +- .../securitycenter/v1/SetMuteRequest.java | 481 +- .../v1/SetMuteRequestOrBuilder.java | 58 + .../cloud/securitycenter/v1/Source.java | 551 +- .../cloud/securitycenter/v1/SourceName.java | 0 .../securitycenter/v1/SourceOrBuilder.java | 54 +- .../securitycenter/v1/SourceOuterClass.java | 67 + .../v1/UpdateBigQueryExportRequest.java | 488 +- .../UpdateBigQueryExportRequestOrBuilder.java | 46 +- .../v1/UpdateExternalSystemRequest.java | 488 +- .../UpdateExternalSystemRequestOrBuilder.java | 46 +- .../v1/UpdateFindingRequest.java | 470 +- .../v1/UpdateFindingRequestOrBuilder.java | 46 +- .../v1/UpdateMuteConfigRequest.java | 471 +- .../v1/UpdateMuteConfigRequestOrBuilder.java | 46 +- .../v1/UpdateNotificationConfigRequest.java | 522 +- ...ateNotificationConfigRequestOrBuilder.java | 46 +- .../v1/UpdateOrganizationSettingsRequest.java | 524 +- ...eOrganizationSettingsRequestOrBuilder.java | 49 +- .../v1/UpdateSecurityMarksRequest.java | 549 +- .../UpdateSecurityMarksRequestOrBuilder.java | 54 +- .../v1/UpdateSourceRequest.java | 474 +- .../v1/UpdateSourceRequestOrBuilder.java | 46 +- .../securitycenter/v1/Vulnerability.java | 330 +- .../v1/VulnerabilityOrBuilder.java | 26 +- .../securitycenter/v1/VulnerabilityProto.java | 127 + .../cloud/securitycenter/v1/access.proto | 0 .../cloud/securitycenter/v1/asset.proto | 0 .../securitycenter/v1/bigquery_export.proto | 0 .../cloud/securitycenter/v1/compliance.proto | 0 .../cloud/securitycenter/v1/connection.proto | 0 .../securitycenter/v1/contact_details.proto | 0 .../cloud/securitycenter/v1/container.proto | 0 .../cloud/securitycenter/v1/database.proto | 0 .../securitycenter/v1/exfiltration.proto | 0 .../securitycenter/v1/external_system.proto | 0 .../google/cloud/securitycenter/v1/file.proto | 0 .../cloud/securitycenter/v1/finding.proto | 4 + .../cloud/securitycenter/v1/folder.proto | 0 .../cloud/securitycenter/v1/iam_binding.proto | 0 .../cloud/securitycenter/v1/indicator.proto | 0 .../cloud/securitycenter/v1/kubernetes.proto | 0 .../cloud/securitycenter/v1/label.proto | 0 .../securitycenter/v1/mitre_attack.proto | 3 + .../cloud/securitycenter/v1/mute_config.proto | 0 .../v1/notification_config.proto | 0 .../v1/notification_message.proto | 0 .../v1/organization_settings.proto | 0 .../cloud/securitycenter/v1/process.proto | 0 .../cloud/securitycenter/v1/resource.proto | 0 .../v1/run_asset_discovery_response.proto | 0 .../securitycenter/v1/security_marks.proto | 0 .../v1/securitycenter_service.proto | 10 +- .../cloud/securitycenter/v1/source.proto | 0 .../securitycenter/v1/vulnerability.proto | 0 .../AsyncBulkMuteFindings.java | 0 .../AsyncBulkMuteFindingsLRO.java | 0 .../SyncBulkMuteFindings.java | 0 .../SyncBulkMuteFindingsResourcename.java | 0 .../SyncBulkMuteFindingsString.java | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../AsyncCreateBigQueryExport.java | 0 .../SyncCreateBigQueryExport.java | 0 ...yExportFoldernameBigqueryexportString.java | 0 ...tOrganizationnameBigqueryexportString.java | 0 ...ExportProjectnameBigqueryexportString.java | 0 ...QueryExportStringBigqueryexportString.java | 0 .../createfinding/AsyncCreateFinding.java | 0 .../createfinding/SyncCreateFinding.java | 0 ...cCreateFindingSourcenameStringFinding.java | 0 .../SyncCreateFindingStringStringFinding.java | 0 .../AsyncCreateMuteConfig.java | 0 .../SyncCreateMuteConfig.java | 0 ...cCreateMuteConfigFoldernameMuteconfig.java | 0 ...eMuteConfigFoldernameMuteconfigString.java | 0 ...eMuteConfigOrganizationnameMuteconfig.java | 0 ...onfigOrganizationnameMuteconfigString.java | 0 ...CreateMuteConfigProjectnameMuteconfig.java | 0 ...MuteConfigProjectnameMuteconfigString.java | 0 .../SyncCreateMuteConfigStringMuteconfig.java | 0 ...reateMuteConfigStringMuteconfigString.java | 0 .../AsyncCreateNotificationConfig.java | 0 .../SyncCreateNotificationConfig.java | 0 ...ionConfigFoldernameNotificationconfig.java | 0 ...figFoldernameStringNotificationconfig.java | 0 ...figOrganizationnameNotificationconfig.java | 0 ...anizationnameStringNotificationconfig.java | 0 ...onConfigProjectnameNotificationconfig.java | 0 ...igProjectnameStringNotificationconfig.java | 0 ...icationConfigStringNotificationconfig.java | 0 ...nConfigStringStringNotificationconfig.java | 0 .../createsource/AsyncCreateSource.java | 0 .../createsource/SyncCreateSource.java | 0 ...yncCreateSourceOrganizationnameSource.java | 0 .../SyncCreateSourceStringSource.java | 0 .../AsyncDeleteBigQueryExport.java | 0 .../SyncDeleteBigQueryExport.java | 0 ...eleteBigQueryExportBigqueryexportname.java | 0 .../SyncDeleteBigQueryExportString.java | 0 .../AsyncDeleteMuteConfig.java | 0 .../SyncDeleteMuteConfig.java | 0 .../SyncDeleteMuteConfigMuteconfigname.java | 0 .../SyncDeleteMuteConfigString.java | 0 .../AsyncDeleteNotificationConfig.java | 0 .../SyncDeleteNotificationConfig.java | 0 ...ificationConfigNotificationconfigname.java | 0 .../SyncDeleteNotificationConfigString.java | 0 .../AsyncGetBigQueryExport.java | 0 .../SyncGetBigQueryExport.java | 0 ...ncGetBigQueryExportBigqueryexportname.java | 0 .../SyncGetBigQueryExportString.java | 0 .../getiampolicy/AsyncGetIamPolicy.java | 0 .../getiampolicy/SyncGetIamPolicy.java | 0 .../SyncGetIamPolicyResourcename.java | 0 .../getiampolicy/SyncGetIamPolicyString.java | 0 .../getmuteconfig/AsyncGetMuteConfig.java | 0 .../getmuteconfig/SyncGetMuteConfig.java | 0 .../SyncGetMuteConfigMuteconfigname.java | 0 .../SyncGetMuteConfigString.java | 0 .../AsyncGetNotificationConfig.java | 0 .../SyncGetNotificationConfig.java | 0 ...ificationConfigNotificationconfigname.java | 0 .../SyncGetNotificationConfigString.java | 0 .../AsyncGetOrganizationSettings.java | 0 .../SyncGetOrganizationSettings.java | 0 ...ationSettingsOrganizationsettingsname.java | 0 .../SyncGetOrganizationSettingsString.java | 0 .../getsource/AsyncGetSource.java | 0 .../getsource/SyncGetSource.java | 0 .../getsource/SyncGetSourceSourcename.java | 0 .../getsource/SyncGetSourceString.java | 0 .../groupassets/AsyncGroupAssets.java | 0 .../groupassets/AsyncGroupAssetsPaged.java | 0 .../groupassets/SyncGroupAssets.java | 0 .../groupfindings/AsyncGroupFindings.java | 0 .../AsyncGroupFindingsPaged.java | 0 .../groupfindings/SyncGroupFindings.java | 0 .../SyncGroupFindingsSourcenameString.java | 0 .../SyncGroupFindingsStringString.java | 0 .../listassets/AsyncListAssets.java | 0 .../listassets/AsyncListAssetsPaged.java | 0 .../listassets/SyncListAssets.java | 0 .../AsyncListBigQueryExports.java | 0 .../AsyncListBigQueryExportsPaged.java | 0 .../SyncListBigQueryExports.java | 0 .../SyncListBigQueryExportsFoldername.java | 0 ...ncListBigQueryExportsOrganizationname.java | 0 .../SyncListBigQueryExportsProjectname.java | 0 .../SyncListBigQueryExportsString.java | 0 .../listfindings/AsyncListFindings.java | 0 .../listfindings/AsyncListFindingsPaged.java | 0 .../listfindings/SyncListFindings.java | 0 .../listmuteconfigs/AsyncListMuteConfigs.java | 0 .../AsyncListMuteConfigsPaged.java | 0 .../listmuteconfigs/SyncListMuteConfigs.java | 0 .../SyncListMuteConfigsFoldername.java | 0 .../SyncListMuteConfigsOrganizationname.java | 0 .../SyncListMuteConfigsProjectname.java | 0 .../SyncListMuteConfigsString.java | 0 .../AsyncListNotificationConfigs.java | 0 .../AsyncListNotificationConfigsPaged.java | 0 .../SyncListNotificationConfigs.java | 0 ...SyncListNotificationConfigsFoldername.java | 0 ...stNotificationConfigsOrganizationname.java | 0 ...yncListNotificationConfigsProjectname.java | 0 .../SyncListNotificationConfigsString.java | 0 .../listsources/AsyncListSources.java | 0 .../listsources/AsyncListSourcesPaged.java | 0 .../listsources/SyncListSources.java | 0 .../SyncListSourcesFoldername.java | 0 .../SyncListSourcesOrganizationname.java | 0 .../SyncListSourcesProjectname.java | 0 .../listsources/SyncListSourcesString.java | 0 .../AsyncRunAssetDiscovery.java | 0 .../AsyncRunAssetDiscoveryLRO.java | 0 .../SyncRunAssetDiscovery.java | 0 ...SyncRunAssetDiscoveryOrganizationname.java | 0 .../SyncRunAssetDiscoveryString.java | 0 .../setfindingstate/AsyncSetFindingState.java | 0 .../setfindingstate/SyncSetFindingState.java | 0 ...StateFindingnameFindingstateTimestamp.java | 0 ...ndingStateStringFindingstateTimestamp.java | 0 .../setiampolicy/AsyncSetIamPolicy.java | 0 .../setiampolicy/SyncSetIamPolicy.java | 0 .../SyncSetIamPolicyResourcenamePolicy.java | 0 .../SyncSetIamPolicyStringPolicy.java | 0 .../securitycenter/setmute/AsyncSetMute.java | 0 .../securitycenter/setmute/SyncSetMute.java | 0 .../SyncSetMuteFindingnameFindingmute.java | 0 .../setmute/SyncSetMuteStringFindingmute.java | 0 .../AsyncTestIamPermissions.java | 0 .../SyncTestIamPermissions.java | 0 ...tIamPermissionsResourcenameListstring.java | 0 ...yncTestIamPermissionsStringListstring.java | 0 .../AsyncUpdateBigQueryExport.java | 0 .../SyncUpdateBigQueryExport.java | 0 ...BigQueryExportBigqueryexportFieldmask.java | 0 .../AsyncUpdateExternalSystem.java | 0 .../SyncUpdateExternalSystem.java | 0 ...ExternalSystemExternalsystemFieldmask.java | 0 .../updatefinding/AsyncUpdateFinding.java | 0 .../updatefinding/SyncUpdateFinding.java | 0 .../SyncUpdateFindingFinding.java | 0 .../AsyncUpdateMuteConfig.java | 0 .../SyncUpdateMuteConfig.java | 0 ...ncUpdateMuteConfigMuteconfigFieldmask.java | 0 .../AsyncUpdateNotificationConfig.java | 0 .../SyncUpdateNotificationConfig.java | 0 ...eNotificationConfigNotificationconfig.java | 0 ...tionConfigNotificationconfigFieldmask.java | 0 .../AsyncUpdateOrganizationSettings.java | 0 .../SyncUpdateOrganizationSettings.java | 0 ...anizationSettingsOrganizationsettings.java | 0 .../AsyncUpdateSecurityMarks.java | 0 .../SyncUpdateSecurityMarks.java | 0 .../SyncUpdateSecurityMarksSecuritymarks.java | 0 .../updatesource/AsyncUpdateSource.java | 0 .../updatesource/SyncUpdateSource.java | 0 .../updatesource/SyncUpdateSourceSource.java | 0 .../createsource/SyncCreateSource.java | 0 .../createsource/SyncCreateSource.java | 0 .../v1beta1/SecurityCenterClient.java | 0 .../v1beta1/SecurityCenterSettings.java | 1 + .../v1beta1/gapic_metadata.json | 0 .../securitycenter/v1beta1/package-info.java | 0 .../GrpcSecurityCenterCallableFactory.java | 0 .../v1beta1/stub/GrpcSecurityCenterStub.java | 1 + ...HttpJsonSecurityCenterCallableFactory.java | 0 .../stub/HttpJsonSecurityCenterStub.java | 1 + .../v1beta1/stub/SecurityCenterStub.java | 0 .../stub/SecurityCenterStubSettings.java | 0 .../v1beta1/MockSecurityCenter.java | 0 .../v1beta1/MockSecurityCenterImpl.java | 0 .../SecurityCenterClientHttpJsonTest.java | 0 .../v1beta1/SecurityCenterClientTest.java | 0 .../v1beta1/SecurityCenterGrpc.java | 1813 ++++++ .../cloud/securitycenter/v1beta1/Asset.java | 1729 ++---- .../v1beta1/AssetOrBuilder.java | 108 +- .../v1beta1/AssetOuterClass.java | 112 + .../v1beta1/CreateFindingRequest.java | 572 +- .../CreateFindingRequestOrBuilder.java | 64 +- .../v1beta1/CreateSourceRequest.java | 492 +- .../v1beta1/CreateSourceRequestOrBuilder.java | 55 +- .../cloud/securitycenter/v1beta1/Finding.java | 1313 ++-- .../securitycenter/v1beta1/FindingName.java | 0 .../v1beta1/FindingOrBuilder.java | 136 +- .../v1beta1/FindingOuterClass.java | 100 + .../GetOrganizationSettingsRequest.java | 396 +- ...tOrganizationSettingsRequestOrBuilder.java | 31 + .../v1beta1/GetSourceRequest.java | 358 +- .../v1beta1/GetSourceRequestOrBuilder.java | 31 + .../v1beta1/GroupAssetsRequest.java | 796 +-- .../v1beta1/GroupAssetsRequestOrBuilder.java | 81 +- .../v1beta1/GroupAssetsResponse.java | 547 +- .../v1beta1/GroupAssetsResponseOrBuilder.java | 50 +- .../v1beta1/GroupFindingsRequest.java | 714 +-- .../GroupFindingsRequestOrBuilder.java | 73 +- .../v1beta1/GroupFindingsResponse.java | 554 +- .../GroupFindingsResponseOrBuilder.java | 50 +- .../securitycenter/v1beta1/GroupResult.java | 529 +- .../v1beta1/GroupResultOrBuilder.java | 52 +- .../v1beta1/ListAssetsRequest.java | 909 ++- .../v1beta1/ListAssetsRequestOrBuilder.java | 98 +- .../v1beta1/ListAssetsResponse.java | 1378 ++--- .../v1beta1/ListAssetsResponseOrBuilder.java | 81 +- .../v1beta1/ListFindingsRequest.java | 820 +-- .../v1beta1/ListFindingsRequestOrBuilder.java | 90 +- .../v1beta1/ListFindingsResponse.java | 599 +- .../ListFindingsResponseOrBuilder.java | 56 +- .../v1beta1/ListSourcesRequest.java | 472 +- .../v1beta1/ListSourcesRequestOrBuilder.java | 47 +- .../v1beta1/ListSourcesResponse.java | 486 +- .../v1beta1/ListSourcesResponseOrBuilder.java | 45 +- .../v1beta1/OrganizationName.java | 0 .../v1beta1/OrganizationSettings.java | 1222 ++-- .../v1beta1/OrganizationSettingsName.java | 0 .../OrganizationSettingsOrBuilder.java | 56 +- .../OrganizationSettingsOuterClass.java | 83 + .../v1beta1/RunAssetDiscoveryRequest.java | 378 +- .../RunAssetDiscoveryRequestOrBuilder.java | 31 + .../v1beta1/RunAssetDiscoveryResponse.java | 506 +- .../RunAssetDiscoveryResponseOrBuilder.java | 32 +- .../RunAssetDiscoveryResponseOuterClass.java | 60 + .../securitycenter/v1beta1/SecurityMarks.java | 585 +- .../v1beta1/SecurityMarksOrBuilder.java | 58 +- .../v1beta1/SecurityMarksOuterClass.java | 79 + .../v1beta1/SecuritycenterService.java | 551 ++ .../v1beta1/SetFindingStateRequest.java | 580 +- .../SetFindingStateRequestOrBuilder.java | 66 +- .../cloud/securitycenter/v1beta1/Source.java | 472 +- .../securitycenter/v1beta1/SourceName.java | 0 .../v1beta1/SourceOrBuilder.java | 45 +- .../v1beta1/SourceOuterClass.java | 63 + .../v1beta1/UpdateFindingRequest.java | 474 +- .../UpdateFindingRequestOrBuilder.java | 46 +- .../UpdateOrganizationSettingsRequest.java | 541 +- ...eOrganizationSettingsRequestOrBuilder.java | 49 +- .../v1beta1/UpdateSecurityMarksRequest.java | 580 +- .../UpdateSecurityMarksRequestOrBuilder.java | 54 +- .../v1beta1/UpdateSourceRequest.java | 471 +- .../v1beta1/UpdateSourceRequestOrBuilder.java | 46 +- .../cloud/securitycenter/v1beta1/asset.proto | 0 .../securitycenter/v1beta1/finding.proto | 0 .../v1beta1/organization_settings.proto | 0 .../run_asset_discovery_response.proto | 0 .../v1beta1/security_marks.proto | 0 .../v1beta1/securitycenter_service.proto | 0 .../cloud/securitycenter/v1beta1/source.proto | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../createfinding/AsyncCreateFinding.java | 0 .../createfinding/SyncCreateFinding.java | 0 ...cCreateFindingSourcenameStringFinding.java | 0 .../SyncCreateFindingStringStringFinding.java | 0 .../createsource/AsyncCreateSource.java | 0 .../createsource/SyncCreateSource.java | 0 ...yncCreateSourceOrganizationnameSource.java | 0 .../SyncCreateSourceStringSource.java | 0 .../getiampolicy/AsyncGetIamPolicy.java | 0 .../getiampolicy/SyncGetIamPolicy.java | 0 .../SyncGetIamPolicyResourcename.java | 0 .../getiampolicy/SyncGetIamPolicyString.java | 0 .../AsyncGetOrganizationSettings.java | 0 .../SyncGetOrganizationSettings.java | 0 ...ationSettingsOrganizationsettingsname.java | 0 .../SyncGetOrganizationSettingsString.java | 0 .../getsource/AsyncGetSource.java | 0 .../getsource/SyncGetSource.java | 0 .../getsource/SyncGetSourceSourcename.java | 0 .../getsource/SyncGetSourceString.java | 0 .../groupassets/AsyncGroupAssets.java | 0 .../groupassets/AsyncGroupAssetsPaged.java | 0 .../groupassets/SyncGroupAssets.java | 0 .../groupfindings/AsyncGroupFindings.java | 0 .../AsyncGroupFindingsPaged.java | 0 .../groupfindings/SyncGroupFindings.java | 0 .../SyncGroupFindingsSourcenameString.java | 0 .../SyncGroupFindingsStringString.java | 0 .../listassets/AsyncListAssets.java | 0 .../listassets/AsyncListAssetsPaged.java | 0 .../listassets/SyncListAssets.java | 0 .../listfindings/AsyncListFindings.java | 0 .../listfindings/AsyncListFindingsPaged.java | 0 .../listfindings/SyncListFindings.java | 0 .../listsources/AsyncListSources.java | 0 .../listsources/AsyncListSourcesPaged.java | 0 .../listsources/SyncListSources.java | 0 .../SyncListSourcesOrganizationname.java | 0 .../listsources/SyncListSourcesString.java | 0 .../AsyncRunAssetDiscovery.java | 0 .../AsyncRunAssetDiscoveryLRO.java | 0 .../SyncRunAssetDiscovery.java | 0 ...SyncRunAssetDiscoveryOrganizationname.java | 0 .../SyncRunAssetDiscoveryString.java | 0 .../setfindingstate/AsyncSetFindingState.java | 0 .../setfindingstate/SyncSetFindingState.java | 0 ...StateFindingnameFindingstateTimestamp.java | 0 ...ndingStateStringFindingstateTimestamp.java | 0 .../setiampolicy/AsyncSetIamPolicy.java | 0 .../setiampolicy/SyncSetIamPolicy.java | 0 .../SyncSetIamPolicyResourcenamePolicy.java | 0 .../SyncSetIamPolicyStringPolicy.java | 0 .../AsyncTestIamPermissions.java | 0 .../SyncTestIamPermissions.java | 0 ...tIamPermissionsResourcenameListstring.java | 0 ...yncTestIamPermissionsStringListstring.java | 0 .../updatefinding/AsyncUpdateFinding.java | 0 .../updatefinding/SyncUpdateFinding.java | 0 .../SyncUpdateFindingFinding.java | 0 .../AsyncUpdateOrganizationSettings.java | 0 .../SyncUpdateOrganizationSettings.java | 0 ...anizationSettingsOrganizationsettings.java | 0 .../AsyncUpdateSecurityMarks.java | 0 .../SyncUpdateSecurityMarks.java | 0 .../SyncUpdateSecurityMarksSecuritymarks.java | 0 .../updatesource/AsyncUpdateSource.java | 0 .../updatesource/SyncUpdateSource.java | 0 .../updatesource/SyncUpdateSourceSource.java | 0 .../createsource/SyncCreateSource.java | 0 .../createsource/SyncCreateSource.java | 0 .../v1p1beta1/SecurityCenterClient.java | 0 .../v1p1beta1/SecurityCenterSettings.java | 1 + .../v1p1beta1/gapic_metadata.json | 0 .../v1p1beta1/package-info.java | 0 .../GrpcSecurityCenterCallableFactory.java | 0 .../stub/GrpcSecurityCenterStub.java | 1 + ...HttpJsonSecurityCenterCallableFactory.java | 0 .../stub/HttpJsonSecurityCenterStub.java | 1 + .../v1p1beta1/stub/SecurityCenterStub.java | 0 .../stub/SecurityCenterStubSettings.java | 0 .../v1p1beta1/MockSecurityCenter.java | 0 .../v1p1beta1/MockSecurityCenterImpl.java | 0 .../SecurityCenterClientHttpJsonTest.java | 0 .../v1p1beta1/SecurityCenterClientTest.java | 0 .../v1p1beta1/SecurityCenterGrpc.java | 2255 +++++++ .../cloud/securitycenter/v1p1beta1/Asset.java | 2722 ++++---- .../securitycenter/v1p1beta1/AssetName.java | 0 .../v1p1beta1/AssetOrBuilder.java | 125 +- .../v1p1beta1/AssetOuterClass.java | 135 + .../v1p1beta1/CreateFindingRequest.java | 582 +- .../CreateFindingRequestOrBuilder.java | 64 +- .../CreateNotificationConfigRequest.java | 634 +- ...ateNotificationConfigRequestOrBuilder.java | 67 +- .../v1p1beta1/CreateSourceRequest.java | 499 +- .../CreateSourceRequestOrBuilder.java | 55 +- .../DeleteNotificationConfigRequest.java | 410 +- ...eteNotificationConfigRequestOrBuilder.java | 31 + .../securitycenter/v1p1beta1/Finding.java | 1560 ++--- .../securitycenter/v1p1beta1/FindingName.java | 0 .../v1p1beta1/FindingOrBuilder.java | 151 +- .../v1p1beta1/FindingOuterClass.java | 111 + .../securitycenter/v1p1beta1/Folder.java | 409 +- .../securitycenter/v1p1beta1/FolderName.java | 0 .../v1p1beta1/FolderOrBuilder.java | 36 +- .../securitycenter/v1p1beta1/FolderProto.java | 57 + .../GetNotificationConfigRequest.java | 393 +- ...GetNotificationConfigRequestOrBuilder.java | 31 + .../GetOrganizationSettingsRequest.java | 406 +- ...tOrganizationSettingsRequestOrBuilder.java | 31 + .../v1p1beta1/GetSourceRequest.java | 358 +- .../v1p1beta1/GetSourceRequestOrBuilder.java | 31 + .../v1p1beta1/GroupAssetsRequest.java | 803 +-- .../GroupAssetsRequestOrBuilder.java | 81 +- .../v1p1beta1/GroupAssetsResponse.java | 651 +- .../GroupAssetsResponseOrBuilder.java | 53 +- .../v1p1beta1/GroupFindingsRequest.java | 813 +-- .../GroupFindingsRequestOrBuilder.java | 81 +- .../v1p1beta1/GroupFindingsResponse.java | 664 +- .../GroupFindingsResponseOrBuilder.java | 53 +- .../securitycenter/v1p1beta1/GroupResult.java | 532 +- .../v1p1beta1/GroupResultOrBuilder.java | 52 +- .../v1p1beta1/ListAssetsRequest.java | 873 +-- .../v1p1beta1/ListAssetsRequestOrBuilder.java | 89 +- .../v1p1beta1/ListAssetsResponse.java | 1394 ++--- .../ListAssetsResponseOrBuilder.java | 82 +- .../v1p1beta1/ListFindingsRequest.java | 880 +-- .../ListFindingsRequestOrBuilder.java | 89 +- .../v1p1beta1/ListFindingsResponse.java | 2622 +++----- .../ListFindingsResponseOrBuilder.java | 82 +- .../ListNotificationConfigsRequest.java | 520 +- ...stNotificationConfigsRequestOrBuilder.java | 47 +- .../ListNotificationConfigsResponse.java | 663 +- ...tNotificationConfigsResponseOrBuilder.java | 65 +- .../v1p1beta1/ListSourcesRequest.java | 479 +- .../ListSourcesRequestOrBuilder.java | 47 +- .../v1p1beta1/ListSourcesResponse.java | 491 +- .../ListSourcesResponseOrBuilder.java | 45 +- .../v1p1beta1/NotificationConfig.java | 1388 ++--- .../v1p1beta1/NotificationConfigName.java | 0 .../NotificationConfigOrBuilder.java | 92 +- .../NotificationConfigOuterClass.java | 95 + .../v1p1beta1/NotificationMessage.java | 548 +- .../NotificationMessageOrBuilder.java | 43 +- .../NotificationMessageOuterClass.java | 66 + .../v1p1beta1/OrganizationName.java | 0 .../v1p1beta1/OrganizationSettings.java | 1376 ++-- .../v1p1beta1/OrganizationSettingsName.java | 0 .../OrganizationSettingsOrBuilder.java | 56 +- .../OrganizationSettingsOuterClass.java | 87 + .../securitycenter/v1p1beta1/ProjectName.java | 0 .../securitycenter/v1p1beta1/Resource.java | 893 ++- .../v1p1beta1/ResourceOrBuilder.java | 101 +- .../v1p1beta1/ResourceProto.java | 71 + .../v1p1beta1/RunAssetDiscoveryRequest.java | 390 +- .../RunAssetDiscoveryRequestOrBuilder.java | 31 + .../v1p1beta1/RunAssetDiscoveryResponse.java | 527 +- .../RunAssetDiscoveryResponseOrBuilder.java | 32 +- .../RunAssetDiscoveryResponseOuterClass.java | 64 + .../v1p1beta1/SecurityMarks.java | 664 +- .../v1p1beta1/SecurityMarksOrBuilder.java | 67 +- .../v1p1beta1/SecurityMarksOuterClass.java | 88 + .../v1p1beta1/SecuritycenterService.java | 769 +++ .../v1p1beta1/SetFindingStateRequest.java | 583 +- .../SetFindingStateRequestOrBuilder.java | 66 +- .../securitycenter/v1p1beta1/Source.java | 558 +- .../securitycenter/v1p1beta1/SourceName.java | 0 .../v1p1beta1/SourceOrBuilder.java | 54 +- .../v1p1beta1/SourceOuterClass.java | 68 + .../v1p1beta1/UpdateFindingRequest.java | 484 +- .../UpdateFindingRequestOrBuilder.java | 46 +- .../UpdateNotificationConfigRequest.java | 536 +- ...ateNotificationConfigRequestOrBuilder.java | 49 +- .../UpdateOrganizationSettingsRequest.java | 593 +- ...eOrganizationSettingsRequestOrBuilder.java | 49 +- .../v1p1beta1/UpdateSecurityMarksRequest.java | 586 +- .../UpdateSecurityMarksRequestOrBuilder.java | 54 +- .../v1p1beta1/UpdateSourceRequest.java | 478 +- .../UpdateSourceRequestOrBuilder.java | 46 +- .../securitycenter/v1p1beta1/asset.proto | 0 .../securitycenter/v1p1beta1/finding.proto | 0 .../securitycenter/v1p1beta1/folder.proto | 0 .../v1p1beta1/notification_config.proto | 0 .../v1p1beta1/notification_message.proto | 0 .../v1p1beta1/organization_settings.proto | 0 .../securitycenter/v1p1beta1/resource.proto | 0 .../run_asset_discovery_response.proto | 0 .../v1p1beta1/security_marks.proto | 0 .../v1p1beta1/securitycenter_service.proto | 0 .../securitycenter/v1p1beta1/source.proto | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../createfinding/AsyncCreateFinding.java | 0 .../createfinding/SyncCreateFinding.java | 0 ...cCreateFindingSourcenameFindingString.java | 0 ...cCreateFindingSourcenameStringFinding.java | 0 .../SyncCreateFindingStringFindingString.java | 0 .../SyncCreateFindingStringStringFinding.java | 0 .../AsyncCreateNotificationConfig.java | 0 .../SyncCreateNotificationConfig.java | 0 ...figOrganizationnameNotificationconfig.java | 0 ...anizationnameStringNotificationconfig.java | 0 ...icationConfigStringNotificationconfig.java | 0 ...nConfigStringStringNotificationconfig.java | 0 .../createsource/AsyncCreateSource.java | 0 .../createsource/SyncCreateSource.java | 0 ...yncCreateSourceOrganizationnameSource.java | 0 .../SyncCreateSourceStringSource.java | 0 .../AsyncDeleteNotificationConfig.java | 0 .../SyncDeleteNotificationConfig.java | 0 ...ificationConfigNotificationconfigname.java | 0 .../SyncDeleteNotificationConfigString.java | 0 .../getiampolicy/AsyncGetIamPolicy.java | 0 .../getiampolicy/SyncGetIamPolicy.java | 0 .../SyncGetIamPolicyResourcename.java | 0 .../getiampolicy/SyncGetIamPolicyString.java | 0 .../AsyncGetNotificationConfig.java | 0 .../SyncGetNotificationConfig.java | 0 ...ificationConfigNotificationconfigname.java | 0 .../SyncGetNotificationConfigString.java | 0 .../AsyncGetOrganizationSettings.java | 0 .../SyncGetOrganizationSettings.java | 0 ...ationSettingsOrganizationsettingsname.java | 0 .../SyncGetOrganizationSettingsString.java | 0 .../getsource/AsyncGetSource.java | 0 .../getsource/SyncGetSource.java | 0 .../getsource/SyncGetSourceSourcename.java | 0 .../getsource/SyncGetSourceString.java | 0 .../groupassets/AsyncGroupAssets.java | 0 .../groupassets/AsyncGroupAssetsPaged.java | 0 .../groupassets/SyncGroupAssets.java | 0 .../groupfindings/AsyncGroupFindings.java | 0 .../AsyncGroupFindingsPaged.java | 0 .../groupfindings/SyncGroupFindings.java | 0 .../SyncGroupFindingsSourcenameString.java | 0 .../SyncGroupFindingsStringString.java | 0 .../listassets/AsyncListAssets.java | 0 .../listassets/AsyncListAssetsPaged.java | 0 .../listassets/SyncListAssets.java | 0 .../listassets/SyncListAssetsFoldername.java | 0 .../SyncListAssetsOrganizationname.java | 0 .../listassets/SyncListAssetsProjectname.java | 0 .../listassets/SyncListAssetsString.java | 0 .../listfindings/AsyncListFindings.java | 0 .../listfindings/AsyncListFindingsPaged.java | 0 .../listfindings/SyncListFindings.java | 0 .../SyncListFindingsSourcename.java | 0 .../listfindings/SyncListFindingsString.java | 0 .../AsyncListNotificationConfigs.java | 0 .../AsyncListNotificationConfigsPaged.java | 0 .../SyncListNotificationConfigs.java | 0 ...stNotificationConfigsOrganizationname.java | 0 .../SyncListNotificationConfigsString.java | 0 .../listsources/AsyncListSources.java | 0 .../listsources/AsyncListSourcesPaged.java | 0 .../listsources/SyncListSources.java | 0 .../SyncListSourcesFoldername.java | 0 .../SyncListSourcesOrganizationname.java | 0 .../SyncListSourcesProjectname.java | 0 .../listsources/SyncListSourcesString.java | 0 .../AsyncRunAssetDiscovery.java | 0 .../AsyncRunAssetDiscoveryLRO.java | 0 .../SyncRunAssetDiscovery.java | 0 ...SyncRunAssetDiscoveryOrganizationname.java | 0 .../SyncRunAssetDiscoveryString.java | 0 .../setfindingstate/AsyncSetFindingState.java | 0 .../setfindingstate/SyncSetFindingState.java | 0 ...StateFindingnameFindingstateTimestamp.java | 0 ...ndingStateStringFindingstateTimestamp.java | 0 .../setiampolicy/AsyncSetIamPolicy.java | 0 .../setiampolicy/SyncSetIamPolicy.java | 0 .../SyncSetIamPolicyResourcenamePolicy.java | 0 .../SyncSetIamPolicyStringPolicy.java | 0 .../AsyncTestIamPermissions.java | 0 .../SyncTestIamPermissions.java | 0 ...tIamPermissionsResourcenameListstring.java | 0 ...yncTestIamPermissionsStringListstring.java | 0 .../updatefinding/AsyncUpdateFinding.java | 0 .../updatefinding/SyncUpdateFinding.java | 0 .../SyncUpdateFindingFinding.java | 0 .../SyncUpdateFindingFindingFieldmask.java | 0 .../AsyncUpdateNotificationConfig.java | 0 .../SyncUpdateNotificationConfig.java | 0 ...eNotificationConfigNotificationconfig.java | 0 ...tionConfigNotificationconfigFieldmask.java | 0 .../AsyncUpdateOrganizationSettings.java | 0 .../SyncUpdateOrganizationSettings.java | 0 ...anizationSettingsOrganizationsettings.java | 0 .../AsyncUpdateSecurityMarks.java | 0 .../SyncUpdateSecurityMarks.java | 0 .../SyncUpdateSecurityMarksSecuritymarks.java | 0 ...teSecurityMarksSecuritymarksFieldmask.java | 0 .../updatesource/AsyncUpdateSource.java | 0 .../updatesource/SyncUpdateSource.java | 0 .../updatesource/SyncUpdateSourceSource.java | 0 .../SyncUpdateSourceSourceFieldmask.java | 0 .../createsource/SyncCreateSource.java | 0 .../createsource/SyncCreateSource.java | 0 868 files changed, 58599 insertions(+), 93046 deletions(-) delete mode 100644 java-securitycenter/grpc-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/SecurityCenterGrpc.java delete mode 100644 java-securitycenter/grpc-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/SecurityCenterGrpc.java delete mode 100644 java-securitycenter/grpc-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/SecurityCenterGrpc.java delete mode 100644 java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/AccessProto.java delete mode 100644 java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/AssetOuterClass.java delete mode 100644 java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/BigQueryExportProto.java delete mode 100644 java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/BulkMuteFindingsResponseOrBuilder.java delete mode 100644 java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ComplianceProto.java delete mode 100644 java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ConnectionProto.java delete mode 100644 java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ContactDetailsProto.java delete mode 100644 java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ContactOrBuilder.java delete mode 100644 java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ContainerProto.java delete mode 100644 java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DatabaseProto.java delete mode 100644 java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DeleteBigQueryExportRequestOrBuilder.java delete mode 100644 java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DeleteMuteConfigRequestOrBuilder.java delete mode 100644 java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DeleteNotificationConfigRequestOrBuilder.java delete mode 100644 java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ExfiltrationProto.java delete mode 100644 java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ExternalSystemProto.java delete mode 100644 java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FileProto.java delete mode 100644 java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FindingOuterClass.java delete mode 100644 java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FolderProto.java delete mode 100644 java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GeolocationOrBuilder.java delete mode 100644 java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetBigQueryExportRequestOrBuilder.java delete mode 100644 java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetMuteConfigRequestOrBuilder.java delete mode 100644 java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetNotificationConfigRequestOrBuilder.java delete mode 100644 java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetOrganizationSettingsRequestOrBuilder.java delete mode 100644 java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetSourceRequestOrBuilder.java delete mode 100644 java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/IamBindingProto.java delete mode 100644 java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/IndicatorProto.java delete mode 100644 java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/KubernetesProto.java delete mode 100644 java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/LabelProto.java delete mode 100644 java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/MitreAttackProto.java delete mode 100644 java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/MuteConfigProto.java delete mode 100644 java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/NotificationConfigProto.java delete mode 100644 java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/NotificationMessageProto.java delete mode 100644 java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/OrganizationSettingsOuterClass.java delete mode 100644 java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ProcessProto.java delete mode 100644 java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ResourceProto.java delete mode 100644 java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/RunAssetDiscoveryRequestOrBuilder.java delete mode 100644 java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/RunAssetDiscoveryResponseOuterClass.java delete mode 100644 java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/SecurityMarksOuterClass.java delete mode 100644 java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/SecuritycenterService.java delete mode 100644 java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/SetMuteRequestOrBuilder.java delete mode 100644 java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/SourceOuterClass.java delete mode 100644 java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/VulnerabilityProto.java delete mode 100644 java-securitycenter/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/AssetOuterClass.java delete mode 100644 java-securitycenter/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/FindingOuterClass.java delete mode 100644 java-securitycenter/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/GetOrganizationSettingsRequestOrBuilder.java delete mode 100644 java-securitycenter/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/GetSourceRequestOrBuilder.java delete mode 100644 java-securitycenter/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/OrganizationSettingsOuterClass.java delete mode 100644 java-securitycenter/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/RunAssetDiscoveryRequestOrBuilder.java delete mode 100644 java-securitycenter/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/RunAssetDiscoveryResponseOuterClass.java delete mode 100644 java-securitycenter/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/SecurityMarksOuterClass.java delete mode 100644 java-securitycenter/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/SecuritycenterService.java delete mode 100644 java-securitycenter/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/SourceOuterClass.java delete mode 100644 java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/AssetOuterClass.java delete mode 100644 java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/DeleteNotificationConfigRequestOrBuilder.java delete mode 100644 java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/FindingOuterClass.java delete mode 100644 java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/FolderProto.java delete mode 100644 java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/GetNotificationConfigRequestOrBuilder.java delete mode 100644 java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/GetOrganizationSettingsRequestOrBuilder.java delete mode 100644 java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/GetSourceRequestOrBuilder.java delete mode 100644 java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/NotificationConfigOuterClass.java delete mode 100644 java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/NotificationMessageOuterClass.java delete mode 100644 java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/OrganizationSettingsOuterClass.java delete mode 100644 java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/ResourceProto.java delete mode 100644 java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/RunAssetDiscoveryRequestOrBuilder.java delete mode 100644 java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/RunAssetDiscoveryResponseOuterClass.java delete mode 100644 java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/SecurityMarksOuterClass.java delete mode 100644 java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/SecuritycenterService.java delete mode 100644 java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/SourceOuterClass.java rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/SecurityCenterClient.java (99%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/SecurityCenterSettings.java (99%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/gapic_metadata.json (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/package-info.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/stub/GrpcSecurityCenterCallableFactory.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/stub/GrpcSecurityCenterStub.java (99%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/stub/HttpJsonSecurityCenterCallableFactory.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/stub/HttpJsonSecurityCenterStub.java (99%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/stub/SecurityCenterStub.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/stub/SecurityCenterStubSettings.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/google-cloud-securitycenter/src/test/java/com/google/cloud/securitycenter/v1/MockSecurityCenter.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/google-cloud-securitycenter/src/test/java/com/google/cloud/securitycenter/v1/MockSecurityCenterImpl.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/google-cloud-securitycenter/src/test/java/com/google/cloud/securitycenter/v1/SecurityCenterClientHttpJsonTest.java (99%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/google-cloud-securitycenter/src/test/java/com/google/cloud/securitycenter/v1/SecurityCenterClientTest.java (99%) create mode 100644 owl-bot-staging/java-securitycenter/v1/grpc-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/SecurityCenterGrpc.java rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Access.java (74%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/AccessOrBuilder.java (80%) create mode 100644 owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/AccessProto.java rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Asset.java (74%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/AssetName.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/AssetOrBuilder.java (80%) create mode 100644 owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/AssetOuterClass.java rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/BigQueryExport.java (75%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/BigQueryExportName.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/BigQueryExportOrBuilder.java (83%) create mode 100644 owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/BigQueryExportProto.java rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/BulkMuteFindingsRequest.java (71%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/BulkMuteFindingsRequestOrBuilder.java (69%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/BulkMuteFindingsResponse.java (63%) create mode 100644 owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/BulkMuteFindingsResponseOrBuilder.java rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Compliance.java (70%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ComplianceOrBuilder.java (67%) create mode 100644 owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ComplianceProto.java rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Connection.java (70%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ConnectionOrBuilder.java (69%) create mode 100644 owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ConnectionProto.java rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Contact.java (65%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ContactDetails.java (71%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ContactDetailsOrBuilder.java (61%) create mode 100644 owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ContactDetailsProto.java create mode 100644 owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ContactOrBuilder.java rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Container.java (72%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ContainerOrBuilder.java (72%) create mode 100644 owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ContainerProto.java rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateBigQueryExportRequest.java (64%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateBigQueryExportRequestOrBuilder.java (59%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateFindingRequest.java (66%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateFindingRequestOrBuilder.java (60%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateMuteConfigRequest.java (65%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateMuteConfigRequestOrBuilder.java (59%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateNotificationConfigRequest.java (64%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateNotificationConfigRequestOrBuilder.java (61%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateSourceRequest.java (62%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateSourceRequestOrBuilder.java (51%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Cve.java (74%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CveOrBuilder.java (77%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Cvssv3.java (74%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Cvssv3OrBuilder.java (88%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Database.java (72%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DatabaseOrBuilder.java (73%) create mode 100644 owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DatabaseProto.java rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DeleteBigQueryExportRequest.java (63%) create mode 100644 owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DeleteBigQueryExportRequestOrBuilder.java rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DeleteMuteConfigRequest.java (64%) create mode 100644 owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DeleteMuteConfigRequestOrBuilder.java rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DeleteNotificationConfigRequest.java (59%) create mode 100644 owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DeleteNotificationConfigRequestOrBuilder.java rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/EnvironmentVariable.java (66%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/EnvironmentVariableOrBuilder.java (55%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ExfilResource.java (72%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ExfilResourceOrBuilder.java (73%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Exfiltration.java (76%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ExfiltrationOrBuilder.java (80%) create mode 100644 owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ExfiltrationProto.java rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ExternalSystem.java (74%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ExternalSystemOrBuilder.java (78%) create mode 100644 owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ExternalSystemProto.java rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/File.java (71%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FileOrBuilder.java (72%) create mode 100644 owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FileProto.java rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Finding.java (75%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FindingName.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FindingOrBuilder.java (84%) create mode 100644 owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FindingOuterClass.java rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Folder.java (67%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FolderName.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FolderOrBuilder.java (60%) create mode 100644 owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FolderProto.java rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Geolocation.java (64%) create mode 100644 owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GeolocationOrBuilder.java rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetBigQueryExportRequest.java (64%) create mode 100644 owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetBigQueryExportRequestOrBuilder.java rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetMuteConfigRequest.java (64%) create mode 100644 owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetMuteConfigRequestOrBuilder.java rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetNotificationConfigRequest.java (61%) create mode 100644 owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetNotificationConfigRequestOrBuilder.java rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetOrganizationSettingsRequest.java (60%) create mode 100644 owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetOrganizationSettingsRequestOrBuilder.java rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetSourceRequest.java (63%) create mode 100644 owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetSourceRequestOrBuilder.java rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupAssetsRequest.java (84%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupAssetsRequestOrBuilder.java (91%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupAssetsResponse.java (76%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupAssetsResponseOrBuilder.java (79%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupFindingsRequest.java (84%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupFindingsRequestOrBuilder.java (91%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupFindingsResponse.java (76%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupFindingsResponseOrBuilder.java (79%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupResult.java (62%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupResultOrBuilder.java (56%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/IamBinding.java (69%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/IamBindingOrBuilder.java (67%) create mode 100644 owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/IamBindingProto.java rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Indicator.java (62%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/IndicatorOrBuilder.java (74%) create mode 100644 owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/IndicatorProto.java rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Kubernetes.java (75%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/KubernetesOrBuilder.java (85%) create mode 100644 owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/KubernetesProto.java rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Label.java (66%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/LabelOrBuilder.java (51%) create mode 100644 owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/LabelProto.java rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ListAssetsRequest.java (84%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ListAssetsRequestOrBuilder.java (92%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ListAssetsResponse.java (65%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ListAssetsResponseOrBuilder.java (57%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ListBigQueryExportsRequest.java (68%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ListBigQueryExportsRequestOrBuilder.java (64%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ListBigQueryExportsResponse.java (72%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ListBigQueryExportsResponseOrBuilder.java (71%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ListFindingsRequest.java (84%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ListFindingsRequestOrBuilder.java (92%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ListFindingsResponse.java (67%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ListFindingsResponseOrBuilder.java (56%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ListMuteConfigsRequest.java (69%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ListMuteConfigsRequestOrBuilder.java (64%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ListMuteConfigsResponse.java (72%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ListMuteConfigsResponseOrBuilder.java (70%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ListNotificationConfigsRequest.java (65%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ListNotificationConfigsRequestOrBuilder.java (62%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ListNotificationConfigsResponse.java (67%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ListNotificationConfigsResponseOrBuilder.java (66%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ListSourcesRequest.java (68%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ListSourcesRequestOrBuilder.java (61%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ListSourcesResponse.java (72%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ListSourcesResponseOrBuilder.java (67%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/MitreAttack.java (75%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/MitreAttackOrBuilder.java (80%) create mode 100644 owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/MitreAttackProto.java rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/MuteConfig.java (72%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/MuteConfigName.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/MuteConfigOrBuilder.java (79%) create mode 100644 owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/MuteConfigProto.java rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/NotificationConfig.java (71%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/NotificationConfigName.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/NotificationConfigOrBuilder.java (73%) create mode 100644 owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/NotificationConfigProto.java rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/NotificationMessage.java (71%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/NotificationMessageOrBuilder.java (74%) create mode 100644 owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/NotificationMessageProto.java rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/OrganizationName.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/OrganizationSettings.java (66%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/OrganizationSettingsName.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/OrganizationSettingsOrBuilder.java (60%) create mode 100644 owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/OrganizationSettingsOuterClass.java rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Process.java (75%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ProcessOrBuilder.java (83%) create mode 100644 owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ProcessProto.java rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ProjectName.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Reference.java (67%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ReferenceOrBuilder.java (57%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Resource.java (70%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ResourceOrBuilder.java (68%) create mode 100644 owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ResourceProto.java rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/RunAssetDiscoveryRequest.java (63%) create mode 100644 owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/RunAssetDiscoveryRequestOrBuilder.java rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/RunAssetDiscoveryResponse.java (68%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/RunAssetDiscoveryResponseOrBuilder.java (68%) create mode 100644 owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/RunAssetDiscoveryResponseOuterClass.java rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/SecurityMarks.java (71%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/SecurityMarksOrBuilder.java (81%) create mode 100644 owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/SecurityMarksOuterClass.java create mode 100644 owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/SecuritycenterService.java rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ServiceAccountDelegationInfo.java (69%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ServiceAccountDelegationInfoOrBuilder.java (70%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/SetFindingStateRequest.java (65%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/SetFindingStateRequestOrBuilder.java (57%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/SetMuteRequest.java (61%) create mode 100644 owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/SetMuteRequestOrBuilder.java rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Source.java (74%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/SourceName.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/SourceOrBuilder.java (79%) create mode 100644 owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/SourceOuterClass.java rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/UpdateBigQueryExportRequest.java (64%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/UpdateBigQueryExportRequestOrBuilder.java (59%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/UpdateExternalSystemRequest.java (64%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/UpdateExternalSystemRequestOrBuilder.java (60%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/UpdateFindingRequest.java (71%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/UpdateFindingRequestOrBuilder.java (74%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/UpdateMuteConfigRequest.java (65%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/UpdateMuteConfigRequestOrBuilder.java (59%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/UpdateNotificationConfigRequest.java (62%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/UpdateNotificationConfigRequestOrBuilder.java (60%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/UpdateOrganizationSettingsRequest.java (62%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/UpdateOrganizationSettingsRequestOrBuilder.java (58%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/UpdateSecurityMarksRequest.java (70%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/UpdateSecurityMarksRequestOrBuilder.java (74%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/UpdateSourceRequest.java (65%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/UpdateSourceRequestOrBuilder.java (60%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Vulnerability.java (68%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/VulnerabilityOrBuilder.java (61%) create mode 100644 owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/VulnerabilityProto.java rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/proto/google/cloud/securitycenter/v1/access.proto (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/proto/google/cloud/securitycenter/v1/asset.proto (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/proto/google/cloud/securitycenter/v1/bigquery_export.proto (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/proto/google/cloud/securitycenter/v1/compliance.proto (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/proto/google/cloud/securitycenter/v1/connection.proto (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/proto/google/cloud/securitycenter/v1/contact_details.proto (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/proto/google/cloud/securitycenter/v1/container.proto (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/proto/google/cloud/securitycenter/v1/database.proto (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/proto/google/cloud/securitycenter/v1/exfiltration.proto (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/proto/google/cloud/securitycenter/v1/external_system.proto (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/proto/google/cloud/securitycenter/v1/file.proto (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/proto/google/cloud/securitycenter/v1/finding.proto (99%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/proto/google/cloud/securitycenter/v1/folder.proto (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/proto/google/cloud/securitycenter/v1/iam_binding.proto (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/proto/google/cloud/securitycenter/v1/indicator.proto (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/proto/google/cloud/securitycenter/v1/kubernetes.proto (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/proto/google/cloud/securitycenter/v1/label.proto (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/proto/google/cloud/securitycenter/v1/mitre_attack.proto (99%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/proto/google/cloud/securitycenter/v1/mute_config.proto (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/proto/google/cloud/securitycenter/v1/notification_config.proto (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/proto/google/cloud/securitycenter/v1/notification_message.proto (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/proto/google/cloud/securitycenter/v1/organization_settings.proto (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/proto/google/cloud/securitycenter/v1/process.proto (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/proto/google/cloud/securitycenter/v1/resource.proto (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/proto/google/cloud/securitycenter/v1/run_asset_discovery_response.proto (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/proto/google/cloud/securitycenter/v1/security_marks.proto (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/proto/google/cloud/securitycenter/v1/securitycenter_service.proto (99%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/proto/google/cloud/securitycenter/v1/source.proto (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/proto-google-cloud-securitycenter-v1/src/main/proto/google/cloud/securitycenter/v1/vulnerability.proto (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/bulkmutefindings/AsyncBulkMuteFindings.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/bulkmutefindings/AsyncBulkMuteFindingsLRO.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/bulkmutefindings/SyncBulkMuteFindings.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/bulkmutefindings/SyncBulkMuteFindingsResourcename.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/bulkmutefindings/SyncBulkMuteFindingsString.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/create/SyncCreateSetCredentialsProvider.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/create/SyncCreateSetCredentialsProvider1.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/create/SyncCreateSetEndpoint.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/createbigqueryexport/AsyncCreateBigQueryExport.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/createbigqueryexport/SyncCreateBigQueryExport.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/createbigqueryexport/SyncCreateBigQueryExportFoldernameBigqueryexportString.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/createbigqueryexport/SyncCreateBigQueryExportOrganizationnameBigqueryexportString.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/createbigqueryexport/SyncCreateBigQueryExportProjectnameBigqueryexportString.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/createbigqueryexport/SyncCreateBigQueryExportStringBigqueryexportString.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/createfinding/AsyncCreateFinding.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/createfinding/SyncCreateFinding.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/createfinding/SyncCreateFindingSourcenameStringFinding.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/createfinding/SyncCreateFindingStringStringFinding.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/createmuteconfig/AsyncCreateMuteConfig.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/createmuteconfig/SyncCreateMuteConfig.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/createmuteconfig/SyncCreateMuteConfigFoldernameMuteconfig.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/createmuteconfig/SyncCreateMuteConfigFoldernameMuteconfigString.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/createmuteconfig/SyncCreateMuteConfigOrganizationnameMuteconfig.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/createmuteconfig/SyncCreateMuteConfigOrganizationnameMuteconfigString.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/createmuteconfig/SyncCreateMuteConfigProjectnameMuteconfig.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/createmuteconfig/SyncCreateMuteConfigProjectnameMuteconfigString.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/createmuteconfig/SyncCreateMuteConfigStringMuteconfig.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/createmuteconfig/SyncCreateMuteConfigStringMuteconfigString.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/createnotificationconfig/AsyncCreateNotificationConfig.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/createnotificationconfig/SyncCreateNotificationConfig.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/createnotificationconfig/SyncCreateNotificationConfigFoldernameNotificationconfig.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/createnotificationconfig/SyncCreateNotificationConfigFoldernameStringNotificationconfig.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/createnotificationconfig/SyncCreateNotificationConfigOrganizationnameNotificationconfig.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/createnotificationconfig/SyncCreateNotificationConfigOrganizationnameStringNotificationconfig.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/createnotificationconfig/SyncCreateNotificationConfigProjectnameNotificationconfig.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/createnotificationconfig/SyncCreateNotificationConfigProjectnameStringNotificationconfig.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/createnotificationconfig/SyncCreateNotificationConfigStringNotificationconfig.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/createnotificationconfig/SyncCreateNotificationConfigStringStringNotificationconfig.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/createsource/AsyncCreateSource.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/createsource/SyncCreateSource.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/createsource/SyncCreateSourceOrganizationnameSource.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/createsource/SyncCreateSourceStringSource.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/deletebigqueryexport/AsyncDeleteBigQueryExport.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/deletebigqueryexport/SyncDeleteBigQueryExport.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/deletebigqueryexport/SyncDeleteBigQueryExportBigqueryexportname.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/deletebigqueryexport/SyncDeleteBigQueryExportString.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/deletemuteconfig/AsyncDeleteMuteConfig.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/deletemuteconfig/SyncDeleteMuteConfig.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/deletemuteconfig/SyncDeleteMuteConfigMuteconfigname.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/deletemuteconfig/SyncDeleteMuteConfigString.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/deletenotificationconfig/AsyncDeleteNotificationConfig.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/deletenotificationconfig/SyncDeleteNotificationConfig.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/deletenotificationconfig/SyncDeleteNotificationConfigNotificationconfigname.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/deletenotificationconfig/SyncDeleteNotificationConfigString.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/getbigqueryexport/AsyncGetBigQueryExport.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/getbigqueryexport/SyncGetBigQueryExport.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/getbigqueryexport/SyncGetBigQueryExportBigqueryexportname.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/getbigqueryexport/SyncGetBigQueryExportString.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/getiampolicy/AsyncGetIamPolicy.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/getiampolicy/SyncGetIamPolicy.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/getiampolicy/SyncGetIamPolicyResourcename.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/getiampolicy/SyncGetIamPolicyString.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/getmuteconfig/AsyncGetMuteConfig.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/getmuteconfig/SyncGetMuteConfig.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/getmuteconfig/SyncGetMuteConfigMuteconfigname.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/getmuteconfig/SyncGetMuteConfigString.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/getnotificationconfig/AsyncGetNotificationConfig.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/getnotificationconfig/SyncGetNotificationConfig.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/getnotificationconfig/SyncGetNotificationConfigNotificationconfigname.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/getnotificationconfig/SyncGetNotificationConfigString.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/getorganizationsettings/AsyncGetOrganizationSettings.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/getorganizationsettings/SyncGetOrganizationSettings.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/getorganizationsettings/SyncGetOrganizationSettingsOrganizationsettingsname.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/getorganizationsettings/SyncGetOrganizationSettingsString.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/getsource/AsyncGetSource.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/getsource/SyncGetSource.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/getsource/SyncGetSourceSourcename.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/getsource/SyncGetSourceString.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/groupassets/AsyncGroupAssets.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/groupassets/AsyncGroupAssetsPaged.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/groupassets/SyncGroupAssets.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/groupfindings/AsyncGroupFindings.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/groupfindings/AsyncGroupFindingsPaged.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/groupfindings/SyncGroupFindings.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/groupfindings/SyncGroupFindingsSourcenameString.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/groupfindings/SyncGroupFindingsStringString.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/listassets/AsyncListAssets.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/listassets/AsyncListAssetsPaged.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/listassets/SyncListAssets.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/listbigqueryexports/AsyncListBigQueryExports.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/listbigqueryexports/AsyncListBigQueryExportsPaged.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/listbigqueryexports/SyncListBigQueryExports.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/listbigqueryexports/SyncListBigQueryExportsFoldername.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/listbigqueryexports/SyncListBigQueryExportsOrganizationname.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/listbigqueryexports/SyncListBigQueryExportsProjectname.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/listbigqueryexports/SyncListBigQueryExportsString.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/listfindings/AsyncListFindings.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/listfindings/AsyncListFindingsPaged.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/listfindings/SyncListFindings.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/listmuteconfigs/AsyncListMuteConfigs.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/listmuteconfigs/AsyncListMuteConfigsPaged.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/listmuteconfigs/SyncListMuteConfigs.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/listmuteconfigs/SyncListMuteConfigsFoldername.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/listmuteconfigs/SyncListMuteConfigsOrganizationname.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/listmuteconfigs/SyncListMuteConfigsProjectname.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/listmuteconfigs/SyncListMuteConfigsString.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/listnotificationconfigs/AsyncListNotificationConfigs.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/listnotificationconfigs/AsyncListNotificationConfigsPaged.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/listnotificationconfigs/SyncListNotificationConfigs.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/listnotificationconfigs/SyncListNotificationConfigsFoldername.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/listnotificationconfigs/SyncListNotificationConfigsOrganizationname.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/listnotificationconfigs/SyncListNotificationConfigsProjectname.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/listnotificationconfigs/SyncListNotificationConfigsString.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/listsources/AsyncListSources.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/listsources/AsyncListSourcesPaged.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/listsources/SyncListSources.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/listsources/SyncListSourcesFoldername.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/listsources/SyncListSourcesOrganizationname.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/listsources/SyncListSourcesProjectname.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/listsources/SyncListSourcesString.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/runassetdiscovery/AsyncRunAssetDiscovery.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/runassetdiscovery/AsyncRunAssetDiscoveryLRO.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/runassetdiscovery/SyncRunAssetDiscovery.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/runassetdiscovery/SyncRunAssetDiscoveryOrganizationname.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/runassetdiscovery/SyncRunAssetDiscoveryString.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/setfindingstate/AsyncSetFindingState.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/setfindingstate/SyncSetFindingState.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/setfindingstate/SyncSetFindingStateFindingnameFindingstateTimestamp.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/setfindingstate/SyncSetFindingStateStringFindingstateTimestamp.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/setiampolicy/AsyncSetIamPolicy.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/setiampolicy/SyncSetIamPolicy.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/setiampolicy/SyncSetIamPolicyResourcenamePolicy.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/setiampolicy/SyncSetIamPolicyStringPolicy.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/setmute/AsyncSetMute.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/setmute/SyncSetMute.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/setmute/SyncSetMuteFindingnameFindingmute.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/setmute/SyncSetMuteStringFindingmute.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/testiampermissions/AsyncTestIamPermissions.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/testiampermissions/SyncTestIamPermissions.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/testiampermissions/SyncTestIamPermissionsResourcenameListstring.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/testiampermissions/SyncTestIamPermissionsStringListstring.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/updatebigqueryexport/AsyncUpdateBigQueryExport.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/updatebigqueryexport/SyncUpdateBigQueryExport.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/updatebigqueryexport/SyncUpdateBigQueryExportBigqueryexportFieldmask.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/updateexternalsystem/AsyncUpdateExternalSystem.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/updateexternalsystem/SyncUpdateExternalSystem.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/updateexternalsystem/SyncUpdateExternalSystemExternalsystemFieldmask.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/updatefinding/AsyncUpdateFinding.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/updatefinding/SyncUpdateFinding.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/updatefinding/SyncUpdateFindingFinding.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/updatemuteconfig/AsyncUpdateMuteConfig.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/updatemuteconfig/SyncUpdateMuteConfig.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/updatemuteconfig/SyncUpdateMuteConfigMuteconfigFieldmask.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/updatenotificationconfig/AsyncUpdateNotificationConfig.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/updatenotificationconfig/SyncUpdateNotificationConfig.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/updatenotificationconfig/SyncUpdateNotificationConfigNotificationconfig.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/updatenotificationconfig/SyncUpdateNotificationConfigNotificationconfigFieldmask.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/updateorganizationsettings/AsyncUpdateOrganizationSettings.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/updateorganizationsettings/SyncUpdateOrganizationSettings.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/updateorganizationsettings/SyncUpdateOrganizationSettingsOrganizationsettings.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/updatesecuritymarks/AsyncUpdateSecurityMarks.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/updatesecuritymarks/SyncUpdateSecurityMarks.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/updatesecuritymarks/SyncUpdateSecurityMarksSecuritymarks.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/updatesource/AsyncUpdateSource.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/updatesource/SyncUpdateSource.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycenter/updatesource/SyncUpdateSourceSource.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/securitycentersettings/createsource/SyncCreateSource.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1}/samples/snippets/generated/com/google/cloud/securitycenter/v1/stub/securitycenterstubsettings/createsource/SyncCreateSource.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1beta1/SecurityCenterClient.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1beta1/SecurityCenterSettings.java (99%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1beta1/gapic_metadata.json (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1beta1/package-info.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1beta1/stub/GrpcSecurityCenterCallableFactory.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1beta1/stub/GrpcSecurityCenterStub.java (99%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1beta1/stub/HttpJsonSecurityCenterCallableFactory.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1beta1/stub/HttpJsonSecurityCenterStub.java (99%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1beta1/stub/SecurityCenterStub.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1beta1/stub/SecurityCenterStubSettings.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/google-cloud-securitycenter/src/test/java/com/google/cloud/securitycenter/v1beta1/MockSecurityCenter.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/google-cloud-securitycenter/src/test/java/com/google/cloud/securitycenter/v1beta1/MockSecurityCenterImpl.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/google-cloud-securitycenter/src/test/java/com/google/cloud/securitycenter/v1beta1/SecurityCenterClientHttpJsonTest.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/google-cloud-securitycenter/src/test/java/com/google/cloud/securitycenter/v1beta1/SecurityCenterClientTest.java (100%) create mode 100644 owl-bot-staging/java-securitycenter/v1beta1/grpc-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/SecurityCenterGrpc.java rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/Asset.java (72%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/AssetOrBuilder.java (75%) create mode 100644 owl-bot-staging/java-securitycenter/v1beta1/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/AssetOuterClass.java rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/CreateFindingRequest.java (66%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/CreateFindingRequestOrBuilder.java (60%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/CreateSourceRequest.java (63%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/CreateSourceRequestOrBuilder.java (51%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/Finding.java (74%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/FindingName.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/FindingOrBuilder.java (82%) create mode 100644 owl-bot-staging/java-securitycenter/v1beta1/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/FindingOuterClass.java rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/GetOrganizationSettingsRequest.java (60%) create mode 100644 owl-bot-staging/java-securitycenter/v1beta1/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/GetOrganizationSettingsRequestOrBuilder.java rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/GetSourceRequest.java (64%) create mode 100644 owl-bot-staging/java-securitycenter/v1beta1/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/GetSourceRequestOrBuilder.java rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/GroupAssetsRequest.java (81%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/GroupAssetsRequestOrBuilder.java (88%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/GroupAssetsResponse.java (76%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/GroupAssetsResponseOrBuilder.java (80%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/GroupFindingsRequest.java (77%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/GroupFindingsRequestOrBuilder.java (82%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/GroupFindingsResponse.java (76%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/GroupFindingsResponseOrBuilder.java (80%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/GroupResult.java (62%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/GroupResultOrBuilder.java (56%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/ListAssetsRequest.java (81%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/ListAssetsRequestOrBuilder.java (88%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/ListAssetsResponse.java (64%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/ListAssetsResponseOrBuilder.java (56%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/ListFindingsRequest.java (77%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/ListFindingsRequestOrBuilder.java (83%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/ListFindingsResponse.java (73%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/ListFindingsResponseOrBuilder.java (75%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/ListSourcesRequest.java (68%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/ListSourcesRequestOrBuilder.java (60%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/ListSourcesResponse.java (72%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/ListSourcesResponseOrBuilder.java (69%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/OrganizationName.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/OrganizationSettings.java (63%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/OrganizationSettingsName.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/OrganizationSettingsOrBuilder.java (59%) create mode 100644 owl-bot-staging/java-securitycenter/v1beta1/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/OrganizationSettingsOuterClass.java rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/RunAssetDiscoveryRequest.java (62%) create mode 100644 owl-bot-staging/java-securitycenter/v1beta1/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/RunAssetDiscoveryRequestOrBuilder.java rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/RunAssetDiscoveryResponse.java (67%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/RunAssetDiscoveryResponseOrBuilder.java (68%) create mode 100644 owl-bot-staging/java-securitycenter/v1beta1/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/RunAssetDiscoveryResponseOuterClass.java rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/SecurityMarks.java (68%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/SecurityMarksOrBuilder.java (77%) create mode 100644 owl-bot-staging/java-securitycenter/v1beta1/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/SecurityMarksOuterClass.java create mode 100644 owl-bot-staging/java-securitycenter/v1beta1/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/SecuritycenterService.java rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/SetFindingStateRequest.java (64%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/SetFindingStateRequestOrBuilder.java (58%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/Source.java (74%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/SourceName.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/SourceOrBuilder.java (76%) create mode 100644 owl-bot-staging/java-securitycenter/v1beta1/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/SourceOuterClass.java rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/UpdateFindingRequest.java (69%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/UpdateFindingRequestOrBuilder.java (69%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/UpdateOrganizationSettingsRequest.java (61%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/UpdateOrganizationSettingsRequestOrBuilder.java (56%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/UpdateSecurityMarksRequest.java (66%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/UpdateSecurityMarksRequestOrBuilder.java (66%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/UpdateSourceRequest.java (65%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/UpdateSourceRequestOrBuilder.java (58%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/proto-google-cloud-securitycenter-v1beta1/src/main/proto/google/cloud/securitycenter/v1beta1/asset.proto (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/proto-google-cloud-securitycenter-v1beta1/src/main/proto/google/cloud/securitycenter/v1beta1/finding.proto (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/proto-google-cloud-securitycenter-v1beta1/src/main/proto/google/cloud/securitycenter/v1beta1/organization_settings.proto (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/proto-google-cloud-securitycenter-v1beta1/src/main/proto/google/cloud/securitycenter/v1beta1/run_asset_discovery_response.proto (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/proto-google-cloud-securitycenter-v1beta1/src/main/proto/google/cloud/securitycenter/v1beta1/security_marks.proto (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/proto-google-cloud-securitycenter-v1beta1/src/main/proto/google/cloud/securitycenter/v1beta1/securitycenter_service.proto (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/proto-google-cloud-securitycenter-v1beta1/src/main/proto/google/cloud/securitycenter/v1beta1/source.proto (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenter/create/SyncCreateSetCredentialsProvider.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenter/create/SyncCreateSetCredentialsProvider1.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenter/create/SyncCreateSetEndpoint.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenter/createfinding/AsyncCreateFinding.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenter/createfinding/SyncCreateFinding.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenter/createfinding/SyncCreateFindingSourcenameStringFinding.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenter/createfinding/SyncCreateFindingStringStringFinding.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenter/createsource/AsyncCreateSource.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenter/createsource/SyncCreateSource.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenter/createsource/SyncCreateSourceOrganizationnameSource.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenter/createsource/SyncCreateSourceStringSource.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenter/getiampolicy/AsyncGetIamPolicy.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenter/getiampolicy/SyncGetIamPolicy.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenter/getiampolicy/SyncGetIamPolicyResourcename.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenter/getiampolicy/SyncGetIamPolicyString.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenter/getorganizationsettings/AsyncGetOrganizationSettings.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenter/getorganizationsettings/SyncGetOrganizationSettings.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenter/getorganizationsettings/SyncGetOrganizationSettingsOrganizationsettingsname.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenter/getorganizationsettings/SyncGetOrganizationSettingsString.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenter/getsource/AsyncGetSource.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenter/getsource/SyncGetSource.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenter/getsource/SyncGetSourceSourcename.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenter/getsource/SyncGetSourceString.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenter/groupassets/AsyncGroupAssets.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenter/groupassets/AsyncGroupAssetsPaged.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenter/groupassets/SyncGroupAssets.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenter/groupfindings/AsyncGroupFindings.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenter/groupfindings/AsyncGroupFindingsPaged.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenter/groupfindings/SyncGroupFindings.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenter/groupfindings/SyncGroupFindingsSourcenameString.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenter/groupfindings/SyncGroupFindingsStringString.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenter/listassets/AsyncListAssets.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenter/listassets/AsyncListAssetsPaged.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenter/listassets/SyncListAssets.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenter/listfindings/AsyncListFindings.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenter/listfindings/AsyncListFindingsPaged.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenter/listfindings/SyncListFindings.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenter/listsources/AsyncListSources.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenter/listsources/AsyncListSourcesPaged.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenter/listsources/SyncListSources.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenter/listsources/SyncListSourcesOrganizationname.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenter/listsources/SyncListSourcesString.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenter/runassetdiscovery/AsyncRunAssetDiscovery.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenter/runassetdiscovery/AsyncRunAssetDiscoveryLRO.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenter/runassetdiscovery/SyncRunAssetDiscovery.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenter/runassetdiscovery/SyncRunAssetDiscoveryOrganizationname.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenter/runassetdiscovery/SyncRunAssetDiscoveryString.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenter/setfindingstate/AsyncSetFindingState.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenter/setfindingstate/SyncSetFindingState.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenter/setfindingstate/SyncSetFindingStateFindingnameFindingstateTimestamp.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenter/setfindingstate/SyncSetFindingStateStringFindingstateTimestamp.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenter/setiampolicy/AsyncSetIamPolicy.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenter/setiampolicy/SyncSetIamPolicy.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenter/setiampolicy/SyncSetIamPolicyResourcenamePolicy.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenter/setiampolicy/SyncSetIamPolicyStringPolicy.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenter/testiampermissions/AsyncTestIamPermissions.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenter/testiampermissions/SyncTestIamPermissions.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenter/testiampermissions/SyncTestIamPermissionsResourcenameListstring.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenter/testiampermissions/SyncTestIamPermissionsStringListstring.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenter/updatefinding/AsyncUpdateFinding.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenter/updatefinding/SyncUpdateFinding.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenter/updatefinding/SyncUpdateFindingFinding.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenter/updateorganizationsettings/AsyncUpdateOrganizationSettings.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenter/updateorganizationsettings/SyncUpdateOrganizationSettings.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenter/updateorganizationsettings/SyncUpdateOrganizationSettingsOrganizationsettings.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenter/updatesecuritymarks/AsyncUpdateSecurityMarks.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenter/updatesecuritymarks/SyncUpdateSecurityMarks.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenter/updatesecuritymarks/SyncUpdateSecurityMarksSecuritymarks.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenter/updatesource/AsyncUpdateSource.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenter/updatesource/SyncUpdateSource.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenter/updatesource/SyncUpdateSourceSource.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycentersettings/createsource/SyncCreateSource.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1beta1/stub/securitycenterstubsettings/createsource/SyncCreateSource.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1p1beta1/SecurityCenterClient.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1p1beta1/SecurityCenterSettings.java (99%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1p1beta1/gapic_metadata.json (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1p1beta1/package-info.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1p1beta1/stub/GrpcSecurityCenterCallableFactory.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1p1beta1/stub/GrpcSecurityCenterStub.java (99%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1p1beta1/stub/HttpJsonSecurityCenterCallableFactory.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1p1beta1/stub/HttpJsonSecurityCenterStub.java (99%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1p1beta1/stub/SecurityCenterStub.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1p1beta1/stub/SecurityCenterStubSettings.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/google-cloud-securitycenter/src/test/java/com/google/cloud/securitycenter/v1p1beta1/MockSecurityCenter.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/google-cloud-securitycenter/src/test/java/com/google/cloud/securitycenter/v1p1beta1/MockSecurityCenterImpl.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/google-cloud-securitycenter/src/test/java/com/google/cloud/securitycenter/v1p1beta1/SecurityCenterClientHttpJsonTest.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/google-cloud-securitycenter/src/test/java/com/google/cloud/securitycenter/v1p1beta1/SecurityCenterClientTest.java (100%) create mode 100644 owl-bot-staging/java-securitycenter/v1p1beta1/grpc-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/SecurityCenterGrpc.java rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/Asset.java (74%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/AssetName.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/AssetOrBuilder.java (79%) create mode 100644 owl-bot-staging/java-securitycenter/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/AssetOuterClass.java rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/CreateFindingRequest.java (64%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/CreateFindingRequestOrBuilder.java (58%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/CreateNotificationConfigRequest.java (62%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/CreateNotificationConfigRequestOrBuilder.java (59%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/CreateSourceRequest.java (62%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/CreateSourceRequestOrBuilder.java (51%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/DeleteNotificationConfigRequest.java (57%) create mode 100644 owl-bot-staging/java-securitycenter/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/DeleteNotificationConfigRequestOrBuilder.java rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/Finding.java (74%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/FindingName.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/FindingOrBuilder.java (84%) create mode 100644 owl-bot-staging/java-securitycenter/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/FindingOuterClass.java rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/Folder.java (68%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/FolderName.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/FolderOrBuilder.java (61%) create mode 100644 owl-bot-staging/java-securitycenter/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/FolderProto.java rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/GetNotificationConfigRequest.java (60%) create mode 100644 owl-bot-staging/java-securitycenter/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/GetNotificationConfigRequestOrBuilder.java rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/GetOrganizationSettingsRequest.java (58%) create mode 100644 owl-bot-staging/java-securitycenter/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/GetOrganizationSettingsRequestOrBuilder.java rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/GetSourceRequest.java (64%) create mode 100644 owl-bot-staging/java-securitycenter/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/GetSourceRequestOrBuilder.java rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/GroupAssetsRequest.java (84%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/GroupAssetsRequestOrBuilder.java (91%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/GroupAssetsResponse.java (74%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/GroupAssetsResponseOrBuilder.java (80%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/GroupFindingsRequest.java (83%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/GroupFindingsRequestOrBuilder.java (91%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/GroupFindingsResponse.java (73%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/GroupFindingsResponseOrBuilder.java (80%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/GroupResult.java (62%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/GroupResultOrBuilder.java (56%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/ListAssetsRequest.java (84%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/ListAssetsRequestOrBuilder.java (92%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/ListAssetsResponse.java (62%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/ListAssetsResponseOrBuilder.java (55%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/ListFindingsRequest.java (84%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/ListFindingsRequestOrBuilder.java (91%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/ListFindingsResponse.java (66%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/ListFindingsResponseOrBuilder.java (55%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/ListNotificationConfigsRequest.java (63%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/ListNotificationConfigsRequestOrBuilder.java (60%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/ListNotificationConfigsResponse.java (61%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/ListNotificationConfigsResponseOrBuilder.java (53%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/ListSourcesRequest.java (67%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/ListSourcesRequestOrBuilder.java (61%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/ListSourcesResponse.java (71%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/ListSourcesResponseOrBuilder.java (70%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/NotificationConfig.java (68%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/NotificationConfigName.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/NotificationConfigOrBuilder.java (70%) create mode 100644 owl-bot-staging/java-securitycenter/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/NotificationConfigOuterClass.java rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/NotificationMessage.java (70%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/NotificationMessageOrBuilder.java (75%) create mode 100644 owl-bot-staging/java-securitycenter/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/NotificationMessageOuterClass.java rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/OrganizationName.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/OrganizationSettings.java (64%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/OrganizationSettingsName.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/OrganizationSettingsOrBuilder.java (59%) create mode 100644 owl-bot-staging/java-securitycenter/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/OrganizationSettingsOuterClass.java rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/ProjectName.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/Resource.java (69%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/ResourceOrBuilder.java (67%) create mode 100644 owl-bot-staging/java-securitycenter/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/ResourceProto.java rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/RunAssetDiscoveryRequest.java (60%) create mode 100644 owl-bot-staging/java-securitycenter/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/RunAssetDiscoveryRequestOrBuilder.java rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/RunAssetDiscoveryResponse.java (65%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/RunAssetDiscoveryResponseOrBuilder.java (68%) create mode 100644 owl-bot-staging/java-securitycenter/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/RunAssetDiscoveryResponseOuterClass.java rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/SecurityMarks.java (71%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/SecurityMarksOrBuilder.java (81%) create mode 100644 owl-bot-staging/java-securitycenter/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/SecurityMarksOuterClass.java create mode 100644 owl-bot-staging/java-securitycenter/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/SecuritycenterService.java rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/SetFindingStateRequest.java (63%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/SetFindingStateRequestOrBuilder.java (58%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/Source.java (75%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/SourceName.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/SourceOrBuilder.java (79%) create mode 100644 owl-bot-staging/java-securitycenter/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/SourceOuterClass.java rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/UpdateFindingRequest.java (70%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/UpdateFindingRequestOrBuilder.java (74%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/UpdateNotificationConfigRequest.java (61%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/UpdateNotificationConfigRequestOrBuilder.java (58%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/UpdateOrganizationSettingsRequest.java (58%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/UpdateOrganizationSettingsRequestOrBuilder.java (58%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/UpdateSecurityMarksRequest.java (68%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/UpdateSecurityMarksRequestOrBuilder.java (73%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/UpdateSourceRequest.java (65%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/UpdateSourceRequestOrBuilder.java (60%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/proto-google-cloud-securitycenter-v1p1beta1/src/main/proto/google/cloud/securitycenter/v1p1beta1/asset.proto (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/proto-google-cloud-securitycenter-v1p1beta1/src/main/proto/google/cloud/securitycenter/v1p1beta1/finding.proto (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/proto-google-cloud-securitycenter-v1p1beta1/src/main/proto/google/cloud/securitycenter/v1p1beta1/folder.proto (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/proto-google-cloud-securitycenter-v1p1beta1/src/main/proto/google/cloud/securitycenter/v1p1beta1/notification_config.proto (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/proto-google-cloud-securitycenter-v1p1beta1/src/main/proto/google/cloud/securitycenter/v1p1beta1/notification_message.proto (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/proto-google-cloud-securitycenter-v1p1beta1/src/main/proto/google/cloud/securitycenter/v1p1beta1/organization_settings.proto (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/proto-google-cloud-securitycenter-v1p1beta1/src/main/proto/google/cloud/securitycenter/v1p1beta1/resource.proto (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/proto-google-cloud-securitycenter-v1p1beta1/src/main/proto/google/cloud/securitycenter/v1p1beta1/run_asset_discovery_response.proto (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/proto-google-cloud-securitycenter-v1p1beta1/src/main/proto/google/cloud/securitycenter/v1p1beta1/security_marks.proto (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/proto-google-cloud-securitycenter-v1p1beta1/src/main/proto/google/cloud/securitycenter/v1p1beta1/securitycenter_service.proto (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/proto-google-cloud-securitycenter-v1p1beta1/src/main/proto/google/cloud/securitycenter/v1p1beta1/source.proto (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenter/create/SyncCreateSetCredentialsProvider.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenter/create/SyncCreateSetCredentialsProvider1.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenter/create/SyncCreateSetEndpoint.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenter/createfinding/AsyncCreateFinding.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenter/createfinding/SyncCreateFinding.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenter/createfinding/SyncCreateFindingSourcenameFindingString.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenter/createfinding/SyncCreateFindingSourcenameStringFinding.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenter/createfinding/SyncCreateFindingStringFindingString.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenter/createfinding/SyncCreateFindingStringStringFinding.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenter/createnotificationconfig/AsyncCreateNotificationConfig.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenter/createnotificationconfig/SyncCreateNotificationConfig.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenter/createnotificationconfig/SyncCreateNotificationConfigOrganizationnameNotificationconfig.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenter/createnotificationconfig/SyncCreateNotificationConfigOrganizationnameStringNotificationconfig.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenter/createnotificationconfig/SyncCreateNotificationConfigStringNotificationconfig.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenter/createnotificationconfig/SyncCreateNotificationConfigStringStringNotificationconfig.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenter/createsource/AsyncCreateSource.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenter/createsource/SyncCreateSource.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenter/createsource/SyncCreateSourceOrganizationnameSource.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenter/createsource/SyncCreateSourceStringSource.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenter/deletenotificationconfig/AsyncDeleteNotificationConfig.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenter/deletenotificationconfig/SyncDeleteNotificationConfig.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenter/deletenotificationconfig/SyncDeleteNotificationConfigNotificationconfigname.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenter/deletenotificationconfig/SyncDeleteNotificationConfigString.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenter/getiampolicy/AsyncGetIamPolicy.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenter/getiampolicy/SyncGetIamPolicy.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenter/getiampolicy/SyncGetIamPolicyResourcename.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenter/getiampolicy/SyncGetIamPolicyString.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenter/getnotificationconfig/AsyncGetNotificationConfig.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenter/getnotificationconfig/SyncGetNotificationConfig.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenter/getnotificationconfig/SyncGetNotificationConfigNotificationconfigname.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenter/getnotificationconfig/SyncGetNotificationConfigString.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenter/getorganizationsettings/AsyncGetOrganizationSettings.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenter/getorganizationsettings/SyncGetOrganizationSettings.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenter/getorganizationsettings/SyncGetOrganizationSettingsOrganizationsettingsname.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenter/getorganizationsettings/SyncGetOrganizationSettingsString.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenter/getsource/AsyncGetSource.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenter/getsource/SyncGetSource.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenter/getsource/SyncGetSourceSourcename.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenter/getsource/SyncGetSourceString.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenter/groupassets/AsyncGroupAssets.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenter/groupassets/AsyncGroupAssetsPaged.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenter/groupassets/SyncGroupAssets.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenter/groupfindings/AsyncGroupFindings.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenter/groupfindings/AsyncGroupFindingsPaged.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenter/groupfindings/SyncGroupFindings.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenter/groupfindings/SyncGroupFindingsSourcenameString.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenter/groupfindings/SyncGroupFindingsStringString.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenter/listassets/AsyncListAssets.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenter/listassets/AsyncListAssetsPaged.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenter/listassets/SyncListAssets.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenter/listassets/SyncListAssetsFoldername.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenter/listassets/SyncListAssetsOrganizationname.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenter/listassets/SyncListAssetsProjectname.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenter/listassets/SyncListAssetsString.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenter/listfindings/AsyncListFindings.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenter/listfindings/AsyncListFindingsPaged.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenter/listfindings/SyncListFindings.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenter/listfindings/SyncListFindingsSourcename.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenter/listfindings/SyncListFindingsString.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenter/listnotificationconfigs/AsyncListNotificationConfigs.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenter/listnotificationconfigs/AsyncListNotificationConfigsPaged.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenter/listnotificationconfigs/SyncListNotificationConfigs.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenter/listnotificationconfigs/SyncListNotificationConfigsOrganizationname.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenter/listnotificationconfigs/SyncListNotificationConfigsString.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenter/listsources/AsyncListSources.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenter/listsources/AsyncListSourcesPaged.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenter/listsources/SyncListSources.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenter/listsources/SyncListSourcesFoldername.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenter/listsources/SyncListSourcesOrganizationname.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenter/listsources/SyncListSourcesProjectname.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenter/listsources/SyncListSourcesString.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenter/runassetdiscovery/AsyncRunAssetDiscovery.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenter/runassetdiscovery/AsyncRunAssetDiscoveryLRO.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenter/runassetdiscovery/SyncRunAssetDiscovery.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenter/runassetdiscovery/SyncRunAssetDiscoveryOrganizationname.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenter/runassetdiscovery/SyncRunAssetDiscoveryString.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenter/setfindingstate/AsyncSetFindingState.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenter/setfindingstate/SyncSetFindingState.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenter/setfindingstate/SyncSetFindingStateFindingnameFindingstateTimestamp.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenter/setfindingstate/SyncSetFindingStateStringFindingstateTimestamp.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenter/setiampolicy/AsyncSetIamPolicy.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenter/setiampolicy/SyncSetIamPolicy.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenter/setiampolicy/SyncSetIamPolicyResourcenamePolicy.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenter/setiampolicy/SyncSetIamPolicyStringPolicy.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenter/testiampermissions/AsyncTestIamPermissions.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenter/testiampermissions/SyncTestIamPermissions.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenter/testiampermissions/SyncTestIamPermissionsResourcenameListstring.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenter/testiampermissions/SyncTestIamPermissionsStringListstring.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenter/updatefinding/AsyncUpdateFinding.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenter/updatefinding/SyncUpdateFinding.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenter/updatefinding/SyncUpdateFindingFinding.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenter/updatefinding/SyncUpdateFindingFindingFieldmask.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenter/updatenotificationconfig/AsyncUpdateNotificationConfig.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenter/updatenotificationconfig/SyncUpdateNotificationConfig.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenter/updatenotificationconfig/SyncUpdateNotificationConfigNotificationconfig.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenter/updatenotificationconfig/SyncUpdateNotificationConfigNotificationconfigFieldmask.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenter/updateorganizationsettings/AsyncUpdateOrganizationSettings.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenter/updateorganizationsettings/SyncUpdateOrganizationSettings.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenter/updateorganizationsettings/SyncUpdateOrganizationSettingsOrganizationsettings.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenter/updatesecuritymarks/AsyncUpdateSecurityMarks.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenter/updatesecuritymarks/SyncUpdateSecurityMarks.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenter/updatesecuritymarks/SyncUpdateSecurityMarksSecuritymarks.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenter/updatesecuritymarks/SyncUpdateSecurityMarksSecuritymarksFieldmask.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenter/updatesource/AsyncUpdateSource.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenter/updatesource/SyncUpdateSource.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenter/updatesource/SyncUpdateSourceSource.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenter/updatesource/SyncUpdateSourceSourceFieldmask.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycentersettings/createsource/SyncCreateSource.java (100%) rename {java-securitycenter => owl-bot-staging/java-securitycenter/v1p1beta1}/samples/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/stub/securitycenterstubsettings/createsource/SyncCreateSource.java (100%) diff --git a/java-securitycenter/grpc-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/SecurityCenterGrpc.java b/java-securitycenter/grpc-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/SecurityCenterGrpc.java deleted file mode 100644 index 20f14b85f4b5..000000000000 --- a/java-securitycenter/grpc-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/SecurityCenterGrpc.java +++ /dev/null @@ -1,4634 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package com.google.cloud.securitycenter.v1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *
- * V1 APIs for Security Center service.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/securitycenter/v1/securitycenter_service.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class SecurityCenterGrpc { - - private SecurityCenterGrpc() {} - - public static final String SERVICE_NAME = "google.cloud.securitycenter.v1.SecurityCenter"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1.BulkMuteFindingsRequest, - com.google.longrunning.Operation> - getBulkMuteFindingsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "BulkMuteFindings", - requestType = com.google.cloud.securitycenter.v1.BulkMuteFindingsRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1.BulkMuteFindingsRequest, - com.google.longrunning.Operation> - getBulkMuteFindingsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1.BulkMuteFindingsRequest, - com.google.longrunning.Operation> - getBulkMuteFindingsMethod; - if ((getBulkMuteFindingsMethod = SecurityCenterGrpc.getBulkMuteFindingsMethod) == null) { - synchronized (SecurityCenterGrpc.class) { - if ((getBulkMuteFindingsMethod = SecurityCenterGrpc.getBulkMuteFindingsMethod) == null) { - SecurityCenterGrpc.getBulkMuteFindingsMethod = - getBulkMuteFindingsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BulkMuteFindings")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1.BulkMuteFindingsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new SecurityCenterMethodDescriptorSupplier("BulkMuteFindings")) - .build(); - } - } - } - return getBulkMuteFindingsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1.CreateSourceRequest, - com.google.cloud.securitycenter.v1.Source> - getCreateSourceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateSource", - requestType = com.google.cloud.securitycenter.v1.CreateSourceRequest.class, - responseType = com.google.cloud.securitycenter.v1.Source.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1.CreateSourceRequest, - com.google.cloud.securitycenter.v1.Source> - getCreateSourceMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1.CreateSourceRequest, - com.google.cloud.securitycenter.v1.Source> - getCreateSourceMethod; - if ((getCreateSourceMethod = SecurityCenterGrpc.getCreateSourceMethod) == null) { - synchronized (SecurityCenterGrpc.class) { - if ((getCreateSourceMethod = SecurityCenterGrpc.getCreateSourceMethod) == null) { - SecurityCenterGrpc.getCreateSourceMethod = - getCreateSourceMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateSource")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1.CreateSourceRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1.Source.getDefaultInstance())) - .setSchemaDescriptor( - new SecurityCenterMethodDescriptorSupplier("CreateSource")) - .build(); - } - } - } - return getCreateSourceMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1.CreateFindingRequest, - com.google.cloud.securitycenter.v1.Finding> - getCreateFindingMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateFinding", - requestType = com.google.cloud.securitycenter.v1.CreateFindingRequest.class, - responseType = com.google.cloud.securitycenter.v1.Finding.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1.CreateFindingRequest, - com.google.cloud.securitycenter.v1.Finding> - getCreateFindingMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1.CreateFindingRequest, - com.google.cloud.securitycenter.v1.Finding> - getCreateFindingMethod; - if ((getCreateFindingMethod = SecurityCenterGrpc.getCreateFindingMethod) == null) { - synchronized (SecurityCenterGrpc.class) { - if ((getCreateFindingMethod = SecurityCenterGrpc.getCreateFindingMethod) == null) { - SecurityCenterGrpc.getCreateFindingMethod = - getCreateFindingMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateFinding")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1.CreateFindingRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1.Finding.getDefaultInstance())) - .setSchemaDescriptor( - new SecurityCenterMethodDescriptorSupplier("CreateFinding")) - .build(); - } - } - } - return getCreateFindingMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1.CreateMuteConfigRequest, - com.google.cloud.securitycenter.v1.MuteConfig> - getCreateMuteConfigMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateMuteConfig", - requestType = com.google.cloud.securitycenter.v1.CreateMuteConfigRequest.class, - responseType = com.google.cloud.securitycenter.v1.MuteConfig.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1.CreateMuteConfigRequest, - com.google.cloud.securitycenter.v1.MuteConfig> - getCreateMuteConfigMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1.CreateMuteConfigRequest, - com.google.cloud.securitycenter.v1.MuteConfig> - getCreateMuteConfigMethod; - if ((getCreateMuteConfigMethod = SecurityCenterGrpc.getCreateMuteConfigMethod) == null) { - synchronized (SecurityCenterGrpc.class) { - if ((getCreateMuteConfigMethod = SecurityCenterGrpc.getCreateMuteConfigMethod) == null) { - SecurityCenterGrpc.getCreateMuteConfigMethod = - getCreateMuteConfigMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateMuteConfig")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1.CreateMuteConfigRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1.MuteConfig.getDefaultInstance())) - .setSchemaDescriptor( - new SecurityCenterMethodDescriptorSupplier("CreateMuteConfig")) - .build(); - } - } - } - return getCreateMuteConfigMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1.CreateNotificationConfigRequest, - com.google.cloud.securitycenter.v1.NotificationConfig> - getCreateNotificationConfigMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateNotificationConfig", - requestType = com.google.cloud.securitycenter.v1.CreateNotificationConfigRequest.class, - responseType = com.google.cloud.securitycenter.v1.NotificationConfig.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1.CreateNotificationConfigRequest, - com.google.cloud.securitycenter.v1.NotificationConfig> - getCreateNotificationConfigMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1.CreateNotificationConfigRequest, - com.google.cloud.securitycenter.v1.NotificationConfig> - getCreateNotificationConfigMethod; - if ((getCreateNotificationConfigMethod = SecurityCenterGrpc.getCreateNotificationConfigMethod) - == null) { - synchronized (SecurityCenterGrpc.class) { - if ((getCreateNotificationConfigMethod = - SecurityCenterGrpc.getCreateNotificationConfigMethod) - == null) { - SecurityCenterGrpc.getCreateNotificationConfigMethod = - getCreateNotificationConfigMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "CreateNotificationConfig")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1.CreateNotificationConfigRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1.NotificationConfig - .getDefaultInstance())) - .setSchemaDescriptor( - new SecurityCenterMethodDescriptorSupplier("CreateNotificationConfig")) - .build(); - } - } - } - return getCreateNotificationConfigMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1.DeleteMuteConfigRequest, com.google.protobuf.Empty> - getDeleteMuteConfigMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteMuteConfig", - requestType = com.google.cloud.securitycenter.v1.DeleteMuteConfigRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1.DeleteMuteConfigRequest, com.google.protobuf.Empty> - getDeleteMuteConfigMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1.DeleteMuteConfigRequest, com.google.protobuf.Empty> - getDeleteMuteConfigMethod; - if ((getDeleteMuteConfigMethod = SecurityCenterGrpc.getDeleteMuteConfigMethod) == null) { - synchronized (SecurityCenterGrpc.class) { - if ((getDeleteMuteConfigMethod = SecurityCenterGrpc.getDeleteMuteConfigMethod) == null) { - SecurityCenterGrpc.getDeleteMuteConfigMethod = - getDeleteMuteConfigMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteMuteConfig")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1.DeleteMuteConfigRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new SecurityCenterMethodDescriptorSupplier("DeleteMuteConfig")) - .build(); - } - } - } - return getDeleteMuteConfigMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1.DeleteNotificationConfigRequest, - com.google.protobuf.Empty> - getDeleteNotificationConfigMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteNotificationConfig", - requestType = com.google.cloud.securitycenter.v1.DeleteNotificationConfigRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1.DeleteNotificationConfigRequest, - com.google.protobuf.Empty> - getDeleteNotificationConfigMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1.DeleteNotificationConfigRequest, - com.google.protobuf.Empty> - getDeleteNotificationConfigMethod; - if ((getDeleteNotificationConfigMethod = SecurityCenterGrpc.getDeleteNotificationConfigMethod) - == null) { - synchronized (SecurityCenterGrpc.class) { - if ((getDeleteNotificationConfigMethod = - SecurityCenterGrpc.getDeleteNotificationConfigMethod) - == null) { - SecurityCenterGrpc.getDeleteNotificationConfigMethod = - getDeleteNotificationConfigMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "DeleteNotificationConfig")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1.DeleteNotificationConfigRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new SecurityCenterMethodDescriptorSupplier("DeleteNotificationConfig")) - .build(); - } - } - } - return getDeleteNotificationConfigMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1.GetBigQueryExportRequest, - com.google.cloud.securitycenter.v1.BigQueryExport> - getGetBigQueryExportMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetBigQueryExport", - requestType = com.google.cloud.securitycenter.v1.GetBigQueryExportRequest.class, - responseType = com.google.cloud.securitycenter.v1.BigQueryExport.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1.GetBigQueryExportRequest, - com.google.cloud.securitycenter.v1.BigQueryExport> - getGetBigQueryExportMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1.GetBigQueryExportRequest, - com.google.cloud.securitycenter.v1.BigQueryExport> - getGetBigQueryExportMethod; - if ((getGetBigQueryExportMethod = SecurityCenterGrpc.getGetBigQueryExportMethod) == null) { - synchronized (SecurityCenterGrpc.class) { - if ((getGetBigQueryExportMethod = SecurityCenterGrpc.getGetBigQueryExportMethod) == null) { - SecurityCenterGrpc.getGetBigQueryExportMethod = - getGetBigQueryExportMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetBigQueryExport")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1.GetBigQueryExportRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1.BigQueryExport - .getDefaultInstance())) - .setSchemaDescriptor( - new SecurityCenterMethodDescriptorSupplier("GetBigQueryExport")) - .build(); - } - } - } - return getGetBigQueryExportMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy> - getGetIamPolicyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetIamPolicy", - requestType = com.google.iam.v1.GetIamPolicyRequest.class, - responseType = com.google.iam.v1.Policy.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy> - getGetIamPolicyMethod() { - io.grpc.MethodDescriptor - getGetIamPolicyMethod; - if ((getGetIamPolicyMethod = SecurityCenterGrpc.getGetIamPolicyMethod) == null) { - synchronized (SecurityCenterGrpc.class) { - if ((getGetIamPolicyMethod = SecurityCenterGrpc.getGetIamPolicyMethod) == null) { - SecurityCenterGrpc.getGetIamPolicyMethod = - getGetIamPolicyMethod = - io.grpc.MethodDescriptor - .newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetIamPolicy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.GetIamPolicyRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.Policy.getDefaultInstance())) - .setSchemaDescriptor( - new SecurityCenterMethodDescriptorSupplier("GetIamPolicy")) - .build(); - } - } - } - return getGetIamPolicyMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1.GetMuteConfigRequest, - com.google.cloud.securitycenter.v1.MuteConfig> - getGetMuteConfigMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetMuteConfig", - requestType = com.google.cloud.securitycenter.v1.GetMuteConfigRequest.class, - responseType = com.google.cloud.securitycenter.v1.MuteConfig.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1.GetMuteConfigRequest, - com.google.cloud.securitycenter.v1.MuteConfig> - getGetMuteConfigMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1.GetMuteConfigRequest, - com.google.cloud.securitycenter.v1.MuteConfig> - getGetMuteConfigMethod; - if ((getGetMuteConfigMethod = SecurityCenterGrpc.getGetMuteConfigMethod) == null) { - synchronized (SecurityCenterGrpc.class) { - if ((getGetMuteConfigMethod = SecurityCenterGrpc.getGetMuteConfigMethod) == null) { - SecurityCenterGrpc.getGetMuteConfigMethod = - getGetMuteConfigMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetMuteConfig")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1.GetMuteConfigRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1.MuteConfig.getDefaultInstance())) - .setSchemaDescriptor( - new SecurityCenterMethodDescriptorSupplier("GetMuteConfig")) - .build(); - } - } - } - return getGetMuteConfigMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1.GetNotificationConfigRequest, - com.google.cloud.securitycenter.v1.NotificationConfig> - getGetNotificationConfigMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetNotificationConfig", - requestType = com.google.cloud.securitycenter.v1.GetNotificationConfigRequest.class, - responseType = com.google.cloud.securitycenter.v1.NotificationConfig.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1.GetNotificationConfigRequest, - com.google.cloud.securitycenter.v1.NotificationConfig> - getGetNotificationConfigMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1.GetNotificationConfigRequest, - com.google.cloud.securitycenter.v1.NotificationConfig> - getGetNotificationConfigMethod; - if ((getGetNotificationConfigMethod = SecurityCenterGrpc.getGetNotificationConfigMethod) - == null) { - synchronized (SecurityCenterGrpc.class) { - if ((getGetNotificationConfigMethod = SecurityCenterGrpc.getGetNotificationConfigMethod) - == null) { - SecurityCenterGrpc.getGetNotificationConfigMethod = - getGetNotificationConfigMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "GetNotificationConfig")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1.GetNotificationConfigRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1.NotificationConfig - .getDefaultInstance())) - .setSchemaDescriptor( - new SecurityCenterMethodDescriptorSupplier("GetNotificationConfig")) - .build(); - } - } - } - return getGetNotificationConfigMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1.GetOrganizationSettingsRequest, - com.google.cloud.securitycenter.v1.OrganizationSettings> - getGetOrganizationSettingsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetOrganizationSettings", - requestType = com.google.cloud.securitycenter.v1.GetOrganizationSettingsRequest.class, - responseType = com.google.cloud.securitycenter.v1.OrganizationSettings.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1.GetOrganizationSettingsRequest, - com.google.cloud.securitycenter.v1.OrganizationSettings> - getGetOrganizationSettingsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1.GetOrganizationSettingsRequest, - com.google.cloud.securitycenter.v1.OrganizationSettings> - getGetOrganizationSettingsMethod; - if ((getGetOrganizationSettingsMethod = SecurityCenterGrpc.getGetOrganizationSettingsMethod) - == null) { - synchronized (SecurityCenterGrpc.class) { - if ((getGetOrganizationSettingsMethod = SecurityCenterGrpc.getGetOrganizationSettingsMethod) - == null) { - SecurityCenterGrpc.getGetOrganizationSettingsMethod = - getGetOrganizationSettingsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "GetOrganizationSettings")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1.GetOrganizationSettingsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1.OrganizationSettings - .getDefaultInstance())) - .setSchemaDescriptor( - new SecurityCenterMethodDescriptorSupplier("GetOrganizationSettings")) - .build(); - } - } - } - return getGetOrganizationSettingsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1.GetSourceRequest, - com.google.cloud.securitycenter.v1.Source> - getGetSourceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetSource", - requestType = com.google.cloud.securitycenter.v1.GetSourceRequest.class, - responseType = com.google.cloud.securitycenter.v1.Source.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1.GetSourceRequest, - com.google.cloud.securitycenter.v1.Source> - getGetSourceMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1.GetSourceRequest, - com.google.cloud.securitycenter.v1.Source> - getGetSourceMethod; - if ((getGetSourceMethod = SecurityCenterGrpc.getGetSourceMethod) == null) { - synchronized (SecurityCenterGrpc.class) { - if ((getGetSourceMethod = SecurityCenterGrpc.getGetSourceMethod) == null) { - SecurityCenterGrpc.getGetSourceMethod = - getGetSourceMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetSource")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1.GetSourceRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1.Source.getDefaultInstance())) - .setSchemaDescriptor(new SecurityCenterMethodDescriptorSupplier("GetSource")) - .build(); - } - } - } - return getGetSourceMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1.GroupAssetsRequest, - com.google.cloud.securitycenter.v1.GroupAssetsResponse> - getGroupAssetsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GroupAssets", - requestType = com.google.cloud.securitycenter.v1.GroupAssetsRequest.class, - responseType = com.google.cloud.securitycenter.v1.GroupAssetsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1.GroupAssetsRequest, - com.google.cloud.securitycenter.v1.GroupAssetsResponse> - getGroupAssetsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1.GroupAssetsRequest, - com.google.cloud.securitycenter.v1.GroupAssetsResponse> - getGroupAssetsMethod; - if ((getGroupAssetsMethod = SecurityCenterGrpc.getGroupAssetsMethod) == null) { - synchronized (SecurityCenterGrpc.class) { - if ((getGroupAssetsMethod = SecurityCenterGrpc.getGroupAssetsMethod) == null) { - SecurityCenterGrpc.getGroupAssetsMethod = - getGroupAssetsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GroupAssets")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1.GroupAssetsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1.GroupAssetsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new SecurityCenterMethodDescriptorSupplier("GroupAssets")) - .build(); - } - } - } - return getGroupAssetsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1.GroupFindingsRequest, - com.google.cloud.securitycenter.v1.GroupFindingsResponse> - getGroupFindingsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GroupFindings", - requestType = com.google.cloud.securitycenter.v1.GroupFindingsRequest.class, - responseType = com.google.cloud.securitycenter.v1.GroupFindingsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1.GroupFindingsRequest, - com.google.cloud.securitycenter.v1.GroupFindingsResponse> - getGroupFindingsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1.GroupFindingsRequest, - com.google.cloud.securitycenter.v1.GroupFindingsResponse> - getGroupFindingsMethod; - if ((getGroupFindingsMethod = SecurityCenterGrpc.getGroupFindingsMethod) == null) { - synchronized (SecurityCenterGrpc.class) { - if ((getGroupFindingsMethod = SecurityCenterGrpc.getGroupFindingsMethod) == null) { - SecurityCenterGrpc.getGroupFindingsMethod = - getGroupFindingsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GroupFindings")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1.GroupFindingsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1.GroupFindingsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new SecurityCenterMethodDescriptorSupplier("GroupFindings")) - .build(); - } - } - } - return getGroupFindingsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1.ListAssetsRequest, - com.google.cloud.securitycenter.v1.ListAssetsResponse> - getListAssetsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListAssets", - requestType = com.google.cloud.securitycenter.v1.ListAssetsRequest.class, - responseType = com.google.cloud.securitycenter.v1.ListAssetsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1.ListAssetsRequest, - com.google.cloud.securitycenter.v1.ListAssetsResponse> - getListAssetsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1.ListAssetsRequest, - com.google.cloud.securitycenter.v1.ListAssetsResponse> - getListAssetsMethod; - if ((getListAssetsMethod = SecurityCenterGrpc.getListAssetsMethod) == null) { - synchronized (SecurityCenterGrpc.class) { - if ((getListAssetsMethod = SecurityCenterGrpc.getListAssetsMethod) == null) { - SecurityCenterGrpc.getListAssetsMethod = - getListAssetsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListAssets")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1.ListAssetsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1.ListAssetsResponse - .getDefaultInstance())) - .setSchemaDescriptor(new SecurityCenterMethodDescriptorSupplier("ListAssets")) - .build(); - } - } - } - return getListAssetsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1.ListFindingsRequest, - com.google.cloud.securitycenter.v1.ListFindingsResponse> - getListFindingsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListFindings", - requestType = com.google.cloud.securitycenter.v1.ListFindingsRequest.class, - responseType = com.google.cloud.securitycenter.v1.ListFindingsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1.ListFindingsRequest, - com.google.cloud.securitycenter.v1.ListFindingsResponse> - getListFindingsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1.ListFindingsRequest, - com.google.cloud.securitycenter.v1.ListFindingsResponse> - getListFindingsMethod; - if ((getListFindingsMethod = SecurityCenterGrpc.getListFindingsMethod) == null) { - synchronized (SecurityCenterGrpc.class) { - if ((getListFindingsMethod = SecurityCenterGrpc.getListFindingsMethod) == null) { - SecurityCenterGrpc.getListFindingsMethod = - getListFindingsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListFindings")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1.ListFindingsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1.ListFindingsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new SecurityCenterMethodDescriptorSupplier("ListFindings")) - .build(); - } - } - } - return getListFindingsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1.ListMuteConfigsRequest, - com.google.cloud.securitycenter.v1.ListMuteConfigsResponse> - getListMuteConfigsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListMuteConfigs", - requestType = com.google.cloud.securitycenter.v1.ListMuteConfigsRequest.class, - responseType = com.google.cloud.securitycenter.v1.ListMuteConfigsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1.ListMuteConfigsRequest, - com.google.cloud.securitycenter.v1.ListMuteConfigsResponse> - getListMuteConfigsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1.ListMuteConfigsRequest, - com.google.cloud.securitycenter.v1.ListMuteConfigsResponse> - getListMuteConfigsMethod; - if ((getListMuteConfigsMethod = SecurityCenterGrpc.getListMuteConfigsMethod) == null) { - synchronized (SecurityCenterGrpc.class) { - if ((getListMuteConfigsMethod = SecurityCenterGrpc.getListMuteConfigsMethod) == null) { - SecurityCenterGrpc.getListMuteConfigsMethod = - getListMuteConfigsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListMuteConfigs")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1.ListMuteConfigsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1.ListMuteConfigsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new SecurityCenterMethodDescriptorSupplier("ListMuteConfigs")) - .build(); - } - } - } - return getListMuteConfigsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1.ListNotificationConfigsRequest, - com.google.cloud.securitycenter.v1.ListNotificationConfigsResponse> - getListNotificationConfigsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListNotificationConfigs", - requestType = com.google.cloud.securitycenter.v1.ListNotificationConfigsRequest.class, - responseType = com.google.cloud.securitycenter.v1.ListNotificationConfigsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1.ListNotificationConfigsRequest, - com.google.cloud.securitycenter.v1.ListNotificationConfigsResponse> - getListNotificationConfigsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1.ListNotificationConfigsRequest, - com.google.cloud.securitycenter.v1.ListNotificationConfigsResponse> - getListNotificationConfigsMethod; - if ((getListNotificationConfigsMethod = SecurityCenterGrpc.getListNotificationConfigsMethod) - == null) { - synchronized (SecurityCenterGrpc.class) { - if ((getListNotificationConfigsMethod = SecurityCenterGrpc.getListNotificationConfigsMethod) - == null) { - SecurityCenterGrpc.getListNotificationConfigsMethod = - getListNotificationConfigsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ListNotificationConfigs")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1.ListNotificationConfigsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1.ListNotificationConfigsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new SecurityCenterMethodDescriptorSupplier("ListNotificationConfigs")) - .build(); - } - } - } - return getListNotificationConfigsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1.ListSourcesRequest, - com.google.cloud.securitycenter.v1.ListSourcesResponse> - getListSourcesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListSources", - requestType = com.google.cloud.securitycenter.v1.ListSourcesRequest.class, - responseType = com.google.cloud.securitycenter.v1.ListSourcesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1.ListSourcesRequest, - com.google.cloud.securitycenter.v1.ListSourcesResponse> - getListSourcesMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1.ListSourcesRequest, - com.google.cloud.securitycenter.v1.ListSourcesResponse> - getListSourcesMethod; - if ((getListSourcesMethod = SecurityCenterGrpc.getListSourcesMethod) == null) { - synchronized (SecurityCenterGrpc.class) { - if ((getListSourcesMethod = SecurityCenterGrpc.getListSourcesMethod) == null) { - SecurityCenterGrpc.getListSourcesMethod = - getListSourcesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListSources")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1.ListSourcesRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1.ListSourcesResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new SecurityCenterMethodDescriptorSupplier("ListSources")) - .build(); - } - } - } - return getListSourcesMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1.RunAssetDiscoveryRequest, - com.google.longrunning.Operation> - getRunAssetDiscoveryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "RunAssetDiscovery", - requestType = com.google.cloud.securitycenter.v1.RunAssetDiscoveryRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1.RunAssetDiscoveryRequest, - com.google.longrunning.Operation> - getRunAssetDiscoveryMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1.RunAssetDiscoveryRequest, - com.google.longrunning.Operation> - getRunAssetDiscoveryMethod; - if ((getRunAssetDiscoveryMethod = SecurityCenterGrpc.getRunAssetDiscoveryMethod) == null) { - synchronized (SecurityCenterGrpc.class) { - if ((getRunAssetDiscoveryMethod = SecurityCenterGrpc.getRunAssetDiscoveryMethod) == null) { - SecurityCenterGrpc.getRunAssetDiscoveryMethod = - getRunAssetDiscoveryMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RunAssetDiscovery")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1.RunAssetDiscoveryRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new SecurityCenterMethodDescriptorSupplier("RunAssetDiscovery")) - .build(); - } - } - } - return getRunAssetDiscoveryMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1.SetFindingStateRequest, - com.google.cloud.securitycenter.v1.Finding> - getSetFindingStateMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "SetFindingState", - requestType = com.google.cloud.securitycenter.v1.SetFindingStateRequest.class, - responseType = com.google.cloud.securitycenter.v1.Finding.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1.SetFindingStateRequest, - com.google.cloud.securitycenter.v1.Finding> - getSetFindingStateMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1.SetFindingStateRequest, - com.google.cloud.securitycenter.v1.Finding> - getSetFindingStateMethod; - if ((getSetFindingStateMethod = SecurityCenterGrpc.getSetFindingStateMethod) == null) { - synchronized (SecurityCenterGrpc.class) { - if ((getSetFindingStateMethod = SecurityCenterGrpc.getSetFindingStateMethod) == null) { - SecurityCenterGrpc.getSetFindingStateMethod = - getSetFindingStateMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetFindingState")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1.SetFindingStateRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1.Finding.getDefaultInstance())) - .setSchemaDescriptor( - new SecurityCenterMethodDescriptorSupplier("SetFindingState")) - .build(); - } - } - } - return getSetFindingStateMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1.SetMuteRequest, - com.google.cloud.securitycenter.v1.Finding> - getSetMuteMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "SetMute", - requestType = com.google.cloud.securitycenter.v1.SetMuteRequest.class, - responseType = com.google.cloud.securitycenter.v1.Finding.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1.SetMuteRequest, - com.google.cloud.securitycenter.v1.Finding> - getSetMuteMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1.SetMuteRequest, - com.google.cloud.securitycenter.v1.Finding> - getSetMuteMethod; - if ((getSetMuteMethod = SecurityCenterGrpc.getSetMuteMethod) == null) { - synchronized (SecurityCenterGrpc.class) { - if ((getSetMuteMethod = SecurityCenterGrpc.getSetMuteMethod) == null) { - SecurityCenterGrpc.getSetMuteMethod = - getSetMuteMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetMute")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1.SetMuteRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1.Finding.getDefaultInstance())) - .setSchemaDescriptor(new SecurityCenterMethodDescriptorSupplier("SetMute")) - .build(); - } - } - } - return getSetMuteMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy> - getSetIamPolicyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "SetIamPolicy", - requestType = com.google.iam.v1.SetIamPolicyRequest.class, - responseType = com.google.iam.v1.Policy.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy> - getSetIamPolicyMethod() { - io.grpc.MethodDescriptor - getSetIamPolicyMethod; - if ((getSetIamPolicyMethod = SecurityCenterGrpc.getSetIamPolicyMethod) == null) { - synchronized (SecurityCenterGrpc.class) { - if ((getSetIamPolicyMethod = SecurityCenterGrpc.getSetIamPolicyMethod) == null) { - SecurityCenterGrpc.getSetIamPolicyMethod = - getSetIamPolicyMethod = - io.grpc.MethodDescriptor - .newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetIamPolicy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.SetIamPolicyRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.Policy.getDefaultInstance())) - .setSchemaDescriptor( - new SecurityCenterMethodDescriptorSupplier("SetIamPolicy")) - .build(); - } - } - } - return getSetIamPolicyMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.iam.v1.TestIamPermissionsRequest, com.google.iam.v1.TestIamPermissionsResponse> - getTestIamPermissionsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "TestIamPermissions", - requestType = com.google.iam.v1.TestIamPermissionsRequest.class, - responseType = com.google.iam.v1.TestIamPermissionsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.iam.v1.TestIamPermissionsRequest, com.google.iam.v1.TestIamPermissionsResponse> - getTestIamPermissionsMethod() { - io.grpc.MethodDescriptor< - com.google.iam.v1.TestIamPermissionsRequest, - com.google.iam.v1.TestIamPermissionsResponse> - getTestIamPermissionsMethod; - if ((getTestIamPermissionsMethod = SecurityCenterGrpc.getTestIamPermissionsMethod) == null) { - synchronized (SecurityCenterGrpc.class) { - if ((getTestIamPermissionsMethod = SecurityCenterGrpc.getTestIamPermissionsMethod) - == null) { - SecurityCenterGrpc.getTestIamPermissionsMethod = - getTestIamPermissionsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "TestIamPermissions")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.TestIamPermissionsRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.TestIamPermissionsResponse.getDefaultInstance())) - .setSchemaDescriptor( - new SecurityCenterMethodDescriptorSupplier("TestIamPermissions")) - .build(); - } - } - } - return getTestIamPermissionsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1.UpdateExternalSystemRequest, - com.google.cloud.securitycenter.v1.ExternalSystem> - getUpdateExternalSystemMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateExternalSystem", - requestType = com.google.cloud.securitycenter.v1.UpdateExternalSystemRequest.class, - responseType = com.google.cloud.securitycenter.v1.ExternalSystem.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1.UpdateExternalSystemRequest, - com.google.cloud.securitycenter.v1.ExternalSystem> - getUpdateExternalSystemMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1.UpdateExternalSystemRequest, - com.google.cloud.securitycenter.v1.ExternalSystem> - getUpdateExternalSystemMethod; - if ((getUpdateExternalSystemMethod = SecurityCenterGrpc.getUpdateExternalSystemMethod) - == null) { - synchronized (SecurityCenterGrpc.class) { - if ((getUpdateExternalSystemMethod = SecurityCenterGrpc.getUpdateExternalSystemMethod) - == null) { - SecurityCenterGrpc.getUpdateExternalSystemMethod = - getUpdateExternalSystemMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "UpdateExternalSystem")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1.UpdateExternalSystemRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1.ExternalSystem - .getDefaultInstance())) - .setSchemaDescriptor( - new SecurityCenterMethodDescriptorSupplier("UpdateExternalSystem")) - .build(); - } - } - } - return getUpdateExternalSystemMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1.UpdateFindingRequest, - com.google.cloud.securitycenter.v1.Finding> - getUpdateFindingMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateFinding", - requestType = com.google.cloud.securitycenter.v1.UpdateFindingRequest.class, - responseType = com.google.cloud.securitycenter.v1.Finding.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1.UpdateFindingRequest, - com.google.cloud.securitycenter.v1.Finding> - getUpdateFindingMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1.UpdateFindingRequest, - com.google.cloud.securitycenter.v1.Finding> - getUpdateFindingMethod; - if ((getUpdateFindingMethod = SecurityCenterGrpc.getUpdateFindingMethod) == null) { - synchronized (SecurityCenterGrpc.class) { - if ((getUpdateFindingMethod = SecurityCenterGrpc.getUpdateFindingMethod) == null) { - SecurityCenterGrpc.getUpdateFindingMethod = - getUpdateFindingMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateFinding")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1.UpdateFindingRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1.Finding.getDefaultInstance())) - .setSchemaDescriptor( - new SecurityCenterMethodDescriptorSupplier("UpdateFinding")) - .build(); - } - } - } - return getUpdateFindingMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1.UpdateMuteConfigRequest, - com.google.cloud.securitycenter.v1.MuteConfig> - getUpdateMuteConfigMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateMuteConfig", - requestType = com.google.cloud.securitycenter.v1.UpdateMuteConfigRequest.class, - responseType = com.google.cloud.securitycenter.v1.MuteConfig.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1.UpdateMuteConfigRequest, - com.google.cloud.securitycenter.v1.MuteConfig> - getUpdateMuteConfigMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1.UpdateMuteConfigRequest, - com.google.cloud.securitycenter.v1.MuteConfig> - getUpdateMuteConfigMethod; - if ((getUpdateMuteConfigMethod = SecurityCenterGrpc.getUpdateMuteConfigMethod) == null) { - synchronized (SecurityCenterGrpc.class) { - if ((getUpdateMuteConfigMethod = SecurityCenterGrpc.getUpdateMuteConfigMethod) == null) { - SecurityCenterGrpc.getUpdateMuteConfigMethod = - getUpdateMuteConfigMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateMuteConfig")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1.UpdateMuteConfigRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1.MuteConfig.getDefaultInstance())) - .setSchemaDescriptor( - new SecurityCenterMethodDescriptorSupplier("UpdateMuteConfig")) - .build(); - } - } - } - return getUpdateMuteConfigMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1.UpdateNotificationConfigRequest, - com.google.cloud.securitycenter.v1.NotificationConfig> - getUpdateNotificationConfigMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateNotificationConfig", - requestType = com.google.cloud.securitycenter.v1.UpdateNotificationConfigRequest.class, - responseType = com.google.cloud.securitycenter.v1.NotificationConfig.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1.UpdateNotificationConfigRequest, - com.google.cloud.securitycenter.v1.NotificationConfig> - getUpdateNotificationConfigMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1.UpdateNotificationConfigRequest, - com.google.cloud.securitycenter.v1.NotificationConfig> - getUpdateNotificationConfigMethod; - if ((getUpdateNotificationConfigMethod = SecurityCenterGrpc.getUpdateNotificationConfigMethod) - == null) { - synchronized (SecurityCenterGrpc.class) { - if ((getUpdateNotificationConfigMethod = - SecurityCenterGrpc.getUpdateNotificationConfigMethod) - == null) { - SecurityCenterGrpc.getUpdateNotificationConfigMethod = - getUpdateNotificationConfigMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "UpdateNotificationConfig")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1.UpdateNotificationConfigRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1.NotificationConfig - .getDefaultInstance())) - .setSchemaDescriptor( - new SecurityCenterMethodDescriptorSupplier("UpdateNotificationConfig")) - .build(); - } - } - } - return getUpdateNotificationConfigMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1.UpdateOrganizationSettingsRequest, - com.google.cloud.securitycenter.v1.OrganizationSettings> - getUpdateOrganizationSettingsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateOrganizationSettings", - requestType = com.google.cloud.securitycenter.v1.UpdateOrganizationSettingsRequest.class, - responseType = com.google.cloud.securitycenter.v1.OrganizationSettings.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1.UpdateOrganizationSettingsRequest, - com.google.cloud.securitycenter.v1.OrganizationSettings> - getUpdateOrganizationSettingsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1.UpdateOrganizationSettingsRequest, - com.google.cloud.securitycenter.v1.OrganizationSettings> - getUpdateOrganizationSettingsMethod; - if ((getUpdateOrganizationSettingsMethod = - SecurityCenterGrpc.getUpdateOrganizationSettingsMethod) - == null) { - synchronized (SecurityCenterGrpc.class) { - if ((getUpdateOrganizationSettingsMethod = - SecurityCenterGrpc.getUpdateOrganizationSettingsMethod) - == null) { - SecurityCenterGrpc.getUpdateOrganizationSettingsMethod = - getUpdateOrganizationSettingsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "UpdateOrganizationSettings")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1.UpdateOrganizationSettingsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1.OrganizationSettings - .getDefaultInstance())) - .setSchemaDescriptor( - new SecurityCenterMethodDescriptorSupplier("UpdateOrganizationSettings")) - .build(); - } - } - } - return getUpdateOrganizationSettingsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1.UpdateSourceRequest, - com.google.cloud.securitycenter.v1.Source> - getUpdateSourceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateSource", - requestType = com.google.cloud.securitycenter.v1.UpdateSourceRequest.class, - responseType = com.google.cloud.securitycenter.v1.Source.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1.UpdateSourceRequest, - com.google.cloud.securitycenter.v1.Source> - getUpdateSourceMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1.UpdateSourceRequest, - com.google.cloud.securitycenter.v1.Source> - getUpdateSourceMethod; - if ((getUpdateSourceMethod = SecurityCenterGrpc.getUpdateSourceMethod) == null) { - synchronized (SecurityCenterGrpc.class) { - if ((getUpdateSourceMethod = SecurityCenterGrpc.getUpdateSourceMethod) == null) { - SecurityCenterGrpc.getUpdateSourceMethod = - getUpdateSourceMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateSource")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1.UpdateSourceRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1.Source.getDefaultInstance())) - .setSchemaDescriptor( - new SecurityCenterMethodDescriptorSupplier("UpdateSource")) - .build(); - } - } - } - return getUpdateSourceMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1.UpdateSecurityMarksRequest, - com.google.cloud.securitycenter.v1.SecurityMarks> - getUpdateSecurityMarksMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateSecurityMarks", - requestType = com.google.cloud.securitycenter.v1.UpdateSecurityMarksRequest.class, - responseType = com.google.cloud.securitycenter.v1.SecurityMarks.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1.UpdateSecurityMarksRequest, - com.google.cloud.securitycenter.v1.SecurityMarks> - getUpdateSecurityMarksMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1.UpdateSecurityMarksRequest, - com.google.cloud.securitycenter.v1.SecurityMarks> - getUpdateSecurityMarksMethod; - if ((getUpdateSecurityMarksMethod = SecurityCenterGrpc.getUpdateSecurityMarksMethod) == null) { - synchronized (SecurityCenterGrpc.class) { - if ((getUpdateSecurityMarksMethod = SecurityCenterGrpc.getUpdateSecurityMarksMethod) - == null) { - SecurityCenterGrpc.getUpdateSecurityMarksMethod = - getUpdateSecurityMarksMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "UpdateSecurityMarks")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1.UpdateSecurityMarksRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1.SecurityMarks - .getDefaultInstance())) - .setSchemaDescriptor( - new SecurityCenterMethodDescriptorSupplier("UpdateSecurityMarks")) - .build(); - } - } - } - return getUpdateSecurityMarksMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1.CreateBigQueryExportRequest, - com.google.cloud.securitycenter.v1.BigQueryExport> - getCreateBigQueryExportMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateBigQueryExport", - requestType = com.google.cloud.securitycenter.v1.CreateBigQueryExportRequest.class, - responseType = com.google.cloud.securitycenter.v1.BigQueryExport.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1.CreateBigQueryExportRequest, - com.google.cloud.securitycenter.v1.BigQueryExport> - getCreateBigQueryExportMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1.CreateBigQueryExportRequest, - com.google.cloud.securitycenter.v1.BigQueryExport> - getCreateBigQueryExportMethod; - if ((getCreateBigQueryExportMethod = SecurityCenterGrpc.getCreateBigQueryExportMethod) - == null) { - synchronized (SecurityCenterGrpc.class) { - if ((getCreateBigQueryExportMethod = SecurityCenterGrpc.getCreateBigQueryExportMethod) - == null) { - SecurityCenterGrpc.getCreateBigQueryExportMethod = - getCreateBigQueryExportMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "CreateBigQueryExport")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1.CreateBigQueryExportRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1.BigQueryExport - .getDefaultInstance())) - .setSchemaDescriptor( - new SecurityCenterMethodDescriptorSupplier("CreateBigQueryExport")) - .build(); - } - } - } - return getCreateBigQueryExportMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1.DeleteBigQueryExportRequest, com.google.protobuf.Empty> - getDeleteBigQueryExportMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteBigQueryExport", - requestType = com.google.cloud.securitycenter.v1.DeleteBigQueryExportRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1.DeleteBigQueryExportRequest, com.google.protobuf.Empty> - getDeleteBigQueryExportMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1.DeleteBigQueryExportRequest, - com.google.protobuf.Empty> - getDeleteBigQueryExportMethod; - if ((getDeleteBigQueryExportMethod = SecurityCenterGrpc.getDeleteBigQueryExportMethod) - == null) { - synchronized (SecurityCenterGrpc.class) { - if ((getDeleteBigQueryExportMethod = SecurityCenterGrpc.getDeleteBigQueryExportMethod) - == null) { - SecurityCenterGrpc.getDeleteBigQueryExportMethod = - getDeleteBigQueryExportMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "DeleteBigQueryExport")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1.DeleteBigQueryExportRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new SecurityCenterMethodDescriptorSupplier("DeleteBigQueryExport")) - .build(); - } - } - } - return getDeleteBigQueryExportMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1.UpdateBigQueryExportRequest, - com.google.cloud.securitycenter.v1.BigQueryExport> - getUpdateBigQueryExportMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateBigQueryExport", - requestType = com.google.cloud.securitycenter.v1.UpdateBigQueryExportRequest.class, - responseType = com.google.cloud.securitycenter.v1.BigQueryExport.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1.UpdateBigQueryExportRequest, - com.google.cloud.securitycenter.v1.BigQueryExport> - getUpdateBigQueryExportMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1.UpdateBigQueryExportRequest, - com.google.cloud.securitycenter.v1.BigQueryExport> - getUpdateBigQueryExportMethod; - if ((getUpdateBigQueryExportMethod = SecurityCenterGrpc.getUpdateBigQueryExportMethod) - == null) { - synchronized (SecurityCenterGrpc.class) { - if ((getUpdateBigQueryExportMethod = SecurityCenterGrpc.getUpdateBigQueryExportMethod) - == null) { - SecurityCenterGrpc.getUpdateBigQueryExportMethod = - getUpdateBigQueryExportMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "UpdateBigQueryExport")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1.UpdateBigQueryExportRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1.BigQueryExport - .getDefaultInstance())) - .setSchemaDescriptor( - new SecurityCenterMethodDescriptorSupplier("UpdateBigQueryExport")) - .build(); - } - } - } - return getUpdateBigQueryExportMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1.ListBigQueryExportsRequest, - com.google.cloud.securitycenter.v1.ListBigQueryExportsResponse> - getListBigQueryExportsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListBigQueryExports", - requestType = com.google.cloud.securitycenter.v1.ListBigQueryExportsRequest.class, - responseType = com.google.cloud.securitycenter.v1.ListBigQueryExportsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1.ListBigQueryExportsRequest, - com.google.cloud.securitycenter.v1.ListBigQueryExportsResponse> - getListBigQueryExportsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1.ListBigQueryExportsRequest, - com.google.cloud.securitycenter.v1.ListBigQueryExportsResponse> - getListBigQueryExportsMethod; - if ((getListBigQueryExportsMethod = SecurityCenterGrpc.getListBigQueryExportsMethod) == null) { - synchronized (SecurityCenterGrpc.class) { - if ((getListBigQueryExportsMethod = SecurityCenterGrpc.getListBigQueryExportsMethod) - == null) { - SecurityCenterGrpc.getListBigQueryExportsMethod = - getListBigQueryExportsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ListBigQueryExports")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1.ListBigQueryExportsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1.ListBigQueryExportsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new SecurityCenterMethodDescriptorSupplier("ListBigQueryExports")) - .build(); - } - } - } - return getListBigQueryExportsMethod; - } - - /** Creates a new async stub that supports all call types for the service */ - public static SecurityCenterStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public SecurityCenterStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new SecurityCenterStub(channel, callOptions); - } - }; - return SecurityCenterStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static SecurityCenterBlockingStub newBlockingStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public SecurityCenterBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new SecurityCenterBlockingStub(channel, callOptions); - } - }; - return SecurityCenterBlockingStub.newStub(factory, channel); - } - - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static SecurityCenterFutureStub newFutureStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public SecurityCenterFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new SecurityCenterFutureStub(channel, callOptions); - } - }; - return SecurityCenterFutureStub.newStub(factory, channel); - } - - /** - * - * - *
-   * V1 APIs for Security Center service.
-   * 
- */ - public abstract static class SecurityCenterImplBase implements io.grpc.BindableService { - - /** - * - * - *
-     * Kicks off an LRO to bulk mute findings for a parent based on a filter. The
-     * parent can be either an organization, folder or project. The findings
-     * matched by the filter will be muted after the LRO is done.
-     * 
- */ - public void bulkMuteFindings( - com.google.cloud.securitycenter.v1.BulkMuteFindingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getBulkMuteFindingsMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a source.
-     * 
- */ - public void createSource( - com.google.cloud.securitycenter.v1.CreateSourceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateSourceMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a finding. The corresponding source must exist for finding creation
-     * to succeed.
-     * 
- */ - public void createFinding( - com.google.cloud.securitycenter.v1.CreateFindingRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateFindingMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a mute config.
-     * 
- */ - public void createMuteConfig( - com.google.cloud.securitycenter.v1.CreateMuteConfigRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateMuteConfigMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a notification config.
-     * 
- */ - public void createNotificationConfig( - com.google.cloud.securitycenter.v1.CreateNotificationConfigRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateNotificationConfigMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes an existing mute config.
-     * 
- */ - public void deleteMuteConfig( - com.google.cloud.securitycenter.v1.DeleteMuteConfigRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteMuteConfigMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a notification config.
-     * 
- */ - public void deleteNotificationConfig( - com.google.cloud.securitycenter.v1.DeleteNotificationConfigRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteNotificationConfigMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets a big query export.
-     * 
- */ - public void getBigQueryExport( - com.google.cloud.securitycenter.v1.GetBigQueryExportRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetBigQueryExportMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets the access control policy on the specified Source.
-     * 
- */ - public void getIamPolicy( - com.google.iam.v1.GetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetIamPolicyMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets a mute config.
-     * 
- */ - public void getMuteConfig( - com.google.cloud.securitycenter.v1.GetMuteConfigRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetMuteConfigMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets a notification config.
-     * 
- */ - public void getNotificationConfig( - com.google.cloud.securitycenter.v1.GetNotificationConfigRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetNotificationConfigMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets the settings for an organization.
-     * 
- */ - public void getOrganizationSettings( - com.google.cloud.securitycenter.v1.GetOrganizationSettingsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetOrganizationSettingsMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets a source.
-     * 
- */ - public void getSource( - com.google.cloud.securitycenter.v1.GetSourceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetSourceMethod(), responseObserver); - } - - /** - * - * - *
-     * Filters an organization's assets and  groups them by their specified
-     * properties.
-     * 
- */ - public void groupAssets( - com.google.cloud.securitycenter.v1.GroupAssetsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGroupAssetsMethod(), responseObserver); - } - - /** - * - * - *
-     * Filters an organization or source's findings and  groups them by their
-     * specified properties.
-     * To group across all sources provide a `-` as the source id.
-     * Example: /v1/organizations/{organization_id}/sources/-/findings,
-     * /v1/folders/{folder_id}/sources/-/findings,
-     * /v1/projects/{project_id}/sources/-/findings
-     * 
- */ - public void groupFindings( - com.google.cloud.securitycenter.v1.GroupFindingsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGroupFindingsMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists an organization's assets.
-     * 
- */ - public void listAssets( - com.google.cloud.securitycenter.v1.ListAssetsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListAssetsMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists an organization or source's findings.
-     * To list across all sources provide a `-` as the source id.
-     * Example: /v1/organizations/{organization_id}/sources/-/findings
-     * 
- */ - public void listFindings( - com.google.cloud.securitycenter.v1.ListFindingsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListFindingsMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists mute configs.
-     * 
- */ - public void listMuteConfigs( - com.google.cloud.securitycenter.v1.ListMuteConfigsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListMuteConfigsMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists notification configs.
-     * 
- */ - public void listNotificationConfigs( - com.google.cloud.securitycenter.v1.ListNotificationConfigsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.securitycenter.v1.ListNotificationConfigsResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListNotificationConfigsMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists all sources belonging to an organization.
-     * 
- */ - public void listSources( - com.google.cloud.securitycenter.v1.ListSourcesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListSourcesMethod(), responseObserver); - } - - /** - * - * - *
-     * Runs asset discovery. The discovery is tracked with a long-running
-     * operation.
-     * This API can only be called with limited frequency for an organization. If
-     * it is called too frequently the caller will receive a TOO_MANY_REQUESTS
-     * error.
-     * 
- */ - public void runAssetDiscovery( - com.google.cloud.securitycenter.v1.RunAssetDiscoveryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getRunAssetDiscoveryMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates the state of a finding.
-     * 
- */ - public void setFindingState( - com.google.cloud.securitycenter.v1.SetFindingStateRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getSetFindingStateMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates the mute state of a finding.
-     * 
- */ - public void setMute( - com.google.cloud.securitycenter.v1.SetMuteRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetMuteMethod(), responseObserver); - } - - /** - * - * - *
-     * Sets the access control policy on the specified Source.
-     * 
- */ - public void setIamPolicy( - com.google.iam.v1.SetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getSetIamPolicyMethod(), responseObserver); - } - - /** - * - * - *
-     * Returns the permissions that a caller has on the specified source.
-     * 
- */ - public void testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getTestIamPermissionsMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates external system. This is for a given finding.
-     * 
- */ - public void updateExternalSystem( - com.google.cloud.securitycenter.v1.UpdateExternalSystemRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateExternalSystemMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates or updates a finding. The corresponding source must exist for a
-     * finding creation to succeed.
-     * 
- */ - public void updateFinding( - com.google.cloud.securitycenter.v1.UpdateFindingRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateFindingMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates a mute config.
-     * 
- */ - public void updateMuteConfig( - com.google.cloud.securitycenter.v1.UpdateMuteConfigRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateMuteConfigMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates a notification config. The following update
-     * fields are allowed: description, pubsub_topic, streaming_config.filter
-     * 
- */ - public void updateNotificationConfig( - com.google.cloud.securitycenter.v1.UpdateNotificationConfigRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateNotificationConfigMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates an organization's settings.
-     * 
- */ - public void updateOrganizationSettings( - com.google.cloud.securitycenter.v1.UpdateOrganizationSettingsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateOrganizationSettingsMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates a source.
-     * 
- */ - public void updateSource( - com.google.cloud.securitycenter.v1.UpdateSourceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateSourceMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates security marks.
-     * 
- */ - public void updateSecurityMarks( - com.google.cloud.securitycenter.v1.UpdateSecurityMarksRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateSecurityMarksMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a big query export.
-     * 
- */ - public void createBigQueryExport( - com.google.cloud.securitycenter.v1.CreateBigQueryExportRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateBigQueryExportMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes an existing big query export.
-     * 
- */ - public void deleteBigQueryExport( - com.google.cloud.securitycenter.v1.DeleteBigQueryExportRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteBigQueryExportMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates a BigQuery export.
-     * 
- */ - public void updateBigQueryExport( - com.google.cloud.securitycenter.v1.UpdateBigQueryExportRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateBigQueryExportMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists BigQuery exports. Note that when requesting BigQuery exports at a
-     * given level all exports under that level are also returned e.g. if
-     * requesting BigQuery exports under a folder, then all BigQuery exports
-     * immediately under the folder plus the ones created under the projects
-     * within the folder are returned.
-     * 
- */ - public void listBigQueryExports( - com.google.cloud.securitycenter.v1.ListBigQueryExportsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListBigQueryExportsMethod(), responseObserver); - } - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getBulkMuteFindingsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.securitycenter.v1.BulkMuteFindingsRequest, - com.google.longrunning.Operation>(this, METHODID_BULK_MUTE_FINDINGS))) - .addMethod( - getCreateSourceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.securitycenter.v1.CreateSourceRequest, - com.google.cloud.securitycenter.v1.Source>(this, METHODID_CREATE_SOURCE))) - .addMethod( - getCreateFindingMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.securitycenter.v1.CreateFindingRequest, - com.google.cloud.securitycenter.v1.Finding>(this, METHODID_CREATE_FINDING))) - .addMethod( - getCreateMuteConfigMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.securitycenter.v1.CreateMuteConfigRequest, - com.google.cloud.securitycenter.v1.MuteConfig>( - this, METHODID_CREATE_MUTE_CONFIG))) - .addMethod( - getCreateNotificationConfigMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.securitycenter.v1.CreateNotificationConfigRequest, - com.google.cloud.securitycenter.v1.NotificationConfig>( - this, METHODID_CREATE_NOTIFICATION_CONFIG))) - .addMethod( - getDeleteMuteConfigMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.securitycenter.v1.DeleteMuteConfigRequest, - com.google.protobuf.Empty>(this, METHODID_DELETE_MUTE_CONFIG))) - .addMethod( - getDeleteNotificationConfigMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.securitycenter.v1.DeleteNotificationConfigRequest, - com.google.protobuf.Empty>(this, METHODID_DELETE_NOTIFICATION_CONFIG))) - .addMethod( - getGetBigQueryExportMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.securitycenter.v1.GetBigQueryExportRequest, - com.google.cloud.securitycenter.v1.BigQueryExport>( - this, METHODID_GET_BIG_QUERY_EXPORT))) - .addMethod( - getGetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy>( - this, METHODID_GET_IAM_POLICY))) - .addMethod( - getGetMuteConfigMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.securitycenter.v1.GetMuteConfigRequest, - com.google.cloud.securitycenter.v1.MuteConfig>( - this, METHODID_GET_MUTE_CONFIG))) - .addMethod( - getGetNotificationConfigMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.securitycenter.v1.GetNotificationConfigRequest, - com.google.cloud.securitycenter.v1.NotificationConfig>( - this, METHODID_GET_NOTIFICATION_CONFIG))) - .addMethod( - getGetOrganizationSettingsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.securitycenter.v1.GetOrganizationSettingsRequest, - com.google.cloud.securitycenter.v1.OrganizationSettings>( - this, METHODID_GET_ORGANIZATION_SETTINGS))) - .addMethod( - getGetSourceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.securitycenter.v1.GetSourceRequest, - com.google.cloud.securitycenter.v1.Source>(this, METHODID_GET_SOURCE))) - .addMethod( - getGroupAssetsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.securitycenter.v1.GroupAssetsRequest, - com.google.cloud.securitycenter.v1.GroupAssetsResponse>( - this, METHODID_GROUP_ASSETS))) - .addMethod( - getGroupFindingsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.securitycenter.v1.GroupFindingsRequest, - com.google.cloud.securitycenter.v1.GroupFindingsResponse>( - this, METHODID_GROUP_FINDINGS))) - .addMethod( - getListAssetsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.securitycenter.v1.ListAssetsRequest, - com.google.cloud.securitycenter.v1.ListAssetsResponse>( - this, METHODID_LIST_ASSETS))) - .addMethod( - getListFindingsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.securitycenter.v1.ListFindingsRequest, - com.google.cloud.securitycenter.v1.ListFindingsResponse>( - this, METHODID_LIST_FINDINGS))) - .addMethod( - getListMuteConfigsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.securitycenter.v1.ListMuteConfigsRequest, - com.google.cloud.securitycenter.v1.ListMuteConfigsResponse>( - this, METHODID_LIST_MUTE_CONFIGS))) - .addMethod( - getListNotificationConfigsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.securitycenter.v1.ListNotificationConfigsRequest, - com.google.cloud.securitycenter.v1.ListNotificationConfigsResponse>( - this, METHODID_LIST_NOTIFICATION_CONFIGS))) - .addMethod( - getListSourcesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.securitycenter.v1.ListSourcesRequest, - com.google.cloud.securitycenter.v1.ListSourcesResponse>( - this, METHODID_LIST_SOURCES))) - .addMethod( - getRunAssetDiscoveryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.securitycenter.v1.RunAssetDiscoveryRequest, - com.google.longrunning.Operation>(this, METHODID_RUN_ASSET_DISCOVERY))) - .addMethod( - getSetFindingStateMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.securitycenter.v1.SetFindingStateRequest, - com.google.cloud.securitycenter.v1.Finding>( - this, METHODID_SET_FINDING_STATE))) - .addMethod( - getSetMuteMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.securitycenter.v1.SetMuteRequest, - com.google.cloud.securitycenter.v1.Finding>(this, METHODID_SET_MUTE))) - .addMethod( - getSetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy>( - this, METHODID_SET_IAM_POLICY))) - .addMethod( - getTestIamPermissionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.TestIamPermissionsRequest, - com.google.iam.v1.TestIamPermissionsResponse>( - this, METHODID_TEST_IAM_PERMISSIONS))) - .addMethod( - getUpdateExternalSystemMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.securitycenter.v1.UpdateExternalSystemRequest, - com.google.cloud.securitycenter.v1.ExternalSystem>( - this, METHODID_UPDATE_EXTERNAL_SYSTEM))) - .addMethod( - getUpdateFindingMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.securitycenter.v1.UpdateFindingRequest, - com.google.cloud.securitycenter.v1.Finding>(this, METHODID_UPDATE_FINDING))) - .addMethod( - getUpdateMuteConfigMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.securitycenter.v1.UpdateMuteConfigRequest, - com.google.cloud.securitycenter.v1.MuteConfig>( - this, METHODID_UPDATE_MUTE_CONFIG))) - .addMethod( - getUpdateNotificationConfigMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.securitycenter.v1.UpdateNotificationConfigRequest, - com.google.cloud.securitycenter.v1.NotificationConfig>( - this, METHODID_UPDATE_NOTIFICATION_CONFIG))) - .addMethod( - getUpdateOrganizationSettingsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.securitycenter.v1.UpdateOrganizationSettingsRequest, - com.google.cloud.securitycenter.v1.OrganizationSettings>( - this, METHODID_UPDATE_ORGANIZATION_SETTINGS))) - .addMethod( - getUpdateSourceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.securitycenter.v1.UpdateSourceRequest, - com.google.cloud.securitycenter.v1.Source>(this, METHODID_UPDATE_SOURCE))) - .addMethod( - getUpdateSecurityMarksMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.securitycenter.v1.UpdateSecurityMarksRequest, - com.google.cloud.securitycenter.v1.SecurityMarks>( - this, METHODID_UPDATE_SECURITY_MARKS))) - .addMethod( - getCreateBigQueryExportMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.securitycenter.v1.CreateBigQueryExportRequest, - com.google.cloud.securitycenter.v1.BigQueryExport>( - this, METHODID_CREATE_BIG_QUERY_EXPORT))) - .addMethod( - getDeleteBigQueryExportMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.securitycenter.v1.DeleteBigQueryExportRequest, - com.google.protobuf.Empty>(this, METHODID_DELETE_BIG_QUERY_EXPORT))) - .addMethod( - getUpdateBigQueryExportMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.securitycenter.v1.UpdateBigQueryExportRequest, - com.google.cloud.securitycenter.v1.BigQueryExport>( - this, METHODID_UPDATE_BIG_QUERY_EXPORT))) - .addMethod( - getListBigQueryExportsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.securitycenter.v1.ListBigQueryExportsRequest, - com.google.cloud.securitycenter.v1.ListBigQueryExportsResponse>( - this, METHODID_LIST_BIG_QUERY_EXPORTS))) - .build(); - } - } - - /** - * - * - *
-   * V1 APIs for Security Center service.
-   * 
- */ - public static final class SecurityCenterStub - extends io.grpc.stub.AbstractAsyncStub { - private SecurityCenterStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected SecurityCenterStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new SecurityCenterStub(channel, callOptions); - } - - /** - * - * - *
-     * Kicks off an LRO to bulk mute findings for a parent based on a filter. The
-     * parent can be either an organization, folder or project. The findings
-     * matched by the filter will be muted after the LRO is done.
-     * 
- */ - public void bulkMuteFindings( - com.google.cloud.securitycenter.v1.BulkMuteFindingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getBulkMuteFindingsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates a source.
-     * 
- */ - public void createSource( - com.google.cloud.securitycenter.v1.CreateSourceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateSourceMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates a finding. The corresponding source must exist for finding creation
-     * to succeed.
-     * 
- */ - public void createFinding( - com.google.cloud.securitycenter.v1.CreateFindingRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateFindingMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates a mute config.
-     * 
- */ - public void createMuteConfig( - com.google.cloud.securitycenter.v1.CreateMuteConfigRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateMuteConfigMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates a notification config.
-     * 
- */ - public void createNotificationConfig( - com.google.cloud.securitycenter.v1.CreateNotificationConfigRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateNotificationConfigMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes an existing mute config.
-     * 
- */ - public void deleteMuteConfig( - com.google.cloud.securitycenter.v1.DeleteMuteConfigRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteMuteConfigMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes a notification config.
-     * 
- */ - public void deleteNotificationConfig( - com.google.cloud.securitycenter.v1.DeleteNotificationConfigRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteNotificationConfigMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets a big query export.
-     * 
- */ - public void getBigQueryExport( - com.google.cloud.securitycenter.v1.GetBigQueryExportRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetBigQueryExportMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets the access control policy on the specified Source.
-     * 
- */ - public void getIamPolicy( - com.google.iam.v1.GetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets a mute config.
-     * 
- */ - public void getMuteConfig( - com.google.cloud.securitycenter.v1.GetMuteConfigRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetMuteConfigMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets a notification config.
-     * 
- */ - public void getNotificationConfig( - com.google.cloud.securitycenter.v1.GetNotificationConfigRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetNotificationConfigMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets the settings for an organization.
-     * 
- */ - public void getOrganizationSettings( - com.google.cloud.securitycenter.v1.GetOrganizationSettingsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetOrganizationSettingsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets a source.
-     * 
- */ - public void getSource( - com.google.cloud.securitycenter.v1.GetSourceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetSourceMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Filters an organization's assets and  groups them by their specified
-     * properties.
-     * 
- */ - public void groupAssets( - com.google.cloud.securitycenter.v1.GroupAssetsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGroupAssetsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Filters an organization or source's findings and  groups them by their
-     * specified properties.
-     * To group across all sources provide a `-` as the source id.
-     * Example: /v1/organizations/{organization_id}/sources/-/findings,
-     * /v1/folders/{folder_id}/sources/-/findings,
-     * /v1/projects/{project_id}/sources/-/findings
-     * 
- */ - public void groupFindings( - com.google.cloud.securitycenter.v1.GroupFindingsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGroupFindingsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists an organization's assets.
-     * 
- */ - public void listAssets( - com.google.cloud.securitycenter.v1.ListAssetsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListAssetsMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Lists an organization or source's findings.
-     * To list across all sources provide a `-` as the source id.
-     * Example: /v1/organizations/{organization_id}/sources/-/findings
-     * 
- */ - public void listFindings( - com.google.cloud.securitycenter.v1.ListFindingsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListFindingsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists mute configs.
-     * 
- */ - public void listMuteConfigs( - com.google.cloud.securitycenter.v1.ListMuteConfigsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListMuteConfigsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists notification configs.
-     * 
- */ - public void listNotificationConfigs( - com.google.cloud.securitycenter.v1.ListNotificationConfigsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.securitycenter.v1.ListNotificationConfigsResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListNotificationConfigsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists all sources belonging to an organization.
-     * 
- */ - public void listSources( - com.google.cloud.securitycenter.v1.ListSourcesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListSourcesMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Runs asset discovery. The discovery is tracked with a long-running
-     * operation.
-     * This API can only be called with limited frequency for an organization. If
-     * it is called too frequently the caller will receive a TOO_MANY_REQUESTS
-     * error.
-     * 
- */ - public void runAssetDiscovery( - com.google.cloud.securitycenter.v1.RunAssetDiscoveryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRunAssetDiscoveryMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates the state of a finding.
-     * 
- */ - public void setFindingState( - com.google.cloud.securitycenter.v1.SetFindingStateRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSetFindingStateMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates the mute state of a finding.
-     * 
- */ - public void setMute( - com.google.cloud.securitycenter.v1.SetMuteRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSetMuteMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Sets the access control policy on the specified Source.
-     * 
- */ - public void setIamPolicy( - com.google.iam.v1.SetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Returns the permissions that a caller has on the specified source.
-     * 
- */ - public void testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates external system. This is for a given finding.
-     * 
- */ - public void updateExternalSystem( - com.google.cloud.securitycenter.v1.UpdateExternalSystemRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateExternalSystemMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates or updates a finding. The corresponding source must exist for a
-     * finding creation to succeed.
-     * 
- */ - public void updateFinding( - com.google.cloud.securitycenter.v1.UpdateFindingRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateFindingMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates a mute config.
-     * 
- */ - public void updateMuteConfig( - com.google.cloud.securitycenter.v1.UpdateMuteConfigRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateMuteConfigMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates a notification config. The following update
-     * fields are allowed: description, pubsub_topic, streaming_config.filter
-     * 
- */ - public void updateNotificationConfig( - com.google.cloud.securitycenter.v1.UpdateNotificationConfigRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateNotificationConfigMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates an organization's settings.
-     * 
- */ - public void updateOrganizationSettings( - com.google.cloud.securitycenter.v1.UpdateOrganizationSettingsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateOrganizationSettingsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates a source.
-     * 
- */ - public void updateSource( - com.google.cloud.securitycenter.v1.UpdateSourceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateSourceMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates security marks.
-     * 
- */ - public void updateSecurityMarks( - com.google.cloud.securitycenter.v1.UpdateSecurityMarksRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateSecurityMarksMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates a big query export.
-     * 
- */ - public void createBigQueryExport( - com.google.cloud.securitycenter.v1.CreateBigQueryExportRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateBigQueryExportMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes an existing big query export.
-     * 
- */ - public void deleteBigQueryExport( - com.google.cloud.securitycenter.v1.DeleteBigQueryExportRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteBigQueryExportMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates a BigQuery export.
-     * 
- */ - public void updateBigQueryExport( - com.google.cloud.securitycenter.v1.UpdateBigQueryExportRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateBigQueryExportMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists BigQuery exports. Note that when requesting BigQuery exports at a
-     * given level all exports under that level are also returned e.g. if
-     * requesting BigQuery exports under a folder, then all BigQuery exports
-     * immediately under the folder plus the ones created under the projects
-     * within the folder are returned.
-     * 
- */ - public void listBigQueryExports( - com.google.cloud.securitycenter.v1.ListBigQueryExportsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListBigQueryExportsMethod(), getCallOptions()), - request, - responseObserver); - } - } - - /** - * - * - *
-   * V1 APIs for Security Center service.
-   * 
- */ - public static final class SecurityCenterBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private SecurityCenterBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected SecurityCenterBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new SecurityCenterBlockingStub(channel, callOptions); - } - - /** - * - * - *
-     * Kicks off an LRO to bulk mute findings for a parent based on a filter. The
-     * parent can be either an organization, folder or project. The findings
-     * matched by the filter will be muted after the LRO is done.
-     * 
- */ - public com.google.longrunning.Operation bulkMuteFindings( - com.google.cloud.securitycenter.v1.BulkMuteFindingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getBulkMuteFindingsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a source.
-     * 
- */ - public com.google.cloud.securitycenter.v1.Source createSource( - com.google.cloud.securitycenter.v1.CreateSourceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateSourceMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a finding. The corresponding source must exist for finding creation
-     * to succeed.
-     * 
- */ - public com.google.cloud.securitycenter.v1.Finding createFinding( - com.google.cloud.securitycenter.v1.CreateFindingRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateFindingMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a mute config.
-     * 
- */ - public com.google.cloud.securitycenter.v1.MuteConfig createMuteConfig( - com.google.cloud.securitycenter.v1.CreateMuteConfigRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateMuteConfigMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a notification config.
-     * 
- */ - public com.google.cloud.securitycenter.v1.NotificationConfig createNotificationConfig( - com.google.cloud.securitycenter.v1.CreateNotificationConfigRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateNotificationConfigMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes an existing mute config.
-     * 
- */ - public com.google.protobuf.Empty deleteMuteConfig( - com.google.cloud.securitycenter.v1.DeleteMuteConfigRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteMuteConfigMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a notification config.
-     * 
- */ - public com.google.protobuf.Empty deleteNotificationConfig( - com.google.cloud.securitycenter.v1.DeleteNotificationConfigRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteNotificationConfigMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets a big query export.
-     * 
- */ - public com.google.cloud.securitycenter.v1.BigQueryExport getBigQueryExport( - com.google.cloud.securitycenter.v1.GetBigQueryExportRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetBigQueryExportMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets the access control policy on the specified Source.
-     * 
- */ - public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetIamPolicyMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets a mute config.
-     * 
- */ - public com.google.cloud.securitycenter.v1.MuteConfig getMuteConfig( - com.google.cloud.securitycenter.v1.GetMuteConfigRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetMuteConfigMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets a notification config.
-     * 
- */ - public com.google.cloud.securitycenter.v1.NotificationConfig getNotificationConfig( - com.google.cloud.securitycenter.v1.GetNotificationConfigRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetNotificationConfigMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets the settings for an organization.
-     * 
- */ - public com.google.cloud.securitycenter.v1.OrganizationSettings getOrganizationSettings( - com.google.cloud.securitycenter.v1.GetOrganizationSettingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetOrganizationSettingsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets a source.
-     * 
- */ - public com.google.cloud.securitycenter.v1.Source getSource( - com.google.cloud.securitycenter.v1.GetSourceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetSourceMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Filters an organization's assets and  groups them by their specified
-     * properties.
-     * 
- */ - public com.google.cloud.securitycenter.v1.GroupAssetsResponse groupAssets( - com.google.cloud.securitycenter.v1.GroupAssetsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGroupAssetsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Filters an organization or source's findings and  groups them by their
-     * specified properties.
-     * To group across all sources provide a `-` as the source id.
-     * Example: /v1/organizations/{organization_id}/sources/-/findings,
-     * /v1/folders/{folder_id}/sources/-/findings,
-     * /v1/projects/{project_id}/sources/-/findings
-     * 
- */ - public com.google.cloud.securitycenter.v1.GroupFindingsResponse groupFindings( - com.google.cloud.securitycenter.v1.GroupFindingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGroupFindingsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists an organization's assets.
-     * 
- */ - public com.google.cloud.securitycenter.v1.ListAssetsResponse listAssets( - com.google.cloud.securitycenter.v1.ListAssetsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListAssetsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists an organization or source's findings.
-     * To list across all sources provide a `-` as the source id.
-     * Example: /v1/organizations/{organization_id}/sources/-/findings
-     * 
- */ - public com.google.cloud.securitycenter.v1.ListFindingsResponse listFindings( - com.google.cloud.securitycenter.v1.ListFindingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListFindingsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists mute configs.
-     * 
- */ - public com.google.cloud.securitycenter.v1.ListMuteConfigsResponse listMuteConfigs( - com.google.cloud.securitycenter.v1.ListMuteConfigsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListMuteConfigsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists notification configs.
-     * 
- */ - public com.google.cloud.securitycenter.v1.ListNotificationConfigsResponse - listNotificationConfigs( - com.google.cloud.securitycenter.v1.ListNotificationConfigsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListNotificationConfigsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists all sources belonging to an organization.
-     * 
- */ - public com.google.cloud.securitycenter.v1.ListSourcesResponse listSources( - com.google.cloud.securitycenter.v1.ListSourcesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListSourcesMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Runs asset discovery. The discovery is tracked with a long-running
-     * operation.
-     * This API can only be called with limited frequency for an organization. If
-     * it is called too frequently the caller will receive a TOO_MANY_REQUESTS
-     * error.
-     * 
- */ - public com.google.longrunning.Operation runAssetDiscovery( - com.google.cloud.securitycenter.v1.RunAssetDiscoveryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getRunAssetDiscoveryMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates the state of a finding.
-     * 
- */ - public com.google.cloud.securitycenter.v1.Finding setFindingState( - com.google.cloud.securitycenter.v1.SetFindingStateRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSetFindingStateMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates the mute state of a finding.
-     * 
- */ - public com.google.cloud.securitycenter.v1.Finding setMute( - com.google.cloud.securitycenter.v1.SetMuteRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSetMuteMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Sets the access control policy on the specified Source.
-     * 
- */ - public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSetIamPolicyMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Returns the permissions that a caller has on the specified source.
-     * 
- */ - public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getTestIamPermissionsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates external system. This is for a given finding.
-     * 
- */ - public com.google.cloud.securitycenter.v1.ExternalSystem updateExternalSystem( - com.google.cloud.securitycenter.v1.UpdateExternalSystemRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateExternalSystemMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates or updates a finding. The corresponding source must exist for a
-     * finding creation to succeed.
-     * 
- */ - public com.google.cloud.securitycenter.v1.Finding updateFinding( - com.google.cloud.securitycenter.v1.UpdateFindingRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateFindingMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates a mute config.
-     * 
- */ - public com.google.cloud.securitycenter.v1.MuteConfig updateMuteConfig( - com.google.cloud.securitycenter.v1.UpdateMuteConfigRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateMuteConfigMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates a notification config. The following update
-     * fields are allowed: description, pubsub_topic, streaming_config.filter
-     * 
- */ - public com.google.cloud.securitycenter.v1.NotificationConfig updateNotificationConfig( - com.google.cloud.securitycenter.v1.UpdateNotificationConfigRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateNotificationConfigMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates an organization's settings.
-     * 
- */ - public com.google.cloud.securitycenter.v1.OrganizationSettings updateOrganizationSettings( - com.google.cloud.securitycenter.v1.UpdateOrganizationSettingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateOrganizationSettingsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates a source.
-     * 
- */ - public com.google.cloud.securitycenter.v1.Source updateSource( - com.google.cloud.securitycenter.v1.UpdateSourceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateSourceMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates security marks.
-     * 
- */ - public com.google.cloud.securitycenter.v1.SecurityMarks updateSecurityMarks( - com.google.cloud.securitycenter.v1.UpdateSecurityMarksRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateSecurityMarksMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a big query export.
-     * 
- */ - public com.google.cloud.securitycenter.v1.BigQueryExport createBigQueryExport( - com.google.cloud.securitycenter.v1.CreateBigQueryExportRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateBigQueryExportMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes an existing big query export.
-     * 
- */ - public com.google.protobuf.Empty deleteBigQueryExport( - com.google.cloud.securitycenter.v1.DeleteBigQueryExportRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteBigQueryExportMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates a BigQuery export.
-     * 
- */ - public com.google.cloud.securitycenter.v1.BigQueryExport updateBigQueryExport( - com.google.cloud.securitycenter.v1.UpdateBigQueryExportRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateBigQueryExportMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists BigQuery exports. Note that when requesting BigQuery exports at a
-     * given level all exports under that level are also returned e.g. if
-     * requesting BigQuery exports under a folder, then all BigQuery exports
-     * immediately under the folder plus the ones created under the projects
-     * within the folder are returned.
-     * 
- */ - public com.google.cloud.securitycenter.v1.ListBigQueryExportsResponse listBigQueryExports( - com.google.cloud.securitycenter.v1.ListBigQueryExportsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListBigQueryExportsMethod(), getCallOptions(), request); - } - } - - /** - * - * - *
-   * V1 APIs for Security Center service.
-   * 
- */ - public static final class SecurityCenterFutureStub - extends io.grpc.stub.AbstractFutureStub { - private SecurityCenterFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected SecurityCenterFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new SecurityCenterFutureStub(channel, callOptions); - } - - /** - * - * - *
-     * Kicks off an LRO to bulk mute findings for a parent based on a filter. The
-     * parent can be either an organization, folder or project. The findings
-     * matched by the filter will be muted after the LRO is done.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - bulkMuteFindings(com.google.cloud.securitycenter.v1.BulkMuteFindingsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getBulkMuteFindingsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates a source.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.securitycenter.v1.Source> - createSource(com.google.cloud.securitycenter.v1.CreateSourceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateSourceMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates a finding. The corresponding source must exist for finding creation
-     * to succeed.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.securitycenter.v1.Finding> - createFinding(com.google.cloud.securitycenter.v1.CreateFindingRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateFindingMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates a mute config.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.securitycenter.v1.MuteConfig> - createMuteConfig(com.google.cloud.securitycenter.v1.CreateMuteConfigRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateMuteConfigMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates a notification config.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.securitycenter.v1.NotificationConfig> - createNotificationConfig( - com.google.cloud.securitycenter.v1.CreateNotificationConfigRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateNotificationConfigMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes an existing mute config.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteMuteConfig(com.google.cloud.securitycenter.v1.DeleteMuteConfigRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteMuteConfigMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a notification config.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteNotificationConfig( - com.google.cloud.securitycenter.v1.DeleteNotificationConfigRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteNotificationConfigMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets a big query export.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.securitycenter.v1.BigQueryExport> - getBigQueryExport(com.google.cloud.securitycenter.v1.GetBigQueryExportRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetBigQueryExportMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets the access control policy on the specified Source.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets a mute config.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.securitycenter.v1.MuteConfig> - getMuteConfig(com.google.cloud.securitycenter.v1.GetMuteConfigRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetMuteConfigMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets a notification config.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.securitycenter.v1.NotificationConfig> - getNotificationConfig( - com.google.cloud.securitycenter.v1.GetNotificationConfigRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetNotificationConfigMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets the settings for an organization.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.securitycenter.v1.OrganizationSettings> - getOrganizationSettings( - com.google.cloud.securitycenter.v1.GetOrganizationSettingsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetOrganizationSettingsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets a source.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.securitycenter.v1.Source> - getSource(com.google.cloud.securitycenter.v1.GetSourceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetSourceMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Filters an organization's assets and  groups them by their specified
-     * properties.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.securitycenter.v1.GroupAssetsResponse> - groupAssets(com.google.cloud.securitycenter.v1.GroupAssetsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGroupAssetsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Filters an organization or source's findings and  groups them by their
-     * specified properties.
-     * To group across all sources provide a `-` as the source id.
-     * Example: /v1/organizations/{organization_id}/sources/-/findings,
-     * /v1/folders/{folder_id}/sources/-/findings,
-     * /v1/projects/{project_id}/sources/-/findings
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.securitycenter.v1.GroupFindingsResponse> - groupFindings(com.google.cloud.securitycenter.v1.GroupFindingsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGroupFindingsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists an organization's assets.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.securitycenter.v1.ListAssetsResponse> - listAssets(com.google.cloud.securitycenter.v1.ListAssetsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListAssetsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists an organization or source's findings.
-     * To list across all sources provide a `-` as the source id.
-     * Example: /v1/organizations/{organization_id}/sources/-/findings
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.securitycenter.v1.ListFindingsResponse> - listFindings(com.google.cloud.securitycenter.v1.ListFindingsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListFindingsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists mute configs.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.securitycenter.v1.ListMuteConfigsResponse> - listMuteConfigs(com.google.cloud.securitycenter.v1.ListMuteConfigsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListMuteConfigsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists notification configs.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.securitycenter.v1.ListNotificationConfigsResponse> - listNotificationConfigs( - com.google.cloud.securitycenter.v1.ListNotificationConfigsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListNotificationConfigsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists all sources belonging to an organization.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.securitycenter.v1.ListSourcesResponse> - listSources(com.google.cloud.securitycenter.v1.ListSourcesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListSourcesMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Runs asset discovery. The discovery is tracked with a long-running
-     * operation.
-     * This API can only be called with limited frequency for an organization. If
-     * it is called too frequently the caller will receive a TOO_MANY_REQUESTS
-     * error.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - runAssetDiscovery(com.google.cloud.securitycenter.v1.RunAssetDiscoveryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getRunAssetDiscoveryMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates the state of a finding.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.securitycenter.v1.Finding> - setFindingState(com.google.cloud.securitycenter.v1.SetFindingStateRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getSetFindingStateMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates the mute state of a finding.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.securitycenter.v1.Finding> - setMute(com.google.cloud.securitycenter.v1.SetMuteRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getSetMuteMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Sets the access control policy on the specified Source.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Returns the permissions that a caller has on the specified source.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.iam.v1.TestIamPermissionsResponse> - testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates external system. This is for a given finding.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.securitycenter.v1.ExternalSystem> - updateExternalSystem( - com.google.cloud.securitycenter.v1.UpdateExternalSystemRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateExternalSystemMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates or updates a finding. The corresponding source must exist for a
-     * finding creation to succeed.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.securitycenter.v1.Finding> - updateFinding(com.google.cloud.securitycenter.v1.UpdateFindingRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateFindingMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates a mute config.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.securitycenter.v1.MuteConfig> - updateMuteConfig(com.google.cloud.securitycenter.v1.UpdateMuteConfigRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateMuteConfigMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates a notification config. The following update
-     * fields are allowed: description, pubsub_topic, streaming_config.filter
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.securitycenter.v1.NotificationConfig> - updateNotificationConfig( - com.google.cloud.securitycenter.v1.UpdateNotificationConfigRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateNotificationConfigMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates an organization's settings.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.securitycenter.v1.OrganizationSettings> - updateOrganizationSettings( - com.google.cloud.securitycenter.v1.UpdateOrganizationSettingsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateOrganizationSettingsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates a source.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.securitycenter.v1.Source> - updateSource(com.google.cloud.securitycenter.v1.UpdateSourceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateSourceMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates security marks.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.securitycenter.v1.SecurityMarks> - updateSecurityMarks(com.google.cloud.securitycenter.v1.UpdateSecurityMarksRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateSecurityMarksMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates a big query export.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.securitycenter.v1.BigQueryExport> - createBigQueryExport( - com.google.cloud.securitycenter.v1.CreateBigQueryExportRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateBigQueryExportMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes an existing big query export.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteBigQueryExport( - com.google.cloud.securitycenter.v1.DeleteBigQueryExportRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteBigQueryExportMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates a BigQuery export.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.securitycenter.v1.BigQueryExport> - updateBigQueryExport( - com.google.cloud.securitycenter.v1.UpdateBigQueryExportRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateBigQueryExportMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists BigQuery exports. Note that when requesting BigQuery exports at a
-     * given level all exports under that level are also returned e.g. if
-     * requesting BigQuery exports under a folder, then all BigQuery exports
-     * immediately under the folder plus the ones created under the projects
-     * within the folder are returned.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.securitycenter.v1.ListBigQueryExportsResponse> - listBigQueryExports(com.google.cloud.securitycenter.v1.ListBigQueryExportsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListBigQueryExportsMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_BULK_MUTE_FINDINGS = 0; - private static final int METHODID_CREATE_SOURCE = 1; - private static final int METHODID_CREATE_FINDING = 2; - private static final int METHODID_CREATE_MUTE_CONFIG = 3; - private static final int METHODID_CREATE_NOTIFICATION_CONFIG = 4; - private static final int METHODID_DELETE_MUTE_CONFIG = 5; - private static final int METHODID_DELETE_NOTIFICATION_CONFIG = 6; - private static final int METHODID_GET_BIG_QUERY_EXPORT = 7; - private static final int METHODID_GET_IAM_POLICY = 8; - private static final int METHODID_GET_MUTE_CONFIG = 9; - private static final int METHODID_GET_NOTIFICATION_CONFIG = 10; - private static final int METHODID_GET_ORGANIZATION_SETTINGS = 11; - private static final int METHODID_GET_SOURCE = 12; - private static final int METHODID_GROUP_ASSETS = 13; - private static final int METHODID_GROUP_FINDINGS = 14; - private static final int METHODID_LIST_ASSETS = 15; - private static final int METHODID_LIST_FINDINGS = 16; - private static final int METHODID_LIST_MUTE_CONFIGS = 17; - private static final int METHODID_LIST_NOTIFICATION_CONFIGS = 18; - private static final int METHODID_LIST_SOURCES = 19; - private static final int METHODID_RUN_ASSET_DISCOVERY = 20; - private static final int METHODID_SET_FINDING_STATE = 21; - private static final int METHODID_SET_MUTE = 22; - private static final int METHODID_SET_IAM_POLICY = 23; - private static final int METHODID_TEST_IAM_PERMISSIONS = 24; - private static final int METHODID_UPDATE_EXTERNAL_SYSTEM = 25; - private static final int METHODID_UPDATE_FINDING = 26; - private static final int METHODID_UPDATE_MUTE_CONFIG = 27; - private static final int METHODID_UPDATE_NOTIFICATION_CONFIG = 28; - private static final int METHODID_UPDATE_ORGANIZATION_SETTINGS = 29; - private static final int METHODID_UPDATE_SOURCE = 30; - private static final int METHODID_UPDATE_SECURITY_MARKS = 31; - private static final int METHODID_CREATE_BIG_QUERY_EXPORT = 32; - private static final int METHODID_DELETE_BIG_QUERY_EXPORT = 33; - private static final int METHODID_UPDATE_BIG_QUERY_EXPORT = 34; - private static final int METHODID_LIST_BIG_QUERY_EXPORTS = 35; - - private static final class MethodHandlers - implements io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final SecurityCenterImplBase serviceImpl; - private final int methodId; - - MethodHandlers(SecurityCenterImplBase 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_BULK_MUTE_FINDINGS: - serviceImpl.bulkMuteFindings( - (com.google.cloud.securitycenter.v1.BulkMuteFindingsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_SOURCE: - serviceImpl.createSource( - (com.google.cloud.securitycenter.v1.CreateSourceRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_CREATE_FINDING: - serviceImpl.createFinding( - (com.google.cloud.securitycenter.v1.CreateFindingRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_CREATE_MUTE_CONFIG: - serviceImpl.createMuteConfig( - (com.google.cloud.securitycenter.v1.CreateMuteConfigRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_CREATE_NOTIFICATION_CONFIG: - serviceImpl.createNotificationConfig( - (com.google.cloud.securitycenter.v1.CreateNotificationConfigRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_DELETE_MUTE_CONFIG: - serviceImpl.deleteMuteConfig( - (com.google.cloud.securitycenter.v1.DeleteMuteConfigRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_NOTIFICATION_CONFIG: - serviceImpl.deleteNotificationConfig( - (com.google.cloud.securitycenter.v1.DeleteNotificationConfigRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_BIG_QUERY_EXPORT: - serviceImpl.getBigQueryExport( - (com.google.cloud.securitycenter.v1.GetBigQueryExportRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_GET_IAM_POLICY: - serviceImpl.getIamPolicy( - (com.google.iam.v1.GetIamPolicyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_MUTE_CONFIG: - serviceImpl.getMuteConfig( - (com.google.cloud.securitycenter.v1.GetMuteConfigRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_GET_NOTIFICATION_CONFIG: - serviceImpl.getNotificationConfig( - (com.google.cloud.securitycenter.v1.GetNotificationConfigRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_GET_ORGANIZATION_SETTINGS: - serviceImpl.getOrganizationSettings( - (com.google.cloud.securitycenter.v1.GetOrganizationSettingsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_GET_SOURCE: - serviceImpl.getSource( - (com.google.cloud.securitycenter.v1.GetSourceRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_GROUP_ASSETS: - serviceImpl.groupAssets( - (com.google.cloud.securitycenter.v1.GroupAssetsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_GROUP_FINDINGS: - serviceImpl.groupFindings( - (com.google.cloud.securitycenter.v1.GroupFindingsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.securitycenter.v1.GroupFindingsResponse>) - responseObserver); - break; - case METHODID_LIST_ASSETS: - serviceImpl.listAssets( - (com.google.cloud.securitycenter.v1.ListAssetsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_LIST_FINDINGS: - serviceImpl.listFindings( - (com.google.cloud.securitycenter.v1.ListFindingsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_LIST_MUTE_CONFIGS: - serviceImpl.listMuteConfigs( - (com.google.cloud.securitycenter.v1.ListMuteConfigsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.securitycenter.v1.ListMuteConfigsResponse>) - responseObserver); - break; - case METHODID_LIST_NOTIFICATION_CONFIGS: - serviceImpl.listNotificationConfigs( - (com.google.cloud.securitycenter.v1.ListNotificationConfigsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.securitycenter.v1.ListNotificationConfigsResponse>) - responseObserver); - break; - case METHODID_LIST_SOURCES: - serviceImpl.listSources( - (com.google.cloud.securitycenter.v1.ListSourcesRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_RUN_ASSET_DISCOVERY: - serviceImpl.runAssetDiscovery( - (com.google.cloud.securitycenter.v1.RunAssetDiscoveryRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_SET_FINDING_STATE: - serviceImpl.setFindingState( - (com.google.cloud.securitycenter.v1.SetFindingStateRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_SET_MUTE: - serviceImpl.setMute( - (com.google.cloud.securitycenter.v1.SetMuteRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_SET_IAM_POLICY: - serviceImpl.setIamPolicy( - (com.google.iam.v1.SetIamPolicyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_TEST_IAM_PERMISSIONS: - serviceImpl.testIamPermissions( - (com.google.iam.v1.TestIamPermissionsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_UPDATE_EXTERNAL_SYSTEM: - serviceImpl.updateExternalSystem( - (com.google.cloud.securitycenter.v1.UpdateExternalSystemRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_UPDATE_FINDING: - serviceImpl.updateFinding( - (com.google.cloud.securitycenter.v1.UpdateFindingRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_UPDATE_MUTE_CONFIG: - serviceImpl.updateMuteConfig( - (com.google.cloud.securitycenter.v1.UpdateMuteConfigRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_UPDATE_NOTIFICATION_CONFIG: - serviceImpl.updateNotificationConfig( - (com.google.cloud.securitycenter.v1.UpdateNotificationConfigRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_UPDATE_ORGANIZATION_SETTINGS: - serviceImpl.updateOrganizationSettings( - (com.google.cloud.securitycenter.v1.UpdateOrganizationSettingsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_UPDATE_SOURCE: - serviceImpl.updateSource( - (com.google.cloud.securitycenter.v1.UpdateSourceRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_UPDATE_SECURITY_MARKS: - serviceImpl.updateSecurityMarks( - (com.google.cloud.securitycenter.v1.UpdateSecurityMarksRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_CREATE_BIG_QUERY_EXPORT: - serviceImpl.createBigQueryExport( - (com.google.cloud.securitycenter.v1.CreateBigQueryExportRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_DELETE_BIG_QUERY_EXPORT: - serviceImpl.deleteBigQueryExport( - (com.google.cloud.securitycenter.v1.DeleteBigQueryExportRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_BIG_QUERY_EXPORT: - serviceImpl.updateBigQueryExport( - (com.google.cloud.securitycenter.v1.UpdateBigQueryExportRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_LIST_BIG_QUERY_EXPORTS: - serviceImpl.listBigQueryExports( - (com.google.cloud.securitycenter.v1.ListBigQueryExportsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.securitycenter.v1.ListBigQueryExportsResponse>) - responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - private abstract static class SecurityCenterBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { - SecurityCenterBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.securitycenter.v1.SecuritycenterService.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("SecurityCenter"); - } - } - - private static final class SecurityCenterFileDescriptorSupplier - extends SecurityCenterBaseDescriptorSupplier { - SecurityCenterFileDescriptorSupplier() {} - } - - private static final class SecurityCenterMethodDescriptorSupplier - extends SecurityCenterBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - SecurityCenterMethodDescriptorSupplier(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 (SecurityCenterGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new SecurityCenterFileDescriptorSupplier()) - .addMethod(getBulkMuteFindingsMethod()) - .addMethod(getCreateSourceMethod()) - .addMethod(getCreateFindingMethod()) - .addMethod(getCreateMuteConfigMethod()) - .addMethod(getCreateNotificationConfigMethod()) - .addMethod(getDeleteMuteConfigMethod()) - .addMethod(getDeleteNotificationConfigMethod()) - .addMethod(getGetBigQueryExportMethod()) - .addMethod(getGetIamPolicyMethod()) - .addMethod(getGetMuteConfigMethod()) - .addMethod(getGetNotificationConfigMethod()) - .addMethod(getGetOrganizationSettingsMethod()) - .addMethod(getGetSourceMethod()) - .addMethod(getGroupAssetsMethod()) - .addMethod(getGroupFindingsMethod()) - .addMethod(getListAssetsMethod()) - .addMethod(getListFindingsMethod()) - .addMethod(getListMuteConfigsMethod()) - .addMethod(getListNotificationConfigsMethod()) - .addMethod(getListSourcesMethod()) - .addMethod(getRunAssetDiscoveryMethod()) - .addMethod(getSetFindingStateMethod()) - .addMethod(getSetMuteMethod()) - .addMethod(getSetIamPolicyMethod()) - .addMethod(getTestIamPermissionsMethod()) - .addMethod(getUpdateExternalSystemMethod()) - .addMethod(getUpdateFindingMethod()) - .addMethod(getUpdateMuteConfigMethod()) - .addMethod(getUpdateNotificationConfigMethod()) - .addMethod(getUpdateOrganizationSettingsMethod()) - .addMethod(getUpdateSourceMethod()) - .addMethod(getUpdateSecurityMarksMethod()) - .addMethod(getCreateBigQueryExportMethod()) - .addMethod(getDeleteBigQueryExportMethod()) - .addMethod(getUpdateBigQueryExportMethod()) - .addMethod(getListBigQueryExportsMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/java-securitycenter/grpc-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/SecurityCenterGrpc.java b/java-securitycenter/grpc-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/SecurityCenterGrpc.java deleted file mode 100644 index ebae1dfda5bc..000000000000 --- a/java-securitycenter/grpc-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/SecurityCenterGrpc.java +++ /dev/null @@ -1,2437 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package com.google.cloud.securitycenter.v1beta1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *
- * V1 Beta APIs for Security Center service.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/securitycenter/v1beta1/securitycenter_service.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class SecurityCenterGrpc { - - private SecurityCenterGrpc() {} - - public static final String SERVICE_NAME = "google.cloud.securitycenter.v1beta1.SecurityCenter"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1beta1.CreateSourceRequest, - com.google.cloud.securitycenter.v1beta1.Source> - getCreateSourceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateSource", - requestType = com.google.cloud.securitycenter.v1beta1.CreateSourceRequest.class, - responseType = com.google.cloud.securitycenter.v1beta1.Source.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1beta1.CreateSourceRequest, - com.google.cloud.securitycenter.v1beta1.Source> - getCreateSourceMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1beta1.CreateSourceRequest, - com.google.cloud.securitycenter.v1beta1.Source> - getCreateSourceMethod; - if ((getCreateSourceMethod = SecurityCenterGrpc.getCreateSourceMethod) == null) { - synchronized (SecurityCenterGrpc.class) { - if ((getCreateSourceMethod = SecurityCenterGrpc.getCreateSourceMethod) == null) { - SecurityCenterGrpc.getCreateSourceMethod = - getCreateSourceMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateSource")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1beta1.CreateSourceRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1beta1.Source.getDefaultInstance())) - .setSchemaDescriptor( - new SecurityCenterMethodDescriptorSupplier("CreateSource")) - .build(); - } - } - } - return getCreateSourceMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1beta1.CreateFindingRequest, - com.google.cloud.securitycenter.v1beta1.Finding> - getCreateFindingMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateFinding", - requestType = com.google.cloud.securitycenter.v1beta1.CreateFindingRequest.class, - responseType = com.google.cloud.securitycenter.v1beta1.Finding.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1beta1.CreateFindingRequest, - com.google.cloud.securitycenter.v1beta1.Finding> - getCreateFindingMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1beta1.CreateFindingRequest, - com.google.cloud.securitycenter.v1beta1.Finding> - getCreateFindingMethod; - if ((getCreateFindingMethod = SecurityCenterGrpc.getCreateFindingMethod) == null) { - synchronized (SecurityCenterGrpc.class) { - if ((getCreateFindingMethod = SecurityCenterGrpc.getCreateFindingMethod) == null) { - SecurityCenterGrpc.getCreateFindingMethod = - getCreateFindingMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateFinding")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1beta1.CreateFindingRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1beta1.Finding.getDefaultInstance())) - .setSchemaDescriptor( - new SecurityCenterMethodDescriptorSupplier("CreateFinding")) - .build(); - } - } - } - return getCreateFindingMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy> - getGetIamPolicyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetIamPolicy", - requestType = com.google.iam.v1.GetIamPolicyRequest.class, - responseType = com.google.iam.v1.Policy.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy> - getGetIamPolicyMethod() { - io.grpc.MethodDescriptor - getGetIamPolicyMethod; - if ((getGetIamPolicyMethod = SecurityCenterGrpc.getGetIamPolicyMethod) == null) { - synchronized (SecurityCenterGrpc.class) { - if ((getGetIamPolicyMethod = SecurityCenterGrpc.getGetIamPolicyMethod) == null) { - SecurityCenterGrpc.getGetIamPolicyMethod = - getGetIamPolicyMethod = - io.grpc.MethodDescriptor - .newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetIamPolicy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.GetIamPolicyRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.Policy.getDefaultInstance())) - .setSchemaDescriptor( - new SecurityCenterMethodDescriptorSupplier("GetIamPolicy")) - .build(); - } - } - } - return getGetIamPolicyMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1beta1.GetOrganizationSettingsRequest, - com.google.cloud.securitycenter.v1beta1.OrganizationSettings> - getGetOrganizationSettingsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetOrganizationSettings", - requestType = com.google.cloud.securitycenter.v1beta1.GetOrganizationSettingsRequest.class, - responseType = com.google.cloud.securitycenter.v1beta1.OrganizationSettings.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1beta1.GetOrganizationSettingsRequest, - com.google.cloud.securitycenter.v1beta1.OrganizationSettings> - getGetOrganizationSettingsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1beta1.GetOrganizationSettingsRequest, - com.google.cloud.securitycenter.v1beta1.OrganizationSettings> - getGetOrganizationSettingsMethod; - if ((getGetOrganizationSettingsMethod = SecurityCenterGrpc.getGetOrganizationSettingsMethod) - == null) { - synchronized (SecurityCenterGrpc.class) { - if ((getGetOrganizationSettingsMethod = SecurityCenterGrpc.getGetOrganizationSettingsMethod) - == null) { - SecurityCenterGrpc.getGetOrganizationSettingsMethod = - getGetOrganizationSettingsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "GetOrganizationSettings")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1beta1.GetOrganizationSettingsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1beta1.OrganizationSettings - .getDefaultInstance())) - .setSchemaDescriptor( - new SecurityCenterMethodDescriptorSupplier("GetOrganizationSettings")) - .build(); - } - } - } - return getGetOrganizationSettingsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1beta1.GetSourceRequest, - com.google.cloud.securitycenter.v1beta1.Source> - getGetSourceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetSource", - requestType = com.google.cloud.securitycenter.v1beta1.GetSourceRequest.class, - responseType = com.google.cloud.securitycenter.v1beta1.Source.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1beta1.GetSourceRequest, - com.google.cloud.securitycenter.v1beta1.Source> - getGetSourceMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1beta1.GetSourceRequest, - com.google.cloud.securitycenter.v1beta1.Source> - getGetSourceMethod; - if ((getGetSourceMethod = SecurityCenterGrpc.getGetSourceMethod) == null) { - synchronized (SecurityCenterGrpc.class) { - if ((getGetSourceMethod = SecurityCenterGrpc.getGetSourceMethod) == null) { - SecurityCenterGrpc.getGetSourceMethod = - getGetSourceMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetSource")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1beta1.GetSourceRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1beta1.Source.getDefaultInstance())) - .setSchemaDescriptor(new SecurityCenterMethodDescriptorSupplier("GetSource")) - .build(); - } - } - } - return getGetSourceMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1beta1.GroupAssetsRequest, - com.google.cloud.securitycenter.v1beta1.GroupAssetsResponse> - getGroupAssetsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GroupAssets", - requestType = com.google.cloud.securitycenter.v1beta1.GroupAssetsRequest.class, - responseType = com.google.cloud.securitycenter.v1beta1.GroupAssetsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1beta1.GroupAssetsRequest, - com.google.cloud.securitycenter.v1beta1.GroupAssetsResponse> - getGroupAssetsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1beta1.GroupAssetsRequest, - com.google.cloud.securitycenter.v1beta1.GroupAssetsResponse> - getGroupAssetsMethod; - if ((getGroupAssetsMethod = SecurityCenterGrpc.getGroupAssetsMethod) == null) { - synchronized (SecurityCenterGrpc.class) { - if ((getGroupAssetsMethod = SecurityCenterGrpc.getGroupAssetsMethod) == null) { - SecurityCenterGrpc.getGroupAssetsMethod = - getGroupAssetsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GroupAssets")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1beta1.GroupAssetsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1beta1.GroupAssetsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new SecurityCenterMethodDescriptorSupplier("GroupAssets")) - .build(); - } - } - } - return getGroupAssetsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1beta1.GroupFindingsRequest, - com.google.cloud.securitycenter.v1beta1.GroupFindingsResponse> - getGroupFindingsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GroupFindings", - requestType = com.google.cloud.securitycenter.v1beta1.GroupFindingsRequest.class, - responseType = com.google.cloud.securitycenter.v1beta1.GroupFindingsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1beta1.GroupFindingsRequest, - com.google.cloud.securitycenter.v1beta1.GroupFindingsResponse> - getGroupFindingsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1beta1.GroupFindingsRequest, - com.google.cloud.securitycenter.v1beta1.GroupFindingsResponse> - getGroupFindingsMethod; - if ((getGroupFindingsMethod = SecurityCenterGrpc.getGroupFindingsMethod) == null) { - synchronized (SecurityCenterGrpc.class) { - if ((getGroupFindingsMethod = SecurityCenterGrpc.getGroupFindingsMethod) == null) { - SecurityCenterGrpc.getGroupFindingsMethod = - getGroupFindingsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GroupFindings")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1beta1.GroupFindingsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1beta1.GroupFindingsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new SecurityCenterMethodDescriptorSupplier("GroupFindings")) - .build(); - } - } - } - return getGroupFindingsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1beta1.ListAssetsRequest, - com.google.cloud.securitycenter.v1beta1.ListAssetsResponse> - getListAssetsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListAssets", - requestType = com.google.cloud.securitycenter.v1beta1.ListAssetsRequest.class, - responseType = com.google.cloud.securitycenter.v1beta1.ListAssetsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1beta1.ListAssetsRequest, - com.google.cloud.securitycenter.v1beta1.ListAssetsResponse> - getListAssetsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1beta1.ListAssetsRequest, - com.google.cloud.securitycenter.v1beta1.ListAssetsResponse> - getListAssetsMethod; - if ((getListAssetsMethod = SecurityCenterGrpc.getListAssetsMethod) == null) { - synchronized (SecurityCenterGrpc.class) { - if ((getListAssetsMethod = SecurityCenterGrpc.getListAssetsMethod) == null) { - SecurityCenterGrpc.getListAssetsMethod = - getListAssetsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListAssets")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1beta1.ListAssetsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1beta1.ListAssetsResponse - .getDefaultInstance())) - .setSchemaDescriptor(new SecurityCenterMethodDescriptorSupplier("ListAssets")) - .build(); - } - } - } - return getListAssetsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1beta1.ListFindingsRequest, - com.google.cloud.securitycenter.v1beta1.ListFindingsResponse> - getListFindingsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListFindings", - requestType = com.google.cloud.securitycenter.v1beta1.ListFindingsRequest.class, - responseType = com.google.cloud.securitycenter.v1beta1.ListFindingsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1beta1.ListFindingsRequest, - com.google.cloud.securitycenter.v1beta1.ListFindingsResponse> - getListFindingsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1beta1.ListFindingsRequest, - com.google.cloud.securitycenter.v1beta1.ListFindingsResponse> - getListFindingsMethod; - if ((getListFindingsMethod = SecurityCenterGrpc.getListFindingsMethod) == null) { - synchronized (SecurityCenterGrpc.class) { - if ((getListFindingsMethod = SecurityCenterGrpc.getListFindingsMethod) == null) { - SecurityCenterGrpc.getListFindingsMethod = - getListFindingsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListFindings")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1beta1.ListFindingsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1beta1.ListFindingsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new SecurityCenterMethodDescriptorSupplier("ListFindings")) - .build(); - } - } - } - return getListFindingsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1beta1.ListSourcesRequest, - com.google.cloud.securitycenter.v1beta1.ListSourcesResponse> - getListSourcesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListSources", - requestType = com.google.cloud.securitycenter.v1beta1.ListSourcesRequest.class, - responseType = com.google.cloud.securitycenter.v1beta1.ListSourcesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1beta1.ListSourcesRequest, - com.google.cloud.securitycenter.v1beta1.ListSourcesResponse> - getListSourcesMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1beta1.ListSourcesRequest, - com.google.cloud.securitycenter.v1beta1.ListSourcesResponse> - getListSourcesMethod; - if ((getListSourcesMethod = SecurityCenterGrpc.getListSourcesMethod) == null) { - synchronized (SecurityCenterGrpc.class) { - if ((getListSourcesMethod = SecurityCenterGrpc.getListSourcesMethod) == null) { - SecurityCenterGrpc.getListSourcesMethod = - getListSourcesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListSources")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1beta1.ListSourcesRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1beta1.ListSourcesResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new SecurityCenterMethodDescriptorSupplier("ListSources")) - .build(); - } - } - } - return getListSourcesMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1beta1.RunAssetDiscoveryRequest, - com.google.longrunning.Operation> - getRunAssetDiscoveryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "RunAssetDiscovery", - requestType = com.google.cloud.securitycenter.v1beta1.RunAssetDiscoveryRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1beta1.RunAssetDiscoveryRequest, - com.google.longrunning.Operation> - getRunAssetDiscoveryMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1beta1.RunAssetDiscoveryRequest, - com.google.longrunning.Operation> - getRunAssetDiscoveryMethod; - if ((getRunAssetDiscoveryMethod = SecurityCenterGrpc.getRunAssetDiscoveryMethod) == null) { - synchronized (SecurityCenterGrpc.class) { - if ((getRunAssetDiscoveryMethod = SecurityCenterGrpc.getRunAssetDiscoveryMethod) == null) { - SecurityCenterGrpc.getRunAssetDiscoveryMethod = - getRunAssetDiscoveryMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RunAssetDiscovery")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1beta1.RunAssetDiscoveryRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new SecurityCenterMethodDescriptorSupplier("RunAssetDiscovery")) - .build(); - } - } - } - return getRunAssetDiscoveryMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1beta1.SetFindingStateRequest, - com.google.cloud.securitycenter.v1beta1.Finding> - getSetFindingStateMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "SetFindingState", - requestType = com.google.cloud.securitycenter.v1beta1.SetFindingStateRequest.class, - responseType = com.google.cloud.securitycenter.v1beta1.Finding.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1beta1.SetFindingStateRequest, - com.google.cloud.securitycenter.v1beta1.Finding> - getSetFindingStateMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1beta1.SetFindingStateRequest, - com.google.cloud.securitycenter.v1beta1.Finding> - getSetFindingStateMethod; - if ((getSetFindingStateMethod = SecurityCenterGrpc.getSetFindingStateMethod) == null) { - synchronized (SecurityCenterGrpc.class) { - if ((getSetFindingStateMethod = SecurityCenterGrpc.getSetFindingStateMethod) == null) { - SecurityCenterGrpc.getSetFindingStateMethod = - getSetFindingStateMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetFindingState")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1beta1.SetFindingStateRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1beta1.Finding.getDefaultInstance())) - .setSchemaDescriptor( - new SecurityCenterMethodDescriptorSupplier("SetFindingState")) - .build(); - } - } - } - return getSetFindingStateMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy> - getSetIamPolicyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "SetIamPolicy", - requestType = com.google.iam.v1.SetIamPolicyRequest.class, - responseType = com.google.iam.v1.Policy.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy> - getSetIamPolicyMethod() { - io.grpc.MethodDescriptor - getSetIamPolicyMethod; - if ((getSetIamPolicyMethod = SecurityCenterGrpc.getSetIamPolicyMethod) == null) { - synchronized (SecurityCenterGrpc.class) { - if ((getSetIamPolicyMethod = SecurityCenterGrpc.getSetIamPolicyMethod) == null) { - SecurityCenterGrpc.getSetIamPolicyMethod = - getSetIamPolicyMethod = - io.grpc.MethodDescriptor - .newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetIamPolicy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.SetIamPolicyRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.Policy.getDefaultInstance())) - .setSchemaDescriptor( - new SecurityCenterMethodDescriptorSupplier("SetIamPolicy")) - .build(); - } - } - } - return getSetIamPolicyMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.iam.v1.TestIamPermissionsRequest, com.google.iam.v1.TestIamPermissionsResponse> - getTestIamPermissionsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "TestIamPermissions", - requestType = com.google.iam.v1.TestIamPermissionsRequest.class, - responseType = com.google.iam.v1.TestIamPermissionsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.iam.v1.TestIamPermissionsRequest, com.google.iam.v1.TestIamPermissionsResponse> - getTestIamPermissionsMethod() { - io.grpc.MethodDescriptor< - com.google.iam.v1.TestIamPermissionsRequest, - com.google.iam.v1.TestIamPermissionsResponse> - getTestIamPermissionsMethod; - if ((getTestIamPermissionsMethod = SecurityCenterGrpc.getTestIamPermissionsMethod) == null) { - synchronized (SecurityCenterGrpc.class) { - if ((getTestIamPermissionsMethod = SecurityCenterGrpc.getTestIamPermissionsMethod) - == null) { - SecurityCenterGrpc.getTestIamPermissionsMethod = - getTestIamPermissionsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "TestIamPermissions")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.TestIamPermissionsRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.TestIamPermissionsResponse.getDefaultInstance())) - .setSchemaDescriptor( - new SecurityCenterMethodDescriptorSupplier("TestIamPermissions")) - .build(); - } - } - } - return getTestIamPermissionsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1beta1.UpdateFindingRequest, - com.google.cloud.securitycenter.v1beta1.Finding> - getUpdateFindingMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateFinding", - requestType = com.google.cloud.securitycenter.v1beta1.UpdateFindingRequest.class, - responseType = com.google.cloud.securitycenter.v1beta1.Finding.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1beta1.UpdateFindingRequest, - com.google.cloud.securitycenter.v1beta1.Finding> - getUpdateFindingMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1beta1.UpdateFindingRequest, - com.google.cloud.securitycenter.v1beta1.Finding> - getUpdateFindingMethod; - if ((getUpdateFindingMethod = SecurityCenterGrpc.getUpdateFindingMethod) == null) { - synchronized (SecurityCenterGrpc.class) { - if ((getUpdateFindingMethod = SecurityCenterGrpc.getUpdateFindingMethod) == null) { - SecurityCenterGrpc.getUpdateFindingMethod = - getUpdateFindingMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateFinding")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1beta1.UpdateFindingRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1beta1.Finding.getDefaultInstance())) - .setSchemaDescriptor( - new SecurityCenterMethodDescriptorSupplier("UpdateFinding")) - .build(); - } - } - } - return getUpdateFindingMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1beta1.UpdateOrganizationSettingsRequest, - com.google.cloud.securitycenter.v1beta1.OrganizationSettings> - getUpdateOrganizationSettingsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateOrganizationSettings", - requestType = com.google.cloud.securitycenter.v1beta1.UpdateOrganizationSettingsRequest.class, - responseType = com.google.cloud.securitycenter.v1beta1.OrganizationSettings.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1beta1.UpdateOrganizationSettingsRequest, - com.google.cloud.securitycenter.v1beta1.OrganizationSettings> - getUpdateOrganizationSettingsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1beta1.UpdateOrganizationSettingsRequest, - com.google.cloud.securitycenter.v1beta1.OrganizationSettings> - getUpdateOrganizationSettingsMethod; - if ((getUpdateOrganizationSettingsMethod = - SecurityCenterGrpc.getUpdateOrganizationSettingsMethod) - == null) { - synchronized (SecurityCenterGrpc.class) { - if ((getUpdateOrganizationSettingsMethod = - SecurityCenterGrpc.getUpdateOrganizationSettingsMethod) - == null) { - SecurityCenterGrpc.getUpdateOrganizationSettingsMethod = - getUpdateOrganizationSettingsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "UpdateOrganizationSettings")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1beta1 - .UpdateOrganizationSettingsRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1beta1.OrganizationSettings - .getDefaultInstance())) - .setSchemaDescriptor( - new SecurityCenterMethodDescriptorSupplier("UpdateOrganizationSettings")) - .build(); - } - } - } - return getUpdateOrganizationSettingsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1beta1.UpdateSourceRequest, - com.google.cloud.securitycenter.v1beta1.Source> - getUpdateSourceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateSource", - requestType = com.google.cloud.securitycenter.v1beta1.UpdateSourceRequest.class, - responseType = com.google.cloud.securitycenter.v1beta1.Source.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1beta1.UpdateSourceRequest, - com.google.cloud.securitycenter.v1beta1.Source> - getUpdateSourceMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1beta1.UpdateSourceRequest, - com.google.cloud.securitycenter.v1beta1.Source> - getUpdateSourceMethod; - if ((getUpdateSourceMethod = SecurityCenterGrpc.getUpdateSourceMethod) == null) { - synchronized (SecurityCenterGrpc.class) { - if ((getUpdateSourceMethod = SecurityCenterGrpc.getUpdateSourceMethod) == null) { - SecurityCenterGrpc.getUpdateSourceMethod = - getUpdateSourceMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateSource")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1beta1.UpdateSourceRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1beta1.Source.getDefaultInstance())) - .setSchemaDescriptor( - new SecurityCenterMethodDescriptorSupplier("UpdateSource")) - .build(); - } - } - } - return getUpdateSourceMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1beta1.UpdateSecurityMarksRequest, - com.google.cloud.securitycenter.v1beta1.SecurityMarks> - getUpdateSecurityMarksMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateSecurityMarks", - requestType = com.google.cloud.securitycenter.v1beta1.UpdateSecurityMarksRequest.class, - responseType = com.google.cloud.securitycenter.v1beta1.SecurityMarks.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1beta1.UpdateSecurityMarksRequest, - com.google.cloud.securitycenter.v1beta1.SecurityMarks> - getUpdateSecurityMarksMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1beta1.UpdateSecurityMarksRequest, - com.google.cloud.securitycenter.v1beta1.SecurityMarks> - getUpdateSecurityMarksMethod; - if ((getUpdateSecurityMarksMethod = SecurityCenterGrpc.getUpdateSecurityMarksMethod) == null) { - synchronized (SecurityCenterGrpc.class) { - if ((getUpdateSecurityMarksMethod = SecurityCenterGrpc.getUpdateSecurityMarksMethod) - == null) { - SecurityCenterGrpc.getUpdateSecurityMarksMethod = - getUpdateSecurityMarksMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "UpdateSecurityMarks")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1beta1.UpdateSecurityMarksRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1beta1.SecurityMarks - .getDefaultInstance())) - .setSchemaDescriptor( - new SecurityCenterMethodDescriptorSupplier("UpdateSecurityMarks")) - .build(); - } - } - } - return getUpdateSecurityMarksMethod; - } - - /** Creates a new async stub that supports all call types for the service */ - public static SecurityCenterStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public SecurityCenterStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new SecurityCenterStub(channel, callOptions); - } - }; - return SecurityCenterStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static SecurityCenterBlockingStub newBlockingStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public SecurityCenterBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new SecurityCenterBlockingStub(channel, callOptions); - } - }; - return SecurityCenterBlockingStub.newStub(factory, channel); - } - - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static SecurityCenterFutureStub newFutureStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public SecurityCenterFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new SecurityCenterFutureStub(channel, callOptions); - } - }; - return SecurityCenterFutureStub.newStub(factory, channel); - } - - /** - * - * - *
-   * V1 Beta APIs for Security Center service.
-   * 
- */ - public abstract static class SecurityCenterImplBase implements io.grpc.BindableService { - - /** - * - * - *
-     * Creates a source.
-     * 
- */ - public void createSource( - com.google.cloud.securitycenter.v1beta1.CreateSourceRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateSourceMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a finding. The corresponding source must exist for finding creation
-     * to succeed.
-     * 
- */ - public void createFinding( - com.google.cloud.securitycenter.v1beta1.CreateFindingRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateFindingMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets the access control policy on the specified Source.
-     * 
- */ - public void getIamPolicy( - com.google.iam.v1.GetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetIamPolicyMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets the settings for an organization.
-     * 
- */ - public void getOrganizationSettings( - com.google.cloud.securitycenter.v1beta1.GetOrganizationSettingsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetOrganizationSettingsMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets a source.
-     * 
- */ - public void getSource( - com.google.cloud.securitycenter.v1beta1.GetSourceRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetSourceMethod(), responseObserver); - } - - /** - * - * - *
-     * Filters an organization's assets and  groups them by their specified
-     * properties.
-     * 
- */ - public void groupAssets( - com.google.cloud.securitycenter.v1beta1.GroupAssetsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGroupAssetsMethod(), responseObserver); - } - - /** - * - * - *
-     * Filters an organization or source's findings and  groups them by their
-     * specified properties.
-     * To group across all sources provide a `-` as the source id.
-     * Example: /v1beta1/organizations/{organization_id}/sources/-/findings
-     * 
- */ - public void groupFindings( - com.google.cloud.securitycenter.v1beta1.GroupFindingsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGroupFindingsMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists an organization's assets.
-     * 
- */ - public void listAssets( - com.google.cloud.securitycenter.v1beta1.ListAssetsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListAssetsMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists an organization or source's findings.
-     * To list across all sources provide a `-` as the source id.
-     * Example: /v1beta1/organizations/{organization_id}/sources/-/findings
-     * 
- */ - public void listFindings( - com.google.cloud.securitycenter.v1beta1.ListFindingsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListFindingsMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists all sources belonging to an organization.
-     * 
- */ - public void listSources( - com.google.cloud.securitycenter.v1beta1.ListSourcesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListSourcesMethod(), responseObserver); - } - - /** - * - * - *
-     * Runs asset discovery. The discovery is tracked with a long-running
-     * operation.
-     * This API can only be called with limited frequency for an organization. If
-     * it is called too frequently the caller will receive a TOO_MANY_REQUESTS
-     * error.
-     * 
- */ - public void runAssetDiscovery( - com.google.cloud.securitycenter.v1beta1.RunAssetDiscoveryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getRunAssetDiscoveryMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates the state of a finding.
-     * 
- */ - public void setFindingState( - com.google.cloud.securitycenter.v1beta1.SetFindingStateRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getSetFindingStateMethod(), responseObserver); - } - - /** - * - * - *
-     * Sets the access control policy on the specified Source.
-     * 
- */ - public void setIamPolicy( - com.google.iam.v1.SetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getSetIamPolicyMethod(), responseObserver); - } - - /** - * - * - *
-     * Returns the permissions that a caller has on the specified source.
-     * 
- */ - public void testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getTestIamPermissionsMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates or updates a finding. The corresponding source must exist for a
-     * finding creation to succeed.
-     * 
- */ - public void updateFinding( - com.google.cloud.securitycenter.v1beta1.UpdateFindingRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateFindingMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates an organization's settings.
-     * 
- */ - public void updateOrganizationSettings( - com.google.cloud.securitycenter.v1beta1.UpdateOrganizationSettingsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateOrganizationSettingsMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates a source.
-     * 
- */ - public void updateSource( - com.google.cloud.securitycenter.v1beta1.UpdateSourceRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateSourceMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates security marks.
-     * 
- */ - public void updateSecurityMarks( - com.google.cloud.securitycenter.v1beta1.UpdateSecurityMarksRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateSecurityMarksMethod(), responseObserver); - } - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getCreateSourceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.securitycenter.v1beta1.CreateSourceRequest, - com.google.cloud.securitycenter.v1beta1.Source>( - this, METHODID_CREATE_SOURCE))) - .addMethod( - getCreateFindingMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.securitycenter.v1beta1.CreateFindingRequest, - com.google.cloud.securitycenter.v1beta1.Finding>( - this, METHODID_CREATE_FINDING))) - .addMethod( - getGetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy>( - this, METHODID_GET_IAM_POLICY))) - .addMethod( - getGetOrganizationSettingsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.securitycenter.v1beta1.GetOrganizationSettingsRequest, - com.google.cloud.securitycenter.v1beta1.OrganizationSettings>( - this, METHODID_GET_ORGANIZATION_SETTINGS))) - .addMethod( - getGetSourceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.securitycenter.v1beta1.GetSourceRequest, - com.google.cloud.securitycenter.v1beta1.Source>(this, METHODID_GET_SOURCE))) - .addMethod( - getGroupAssetsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.securitycenter.v1beta1.GroupAssetsRequest, - com.google.cloud.securitycenter.v1beta1.GroupAssetsResponse>( - this, METHODID_GROUP_ASSETS))) - .addMethod( - getGroupFindingsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.securitycenter.v1beta1.GroupFindingsRequest, - com.google.cloud.securitycenter.v1beta1.GroupFindingsResponse>( - this, METHODID_GROUP_FINDINGS))) - .addMethod( - getListAssetsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.securitycenter.v1beta1.ListAssetsRequest, - com.google.cloud.securitycenter.v1beta1.ListAssetsResponse>( - this, METHODID_LIST_ASSETS))) - .addMethod( - getListFindingsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.securitycenter.v1beta1.ListFindingsRequest, - com.google.cloud.securitycenter.v1beta1.ListFindingsResponse>( - this, METHODID_LIST_FINDINGS))) - .addMethod( - getListSourcesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.securitycenter.v1beta1.ListSourcesRequest, - com.google.cloud.securitycenter.v1beta1.ListSourcesResponse>( - this, METHODID_LIST_SOURCES))) - .addMethod( - getRunAssetDiscoveryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.securitycenter.v1beta1.RunAssetDiscoveryRequest, - com.google.longrunning.Operation>(this, METHODID_RUN_ASSET_DISCOVERY))) - .addMethod( - getSetFindingStateMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.securitycenter.v1beta1.SetFindingStateRequest, - com.google.cloud.securitycenter.v1beta1.Finding>( - this, METHODID_SET_FINDING_STATE))) - .addMethod( - getSetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy>( - this, METHODID_SET_IAM_POLICY))) - .addMethod( - getTestIamPermissionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.TestIamPermissionsRequest, - com.google.iam.v1.TestIamPermissionsResponse>( - this, METHODID_TEST_IAM_PERMISSIONS))) - .addMethod( - getUpdateFindingMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.securitycenter.v1beta1.UpdateFindingRequest, - com.google.cloud.securitycenter.v1beta1.Finding>( - this, METHODID_UPDATE_FINDING))) - .addMethod( - getUpdateOrganizationSettingsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.securitycenter.v1beta1.UpdateOrganizationSettingsRequest, - com.google.cloud.securitycenter.v1beta1.OrganizationSettings>( - this, METHODID_UPDATE_ORGANIZATION_SETTINGS))) - .addMethod( - getUpdateSourceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.securitycenter.v1beta1.UpdateSourceRequest, - com.google.cloud.securitycenter.v1beta1.Source>( - this, METHODID_UPDATE_SOURCE))) - .addMethod( - getUpdateSecurityMarksMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.securitycenter.v1beta1.UpdateSecurityMarksRequest, - com.google.cloud.securitycenter.v1beta1.SecurityMarks>( - this, METHODID_UPDATE_SECURITY_MARKS))) - .build(); - } - } - - /** - * - * - *
-   * V1 Beta APIs for Security Center service.
-   * 
- */ - public static final class SecurityCenterStub - extends io.grpc.stub.AbstractAsyncStub { - private SecurityCenterStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected SecurityCenterStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new SecurityCenterStub(channel, callOptions); - } - - /** - * - * - *
-     * Creates a source.
-     * 
- */ - public void createSource( - com.google.cloud.securitycenter.v1beta1.CreateSourceRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateSourceMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates a finding. The corresponding source must exist for finding creation
-     * to succeed.
-     * 
- */ - public void createFinding( - com.google.cloud.securitycenter.v1beta1.CreateFindingRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateFindingMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets the access control policy on the specified Source.
-     * 
- */ - public void getIamPolicy( - com.google.iam.v1.GetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets the settings for an organization.
-     * 
- */ - public void getOrganizationSettings( - com.google.cloud.securitycenter.v1beta1.GetOrganizationSettingsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetOrganizationSettingsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets a source.
-     * 
- */ - public void getSource( - com.google.cloud.securitycenter.v1beta1.GetSourceRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetSourceMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Filters an organization's assets and  groups them by their specified
-     * properties.
-     * 
- */ - public void groupAssets( - com.google.cloud.securitycenter.v1beta1.GroupAssetsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGroupAssetsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Filters an organization or source's findings and  groups them by their
-     * specified properties.
-     * To group across all sources provide a `-` as the source id.
-     * Example: /v1beta1/organizations/{organization_id}/sources/-/findings
-     * 
- */ - public void groupFindings( - com.google.cloud.securitycenter.v1beta1.GroupFindingsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGroupFindingsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists an organization's assets.
-     * 
- */ - public void listAssets( - com.google.cloud.securitycenter.v1beta1.ListAssetsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListAssetsMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Lists an organization or source's findings.
-     * To list across all sources provide a `-` as the source id.
-     * Example: /v1beta1/organizations/{organization_id}/sources/-/findings
-     * 
- */ - public void listFindings( - com.google.cloud.securitycenter.v1beta1.ListFindingsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListFindingsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists all sources belonging to an organization.
-     * 
- */ - public void listSources( - com.google.cloud.securitycenter.v1beta1.ListSourcesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListSourcesMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Runs asset discovery. The discovery is tracked with a long-running
-     * operation.
-     * This API can only be called with limited frequency for an organization. If
-     * it is called too frequently the caller will receive a TOO_MANY_REQUESTS
-     * error.
-     * 
- */ - public void runAssetDiscovery( - com.google.cloud.securitycenter.v1beta1.RunAssetDiscoveryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRunAssetDiscoveryMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates the state of a finding.
-     * 
- */ - public void setFindingState( - com.google.cloud.securitycenter.v1beta1.SetFindingStateRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSetFindingStateMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Sets the access control policy on the specified Source.
-     * 
- */ - public void setIamPolicy( - com.google.iam.v1.SetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Returns the permissions that a caller has on the specified source.
-     * 
- */ - public void testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates or updates a finding. The corresponding source must exist for a
-     * finding creation to succeed.
-     * 
- */ - public void updateFinding( - com.google.cloud.securitycenter.v1beta1.UpdateFindingRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateFindingMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates an organization's settings.
-     * 
- */ - public void updateOrganizationSettings( - com.google.cloud.securitycenter.v1beta1.UpdateOrganizationSettingsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateOrganizationSettingsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates a source.
-     * 
- */ - public void updateSource( - com.google.cloud.securitycenter.v1beta1.UpdateSourceRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateSourceMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates security marks.
-     * 
- */ - public void updateSecurityMarks( - com.google.cloud.securitycenter.v1beta1.UpdateSecurityMarksRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateSecurityMarksMethod(), getCallOptions()), - request, - responseObserver); - } - } - - /** - * - * - *
-   * V1 Beta APIs for Security Center service.
-   * 
- */ - public static final class SecurityCenterBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private SecurityCenterBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected SecurityCenterBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new SecurityCenterBlockingStub(channel, callOptions); - } - - /** - * - * - *
-     * Creates a source.
-     * 
- */ - public com.google.cloud.securitycenter.v1beta1.Source createSource( - com.google.cloud.securitycenter.v1beta1.CreateSourceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateSourceMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a finding. The corresponding source must exist for finding creation
-     * to succeed.
-     * 
- */ - public com.google.cloud.securitycenter.v1beta1.Finding createFinding( - com.google.cloud.securitycenter.v1beta1.CreateFindingRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateFindingMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets the access control policy on the specified Source.
-     * 
- */ - public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetIamPolicyMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets the settings for an organization.
-     * 
- */ - public com.google.cloud.securitycenter.v1beta1.OrganizationSettings getOrganizationSettings( - com.google.cloud.securitycenter.v1beta1.GetOrganizationSettingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetOrganizationSettingsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets a source.
-     * 
- */ - public com.google.cloud.securitycenter.v1beta1.Source getSource( - com.google.cloud.securitycenter.v1beta1.GetSourceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetSourceMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Filters an organization's assets and  groups them by their specified
-     * properties.
-     * 
- */ - public com.google.cloud.securitycenter.v1beta1.GroupAssetsResponse groupAssets( - com.google.cloud.securitycenter.v1beta1.GroupAssetsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGroupAssetsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Filters an organization or source's findings and  groups them by their
-     * specified properties.
-     * To group across all sources provide a `-` as the source id.
-     * Example: /v1beta1/organizations/{organization_id}/sources/-/findings
-     * 
- */ - public com.google.cloud.securitycenter.v1beta1.GroupFindingsResponse groupFindings( - com.google.cloud.securitycenter.v1beta1.GroupFindingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGroupFindingsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists an organization's assets.
-     * 
- */ - public com.google.cloud.securitycenter.v1beta1.ListAssetsResponse listAssets( - com.google.cloud.securitycenter.v1beta1.ListAssetsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListAssetsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists an organization or source's findings.
-     * To list across all sources provide a `-` as the source id.
-     * Example: /v1beta1/organizations/{organization_id}/sources/-/findings
-     * 
- */ - public com.google.cloud.securitycenter.v1beta1.ListFindingsResponse listFindings( - com.google.cloud.securitycenter.v1beta1.ListFindingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListFindingsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists all sources belonging to an organization.
-     * 
- */ - public com.google.cloud.securitycenter.v1beta1.ListSourcesResponse listSources( - com.google.cloud.securitycenter.v1beta1.ListSourcesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListSourcesMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Runs asset discovery. The discovery is tracked with a long-running
-     * operation.
-     * This API can only be called with limited frequency for an organization. If
-     * it is called too frequently the caller will receive a TOO_MANY_REQUESTS
-     * error.
-     * 
- */ - public com.google.longrunning.Operation runAssetDiscovery( - com.google.cloud.securitycenter.v1beta1.RunAssetDiscoveryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getRunAssetDiscoveryMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates the state of a finding.
-     * 
- */ - public com.google.cloud.securitycenter.v1beta1.Finding setFindingState( - com.google.cloud.securitycenter.v1beta1.SetFindingStateRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSetFindingStateMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Sets the access control policy on the specified Source.
-     * 
- */ - public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSetIamPolicyMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Returns the permissions that a caller has on the specified source.
-     * 
- */ - public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getTestIamPermissionsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates or updates a finding. The corresponding source must exist for a
-     * finding creation to succeed.
-     * 
- */ - public com.google.cloud.securitycenter.v1beta1.Finding updateFinding( - com.google.cloud.securitycenter.v1beta1.UpdateFindingRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateFindingMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates an organization's settings.
-     * 
- */ - public com.google.cloud.securitycenter.v1beta1.OrganizationSettings updateOrganizationSettings( - com.google.cloud.securitycenter.v1beta1.UpdateOrganizationSettingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateOrganizationSettingsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates a source.
-     * 
- */ - public com.google.cloud.securitycenter.v1beta1.Source updateSource( - com.google.cloud.securitycenter.v1beta1.UpdateSourceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateSourceMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates security marks.
-     * 
- */ - public com.google.cloud.securitycenter.v1beta1.SecurityMarks updateSecurityMarks( - com.google.cloud.securitycenter.v1beta1.UpdateSecurityMarksRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateSecurityMarksMethod(), getCallOptions(), request); - } - } - - /** - * - * - *
-   * V1 Beta APIs for Security Center service.
-   * 
- */ - public static final class SecurityCenterFutureStub - extends io.grpc.stub.AbstractFutureStub { - private SecurityCenterFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected SecurityCenterFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new SecurityCenterFutureStub(channel, callOptions); - } - - /** - * - * - *
-     * Creates a source.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.securitycenter.v1beta1.Source> - createSource(com.google.cloud.securitycenter.v1beta1.CreateSourceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateSourceMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates a finding. The corresponding source must exist for finding creation
-     * to succeed.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.securitycenter.v1beta1.Finding> - createFinding(com.google.cloud.securitycenter.v1beta1.CreateFindingRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateFindingMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets the access control policy on the specified Source.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets the settings for an organization.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.securitycenter.v1beta1.OrganizationSettings> - getOrganizationSettings( - com.google.cloud.securitycenter.v1beta1.GetOrganizationSettingsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetOrganizationSettingsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets a source.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.securitycenter.v1beta1.Source> - getSource(com.google.cloud.securitycenter.v1beta1.GetSourceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetSourceMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Filters an organization's assets and  groups them by their specified
-     * properties.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.securitycenter.v1beta1.GroupAssetsResponse> - groupAssets(com.google.cloud.securitycenter.v1beta1.GroupAssetsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGroupAssetsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Filters an organization or source's findings and  groups them by their
-     * specified properties.
-     * To group across all sources provide a `-` as the source id.
-     * Example: /v1beta1/organizations/{organization_id}/sources/-/findings
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.securitycenter.v1beta1.GroupFindingsResponse> - groupFindings(com.google.cloud.securitycenter.v1beta1.GroupFindingsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGroupFindingsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists an organization's assets.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.securitycenter.v1beta1.ListAssetsResponse> - listAssets(com.google.cloud.securitycenter.v1beta1.ListAssetsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListAssetsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists an organization or source's findings.
-     * To list across all sources provide a `-` as the source id.
-     * Example: /v1beta1/organizations/{organization_id}/sources/-/findings
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.securitycenter.v1beta1.ListFindingsResponse> - listFindings(com.google.cloud.securitycenter.v1beta1.ListFindingsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListFindingsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists all sources belonging to an organization.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.securitycenter.v1beta1.ListSourcesResponse> - listSources(com.google.cloud.securitycenter.v1beta1.ListSourcesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListSourcesMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Runs asset discovery. The discovery is tracked with a long-running
-     * operation.
-     * This API can only be called with limited frequency for an organization. If
-     * it is called too frequently the caller will receive a TOO_MANY_REQUESTS
-     * error.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - runAssetDiscovery( - com.google.cloud.securitycenter.v1beta1.RunAssetDiscoveryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getRunAssetDiscoveryMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates the state of a finding.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.securitycenter.v1beta1.Finding> - setFindingState(com.google.cloud.securitycenter.v1beta1.SetFindingStateRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getSetFindingStateMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Sets the access control policy on the specified Source.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Returns the permissions that a caller has on the specified source.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.iam.v1.TestIamPermissionsResponse> - testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates or updates a finding. The corresponding source must exist for a
-     * finding creation to succeed.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.securitycenter.v1beta1.Finding> - updateFinding(com.google.cloud.securitycenter.v1beta1.UpdateFindingRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateFindingMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates an organization's settings.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.securitycenter.v1beta1.OrganizationSettings> - updateOrganizationSettings( - com.google.cloud.securitycenter.v1beta1.UpdateOrganizationSettingsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateOrganizationSettingsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates a source.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.securitycenter.v1beta1.Source> - updateSource(com.google.cloud.securitycenter.v1beta1.UpdateSourceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateSourceMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates security marks.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.securitycenter.v1beta1.SecurityMarks> - updateSecurityMarks( - com.google.cloud.securitycenter.v1beta1.UpdateSecurityMarksRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateSecurityMarksMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_CREATE_SOURCE = 0; - private static final int METHODID_CREATE_FINDING = 1; - private static final int METHODID_GET_IAM_POLICY = 2; - private static final int METHODID_GET_ORGANIZATION_SETTINGS = 3; - private static final int METHODID_GET_SOURCE = 4; - private static final int METHODID_GROUP_ASSETS = 5; - private static final int METHODID_GROUP_FINDINGS = 6; - private static final int METHODID_LIST_ASSETS = 7; - private static final int METHODID_LIST_FINDINGS = 8; - private static final int METHODID_LIST_SOURCES = 9; - private static final int METHODID_RUN_ASSET_DISCOVERY = 10; - private static final int METHODID_SET_FINDING_STATE = 11; - private static final int METHODID_SET_IAM_POLICY = 12; - private static final int METHODID_TEST_IAM_PERMISSIONS = 13; - private static final int METHODID_UPDATE_FINDING = 14; - private static final int METHODID_UPDATE_ORGANIZATION_SETTINGS = 15; - private static final int METHODID_UPDATE_SOURCE = 16; - private static final int METHODID_UPDATE_SECURITY_MARKS = 17; - - 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 SecurityCenterImplBase serviceImpl; - private final int methodId; - - MethodHandlers(SecurityCenterImplBase serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_CREATE_SOURCE: - serviceImpl.createSource( - (com.google.cloud.securitycenter.v1beta1.CreateSourceRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_CREATE_FINDING: - serviceImpl.createFinding( - (com.google.cloud.securitycenter.v1beta1.CreateFindingRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_GET_IAM_POLICY: - serviceImpl.getIamPolicy( - (com.google.iam.v1.GetIamPolicyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_ORGANIZATION_SETTINGS: - serviceImpl.getOrganizationSettings( - (com.google.cloud.securitycenter.v1beta1.GetOrganizationSettingsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.securitycenter.v1beta1.OrganizationSettings>) - responseObserver); - break; - case METHODID_GET_SOURCE: - serviceImpl.getSource( - (com.google.cloud.securitycenter.v1beta1.GetSourceRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_GROUP_ASSETS: - serviceImpl.groupAssets( - (com.google.cloud.securitycenter.v1beta1.GroupAssetsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.securitycenter.v1beta1.GroupAssetsResponse>) - responseObserver); - break; - case METHODID_GROUP_FINDINGS: - serviceImpl.groupFindings( - (com.google.cloud.securitycenter.v1beta1.GroupFindingsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.securitycenter.v1beta1.GroupFindingsResponse>) - responseObserver); - break; - case METHODID_LIST_ASSETS: - serviceImpl.listAssets( - (com.google.cloud.securitycenter.v1beta1.ListAssetsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.securitycenter.v1beta1.ListAssetsResponse>) - responseObserver); - break; - case METHODID_LIST_FINDINGS: - serviceImpl.listFindings( - (com.google.cloud.securitycenter.v1beta1.ListFindingsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.securitycenter.v1beta1.ListFindingsResponse>) - responseObserver); - break; - case METHODID_LIST_SOURCES: - serviceImpl.listSources( - (com.google.cloud.securitycenter.v1beta1.ListSourcesRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.securitycenter.v1beta1.ListSourcesResponse>) - responseObserver); - break; - case METHODID_RUN_ASSET_DISCOVERY: - serviceImpl.runAssetDiscovery( - (com.google.cloud.securitycenter.v1beta1.RunAssetDiscoveryRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_SET_FINDING_STATE: - serviceImpl.setFindingState( - (com.google.cloud.securitycenter.v1beta1.SetFindingStateRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_SET_IAM_POLICY: - serviceImpl.setIamPolicy( - (com.google.iam.v1.SetIamPolicyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_TEST_IAM_PERMISSIONS: - serviceImpl.testIamPermissions( - (com.google.iam.v1.TestIamPermissionsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_UPDATE_FINDING: - serviceImpl.updateFinding( - (com.google.cloud.securitycenter.v1beta1.UpdateFindingRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_UPDATE_ORGANIZATION_SETTINGS: - serviceImpl.updateOrganizationSettings( - (com.google.cloud.securitycenter.v1beta1.UpdateOrganizationSettingsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.securitycenter.v1beta1.OrganizationSettings>) - responseObserver); - break; - case METHODID_UPDATE_SOURCE: - serviceImpl.updateSource( - (com.google.cloud.securitycenter.v1beta1.UpdateSourceRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_UPDATE_SECURITY_MARKS: - serviceImpl.updateSecurityMarks( - (com.google.cloud.securitycenter.v1beta1.UpdateSecurityMarksRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - private abstract static class SecurityCenterBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { - SecurityCenterBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.securitycenter.v1beta1.SecuritycenterService.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("SecurityCenter"); - } - } - - private static final class SecurityCenterFileDescriptorSupplier - extends SecurityCenterBaseDescriptorSupplier { - SecurityCenterFileDescriptorSupplier() {} - } - - private static final class SecurityCenterMethodDescriptorSupplier - extends SecurityCenterBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - SecurityCenterMethodDescriptorSupplier(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 (SecurityCenterGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new SecurityCenterFileDescriptorSupplier()) - .addMethod(getCreateSourceMethod()) - .addMethod(getCreateFindingMethod()) - .addMethod(getGetIamPolicyMethod()) - .addMethod(getGetOrganizationSettingsMethod()) - .addMethod(getGetSourceMethod()) - .addMethod(getGroupAssetsMethod()) - .addMethod(getGroupFindingsMethod()) - .addMethod(getListAssetsMethod()) - .addMethod(getListFindingsMethod()) - .addMethod(getListSourcesMethod()) - .addMethod(getRunAssetDiscoveryMethod()) - .addMethod(getSetFindingStateMethod()) - .addMethod(getSetIamPolicyMethod()) - .addMethod(getTestIamPermissionsMethod()) - .addMethod(getUpdateFindingMethod()) - .addMethod(getUpdateOrganizationSettingsMethod()) - .addMethod(getUpdateSourceMethod()) - .addMethod(getUpdateSecurityMarksMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/java-securitycenter/grpc-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/SecurityCenterGrpc.java b/java-securitycenter/grpc-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/SecurityCenterGrpc.java deleted file mode 100644 index 593cee6705ce..000000000000 --- a/java-securitycenter/grpc-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/SecurityCenterGrpc.java +++ /dev/null @@ -1,3087 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package com.google.cloud.securitycenter.v1p1beta1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *
- * V1p1Beta1 APIs for Security Center service.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/securitycenter/v1p1beta1/securitycenter_service.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class SecurityCenterGrpc { - - private SecurityCenterGrpc() {} - - public static final String SERVICE_NAME = "google.cloud.securitycenter.v1p1beta1.SecurityCenter"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1p1beta1.CreateSourceRequest, - com.google.cloud.securitycenter.v1p1beta1.Source> - getCreateSourceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateSource", - requestType = com.google.cloud.securitycenter.v1p1beta1.CreateSourceRequest.class, - responseType = com.google.cloud.securitycenter.v1p1beta1.Source.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1p1beta1.CreateSourceRequest, - com.google.cloud.securitycenter.v1p1beta1.Source> - getCreateSourceMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1p1beta1.CreateSourceRequest, - com.google.cloud.securitycenter.v1p1beta1.Source> - getCreateSourceMethod; - if ((getCreateSourceMethod = SecurityCenterGrpc.getCreateSourceMethod) == null) { - synchronized (SecurityCenterGrpc.class) { - if ((getCreateSourceMethod = SecurityCenterGrpc.getCreateSourceMethod) == null) { - SecurityCenterGrpc.getCreateSourceMethod = - getCreateSourceMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateSource")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1p1beta1.CreateSourceRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1p1beta1.Source - .getDefaultInstance())) - .setSchemaDescriptor( - new SecurityCenterMethodDescriptorSupplier("CreateSource")) - .build(); - } - } - } - return getCreateSourceMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1p1beta1.CreateFindingRequest, - com.google.cloud.securitycenter.v1p1beta1.Finding> - getCreateFindingMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateFinding", - requestType = com.google.cloud.securitycenter.v1p1beta1.CreateFindingRequest.class, - responseType = com.google.cloud.securitycenter.v1p1beta1.Finding.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1p1beta1.CreateFindingRequest, - com.google.cloud.securitycenter.v1p1beta1.Finding> - getCreateFindingMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1p1beta1.CreateFindingRequest, - com.google.cloud.securitycenter.v1p1beta1.Finding> - getCreateFindingMethod; - if ((getCreateFindingMethod = SecurityCenterGrpc.getCreateFindingMethod) == null) { - synchronized (SecurityCenterGrpc.class) { - if ((getCreateFindingMethod = SecurityCenterGrpc.getCreateFindingMethod) == null) { - SecurityCenterGrpc.getCreateFindingMethod = - getCreateFindingMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateFinding")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1p1beta1.CreateFindingRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1p1beta1.Finding - .getDefaultInstance())) - .setSchemaDescriptor( - new SecurityCenterMethodDescriptorSupplier("CreateFinding")) - .build(); - } - } - } - return getCreateFindingMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1p1beta1.CreateNotificationConfigRequest, - com.google.cloud.securitycenter.v1p1beta1.NotificationConfig> - getCreateNotificationConfigMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateNotificationConfig", - requestType = com.google.cloud.securitycenter.v1p1beta1.CreateNotificationConfigRequest.class, - responseType = com.google.cloud.securitycenter.v1p1beta1.NotificationConfig.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1p1beta1.CreateNotificationConfigRequest, - com.google.cloud.securitycenter.v1p1beta1.NotificationConfig> - getCreateNotificationConfigMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1p1beta1.CreateNotificationConfigRequest, - com.google.cloud.securitycenter.v1p1beta1.NotificationConfig> - getCreateNotificationConfigMethod; - if ((getCreateNotificationConfigMethod = SecurityCenterGrpc.getCreateNotificationConfigMethod) - == null) { - synchronized (SecurityCenterGrpc.class) { - if ((getCreateNotificationConfigMethod = - SecurityCenterGrpc.getCreateNotificationConfigMethod) - == null) { - SecurityCenterGrpc.getCreateNotificationConfigMethod = - getCreateNotificationConfigMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "CreateNotificationConfig")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1p1beta1 - .CreateNotificationConfigRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1p1beta1.NotificationConfig - .getDefaultInstance())) - .setSchemaDescriptor( - new SecurityCenterMethodDescriptorSupplier("CreateNotificationConfig")) - .build(); - } - } - } - return getCreateNotificationConfigMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1p1beta1.DeleteNotificationConfigRequest, - com.google.protobuf.Empty> - getDeleteNotificationConfigMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteNotificationConfig", - requestType = com.google.cloud.securitycenter.v1p1beta1.DeleteNotificationConfigRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1p1beta1.DeleteNotificationConfigRequest, - com.google.protobuf.Empty> - getDeleteNotificationConfigMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1p1beta1.DeleteNotificationConfigRequest, - com.google.protobuf.Empty> - getDeleteNotificationConfigMethod; - if ((getDeleteNotificationConfigMethod = SecurityCenterGrpc.getDeleteNotificationConfigMethod) - == null) { - synchronized (SecurityCenterGrpc.class) { - if ((getDeleteNotificationConfigMethod = - SecurityCenterGrpc.getDeleteNotificationConfigMethod) - == null) { - SecurityCenterGrpc.getDeleteNotificationConfigMethod = - getDeleteNotificationConfigMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "DeleteNotificationConfig")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1p1beta1 - .DeleteNotificationConfigRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new SecurityCenterMethodDescriptorSupplier("DeleteNotificationConfig")) - .build(); - } - } - } - return getDeleteNotificationConfigMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy> - getGetIamPolicyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetIamPolicy", - requestType = com.google.iam.v1.GetIamPolicyRequest.class, - responseType = com.google.iam.v1.Policy.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy> - getGetIamPolicyMethod() { - io.grpc.MethodDescriptor - getGetIamPolicyMethod; - if ((getGetIamPolicyMethod = SecurityCenterGrpc.getGetIamPolicyMethod) == null) { - synchronized (SecurityCenterGrpc.class) { - if ((getGetIamPolicyMethod = SecurityCenterGrpc.getGetIamPolicyMethod) == null) { - SecurityCenterGrpc.getGetIamPolicyMethod = - getGetIamPolicyMethod = - io.grpc.MethodDescriptor - .newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetIamPolicy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.GetIamPolicyRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.Policy.getDefaultInstance())) - .setSchemaDescriptor( - new SecurityCenterMethodDescriptorSupplier("GetIamPolicy")) - .build(); - } - } - } - return getGetIamPolicyMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1p1beta1.GetNotificationConfigRequest, - com.google.cloud.securitycenter.v1p1beta1.NotificationConfig> - getGetNotificationConfigMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetNotificationConfig", - requestType = com.google.cloud.securitycenter.v1p1beta1.GetNotificationConfigRequest.class, - responseType = com.google.cloud.securitycenter.v1p1beta1.NotificationConfig.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1p1beta1.GetNotificationConfigRequest, - com.google.cloud.securitycenter.v1p1beta1.NotificationConfig> - getGetNotificationConfigMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1p1beta1.GetNotificationConfigRequest, - com.google.cloud.securitycenter.v1p1beta1.NotificationConfig> - getGetNotificationConfigMethod; - if ((getGetNotificationConfigMethod = SecurityCenterGrpc.getGetNotificationConfigMethod) - == null) { - synchronized (SecurityCenterGrpc.class) { - if ((getGetNotificationConfigMethod = SecurityCenterGrpc.getGetNotificationConfigMethod) - == null) { - SecurityCenterGrpc.getGetNotificationConfigMethod = - getGetNotificationConfigMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "GetNotificationConfig")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1p1beta1.GetNotificationConfigRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1p1beta1.NotificationConfig - .getDefaultInstance())) - .setSchemaDescriptor( - new SecurityCenterMethodDescriptorSupplier("GetNotificationConfig")) - .build(); - } - } - } - return getGetNotificationConfigMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1p1beta1.GetOrganizationSettingsRequest, - com.google.cloud.securitycenter.v1p1beta1.OrganizationSettings> - getGetOrganizationSettingsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetOrganizationSettings", - requestType = com.google.cloud.securitycenter.v1p1beta1.GetOrganizationSettingsRequest.class, - responseType = com.google.cloud.securitycenter.v1p1beta1.OrganizationSettings.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1p1beta1.GetOrganizationSettingsRequest, - com.google.cloud.securitycenter.v1p1beta1.OrganizationSettings> - getGetOrganizationSettingsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1p1beta1.GetOrganizationSettingsRequest, - com.google.cloud.securitycenter.v1p1beta1.OrganizationSettings> - getGetOrganizationSettingsMethod; - if ((getGetOrganizationSettingsMethod = SecurityCenterGrpc.getGetOrganizationSettingsMethod) - == null) { - synchronized (SecurityCenterGrpc.class) { - if ((getGetOrganizationSettingsMethod = SecurityCenterGrpc.getGetOrganizationSettingsMethod) - == null) { - SecurityCenterGrpc.getGetOrganizationSettingsMethod = - getGetOrganizationSettingsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "GetOrganizationSettings")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1p1beta1 - .GetOrganizationSettingsRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1p1beta1.OrganizationSettings - .getDefaultInstance())) - .setSchemaDescriptor( - new SecurityCenterMethodDescriptorSupplier("GetOrganizationSettings")) - .build(); - } - } - } - return getGetOrganizationSettingsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1p1beta1.GetSourceRequest, - com.google.cloud.securitycenter.v1p1beta1.Source> - getGetSourceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetSource", - requestType = com.google.cloud.securitycenter.v1p1beta1.GetSourceRequest.class, - responseType = com.google.cloud.securitycenter.v1p1beta1.Source.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1p1beta1.GetSourceRequest, - com.google.cloud.securitycenter.v1p1beta1.Source> - getGetSourceMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1p1beta1.GetSourceRequest, - com.google.cloud.securitycenter.v1p1beta1.Source> - getGetSourceMethod; - if ((getGetSourceMethod = SecurityCenterGrpc.getGetSourceMethod) == null) { - synchronized (SecurityCenterGrpc.class) { - if ((getGetSourceMethod = SecurityCenterGrpc.getGetSourceMethod) == null) { - SecurityCenterGrpc.getGetSourceMethod = - getGetSourceMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetSource")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1p1beta1.GetSourceRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1p1beta1.Source - .getDefaultInstance())) - .setSchemaDescriptor(new SecurityCenterMethodDescriptorSupplier("GetSource")) - .build(); - } - } - } - return getGetSourceMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1p1beta1.GroupAssetsRequest, - com.google.cloud.securitycenter.v1p1beta1.GroupAssetsResponse> - getGroupAssetsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GroupAssets", - requestType = com.google.cloud.securitycenter.v1p1beta1.GroupAssetsRequest.class, - responseType = com.google.cloud.securitycenter.v1p1beta1.GroupAssetsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1p1beta1.GroupAssetsRequest, - com.google.cloud.securitycenter.v1p1beta1.GroupAssetsResponse> - getGroupAssetsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1p1beta1.GroupAssetsRequest, - com.google.cloud.securitycenter.v1p1beta1.GroupAssetsResponse> - getGroupAssetsMethod; - if ((getGroupAssetsMethod = SecurityCenterGrpc.getGroupAssetsMethod) == null) { - synchronized (SecurityCenterGrpc.class) { - if ((getGroupAssetsMethod = SecurityCenterGrpc.getGroupAssetsMethod) == null) { - SecurityCenterGrpc.getGroupAssetsMethod = - getGroupAssetsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GroupAssets")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1p1beta1.GroupAssetsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1p1beta1.GroupAssetsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new SecurityCenterMethodDescriptorSupplier("GroupAssets")) - .build(); - } - } - } - return getGroupAssetsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1p1beta1.GroupFindingsRequest, - com.google.cloud.securitycenter.v1p1beta1.GroupFindingsResponse> - getGroupFindingsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GroupFindings", - requestType = com.google.cloud.securitycenter.v1p1beta1.GroupFindingsRequest.class, - responseType = com.google.cloud.securitycenter.v1p1beta1.GroupFindingsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1p1beta1.GroupFindingsRequest, - com.google.cloud.securitycenter.v1p1beta1.GroupFindingsResponse> - getGroupFindingsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1p1beta1.GroupFindingsRequest, - com.google.cloud.securitycenter.v1p1beta1.GroupFindingsResponse> - getGroupFindingsMethod; - if ((getGroupFindingsMethod = SecurityCenterGrpc.getGroupFindingsMethod) == null) { - synchronized (SecurityCenterGrpc.class) { - if ((getGroupFindingsMethod = SecurityCenterGrpc.getGroupFindingsMethod) == null) { - SecurityCenterGrpc.getGroupFindingsMethod = - getGroupFindingsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GroupFindings")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1p1beta1.GroupFindingsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1p1beta1.GroupFindingsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new SecurityCenterMethodDescriptorSupplier("GroupFindings")) - .build(); - } - } - } - return getGroupFindingsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1p1beta1.ListAssetsRequest, - com.google.cloud.securitycenter.v1p1beta1.ListAssetsResponse> - getListAssetsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListAssets", - requestType = com.google.cloud.securitycenter.v1p1beta1.ListAssetsRequest.class, - responseType = com.google.cloud.securitycenter.v1p1beta1.ListAssetsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1p1beta1.ListAssetsRequest, - com.google.cloud.securitycenter.v1p1beta1.ListAssetsResponse> - getListAssetsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1p1beta1.ListAssetsRequest, - com.google.cloud.securitycenter.v1p1beta1.ListAssetsResponse> - getListAssetsMethod; - if ((getListAssetsMethod = SecurityCenterGrpc.getListAssetsMethod) == null) { - synchronized (SecurityCenterGrpc.class) { - if ((getListAssetsMethod = SecurityCenterGrpc.getListAssetsMethod) == null) { - SecurityCenterGrpc.getListAssetsMethod = - getListAssetsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListAssets")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1p1beta1.ListAssetsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1p1beta1.ListAssetsResponse - .getDefaultInstance())) - .setSchemaDescriptor(new SecurityCenterMethodDescriptorSupplier("ListAssets")) - .build(); - } - } - } - return getListAssetsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1p1beta1.ListFindingsRequest, - com.google.cloud.securitycenter.v1p1beta1.ListFindingsResponse> - getListFindingsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListFindings", - requestType = com.google.cloud.securitycenter.v1p1beta1.ListFindingsRequest.class, - responseType = com.google.cloud.securitycenter.v1p1beta1.ListFindingsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1p1beta1.ListFindingsRequest, - com.google.cloud.securitycenter.v1p1beta1.ListFindingsResponse> - getListFindingsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1p1beta1.ListFindingsRequest, - com.google.cloud.securitycenter.v1p1beta1.ListFindingsResponse> - getListFindingsMethod; - if ((getListFindingsMethod = SecurityCenterGrpc.getListFindingsMethod) == null) { - synchronized (SecurityCenterGrpc.class) { - if ((getListFindingsMethod = SecurityCenterGrpc.getListFindingsMethod) == null) { - SecurityCenterGrpc.getListFindingsMethod = - getListFindingsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListFindings")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1p1beta1.ListFindingsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1p1beta1.ListFindingsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new SecurityCenterMethodDescriptorSupplier("ListFindings")) - .build(); - } - } - } - return getListFindingsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1p1beta1.ListNotificationConfigsRequest, - com.google.cloud.securitycenter.v1p1beta1.ListNotificationConfigsResponse> - getListNotificationConfigsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListNotificationConfigs", - requestType = com.google.cloud.securitycenter.v1p1beta1.ListNotificationConfigsRequest.class, - responseType = - com.google.cloud.securitycenter.v1p1beta1.ListNotificationConfigsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1p1beta1.ListNotificationConfigsRequest, - com.google.cloud.securitycenter.v1p1beta1.ListNotificationConfigsResponse> - getListNotificationConfigsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1p1beta1.ListNotificationConfigsRequest, - com.google.cloud.securitycenter.v1p1beta1.ListNotificationConfigsResponse> - getListNotificationConfigsMethod; - if ((getListNotificationConfigsMethod = SecurityCenterGrpc.getListNotificationConfigsMethod) - == null) { - synchronized (SecurityCenterGrpc.class) { - if ((getListNotificationConfigsMethod = SecurityCenterGrpc.getListNotificationConfigsMethod) - == null) { - SecurityCenterGrpc.getListNotificationConfigsMethod = - getListNotificationConfigsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ListNotificationConfigs")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1p1beta1 - .ListNotificationConfigsRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1p1beta1 - .ListNotificationConfigsResponse.getDefaultInstance())) - .setSchemaDescriptor( - new SecurityCenterMethodDescriptorSupplier("ListNotificationConfigs")) - .build(); - } - } - } - return getListNotificationConfigsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1p1beta1.ListSourcesRequest, - com.google.cloud.securitycenter.v1p1beta1.ListSourcesResponse> - getListSourcesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListSources", - requestType = com.google.cloud.securitycenter.v1p1beta1.ListSourcesRequest.class, - responseType = com.google.cloud.securitycenter.v1p1beta1.ListSourcesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1p1beta1.ListSourcesRequest, - com.google.cloud.securitycenter.v1p1beta1.ListSourcesResponse> - getListSourcesMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1p1beta1.ListSourcesRequest, - com.google.cloud.securitycenter.v1p1beta1.ListSourcesResponse> - getListSourcesMethod; - if ((getListSourcesMethod = SecurityCenterGrpc.getListSourcesMethod) == null) { - synchronized (SecurityCenterGrpc.class) { - if ((getListSourcesMethod = SecurityCenterGrpc.getListSourcesMethod) == null) { - SecurityCenterGrpc.getListSourcesMethod = - getListSourcesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListSources")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1p1beta1.ListSourcesRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1p1beta1.ListSourcesResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new SecurityCenterMethodDescriptorSupplier("ListSources")) - .build(); - } - } - } - return getListSourcesMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1p1beta1.RunAssetDiscoveryRequest, - com.google.longrunning.Operation> - getRunAssetDiscoveryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "RunAssetDiscovery", - requestType = com.google.cloud.securitycenter.v1p1beta1.RunAssetDiscoveryRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1p1beta1.RunAssetDiscoveryRequest, - com.google.longrunning.Operation> - getRunAssetDiscoveryMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1p1beta1.RunAssetDiscoveryRequest, - com.google.longrunning.Operation> - getRunAssetDiscoveryMethod; - if ((getRunAssetDiscoveryMethod = SecurityCenterGrpc.getRunAssetDiscoveryMethod) == null) { - synchronized (SecurityCenterGrpc.class) { - if ((getRunAssetDiscoveryMethod = SecurityCenterGrpc.getRunAssetDiscoveryMethod) == null) { - SecurityCenterGrpc.getRunAssetDiscoveryMethod = - getRunAssetDiscoveryMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RunAssetDiscovery")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1p1beta1.RunAssetDiscoveryRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new SecurityCenterMethodDescriptorSupplier("RunAssetDiscovery")) - .build(); - } - } - } - return getRunAssetDiscoveryMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1p1beta1.SetFindingStateRequest, - com.google.cloud.securitycenter.v1p1beta1.Finding> - getSetFindingStateMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "SetFindingState", - requestType = com.google.cloud.securitycenter.v1p1beta1.SetFindingStateRequest.class, - responseType = com.google.cloud.securitycenter.v1p1beta1.Finding.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1p1beta1.SetFindingStateRequest, - com.google.cloud.securitycenter.v1p1beta1.Finding> - getSetFindingStateMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1p1beta1.SetFindingStateRequest, - com.google.cloud.securitycenter.v1p1beta1.Finding> - getSetFindingStateMethod; - if ((getSetFindingStateMethod = SecurityCenterGrpc.getSetFindingStateMethod) == null) { - synchronized (SecurityCenterGrpc.class) { - if ((getSetFindingStateMethod = SecurityCenterGrpc.getSetFindingStateMethod) == null) { - SecurityCenterGrpc.getSetFindingStateMethod = - getSetFindingStateMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetFindingState")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1p1beta1.SetFindingStateRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1p1beta1.Finding - .getDefaultInstance())) - .setSchemaDescriptor( - new SecurityCenterMethodDescriptorSupplier("SetFindingState")) - .build(); - } - } - } - return getSetFindingStateMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy> - getSetIamPolicyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "SetIamPolicy", - requestType = com.google.iam.v1.SetIamPolicyRequest.class, - responseType = com.google.iam.v1.Policy.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy> - getSetIamPolicyMethod() { - io.grpc.MethodDescriptor - getSetIamPolicyMethod; - if ((getSetIamPolicyMethod = SecurityCenterGrpc.getSetIamPolicyMethod) == null) { - synchronized (SecurityCenterGrpc.class) { - if ((getSetIamPolicyMethod = SecurityCenterGrpc.getSetIamPolicyMethod) == null) { - SecurityCenterGrpc.getSetIamPolicyMethod = - getSetIamPolicyMethod = - io.grpc.MethodDescriptor - .newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetIamPolicy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.SetIamPolicyRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.Policy.getDefaultInstance())) - .setSchemaDescriptor( - new SecurityCenterMethodDescriptorSupplier("SetIamPolicy")) - .build(); - } - } - } - return getSetIamPolicyMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.iam.v1.TestIamPermissionsRequest, com.google.iam.v1.TestIamPermissionsResponse> - getTestIamPermissionsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "TestIamPermissions", - requestType = com.google.iam.v1.TestIamPermissionsRequest.class, - responseType = com.google.iam.v1.TestIamPermissionsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.iam.v1.TestIamPermissionsRequest, com.google.iam.v1.TestIamPermissionsResponse> - getTestIamPermissionsMethod() { - io.grpc.MethodDescriptor< - com.google.iam.v1.TestIamPermissionsRequest, - com.google.iam.v1.TestIamPermissionsResponse> - getTestIamPermissionsMethod; - if ((getTestIamPermissionsMethod = SecurityCenterGrpc.getTestIamPermissionsMethod) == null) { - synchronized (SecurityCenterGrpc.class) { - if ((getTestIamPermissionsMethod = SecurityCenterGrpc.getTestIamPermissionsMethod) - == null) { - SecurityCenterGrpc.getTestIamPermissionsMethod = - getTestIamPermissionsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "TestIamPermissions")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.TestIamPermissionsRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.TestIamPermissionsResponse.getDefaultInstance())) - .setSchemaDescriptor( - new SecurityCenterMethodDescriptorSupplier("TestIamPermissions")) - .build(); - } - } - } - return getTestIamPermissionsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1p1beta1.UpdateFindingRequest, - com.google.cloud.securitycenter.v1p1beta1.Finding> - getUpdateFindingMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateFinding", - requestType = com.google.cloud.securitycenter.v1p1beta1.UpdateFindingRequest.class, - responseType = com.google.cloud.securitycenter.v1p1beta1.Finding.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1p1beta1.UpdateFindingRequest, - com.google.cloud.securitycenter.v1p1beta1.Finding> - getUpdateFindingMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1p1beta1.UpdateFindingRequest, - com.google.cloud.securitycenter.v1p1beta1.Finding> - getUpdateFindingMethod; - if ((getUpdateFindingMethod = SecurityCenterGrpc.getUpdateFindingMethod) == null) { - synchronized (SecurityCenterGrpc.class) { - if ((getUpdateFindingMethod = SecurityCenterGrpc.getUpdateFindingMethod) == null) { - SecurityCenterGrpc.getUpdateFindingMethod = - getUpdateFindingMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateFinding")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1p1beta1.UpdateFindingRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1p1beta1.Finding - .getDefaultInstance())) - .setSchemaDescriptor( - new SecurityCenterMethodDescriptorSupplier("UpdateFinding")) - .build(); - } - } - } - return getUpdateFindingMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1p1beta1.UpdateNotificationConfigRequest, - com.google.cloud.securitycenter.v1p1beta1.NotificationConfig> - getUpdateNotificationConfigMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateNotificationConfig", - requestType = com.google.cloud.securitycenter.v1p1beta1.UpdateNotificationConfigRequest.class, - responseType = com.google.cloud.securitycenter.v1p1beta1.NotificationConfig.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1p1beta1.UpdateNotificationConfigRequest, - com.google.cloud.securitycenter.v1p1beta1.NotificationConfig> - getUpdateNotificationConfigMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1p1beta1.UpdateNotificationConfigRequest, - com.google.cloud.securitycenter.v1p1beta1.NotificationConfig> - getUpdateNotificationConfigMethod; - if ((getUpdateNotificationConfigMethod = SecurityCenterGrpc.getUpdateNotificationConfigMethod) - == null) { - synchronized (SecurityCenterGrpc.class) { - if ((getUpdateNotificationConfigMethod = - SecurityCenterGrpc.getUpdateNotificationConfigMethod) - == null) { - SecurityCenterGrpc.getUpdateNotificationConfigMethod = - getUpdateNotificationConfigMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "UpdateNotificationConfig")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1p1beta1 - .UpdateNotificationConfigRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1p1beta1.NotificationConfig - .getDefaultInstance())) - .setSchemaDescriptor( - new SecurityCenterMethodDescriptorSupplier("UpdateNotificationConfig")) - .build(); - } - } - } - return getUpdateNotificationConfigMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1p1beta1.UpdateOrganizationSettingsRequest, - com.google.cloud.securitycenter.v1p1beta1.OrganizationSettings> - getUpdateOrganizationSettingsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateOrganizationSettings", - requestType = - com.google.cloud.securitycenter.v1p1beta1.UpdateOrganizationSettingsRequest.class, - responseType = com.google.cloud.securitycenter.v1p1beta1.OrganizationSettings.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1p1beta1.UpdateOrganizationSettingsRequest, - com.google.cloud.securitycenter.v1p1beta1.OrganizationSettings> - getUpdateOrganizationSettingsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1p1beta1.UpdateOrganizationSettingsRequest, - com.google.cloud.securitycenter.v1p1beta1.OrganizationSettings> - getUpdateOrganizationSettingsMethod; - if ((getUpdateOrganizationSettingsMethod = - SecurityCenterGrpc.getUpdateOrganizationSettingsMethod) - == null) { - synchronized (SecurityCenterGrpc.class) { - if ((getUpdateOrganizationSettingsMethod = - SecurityCenterGrpc.getUpdateOrganizationSettingsMethod) - == null) { - SecurityCenterGrpc.getUpdateOrganizationSettingsMethod = - getUpdateOrganizationSettingsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "UpdateOrganizationSettings")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1p1beta1 - .UpdateOrganizationSettingsRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1p1beta1.OrganizationSettings - .getDefaultInstance())) - .setSchemaDescriptor( - new SecurityCenterMethodDescriptorSupplier("UpdateOrganizationSettings")) - .build(); - } - } - } - return getUpdateOrganizationSettingsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1p1beta1.UpdateSourceRequest, - com.google.cloud.securitycenter.v1p1beta1.Source> - getUpdateSourceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateSource", - requestType = com.google.cloud.securitycenter.v1p1beta1.UpdateSourceRequest.class, - responseType = com.google.cloud.securitycenter.v1p1beta1.Source.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1p1beta1.UpdateSourceRequest, - com.google.cloud.securitycenter.v1p1beta1.Source> - getUpdateSourceMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1p1beta1.UpdateSourceRequest, - com.google.cloud.securitycenter.v1p1beta1.Source> - getUpdateSourceMethod; - if ((getUpdateSourceMethod = SecurityCenterGrpc.getUpdateSourceMethod) == null) { - synchronized (SecurityCenterGrpc.class) { - if ((getUpdateSourceMethod = SecurityCenterGrpc.getUpdateSourceMethod) == null) { - SecurityCenterGrpc.getUpdateSourceMethod = - getUpdateSourceMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateSource")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1p1beta1.UpdateSourceRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1p1beta1.Source - .getDefaultInstance())) - .setSchemaDescriptor( - new SecurityCenterMethodDescriptorSupplier("UpdateSource")) - .build(); - } - } - } - return getUpdateSourceMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1p1beta1.UpdateSecurityMarksRequest, - com.google.cloud.securitycenter.v1p1beta1.SecurityMarks> - getUpdateSecurityMarksMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateSecurityMarks", - requestType = com.google.cloud.securitycenter.v1p1beta1.UpdateSecurityMarksRequest.class, - responseType = com.google.cloud.securitycenter.v1p1beta1.SecurityMarks.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1p1beta1.UpdateSecurityMarksRequest, - com.google.cloud.securitycenter.v1p1beta1.SecurityMarks> - getUpdateSecurityMarksMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.securitycenter.v1p1beta1.UpdateSecurityMarksRequest, - com.google.cloud.securitycenter.v1p1beta1.SecurityMarks> - getUpdateSecurityMarksMethod; - if ((getUpdateSecurityMarksMethod = SecurityCenterGrpc.getUpdateSecurityMarksMethod) == null) { - synchronized (SecurityCenterGrpc.class) { - if ((getUpdateSecurityMarksMethod = SecurityCenterGrpc.getUpdateSecurityMarksMethod) - == null) { - SecurityCenterGrpc.getUpdateSecurityMarksMethod = - getUpdateSecurityMarksMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "UpdateSecurityMarks")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1p1beta1.UpdateSecurityMarksRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.securitycenter.v1p1beta1.SecurityMarks - .getDefaultInstance())) - .setSchemaDescriptor( - new SecurityCenterMethodDescriptorSupplier("UpdateSecurityMarks")) - .build(); - } - } - } - return getUpdateSecurityMarksMethod; - } - - /** Creates a new async stub that supports all call types for the service */ - public static SecurityCenterStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public SecurityCenterStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new SecurityCenterStub(channel, callOptions); - } - }; - return SecurityCenterStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static SecurityCenterBlockingStub newBlockingStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public SecurityCenterBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new SecurityCenterBlockingStub(channel, callOptions); - } - }; - return SecurityCenterBlockingStub.newStub(factory, channel); - } - - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static SecurityCenterFutureStub newFutureStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public SecurityCenterFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new SecurityCenterFutureStub(channel, callOptions); - } - }; - return SecurityCenterFutureStub.newStub(factory, channel); - } - - /** - * - * - *
-   * V1p1Beta1 APIs for Security Center service.
-   * 
- */ - public abstract static class SecurityCenterImplBase implements io.grpc.BindableService { - - /** - * - * - *
-     * Creates a source.
-     * 
- */ - public void createSource( - com.google.cloud.securitycenter.v1p1beta1.CreateSourceRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateSourceMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a finding. The corresponding source must exist for finding
-     * creation to succeed.
-     * 
- */ - public void createFinding( - com.google.cloud.securitycenter.v1p1beta1.CreateFindingRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateFindingMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a notification config.
-     * 
- */ - public void createNotificationConfig( - com.google.cloud.securitycenter.v1p1beta1.CreateNotificationConfigRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateNotificationConfigMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a notification config.
-     * 
- */ - public void deleteNotificationConfig( - com.google.cloud.securitycenter.v1p1beta1.DeleteNotificationConfigRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteNotificationConfigMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets the access control policy on the specified Source.
-     * 
- */ - public void getIamPolicy( - com.google.iam.v1.GetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetIamPolicyMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets a notification config.
-     * 
- */ - public void getNotificationConfig( - com.google.cloud.securitycenter.v1p1beta1.GetNotificationConfigRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetNotificationConfigMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets the settings for an organization.
-     * 
- */ - public void getOrganizationSettings( - com.google.cloud.securitycenter.v1p1beta1.GetOrganizationSettingsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetOrganizationSettingsMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets a source.
-     * 
- */ - public void getSource( - com.google.cloud.securitycenter.v1p1beta1.GetSourceRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetSourceMethod(), responseObserver); - } - - /** - * - * - *
-     * Filters an organization's assets and  groups them by their specified
-     * properties.
-     * 
- */ - public void groupAssets( - com.google.cloud.securitycenter.v1p1beta1.GroupAssetsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGroupAssetsMethod(), responseObserver); - } - - /** - * - * - *
-     * Filters an organization or source's findings and  groups them by their
-     * specified properties.
-     * To group across all sources provide a `-` as the source id.
-     * Example: /v1/organizations/{organization_id}/sources/-/findings,
-     * /v1/folders/{folder_id}/sources/-/findings,
-     * /v1/projects/{project_id}/sources/-/findings
-     * 
- */ - public void groupFindings( - com.google.cloud.securitycenter.v1p1beta1.GroupFindingsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGroupFindingsMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists an organization's assets.
-     * 
- */ - public void listAssets( - com.google.cloud.securitycenter.v1p1beta1.ListAssetsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListAssetsMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists an organization or source's findings.
-     * To list across all sources provide a `-` as the source id.
-     * Example: /v1p1beta1/organizations/{organization_id}/sources/-/findings
-     * 
- */ - public void listFindings( - com.google.cloud.securitycenter.v1p1beta1.ListFindingsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListFindingsMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists notification configs.
-     * 
- */ - public void listNotificationConfigs( - com.google.cloud.securitycenter.v1p1beta1.ListNotificationConfigsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.securitycenter.v1p1beta1.ListNotificationConfigsResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListNotificationConfigsMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists all sources belonging to an organization.
-     * 
- */ - public void listSources( - com.google.cloud.securitycenter.v1p1beta1.ListSourcesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListSourcesMethod(), responseObserver); - } - - /** - * - * - *
-     * Runs asset discovery. The discovery is tracked with a long-running
-     * operation.
-     * This API can only be called with limited frequency for an organization. If
-     * it is called too frequently the caller will receive a TOO_MANY_REQUESTS
-     * error.
-     * 
- */ - public void runAssetDiscovery( - com.google.cloud.securitycenter.v1p1beta1.RunAssetDiscoveryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getRunAssetDiscoveryMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates the state of a finding.
-     * 
- */ - public void setFindingState( - com.google.cloud.securitycenter.v1p1beta1.SetFindingStateRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getSetFindingStateMethod(), responseObserver); - } - - /** - * - * - *
-     * Sets the access control policy on the specified Source.
-     * 
- */ - public void setIamPolicy( - com.google.iam.v1.SetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getSetIamPolicyMethod(), responseObserver); - } - - /** - * - * - *
-     * Returns the permissions that a caller has on the specified source.
-     * 
- */ - public void testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getTestIamPermissionsMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates or updates a finding. The corresponding source must exist for a
-     * finding creation to succeed.
-     * 
- */ - public void updateFinding( - com.google.cloud.securitycenter.v1p1beta1.UpdateFindingRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateFindingMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates a notification config. The following update
-     * fields are allowed: description, pubsub_topic, streaming_config.filter
-     * 
- */ - public void updateNotificationConfig( - com.google.cloud.securitycenter.v1p1beta1.UpdateNotificationConfigRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateNotificationConfigMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates an organization's settings.
-     * 
- */ - public void updateOrganizationSettings( - com.google.cloud.securitycenter.v1p1beta1.UpdateOrganizationSettingsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateOrganizationSettingsMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates a source.
-     * 
- */ - public void updateSource( - com.google.cloud.securitycenter.v1p1beta1.UpdateSourceRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateSourceMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates security marks.
-     * 
- */ - public void updateSecurityMarks( - com.google.cloud.securitycenter.v1p1beta1.UpdateSecurityMarksRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateSecurityMarksMethod(), responseObserver); - } - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getCreateSourceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.securitycenter.v1p1beta1.CreateSourceRequest, - com.google.cloud.securitycenter.v1p1beta1.Source>( - this, METHODID_CREATE_SOURCE))) - .addMethod( - getCreateFindingMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.securitycenter.v1p1beta1.CreateFindingRequest, - com.google.cloud.securitycenter.v1p1beta1.Finding>( - this, METHODID_CREATE_FINDING))) - .addMethod( - getCreateNotificationConfigMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.securitycenter.v1p1beta1.CreateNotificationConfigRequest, - com.google.cloud.securitycenter.v1p1beta1.NotificationConfig>( - this, METHODID_CREATE_NOTIFICATION_CONFIG))) - .addMethod( - getDeleteNotificationConfigMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.securitycenter.v1p1beta1.DeleteNotificationConfigRequest, - com.google.protobuf.Empty>(this, METHODID_DELETE_NOTIFICATION_CONFIG))) - .addMethod( - getGetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy>( - this, METHODID_GET_IAM_POLICY))) - .addMethod( - getGetNotificationConfigMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.securitycenter.v1p1beta1.GetNotificationConfigRequest, - com.google.cloud.securitycenter.v1p1beta1.NotificationConfig>( - this, METHODID_GET_NOTIFICATION_CONFIG))) - .addMethod( - getGetOrganizationSettingsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.securitycenter.v1p1beta1.GetOrganizationSettingsRequest, - com.google.cloud.securitycenter.v1p1beta1.OrganizationSettings>( - this, METHODID_GET_ORGANIZATION_SETTINGS))) - .addMethod( - getGetSourceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.securitycenter.v1p1beta1.GetSourceRequest, - com.google.cloud.securitycenter.v1p1beta1.Source>(this, METHODID_GET_SOURCE))) - .addMethod( - getGroupAssetsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.securitycenter.v1p1beta1.GroupAssetsRequest, - com.google.cloud.securitycenter.v1p1beta1.GroupAssetsResponse>( - this, METHODID_GROUP_ASSETS))) - .addMethod( - getGroupFindingsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.securitycenter.v1p1beta1.GroupFindingsRequest, - com.google.cloud.securitycenter.v1p1beta1.GroupFindingsResponse>( - this, METHODID_GROUP_FINDINGS))) - .addMethod( - getListAssetsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.securitycenter.v1p1beta1.ListAssetsRequest, - com.google.cloud.securitycenter.v1p1beta1.ListAssetsResponse>( - this, METHODID_LIST_ASSETS))) - .addMethod( - getListFindingsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.securitycenter.v1p1beta1.ListFindingsRequest, - com.google.cloud.securitycenter.v1p1beta1.ListFindingsResponse>( - this, METHODID_LIST_FINDINGS))) - .addMethod( - getListNotificationConfigsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.securitycenter.v1p1beta1.ListNotificationConfigsRequest, - com.google.cloud.securitycenter.v1p1beta1.ListNotificationConfigsResponse>( - this, METHODID_LIST_NOTIFICATION_CONFIGS))) - .addMethod( - getListSourcesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.securitycenter.v1p1beta1.ListSourcesRequest, - com.google.cloud.securitycenter.v1p1beta1.ListSourcesResponse>( - this, METHODID_LIST_SOURCES))) - .addMethod( - getRunAssetDiscoveryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.securitycenter.v1p1beta1.RunAssetDiscoveryRequest, - com.google.longrunning.Operation>(this, METHODID_RUN_ASSET_DISCOVERY))) - .addMethod( - getSetFindingStateMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.securitycenter.v1p1beta1.SetFindingStateRequest, - com.google.cloud.securitycenter.v1p1beta1.Finding>( - this, METHODID_SET_FINDING_STATE))) - .addMethod( - getSetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy>( - this, METHODID_SET_IAM_POLICY))) - .addMethod( - getTestIamPermissionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.TestIamPermissionsRequest, - com.google.iam.v1.TestIamPermissionsResponse>( - this, METHODID_TEST_IAM_PERMISSIONS))) - .addMethod( - getUpdateFindingMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.securitycenter.v1p1beta1.UpdateFindingRequest, - com.google.cloud.securitycenter.v1p1beta1.Finding>( - this, METHODID_UPDATE_FINDING))) - .addMethod( - getUpdateNotificationConfigMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.securitycenter.v1p1beta1.UpdateNotificationConfigRequest, - com.google.cloud.securitycenter.v1p1beta1.NotificationConfig>( - this, METHODID_UPDATE_NOTIFICATION_CONFIG))) - .addMethod( - getUpdateOrganizationSettingsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.securitycenter.v1p1beta1.UpdateOrganizationSettingsRequest, - com.google.cloud.securitycenter.v1p1beta1.OrganizationSettings>( - this, METHODID_UPDATE_ORGANIZATION_SETTINGS))) - .addMethod( - getUpdateSourceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.securitycenter.v1p1beta1.UpdateSourceRequest, - com.google.cloud.securitycenter.v1p1beta1.Source>( - this, METHODID_UPDATE_SOURCE))) - .addMethod( - getUpdateSecurityMarksMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.securitycenter.v1p1beta1.UpdateSecurityMarksRequest, - com.google.cloud.securitycenter.v1p1beta1.SecurityMarks>( - this, METHODID_UPDATE_SECURITY_MARKS))) - .build(); - } - } - - /** - * - * - *
-   * V1p1Beta1 APIs for Security Center service.
-   * 
- */ - public static final class SecurityCenterStub - extends io.grpc.stub.AbstractAsyncStub { - private SecurityCenterStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected SecurityCenterStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new SecurityCenterStub(channel, callOptions); - } - - /** - * - * - *
-     * Creates a source.
-     * 
- */ - public void createSource( - com.google.cloud.securitycenter.v1p1beta1.CreateSourceRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateSourceMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates a finding. The corresponding source must exist for finding
-     * creation to succeed.
-     * 
- */ - public void createFinding( - com.google.cloud.securitycenter.v1p1beta1.CreateFindingRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateFindingMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates a notification config.
-     * 
- */ - public void createNotificationConfig( - com.google.cloud.securitycenter.v1p1beta1.CreateNotificationConfigRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateNotificationConfigMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes a notification config.
-     * 
- */ - public void deleteNotificationConfig( - com.google.cloud.securitycenter.v1p1beta1.DeleteNotificationConfigRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteNotificationConfigMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets the access control policy on the specified Source.
-     * 
- */ - public void getIamPolicy( - com.google.iam.v1.GetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets a notification config.
-     * 
- */ - public void getNotificationConfig( - com.google.cloud.securitycenter.v1p1beta1.GetNotificationConfigRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetNotificationConfigMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets the settings for an organization.
-     * 
- */ - public void getOrganizationSettings( - com.google.cloud.securitycenter.v1p1beta1.GetOrganizationSettingsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetOrganizationSettingsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets a source.
-     * 
- */ - public void getSource( - com.google.cloud.securitycenter.v1p1beta1.GetSourceRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetSourceMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Filters an organization's assets and  groups them by their specified
-     * properties.
-     * 
- */ - public void groupAssets( - com.google.cloud.securitycenter.v1p1beta1.GroupAssetsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGroupAssetsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Filters an organization or source's findings and  groups them by their
-     * specified properties.
-     * To group across all sources provide a `-` as the source id.
-     * Example: /v1/organizations/{organization_id}/sources/-/findings,
-     * /v1/folders/{folder_id}/sources/-/findings,
-     * /v1/projects/{project_id}/sources/-/findings
-     * 
- */ - public void groupFindings( - com.google.cloud.securitycenter.v1p1beta1.GroupFindingsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGroupFindingsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists an organization's assets.
-     * 
- */ - public void listAssets( - com.google.cloud.securitycenter.v1p1beta1.ListAssetsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListAssetsMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Lists an organization or source's findings.
-     * To list across all sources provide a `-` as the source id.
-     * Example: /v1p1beta1/organizations/{organization_id}/sources/-/findings
-     * 
- */ - public void listFindings( - com.google.cloud.securitycenter.v1p1beta1.ListFindingsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListFindingsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists notification configs.
-     * 
- */ - public void listNotificationConfigs( - com.google.cloud.securitycenter.v1p1beta1.ListNotificationConfigsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.securitycenter.v1p1beta1.ListNotificationConfigsResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListNotificationConfigsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists all sources belonging to an organization.
-     * 
- */ - public void listSources( - com.google.cloud.securitycenter.v1p1beta1.ListSourcesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListSourcesMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Runs asset discovery. The discovery is tracked with a long-running
-     * operation.
-     * This API can only be called with limited frequency for an organization. If
-     * it is called too frequently the caller will receive a TOO_MANY_REQUESTS
-     * error.
-     * 
- */ - public void runAssetDiscovery( - com.google.cloud.securitycenter.v1p1beta1.RunAssetDiscoveryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRunAssetDiscoveryMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates the state of a finding.
-     * 
- */ - public void setFindingState( - com.google.cloud.securitycenter.v1p1beta1.SetFindingStateRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSetFindingStateMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Sets the access control policy on the specified Source.
-     * 
- */ - public void setIamPolicy( - com.google.iam.v1.SetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Returns the permissions that a caller has on the specified source.
-     * 
- */ - public void testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates or updates a finding. The corresponding source must exist for a
-     * finding creation to succeed.
-     * 
- */ - public void updateFinding( - com.google.cloud.securitycenter.v1p1beta1.UpdateFindingRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateFindingMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates a notification config. The following update
-     * fields are allowed: description, pubsub_topic, streaming_config.filter
-     * 
- */ - public void updateNotificationConfig( - com.google.cloud.securitycenter.v1p1beta1.UpdateNotificationConfigRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateNotificationConfigMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates an organization's settings.
-     * 
- */ - public void updateOrganizationSettings( - com.google.cloud.securitycenter.v1p1beta1.UpdateOrganizationSettingsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateOrganizationSettingsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates a source.
-     * 
- */ - public void updateSource( - com.google.cloud.securitycenter.v1p1beta1.UpdateSourceRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateSourceMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates security marks.
-     * 
- */ - public void updateSecurityMarks( - com.google.cloud.securitycenter.v1p1beta1.UpdateSecurityMarksRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateSecurityMarksMethod(), getCallOptions()), - request, - responseObserver); - } - } - - /** - * - * - *
-   * V1p1Beta1 APIs for Security Center service.
-   * 
- */ - public static final class SecurityCenterBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private SecurityCenterBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected SecurityCenterBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new SecurityCenterBlockingStub(channel, callOptions); - } - - /** - * - * - *
-     * Creates a source.
-     * 
- */ - public com.google.cloud.securitycenter.v1p1beta1.Source createSource( - com.google.cloud.securitycenter.v1p1beta1.CreateSourceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateSourceMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a finding. The corresponding source must exist for finding
-     * creation to succeed.
-     * 
- */ - public com.google.cloud.securitycenter.v1p1beta1.Finding createFinding( - com.google.cloud.securitycenter.v1p1beta1.CreateFindingRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateFindingMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a notification config.
-     * 
- */ - public com.google.cloud.securitycenter.v1p1beta1.NotificationConfig createNotificationConfig( - com.google.cloud.securitycenter.v1p1beta1.CreateNotificationConfigRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateNotificationConfigMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a notification config.
-     * 
- */ - public com.google.protobuf.Empty deleteNotificationConfig( - com.google.cloud.securitycenter.v1p1beta1.DeleteNotificationConfigRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteNotificationConfigMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets the access control policy on the specified Source.
-     * 
- */ - public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetIamPolicyMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets a notification config.
-     * 
- */ - public com.google.cloud.securitycenter.v1p1beta1.NotificationConfig getNotificationConfig( - com.google.cloud.securitycenter.v1p1beta1.GetNotificationConfigRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetNotificationConfigMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets the settings for an organization.
-     * 
- */ - public com.google.cloud.securitycenter.v1p1beta1.OrganizationSettings getOrganizationSettings( - com.google.cloud.securitycenter.v1p1beta1.GetOrganizationSettingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetOrganizationSettingsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets a source.
-     * 
- */ - public com.google.cloud.securitycenter.v1p1beta1.Source getSource( - com.google.cloud.securitycenter.v1p1beta1.GetSourceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetSourceMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Filters an organization's assets and  groups them by their specified
-     * properties.
-     * 
- */ - public com.google.cloud.securitycenter.v1p1beta1.GroupAssetsResponse groupAssets( - com.google.cloud.securitycenter.v1p1beta1.GroupAssetsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGroupAssetsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Filters an organization or source's findings and  groups them by their
-     * specified properties.
-     * To group across all sources provide a `-` as the source id.
-     * Example: /v1/organizations/{organization_id}/sources/-/findings,
-     * /v1/folders/{folder_id}/sources/-/findings,
-     * /v1/projects/{project_id}/sources/-/findings
-     * 
- */ - public com.google.cloud.securitycenter.v1p1beta1.GroupFindingsResponse groupFindings( - com.google.cloud.securitycenter.v1p1beta1.GroupFindingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGroupFindingsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists an organization's assets.
-     * 
- */ - public com.google.cloud.securitycenter.v1p1beta1.ListAssetsResponse listAssets( - com.google.cloud.securitycenter.v1p1beta1.ListAssetsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListAssetsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists an organization or source's findings.
-     * To list across all sources provide a `-` as the source id.
-     * Example: /v1p1beta1/organizations/{organization_id}/sources/-/findings
-     * 
- */ - public com.google.cloud.securitycenter.v1p1beta1.ListFindingsResponse listFindings( - com.google.cloud.securitycenter.v1p1beta1.ListFindingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListFindingsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists notification configs.
-     * 
- */ - public com.google.cloud.securitycenter.v1p1beta1.ListNotificationConfigsResponse - listNotificationConfigs( - com.google.cloud.securitycenter.v1p1beta1.ListNotificationConfigsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListNotificationConfigsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists all sources belonging to an organization.
-     * 
- */ - public com.google.cloud.securitycenter.v1p1beta1.ListSourcesResponse listSources( - com.google.cloud.securitycenter.v1p1beta1.ListSourcesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListSourcesMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Runs asset discovery. The discovery is tracked with a long-running
-     * operation.
-     * This API can only be called with limited frequency for an organization. If
-     * it is called too frequently the caller will receive a TOO_MANY_REQUESTS
-     * error.
-     * 
- */ - public com.google.longrunning.Operation runAssetDiscovery( - com.google.cloud.securitycenter.v1p1beta1.RunAssetDiscoveryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getRunAssetDiscoveryMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates the state of a finding.
-     * 
- */ - public com.google.cloud.securitycenter.v1p1beta1.Finding setFindingState( - com.google.cloud.securitycenter.v1p1beta1.SetFindingStateRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSetFindingStateMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Sets the access control policy on the specified Source.
-     * 
- */ - public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSetIamPolicyMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Returns the permissions that a caller has on the specified source.
-     * 
- */ - public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getTestIamPermissionsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates or updates a finding. The corresponding source must exist for a
-     * finding creation to succeed.
-     * 
- */ - public com.google.cloud.securitycenter.v1p1beta1.Finding updateFinding( - com.google.cloud.securitycenter.v1p1beta1.UpdateFindingRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateFindingMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates a notification config. The following update
-     * fields are allowed: description, pubsub_topic, streaming_config.filter
-     * 
- */ - public com.google.cloud.securitycenter.v1p1beta1.NotificationConfig updateNotificationConfig( - com.google.cloud.securitycenter.v1p1beta1.UpdateNotificationConfigRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateNotificationConfigMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates an organization's settings.
-     * 
- */ - public com.google.cloud.securitycenter.v1p1beta1.OrganizationSettings - updateOrganizationSettings( - com.google.cloud.securitycenter.v1p1beta1.UpdateOrganizationSettingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateOrganizationSettingsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates a source.
-     * 
- */ - public com.google.cloud.securitycenter.v1p1beta1.Source updateSource( - com.google.cloud.securitycenter.v1p1beta1.UpdateSourceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateSourceMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates security marks.
-     * 
- */ - public com.google.cloud.securitycenter.v1p1beta1.SecurityMarks updateSecurityMarks( - com.google.cloud.securitycenter.v1p1beta1.UpdateSecurityMarksRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateSecurityMarksMethod(), getCallOptions(), request); - } - } - - /** - * - * - *
-   * V1p1Beta1 APIs for Security Center service.
-   * 
- */ - public static final class SecurityCenterFutureStub - extends io.grpc.stub.AbstractFutureStub { - private SecurityCenterFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected SecurityCenterFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new SecurityCenterFutureStub(channel, callOptions); - } - - /** - * - * - *
-     * Creates a source.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.securitycenter.v1p1beta1.Source> - createSource(com.google.cloud.securitycenter.v1p1beta1.CreateSourceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateSourceMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates a finding. The corresponding source must exist for finding
-     * creation to succeed.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.securitycenter.v1p1beta1.Finding> - createFinding(com.google.cloud.securitycenter.v1p1beta1.CreateFindingRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateFindingMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates a notification config.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.securitycenter.v1p1beta1.NotificationConfig> - createNotificationConfig( - com.google.cloud.securitycenter.v1p1beta1.CreateNotificationConfigRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateNotificationConfigMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a notification config.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteNotificationConfig( - com.google.cloud.securitycenter.v1p1beta1.DeleteNotificationConfigRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteNotificationConfigMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets the access control policy on the specified Source.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets a notification config.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.securitycenter.v1p1beta1.NotificationConfig> - getNotificationConfig( - com.google.cloud.securitycenter.v1p1beta1.GetNotificationConfigRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetNotificationConfigMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets the settings for an organization.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.securitycenter.v1p1beta1.OrganizationSettings> - getOrganizationSettings( - com.google.cloud.securitycenter.v1p1beta1.GetOrganizationSettingsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetOrganizationSettingsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets a source.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.securitycenter.v1p1beta1.Source> - getSource(com.google.cloud.securitycenter.v1p1beta1.GetSourceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetSourceMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Filters an organization's assets and  groups them by their specified
-     * properties.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.securitycenter.v1p1beta1.GroupAssetsResponse> - groupAssets(com.google.cloud.securitycenter.v1p1beta1.GroupAssetsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGroupAssetsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Filters an organization or source's findings and  groups them by their
-     * specified properties.
-     * To group across all sources provide a `-` as the source id.
-     * Example: /v1/organizations/{organization_id}/sources/-/findings,
-     * /v1/folders/{folder_id}/sources/-/findings,
-     * /v1/projects/{project_id}/sources/-/findings
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.securitycenter.v1p1beta1.GroupFindingsResponse> - groupFindings(com.google.cloud.securitycenter.v1p1beta1.GroupFindingsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGroupFindingsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists an organization's assets.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.securitycenter.v1p1beta1.ListAssetsResponse> - listAssets(com.google.cloud.securitycenter.v1p1beta1.ListAssetsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListAssetsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists an organization or source's findings.
-     * To list across all sources provide a `-` as the source id.
-     * Example: /v1p1beta1/organizations/{organization_id}/sources/-/findings
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.securitycenter.v1p1beta1.ListFindingsResponse> - listFindings(com.google.cloud.securitycenter.v1p1beta1.ListFindingsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListFindingsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists notification configs.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.securitycenter.v1p1beta1.ListNotificationConfigsResponse> - listNotificationConfigs( - com.google.cloud.securitycenter.v1p1beta1.ListNotificationConfigsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListNotificationConfigsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists all sources belonging to an organization.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.securitycenter.v1p1beta1.ListSourcesResponse> - listSources(com.google.cloud.securitycenter.v1p1beta1.ListSourcesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListSourcesMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Runs asset discovery. The discovery is tracked with a long-running
-     * operation.
-     * This API can only be called with limited frequency for an organization. If
-     * it is called too frequently the caller will receive a TOO_MANY_REQUESTS
-     * error.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - runAssetDiscovery( - com.google.cloud.securitycenter.v1p1beta1.RunAssetDiscoveryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getRunAssetDiscoveryMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates the state of a finding.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.securitycenter.v1p1beta1.Finding> - setFindingState(com.google.cloud.securitycenter.v1p1beta1.SetFindingStateRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getSetFindingStateMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Sets the access control policy on the specified Source.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Returns the permissions that a caller has on the specified source.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.iam.v1.TestIamPermissionsResponse> - testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates or updates a finding. The corresponding source must exist for a
-     * finding creation to succeed.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.securitycenter.v1p1beta1.Finding> - updateFinding(com.google.cloud.securitycenter.v1p1beta1.UpdateFindingRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateFindingMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates a notification config. The following update
-     * fields are allowed: description, pubsub_topic, streaming_config.filter
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.securitycenter.v1p1beta1.NotificationConfig> - updateNotificationConfig( - com.google.cloud.securitycenter.v1p1beta1.UpdateNotificationConfigRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateNotificationConfigMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates an organization's settings.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.securitycenter.v1p1beta1.OrganizationSettings> - updateOrganizationSettings( - com.google.cloud.securitycenter.v1p1beta1.UpdateOrganizationSettingsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateOrganizationSettingsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates a source.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.securitycenter.v1p1beta1.Source> - updateSource(com.google.cloud.securitycenter.v1p1beta1.UpdateSourceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateSourceMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates security marks.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.securitycenter.v1p1beta1.SecurityMarks> - updateSecurityMarks( - com.google.cloud.securitycenter.v1p1beta1.UpdateSecurityMarksRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateSecurityMarksMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_CREATE_SOURCE = 0; - private static final int METHODID_CREATE_FINDING = 1; - private static final int METHODID_CREATE_NOTIFICATION_CONFIG = 2; - private static final int METHODID_DELETE_NOTIFICATION_CONFIG = 3; - private static final int METHODID_GET_IAM_POLICY = 4; - private static final int METHODID_GET_NOTIFICATION_CONFIG = 5; - private static final int METHODID_GET_ORGANIZATION_SETTINGS = 6; - private static final int METHODID_GET_SOURCE = 7; - private static final int METHODID_GROUP_ASSETS = 8; - private static final int METHODID_GROUP_FINDINGS = 9; - private static final int METHODID_LIST_ASSETS = 10; - private static final int METHODID_LIST_FINDINGS = 11; - private static final int METHODID_LIST_NOTIFICATION_CONFIGS = 12; - private static final int METHODID_LIST_SOURCES = 13; - private static final int METHODID_RUN_ASSET_DISCOVERY = 14; - private static final int METHODID_SET_FINDING_STATE = 15; - private static final int METHODID_SET_IAM_POLICY = 16; - private static final int METHODID_TEST_IAM_PERMISSIONS = 17; - private static final int METHODID_UPDATE_FINDING = 18; - private static final int METHODID_UPDATE_NOTIFICATION_CONFIG = 19; - private static final int METHODID_UPDATE_ORGANIZATION_SETTINGS = 20; - private static final int METHODID_UPDATE_SOURCE = 21; - private static final int METHODID_UPDATE_SECURITY_MARKS = 22; - - private static final class MethodHandlers - implements io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final SecurityCenterImplBase serviceImpl; - private final int methodId; - - MethodHandlers(SecurityCenterImplBase serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_CREATE_SOURCE: - serviceImpl.createSource( - (com.google.cloud.securitycenter.v1p1beta1.CreateSourceRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_CREATE_FINDING: - serviceImpl.createFinding( - (com.google.cloud.securitycenter.v1p1beta1.CreateFindingRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_CREATE_NOTIFICATION_CONFIG: - serviceImpl.createNotificationConfig( - (com.google.cloud.securitycenter.v1p1beta1.CreateNotificationConfigRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.securitycenter.v1p1beta1.NotificationConfig>) - responseObserver); - break; - case METHODID_DELETE_NOTIFICATION_CONFIG: - serviceImpl.deleteNotificationConfig( - (com.google.cloud.securitycenter.v1p1beta1.DeleteNotificationConfigRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_IAM_POLICY: - serviceImpl.getIamPolicy( - (com.google.iam.v1.GetIamPolicyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_NOTIFICATION_CONFIG: - serviceImpl.getNotificationConfig( - (com.google.cloud.securitycenter.v1p1beta1.GetNotificationConfigRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.securitycenter.v1p1beta1.NotificationConfig>) - responseObserver); - break; - case METHODID_GET_ORGANIZATION_SETTINGS: - serviceImpl.getOrganizationSettings( - (com.google.cloud.securitycenter.v1p1beta1.GetOrganizationSettingsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.securitycenter.v1p1beta1.OrganizationSettings>) - responseObserver); - break; - case METHODID_GET_SOURCE: - serviceImpl.getSource( - (com.google.cloud.securitycenter.v1p1beta1.GetSourceRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_GROUP_ASSETS: - serviceImpl.groupAssets( - (com.google.cloud.securitycenter.v1p1beta1.GroupAssetsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.securitycenter.v1p1beta1.GroupAssetsResponse>) - responseObserver); - break; - case METHODID_GROUP_FINDINGS: - serviceImpl.groupFindings( - (com.google.cloud.securitycenter.v1p1beta1.GroupFindingsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.securitycenter.v1p1beta1.GroupFindingsResponse>) - responseObserver); - break; - case METHODID_LIST_ASSETS: - serviceImpl.listAssets( - (com.google.cloud.securitycenter.v1p1beta1.ListAssetsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.securitycenter.v1p1beta1.ListAssetsResponse>) - responseObserver); - break; - case METHODID_LIST_FINDINGS: - serviceImpl.listFindings( - (com.google.cloud.securitycenter.v1p1beta1.ListFindingsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.securitycenter.v1p1beta1.ListFindingsResponse>) - responseObserver); - break; - case METHODID_LIST_NOTIFICATION_CONFIGS: - serviceImpl.listNotificationConfigs( - (com.google.cloud.securitycenter.v1p1beta1.ListNotificationConfigsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.securitycenter.v1p1beta1.ListNotificationConfigsResponse>) - responseObserver); - break; - case METHODID_LIST_SOURCES: - serviceImpl.listSources( - (com.google.cloud.securitycenter.v1p1beta1.ListSourcesRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.securitycenter.v1p1beta1.ListSourcesResponse>) - responseObserver); - break; - case METHODID_RUN_ASSET_DISCOVERY: - serviceImpl.runAssetDiscovery( - (com.google.cloud.securitycenter.v1p1beta1.RunAssetDiscoveryRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_SET_FINDING_STATE: - serviceImpl.setFindingState( - (com.google.cloud.securitycenter.v1p1beta1.SetFindingStateRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_SET_IAM_POLICY: - serviceImpl.setIamPolicy( - (com.google.iam.v1.SetIamPolicyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_TEST_IAM_PERMISSIONS: - serviceImpl.testIamPermissions( - (com.google.iam.v1.TestIamPermissionsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_UPDATE_FINDING: - serviceImpl.updateFinding( - (com.google.cloud.securitycenter.v1p1beta1.UpdateFindingRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_UPDATE_NOTIFICATION_CONFIG: - serviceImpl.updateNotificationConfig( - (com.google.cloud.securitycenter.v1p1beta1.UpdateNotificationConfigRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.securitycenter.v1p1beta1.NotificationConfig>) - responseObserver); - break; - case METHODID_UPDATE_ORGANIZATION_SETTINGS: - serviceImpl.updateOrganizationSettings( - (com.google.cloud.securitycenter.v1p1beta1.UpdateOrganizationSettingsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.securitycenter.v1p1beta1.OrganizationSettings>) - responseObserver); - break; - case METHODID_UPDATE_SOURCE: - serviceImpl.updateSource( - (com.google.cloud.securitycenter.v1p1beta1.UpdateSourceRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_UPDATE_SECURITY_MARKS: - serviceImpl.updateSecurityMarks( - (com.google.cloud.securitycenter.v1p1beta1.UpdateSecurityMarksRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - private abstract static class SecurityCenterBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { - SecurityCenterBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.securitycenter.v1p1beta1.SecuritycenterService.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("SecurityCenter"); - } - } - - private static final class SecurityCenterFileDescriptorSupplier - extends SecurityCenterBaseDescriptorSupplier { - SecurityCenterFileDescriptorSupplier() {} - } - - private static final class SecurityCenterMethodDescriptorSupplier - extends SecurityCenterBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - SecurityCenterMethodDescriptorSupplier(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 (SecurityCenterGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new SecurityCenterFileDescriptorSupplier()) - .addMethod(getCreateSourceMethod()) - .addMethod(getCreateFindingMethod()) - .addMethod(getCreateNotificationConfigMethod()) - .addMethod(getDeleteNotificationConfigMethod()) - .addMethod(getGetIamPolicyMethod()) - .addMethod(getGetNotificationConfigMethod()) - .addMethod(getGetOrganizationSettingsMethod()) - .addMethod(getGetSourceMethod()) - .addMethod(getGroupAssetsMethod()) - .addMethod(getGroupFindingsMethod()) - .addMethod(getListAssetsMethod()) - .addMethod(getListFindingsMethod()) - .addMethod(getListNotificationConfigsMethod()) - .addMethod(getListSourcesMethod()) - .addMethod(getRunAssetDiscoveryMethod()) - .addMethod(getSetFindingStateMethod()) - .addMethod(getSetIamPolicyMethod()) - .addMethod(getTestIamPermissionsMethod()) - .addMethod(getUpdateFindingMethod()) - .addMethod(getUpdateNotificationConfigMethod()) - .addMethod(getUpdateOrganizationSettingsMethod()) - .addMethod(getUpdateSourceMethod()) - .addMethod(getUpdateSecurityMarksMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/AccessProto.java b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/AccessProto.java deleted file mode 100644 index 93ae5a0fee69..000000000000 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/AccessProto.java +++ /dev/null @@ -1,110 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/securitycenter/v1/access.proto - -package com.google.cloud.securitycenter.v1; - -public final class AccessProto { - private AccessProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public 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_securitycenter_v1_Access_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1_Access_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1_ServiceAccountDelegationInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1_ServiceAccountDelegationInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1_Geolocation_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1_Geolocation_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n+google/cloud/securitycenter/v1/access." - + "proto\022\036google.cloud.securitycenter.v1\"\342\002" - + "\n\006Access\022\027\n\017principal_email\030\001 \001(\t\022\021\n\tcal" - + "ler_ip\030\002 \001(\t\022B\n\rcaller_ip_geo\030\003 \001(\0132+.go" - + "ogle.cloud.securitycenter.v1.Geolocation" - + "\022\031\n\021user_agent_family\030\004 \001(\t\022\024\n\014service_n" - + "ame\030\005 \001(\t\022\023\n\013method_name\030\006 \001(\t\022\031\n\021princi" - + "pal_subject\030\007 \001(\t\022 \n\030service_account_key" - + "_name\030\010 \001(\t\022e\n\037service_account_delegatio" - + "n_info\030\t \003(\0132<.google.cloud.securitycent" - + "er.v1.ServiceAccountDelegationInfo\"R\n\034Se" - + "rviceAccountDelegationInfo\022\027\n\017principal_" - + "email\030\001 \001(\t\022\031\n\021principal_subject\030\002 \001(\t\"\"" - + "\n\013Geolocation\022\023\n\013region_code\030\001 \001(\tB\347\001\n\"c" - + "om.google.cloud.securitycenter.v1B\013Acces" - + "sProtoP\001ZLgoogle.golang.org/genproto/goo" - + "gleapis/cloud/securitycenter/v1;security" - + "center\252\002\036Google.Cloud.SecurityCenter.V1\312" - + "\002\036Google\\Cloud\\SecurityCenter\\V1\352\002!Googl" - + "e::Cloud::SecurityCenter::V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); - internal_static_google_cloud_securitycenter_v1_Access_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_securitycenter_v1_Access_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1_Access_descriptor, - new java.lang.String[] { - "PrincipalEmail", - "CallerIp", - "CallerIpGeo", - "UserAgentFamily", - "ServiceName", - "MethodName", - "PrincipalSubject", - "ServiceAccountKeyName", - "ServiceAccountDelegationInfo", - }); - internal_static_google_cloud_securitycenter_v1_ServiceAccountDelegationInfo_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_securitycenter_v1_ServiceAccountDelegationInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1_ServiceAccountDelegationInfo_descriptor, - new java.lang.String[] { - "PrincipalEmail", "PrincipalSubject", - }); - internal_static_google_cloud_securitycenter_v1_Geolocation_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_securitycenter_v1_Geolocation_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1_Geolocation_descriptor, - new java.lang.String[] { - "RegionCode", - }); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/AssetOuterClass.java b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/AssetOuterClass.java deleted file mode 100644 index 487cf1492902..000000000000 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/AssetOuterClass.java +++ /dev/null @@ -1,166 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/securitycenter/v1/asset.proto - -package com.google.cloud.securitycenter.v1; - -public final class AssetOuterClass { - private AssetOuterClass() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public 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_securitycenter_v1_Asset_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1_Asset_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1_Asset_SecurityCenterProperties_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1_Asset_SecurityCenterProperties_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1_Asset_IamPolicy_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1_Asset_IamPolicy_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1_Asset_ResourcePropertiesEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1_Asset_ResourcePropertiesEntry_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n*google/cloud/securitycenter/v1/asset.p" - + "roto\022\036google.cloud.securitycenter.v1\032\031go" - + "ogle/api/resource.proto\032+google/cloud/se" - + "curitycenter/v1/folder.proto\0323google/clo" - + "ud/securitycenter/v1/security_marks.prot" - + "o\032\034google/protobuf/struct.proto\032\037google/" - + "protobuf/timestamp.proto\"\251\010\n\005Asset\022\014\n\004na" - + "me\030\001 \001(\t\022b\n\032security_center_properties\030\002" - + " \001(\0132>.google.cloud.securitycenter.v1.As" - + "set.SecurityCenterProperties\022Z\n\023resource" - + "_properties\030\007 \003(\0132=.google.cloud.securit" - + "ycenter.v1.Asset.ResourcePropertiesEntry" - + "\022E\n\016security_marks\030\010 \001(\0132-.google.cloud." - + "securitycenter.v1.SecurityMarks\022/\n\013creat" - + "e_time\030\t \001(\0132\032.google.protobuf.Timestamp" - + "\022/\n\013update_time\030\n \001(\0132\032.google.protobuf." - + "Timestamp\022C\n\niam_policy\030\013 \001(\0132/.google.c" - + "loud.securitycenter.v1.Asset.IamPolicy\022\026" - + "\n\016canonical_name\030\r \001(\t\032\271\002\n\030SecurityCente" - + "rProperties\022\025\n\rresource_name\030\001 \001(\t\022\025\n\rre" - + "source_type\030\002 \001(\t\022\027\n\017resource_parent\030\003 \001" - + "(\t\022\030\n\020resource_project\030\004 \001(\t\022\027\n\017resource" - + "_owners\030\005 \003(\t\022\035\n\025resource_display_name\030\006" - + " \001(\t\022$\n\034resource_parent_display_name\030\007 \001" - + "(\t\022%\n\035resource_project_display_name\030\010 \001(" - + "\t\0227\n\007folders\030\n \003(\0132&.google.cloud.securi" - + "tycenter.v1.Folder\032 \n\tIamPolicy\022\023\n\013polic" - + "y_blob\030\001 \001(\t\032Q\n\027ResourcePropertiesEntry\022" - + "\013\n\003key\030\001 \001(\t\022%\n\005value\030\002 \001(\0132\026.google.pro" - + "tobuf.Value:\0028\001:\232\001\352A\226\001\n#securitycenter.g" - + "oogleapis.com/Asset\022+organizations/{orga" - + "nization}/assets/{asset}\022\037folders/{folde" - + "r}/assets/{asset}\022!projects/{project}/as" - + "sets/{asset}B\332\001\n\"com.google.cloud.securi" - + "tycenter.v1P\001ZLgoogle.golang.org/genprot" - + "o/googleapis/cloud/securitycenter/v1;sec" - + "uritycenter\252\002\036Google.Cloud.SecurityCente" - + "r.V1\312\002\036Google\\Cloud\\SecurityCenter\\V1\352\002!" - + "Google::Cloud::SecurityCenter::V1b\006proto" - + "3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.securitycenter.v1.FolderProto.getDescriptor(), - com.google.cloud.securitycenter.v1.SecurityMarksOuterClass.getDescriptor(), - com.google.protobuf.StructProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_securitycenter_v1_Asset_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_securitycenter_v1_Asset_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1_Asset_descriptor, - new java.lang.String[] { - "Name", - "SecurityCenterProperties", - "ResourceProperties", - "SecurityMarks", - "CreateTime", - "UpdateTime", - "IamPolicy", - "CanonicalName", - }); - internal_static_google_cloud_securitycenter_v1_Asset_SecurityCenterProperties_descriptor = - internal_static_google_cloud_securitycenter_v1_Asset_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_securitycenter_v1_Asset_SecurityCenterProperties_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1_Asset_SecurityCenterProperties_descriptor, - new java.lang.String[] { - "ResourceName", - "ResourceType", - "ResourceParent", - "ResourceProject", - "ResourceOwners", - "ResourceDisplayName", - "ResourceParentDisplayName", - "ResourceProjectDisplayName", - "Folders", - }); - internal_static_google_cloud_securitycenter_v1_Asset_IamPolicy_descriptor = - internal_static_google_cloud_securitycenter_v1_Asset_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_securitycenter_v1_Asset_IamPolicy_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1_Asset_IamPolicy_descriptor, - new java.lang.String[] { - "PolicyBlob", - }); - internal_static_google_cloud_securitycenter_v1_Asset_ResourcePropertiesEntry_descriptor = - internal_static_google_cloud_securitycenter_v1_Asset_descriptor.getNestedTypes().get(2); - internal_static_google_cloud_securitycenter_v1_Asset_ResourcePropertiesEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1_Asset_ResourcePropertiesEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.securitycenter.v1.FolderProto.getDescriptor(); - com.google.cloud.securitycenter.v1.SecurityMarksOuterClass.getDescriptor(); - com.google.protobuf.StructProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/BigQueryExportProto.java b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/BigQueryExportProto.java deleted file mode 100644 index d95fbeacac76..000000000000 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/BigQueryExportProto.java +++ /dev/null @@ -1,101 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/securitycenter/v1/bigquery_export.proto - -package com.google.cloud.securitycenter.v1; - -public final class BigQueryExportProto { - private BigQueryExportProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public 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_securitycenter_v1_BigQueryExport_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1_BigQueryExport_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n4google/cloud/securitycenter/v1/bigquer" - + "y_export.proto\022\036google.cloud.securitycen" - + "ter.v1\032\037google/api/field_behavior.proto\032" - + "\031google/api/resource.proto\032\037google/proto" - + "buf/timestamp.proto\"\275\003\n\016BigQueryExport\022\014" - + "\n\004name\030\001 \001(\t\022\023\n\013description\030\002 \001(\t\022\016\n\006fil" - + "ter\030\003 \001(\t\022\017\n\007dataset\030\004 \001(\t\0224\n\013create_tim" - + "e\030\005 \001(\0132\032.google.protobuf.TimestampB\003\340A\003" - + "\0224\n\013update_time\030\006 \001(\0132\032.google.protobuf." - + "TimestampB\003\340A\003\022\037\n\022most_recent_editor\030\007 \001" - + "(\tB\003\340A\003\022\026\n\tprincipal\030\010 \001(\tB\003\340A\003:\301\001\352A\275\001\n," - + "securitycenter.googleapis.com/BigQueryEx" - + "port\0225organizations/{organization}/bigQu" - + "eryExports/{export}\022)folders/{folder}/bi" - + "gQueryExports/{export}\022+projects/{projec" - + "t}/bigQueryExports/{export}B\357\001\n\"com.goog" - + "le.cloud.securitycenter.v1B\023BigQueryExpo" - + "rtProtoP\001ZLgoogle.golang.org/genproto/go" - + "ogleapis/cloud/securitycenter/v1;securit" - + "ycenter\252\002\036Google.Cloud.SecurityCenter.V1" - + "\312\002\036Google\\Cloud\\SecurityCenter\\V1\352\002!Goog" - + "le::Cloud::SecurityCenter::V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_securitycenter_v1_BigQueryExport_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_securitycenter_v1_BigQueryExport_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1_BigQueryExport_descriptor, - new java.lang.String[] { - "Name", - "Description", - "Filter", - "Dataset", - "CreateTime", - "UpdateTime", - "MostRecentEditor", - "Principal", - }); - 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-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/BulkMuteFindingsResponseOrBuilder.java b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/BulkMuteFindingsResponseOrBuilder.java deleted file mode 100644 index 15942a820b36..000000000000 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/BulkMuteFindingsResponseOrBuilder.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/securitycenter/v1/securitycenter_service.proto - -package com.google.cloud.securitycenter.v1; - -public interface BulkMuteFindingsResponseOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.securitycenter.v1.BulkMuteFindingsResponse) - com.google.protobuf.MessageOrBuilder {} diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ComplianceProto.java b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ComplianceProto.java deleted file mode 100644 index f6df500c8e2d..000000000000 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ComplianceProto.java +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/securitycenter/v1/compliance.proto - -package com.google.cloud.securitycenter.v1; - -public final class ComplianceProto { - private ComplianceProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public 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_securitycenter_v1_Compliance_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1_Compliance_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n/google/cloud/securitycenter/v1/complia" - + "nce.proto\022\036google.cloud.securitycenter.v" - + "1\"<\n\nCompliance\022\020\n\010standard\030\001 \001(\t\022\017\n\007ver" - + "sion\030\002 \001(\t\022\013\n\003ids\030\003 \003(\tB\353\001\n\"com.google.c" - + "loud.securitycenter.v1B\017ComplianceProtoP" - + "\001ZLgoogle.golang.org/genproto/googleapis" - + "/cloud/securitycenter/v1;securitycenter\252" - + "\002\036Google.Cloud.SecurityCenter.V1\312\002\036Googl" - + "e\\Cloud\\SecurityCenter\\V1\352\002!Google::Clou" - + "d::SecurityCenter::V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); - internal_static_google_cloud_securitycenter_v1_Compliance_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_securitycenter_v1_Compliance_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1_Compliance_descriptor, - new java.lang.String[] { - "Standard", "Version", "Ids", - }); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ConnectionProto.java b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ConnectionProto.java deleted file mode 100644 index db47396e9936..000000000000 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ConnectionProto.java +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/securitycenter/v1/connection.proto - -package com.google.cloud.securitycenter.v1; - -public final class ConnectionProto { - private ConnectionProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public 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_securitycenter_v1_Connection_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1_Connection_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n/google/cloud/securitycenter/v1/connect" - + "ion.proto\022\036google.cloud.securitycenter.v" - + "1\"\201\002\n\nConnection\022\026\n\016destination_ip\030\001 \001(\t" - + "\022\030\n\020destination_port\030\002 \001(\005\022\021\n\tsource_ip\030" - + "\003 \001(\t\022\023\n\013source_port\030\004 \001(\005\022E\n\010protocol\030\005" - + " \001(\01623.google.cloud.securitycenter.v1.Co" - + "nnection.Protocol\"R\n\010Protocol\022\030\n\024PROTOCO" - + "L_UNSPECIFIED\020\000\022\010\n\004ICMP\020\001\022\007\n\003TCP\020\006\022\007\n\003UD" - + "P\020\021\022\007\n\003GRE\020/\022\007\n\003ESP\0202B\353\001\n\"com.google.clo" - + "ud.securitycenter.v1B\017ConnectionProtoP\001Z" - + "Lgoogle.golang.org/genproto/googleapis/c" - + "loud/securitycenter/v1;securitycenter\252\002\036" - + "Google.Cloud.SecurityCenter.V1\312\002\036Google\\" - + "Cloud\\SecurityCenter\\V1\352\002!Google::Cloud:" - + ":SecurityCenter::V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); - internal_static_google_cloud_securitycenter_v1_Connection_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_securitycenter_v1_Connection_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1_Connection_descriptor, - new java.lang.String[] { - "DestinationIp", "DestinationPort", "SourceIp", "SourcePort", "Protocol", - }); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ContactDetailsProto.java b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ContactDetailsProto.java deleted file mode 100644 index f5a73ac38211..000000000000 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ContactDetailsProto.java +++ /dev/null @@ -1,81 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/securitycenter/v1/contact_details.proto - -package com.google.cloud.securitycenter.v1; - -public final class ContactDetailsProto { - private ContactDetailsProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public 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_securitycenter_v1_ContactDetails_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1_ContactDetails_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1_Contact_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1_Contact_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n4google/cloud/securitycenter/v1/contact" - + "_details.proto\022\036google.cloud.securitycen" - + "ter.v1\"K\n\016ContactDetails\0229\n\010contacts\030\001 \003" - + "(\0132\'.google.cloud.securitycenter.v1.Cont" - + "act\"\030\n\007Contact\022\r\n\005email\030\001 \001(\tB\357\001\n\"com.go" - + "ogle.cloud.securitycenter.v1B\023ContactDet" - + "ailsProtoP\001ZLgoogle.golang.org/genproto/" - + "googleapis/cloud/securitycenter/v1;secur" - + "itycenter\252\002\036Google.Cloud.SecurityCenter." - + "V1\312\002\036Google\\Cloud\\SecurityCenter\\V1\352\002!Go" - + "ogle::Cloud::SecurityCenter::V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); - internal_static_google_cloud_securitycenter_v1_ContactDetails_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_securitycenter_v1_ContactDetails_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1_ContactDetails_descriptor, - new java.lang.String[] { - "Contacts", - }); - internal_static_google_cloud_securitycenter_v1_Contact_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_securitycenter_v1_Contact_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1_Contact_descriptor, - new java.lang.String[] { - "Email", - }); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ContactOrBuilder.java b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ContactOrBuilder.java deleted file mode 100644 index 32deb13cdae5..000000000000 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ContactOrBuilder.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/securitycenter/v1/contact_details.proto - -package com.google.cloud.securitycenter.v1; - -public interface ContactOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.securitycenter.v1.Contact) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * An email address e.g. "person123@company.com"
-   * 
- * - * string email = 1; - * - * @return The email. - */ - java.lang.String getEmail(); - /** - * - * - *
-   * An email address e.g. "person123@company.com"
-   * 
- * - * string email = 1; - * - * @return The bytes for email. - */ - com.google.protobuf.ByteString getEmailBytes(); -} diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ContainerProto.java b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ContainerProto.java deleted file mode 100644 index d30752290907..000000000000 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ContainerProto.java +++ /dev/null @@ -1,75 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/securitycenter/v1/container.proto - -package com.google.cloud.securitycenter.v1; - -public final class ContainerProto { - private ContainerProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public 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_securitycenter_v1_Container_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1_Container_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n.google/cloud/securitycenter/v1/contain" - + "er.proto\022\036google.cloud.securitycenter.v1" - + "\032*google/cloud/securitycenter/v1/label.p" - + "roto\"o\n\tContainer\022\014\n\004name\030\001 \001(\t\022\013\n\003uri\030\002" - + " \001(\t\022\020\n\010image_id\030\003 \001(\t\0225\n\006labels\030\004 \003(\0132%" - + ".google.cloud.securitycenter.v1.LabelB\352\001" - + "\n\"com.google.cloud.securitycenter.v1B\016Co" - + "ntainerProtoP\001ZLgoogle.golang.org/genpro" - + "to/googleapis/cloud/securitycenter/v1;se" - + "curitycenter\252\002\036Google.Cloud.SecurityCent" - + "er.V1\312\002\036Google\\Cloud\\SecurityCenter\\V1\352\002" - + "!Google::Cloud::SecurityCenter::V1b\006prot" - + "o3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.cloud.securitycenter.v1.LabelProto.getDescriptor(), - }); - internal_static_google_cloud_securitycenter_v1_Container_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_securitycenter_v1_Container_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1_Container_descriptor, - new java.lang.String[] { - "Name", "Uri", "ImageId", "Labels", - }); - com.google.cloud.securitycenter.v1.LabelProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DatabaseProto.java b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DatabaseProto.java deleted file mode 100644 index 6561ea4e7443..000000000000 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DatabaseProto.java +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/securitycenter/v1/database.proto - -package com.google.cloud.securitycenter.v1; - -public final class DatabaseProto { - private DatabaseProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public 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_securitycenter_v1_Database_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1_Database_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n-google/cloud/securitycenter/v1/databas" - + "e.proto\022\036google.cloud.securitycenter.v1\"" - + "b\n\010Database\022\014\n\004name\030\001 \001(\t\022\024\n\014display_nam" - + "e\030\002 \001(\t\022\021\n\tuser_name\030\003 \001(\t\022\r\n\005query\030\004 \001(" - + "\t\022\020\n\010grantees\030\005 \003(\tB\351\001\n\"com.google.cloud" - + ".securitycenter.v1B\rDatabaseProtoP\001ZLgoo" - + "gle.golang.org/genproto/googleapis/cloud" - + "/securitycenter/v1;securitycenter\252\002\036Goog" - + "le.Cloud.SecurityCenter.V1\312\002\036Google\\Clou" - + "d\\SecurityCenter\\V1\352\002!Google::Cloud::Sec" - + "urityCenter::V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); - internal_static_google_cloud_securitycenter_v1_Database_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_securitycenter_v1_Database_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1_Database_descriptor, - new java.lang.String[] { - "Name", "DisplayName", "UserName", "Query", "Grantees", - }); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DeleteBigQueryExportRequestOrBuilder.java b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DeleteBigQueryExportRequestOrBuilder.java deleted file mode 100644 index 8f4cd840d152..000000000000 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DeleteBigQueryExportRequestOrBuilder.java +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/securitycenter/v1/securitycenter_service.proto - -package com.google.cloud.securitycenter.v1; - -public interface DeleteBigQueryExportRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.securitycenter.v1.DeleteBigQueryExportRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. Name of the big query export to delete. Its format is
-   * organizations/{organization}/bigQueryExports/{export_id},
-   * folders/{folder}/bigQueryExports/{export_id}, or
-   * projects/{project}/bigQueryExports/{export_id}
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. Name of the big query export to delete. Its format is
-   * organizations/{organization}/bigQueryExports/{export_id},
-   * folders/{folder}/bigQueryExports/{export_id}, or
-   * projects/{project}/bigQueryExports/{export_id}
-   * 
- * - * - * 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-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DeleteMuteConfigRequestOrBuilder.java b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DeleteMuteConfigRequestOrBuilder.java deleted file mode 100644 index 488c64d4a140..000000000000 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DeleteMuteConfigRequestOrBuilder.java +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/securitycenter/v1/securitycenter_service.proto - -package com.google.cloud.securitycenter.v1; - -public interface DeleteMuteConfigRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.securitycenter.v1.DeleteMuteConfigRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. Name of the mute config to delete. Its format is
-   * organizations/{organization}/muteConfigs/{config_id},
-   * folders/{folder}/muteConfigs/{config_id}, or
-   * projects/{project}/muteConfigs/{config_id}
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. Name of the mute config to delete. Its format is
-   * organizations/{organization}/muteConfigs/{config_id},
-   * folders/{folder}/muteConfigs/{config_id}, or
-   * projects/{project}/muteConfigs/{config_id}
-   * 
- * - * - * 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-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DeleteNotificationConfigRequestOrBuilder.java b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DeleteNotificationConfigRequestOrBuilder.java deleted file mode 100644 index eadbd4aa2f78..000000000000 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DeleteNotificationConfigRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/securitycenter/v1/securitycenter_service.proto - -package com.google.cloud.securitycenter.v1; - -public interface DeleteNotificationConfigRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.securitycenter.v1.DeleteNotificationConfigRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. Name of the notification config to delete. Its format is
-   * "organizations/[organization_id]/notificationConfigs/[config_id]".
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. Name of the notification config to delete. Its format is
-   * "organizations/[organization_id]/notificationConfigs/[config_id]".
-   * 
- * - * - * 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-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ExfiltrationProto.java b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ExfiltrationProto.java deleted file mode 100644 index 40827fa73574..000000000000 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ExfiltrationProto.java +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/securitycenter/v1/exfiltration.proto - -package com.google.cloud.securitycenter.v1; - -public final class ExfiltrationProto { - private ExfiltrationProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public 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_securitycenter_v1_Exfiltration_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1_Exfiltration_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1_ExfilResource_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1_ExfilResource_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n1google/cloud/securitycenter/v1/exfiltr" - + "ation.proto\022\036google.cloud.securitycenter" - + ".v1\"\216\001\n\014Exfiltration\022>\n\007sources\030\001 \003(\0132-." - + "google.cloud.securitycenter.v1.ExfilReso" - + "urce\022>\n\007targets\030\002 \003(\0132-.google.cloud.sec" - + "uritycenter.v1.ExfilResource\"1\n\rExfilRes" - + "ource\022\014\n\004name\030\001 \001(\t\022\022\n\ncomponents\030\002 \003(\tB" - + "\355\001\n\"com.google.cloud.securitycenter.v1B\021" - + "ExfiltrationProtoP\001ZLgoogle.golang.org/g" - + "enproto/googleapis/cloud/securitycenter/" - + "v1;securitycenter\252\002\036Google.Cloud.Securit" - + "yCenter.V1\312\002\036Google\\Cloud\\SecurityCenter" - + "\\V1\352\002!Google::Cloud::SecurityCenter::V1b" - + "\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); - internal_static_google_cloud_securitycenter_v1_Exfiltration_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_securitycenter_v1_Exfiltration_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1_Exfiltration_descriptor, - new java.lang.String[] { - "Sources", "Targets", - }); - internal_static_google_cloud_securitycenter_v1_ExfilResource_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_securitycenter_v1_ExfilResource_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1_ExfilResource_descriptor, - new java.lang.String[] { - "Name", "Components", - }); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ExternalSystemProto.java b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ExternalSystemProto.java deleted file mode 100644 index e8f818e39847..000000000000 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ExternalSystemProto.java +++ /dev/null @@ -1,91 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/securitycenter/v1/external_system.proto - -package com.google.cloud.securitycenter.v1; - -public final class ExternalSystemProto { - private ExternalSystemProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public 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_securitycenter_v1_ExternalSystem_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1_ExternalSystem_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n4google/cloud/securitycenter/v1/externa" - + "l_system.proto\022\036google.cloud.securitycen" - + "ter.v1\032\031google/api/resource.proto\032\037googl" - + "e/protobuf/timestamp.proto\"\340\003\n\016ExternalS" - + "ystem\022\014\n\004name\030\001 \001(\t\022\021\n\tassignees\030\002 \003(\t\022\024" - + "\n\014external_uid\030\003 \001(\t\022\016\n\006status\030\004 \001(\t\022?\n\033" - + "external_system_update_time\030\005 \001(\0132\032.goog" - + "le.protobuf.Timestamp:\305\002\352A\301\002\n,securityce" - + "nter.googleapis.com/ExternalSystem\022aorga" - + "nizations/{organization}/sources/{source" - + "}/findings/{finding}/externalSystems/{ex" - + "ternalsystem}\022Ufolders/{folder}/sources/" - + "{source}/findings/{finding}/externalSyst" - + "ems/{externalsystem}\022Wprojects/{project}" - + "/sources/{source}/findings/{finding}/ext" - + "ernalSystems/{externalsystem}B\357\001\n\"com.go" - + "ogle.cloud.securitycenter.v1B\023ExternalSy" - + "stemProtoP\001ZLgoogle.golang.org/genproto/" - + "googleapis/cloud/securitycenter/v1;secur" - + "itycenter\252\002\036Google.Cloud.SecurityCenter." - + "V1\312\002\036Google\\Cloud\\SecurityCenter\\V1\352\002!Go" - + "ogle::Cloud::SecurityCenter::V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_securitycenter_v1_ExternalSystem_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_securitycenter_v1_ExternalSystem_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1_ExternalSystem_descriptor, - new java.lang.String[] { - "Name", "Assignees", "ExternalUid", "Status", "ExternalSystemUpdateTime", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FileProto.java b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FileProto.java deleted file mode 100644 index 2f6f2c0f961c..000000000000 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FileProto.java +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/securitycenter/v1/file.proto - -package com.google.cloud.securitycenter.v1; - -public final class FileProto { - private FileProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1_File_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1_File_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n)google/cloud/securitycenter/v1/file.pr" - + "oto\022\036google.cloud.securitycenter.v1\"s\n\004F" - + "ile\022\014\n\004path\030\001 \001(\t\022\014\n\004size\030\002 \001(\003\022\016\n\006sha25" - + "6\030\003 \001(\t\022\023\n\013hashed_size\030\004 \001(\003\022\030\n\020partiall" - + "y_hashed\030\005 \001(\010\022\020\n\010contents\030\006 \001(\tB\345\001\n\"com" - + ".google.cloud.securitycenter.v1B\tFilePro" - + "toP\001ZLgoogle.golang.org/genproto/googlea" - + "pis/cloud/securitycenter/v1;securitycent" - + "er\252\002\036Google.Cloud.SecurityCenter.V1\312\002\036Go" - + "ogle\\Cloud\\SecurityCenter\\V1\352\002!Google::C" - + "loud::SecurityCenter::V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); - internal_static_google_cloud_securitycenter_v1_File_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_securitycenter_v1_File_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1_File_descriptor, - new java.lang.String[] { - "Path", "Size", "Sha256", "HashedSize", "PartiallyHashed", "Contents", - }); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FindingOuterClass.java b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FindingOuterClass.java deleted file mode 100644 index 98b291537b7d..000000000000 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FindingOuterClass.java +++ /dev/null @@ -1,267 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/securitycenter/v1/finding.proto - -package com.google.cloud.securitycenter.v1; - -public final class FindingOuterClass { - private FindingOuterClass() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public 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_securitycenter_v1_Finding_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1_Finding_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1_Finding_SourcePropertiesEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1_Finding_SourcePropertiesEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1_Finding_ExternalSystemsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1_Finding_ExternalSystemsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1_Finding_ContactsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1_Finding_ContactsEntry_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n,google/cloud/securitycenter/v1/finding" - + ".proto\022\036google.cloud.securitycenter.v1\032\037" - + "google/api/field_behavior.proto\032\031google/" - + "api/resource.proto\032+google/cloud/securit" - + "ycenter/v1/access.proto\032/google/cloud/se" - + "curitycenter/v1/compliance.proto\032/google" - + "/cloud/securitycenter/v1/connection.prot" - + "o\0324google/cloud/securitycenter/v1/contac" - + "t_details.proto\032.google/cloud/securityce" - + "nter/v1/container.proto\032-google/cloud/se" - + "curitycenter/v1/database.proto\0321google/c" - + "loud/securitycenter/v1/exfiltration.prot" - + "o\0324google/cloud/securitycenter/v1/extern" - + "al_system.proto\0320google/cloud/securityce" - + "nter/v1/iam_binding.proto\032.google/cloud/" - + "securitycenter/v1/indicator.proto\032/googl" - + "e/cloud/securitycenter/v1/kubernetes.pro" - + "to\0321google/cloud/securitycenter/v1/mitre" - + "_attack.proto\032,google/cloud/securitycent" - + "er/v1/process.proto\0323google/cloud/securi" - + "tycenter/v1/security_marks.proto\0322google" - + "/cloud/securitycenter/v1/vulnerability.p" - + "roto\032\034google/protobuf/struct.proto\032\037goog" - + "le/protobuf/timestamp.proto\"\246\024\n\007Finding\022" - + "\014\n\004name\030\001 \001(\t\022\016\n\006parent\030\002 \001(\t\022\025\n\rresourc" - + "e_name\030\003 \001(\t\022<\n\005state\030\004 \001(\0162-.google.clo" - + "ud.securitycenter.v1.Finding.State\022\020\n\010ca" - + "tegory\030\005 \001(\t\022\024\n\014external_uri\030\006 \001(\t\022X\n\021so" - + "urce_properties\030\007 \003(\0132=.google.cloud.sec" - + "uritycenter.v1.Finding.SourcePropertiesE" - + "ntry\022J\n\016security_marks\030\010 \001(\0132-.google.cl" - + "oud.securitycenter.v1.SecurityMarksB\003\340A\003" - + "\022.\n\nevent_time\030\t \001(\0132\032.google.protobuf.T" - + "imestamp\022/\n\013create_time\030\n \001(\0132\032.google.p" - + "rotobuf.Timestamp\022B\n\010severity\030\014 \001(\01620.go" - + "ogle.cloud.securitycenter.v1.Finding.Sev" - + "erity\022\026\n\016canonical_name\030\016 \001(\t\022:\n\004mute\030\017 " - + "\001(\0162,.google.cloud.securitycenter.v1.Fin" - + "ding.Mute\022K\n\rfinding_class\030\021 \001(\01624.googl" - + "e.cloud.securitycenter.v1.Finding.Findin" - + "gClass\022<\n\tindicator\030\022 \001(\0132).google.cloud" - + ".securitycenter.v1.Indicator\022D\n\rvulnerab" - + "ility\030\024 \001(\0132-.google.cloud.securitycente" - + "r.v1.Vulnerability\0229\n\020mute_update_time\030\025" - + " \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022[\n" - + "\020external_systems\030\026 \003(\0132<.google.cloud.s" - + "ecuritycenter.v1.Finding.ExternalSystems" - + "EntryB\003\340A\003\022A\n\014mitre_attack\030\031 \001(\0132+.googl" - + "e.cloud.securitycenter.v1.MitreAttack\0226\n" - + "\006access\030\032 \001(\0132&.google.cloud.securitycen" - + "ter.v1.Access\022?\n\013connections\030\037 \003(\0132*.goo" - + "gle.cloud.securitycenter.v1.Connection\022\026" - + "\n\016mute_initiator\030\034 \001(\t\022:\n\tprocesses\030\036 \003(" - + "\0132\'.google.cloud.securitycenter.v1.Proce" - + "ss\022L\n\010contacts\030! \003(\01325.google.cloud.secu" - + "ritycenter.v1.Finding.ContactsEntryB\003\340A\003" - + "\022?\n\013compliances\030\" \003(\0132*.google.cloud.sec" - + "uritycenter.v1.Compliance\022 \n\023parent_disp" - + "lay_name\030$ \001(\tB\003\340A\003\022\023\n\013description\030% \001(\t" - + "\022B\n\014exfiltration\030& \001(\0132,.google.cloud.se" - + "curitycenter.v1.Exfiltration\022@\n\014iam_bind" - + "ings\030\' \003(\0132*.google.cloud.securitycenter" - + ".v1.IamBinding\022\022\n\nnext_steps\030( \001(\t\022=\n\nco" - + "ntainers\030* \003(\0132).google.cloud.securityce" - + "nter.v1.Container\022>\n\nkubernetes\030+ \001(\0132*." - + "google.cloud.securitycenter.v1.Kubernete" - + "s\022:\n\010database\030, \001(\0132(.google.cloud.secur" - + "itycenter.v1.Database\032O\n\025SourcePropertie" - + "sEntry\022\013\n\003key\030\001 \001(\t\022%\n\005value\030\002 \001(\0132\026.goo" - + "gle.protobuf.Value:\0028\001\032f\n\024ExternalSystem" - + "sEntry\022\013\n\003key\030\001 \001(\t\022=\n\005value\030\002 \001(\0132..goo" - + "gle.cloud.securitycenter.v1.ExternalSyst" - + "em:\0028\001\032_\n\rContactsEntry\022\013\n\003key\030\001 \001(\t\022=\n\005" - + "value\030\002 \001(\0132..google.cloud.securitycente" - + "r.v1.ContactDetails:\0028\001\"8\n\005State\022\025\n\021STAT" - + "E_UNSPECIFIED\020\000\022\n\n\006ACTIVE\020\001\022\014\n\010INACTIVE\020" - + "\002\"Q\n\010Severity\022\030\n\024SEVERITY_UNSPECIFIED\020\000\022" - + "\014\n\010CRITICAL\020\001\022\010\n\004HIGH\020\002\022\n\n\006MEDIUM\020\003\022\007\n\003L" - + "OW\020\004\"C\n\004Mute\022\024\n\020MUTE_UNSPECIFIED\020\000\022\t\n\005MU" - + "TED\020\001\022\013\n\007UNMUTED\020\002\022\r\n\tUNDEFINED\020\004\"\202\001\n\014Fi" - + "ndingClass\022\035\n\031FINDING_CLASS_UNSPECIFIED\020" - + "\000\022\n\n\006THREAT\020\001\022\021\n\rVULNERABILITY\020\002\022\024\n\020MISC" - + "ONFIGURATION\020\003\022\017\n\013OBSERVATION\020\004\022\r\n\tSCC_E" - + "RROR\020\005:\333\001\352A\327\001\n%securitycenter.googleapis" - + ".com/Finding\022@organizations/{organizatio" - + "n}/sources/{source}/findings/{finding}\0224" - + "folders/{folder}/sources/{source}/findin" - + "gs/{finding}\0226projects/{project}/sources" - + "/{source}/findings/{finding}B\332\001\n\"com.goo" - + "gle.cloud.securitycenter.v1P\001ZLgoogle.go" - + "lang.org/genproto/googleapis/cloud/secur" - + "itycenter/v1;securitycenter\252\002\036Google.Clo" - + "ud.SecurityCenter.V1\312\002\036Google\\Cloud\\Secu" - + "rityCenter\\V1\352\002!Google::Cloud::SecurityC" - + "enter::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.cloud.securitycenter.v1.AccessProto.getDescriptor(), - com.google.cloud.securitycenter.v1.ComplianceProto.getDescriptor(), - com.google.cloud.securitycenter.v1.ConnectionProto.getDescriptor(), - com.google.cloud.securitycenter.v1.ContactDetailsProto.getDescriptor(), - com.google.cloud.securitycenter.v1.ContainerProto.getDescriptor(), - com.google.cloud.securitycenter.v1.DatabaseProto.getDescriptor(), - com.google.cloud.securitycenter.v1.ExfiltrationProto.getDescriptor(), - com.google.cloud.securitycenter.v1.ExternalSystemProto.getDescriptor(), - com.google.cloud.securitycenter.v1.IamBindingProto.getDescriptor(), - com.google.cloud.securitycenter.v1.IndicatorProto.getDescriptor(), - com.google.cloud.securitycenter.v1.KubernetesProto.getDescriptor(), - com.google.cloud.securitycenter.v1.MitreAttackProto.getDescriptor(), - com.google.cloud.securitycenter.v1.ProcessProto.getDescriptor(), - com.google.cloud.securitycenter.v1.SecurityMarksOuterClass.getDescriptor(), - com.google.cloud.securitycenter.v1.VulnerabilityProto.getDescriptor(), - com.google.protobuf.StructProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_securitycenter_v1_Finding_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_securitycenter_v1_Finding_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1_Finding_descriptor, - new java.lang.String[] { - "Name", - "Parent", - "ResourceName", - "State", - "Category", - "ExternalUri", - "SourceProperties", - "SecurityMarks", - "EventTime", - "CreateTime", - "Severity", - "CanonicalName", - "Mute", - "FindingClass", - "Indicator", - "Vulnerability", - "MuteUpdateTime", - "ExternalSystems", - "MitreAttack", - "Access", - "Connections", - "MuteInitiator", - "Processes", - "Contacts", - "Compliances", - "ParentDisplayName", - "Description", - "Exfiltration", - "IamBindings", - "NextSteps", - "Containers", - "Kubernetes", - "Database", - }); - internal_static_google_cloud_securitycenter_v1_Finding_SourcePropertiesEntry_descriptor = - internal_static_google_cloud_securitycenter_v1_Finding_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_securitycenter_v1_Finding_SourcePropertiesEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1_Finding_SourcePropertiesEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_securitycenter_v1_Finding_ExternalSystemsEntry_descriptor = - internal_static_google_cloud_securitycenter_v1_Finding_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_securitycenter_v1_Finding_ExternalSystemsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1_Finding_ExternalSystemsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_securitycenter_v1_Finding_ContactsEntry_descriptor = - internal_static_google_cloud_securitycenter_v1_Finding_descriptor.getNestedTypes().get(2); - internal_static_google_cloud_securitycenter_v1_Finding_ContactsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1_Finding_ContactsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - 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.cloud.securitycenter.v1.AccessProto.getDescriptor(); - com.google.cloud.securitycenter.v1.ComplianceProto.getDescriptor(); - com.google.cloud.securitycenter.v1.ConnectionProto.getDescriptor(); - com.google.cloud.securitycenter.v1.ContactDetailsProto.getDescriptor(); - com.google.cloud.securitycenter.v1.ContainerProto.getDescriptor(); - com.google.cloud.securitycenter.v1.DatabaseProto.getDescriptor(); - com.google.cloud.securitycenter.v1.ExfiltrationProto.getDescriptor(); - com.google.cloud.securitycenter.v1.ExternalSystemProto.getDescriptor(); - com.google.cloud.securitycenter.v1.IamBindingProto.getDescriptor(); - com.google.cloud.securitycenter.v1.IndicatorProto.getDescriptor(); - com.google.cloud.securitycenter.v1.KubernetesProto.getDescriptor(); - com.google.cloud.securitycenter.v1.MitreAttackProto.getDescriptor(); - com.google.cloud.securitycenter.v1.ProcessProto.getDescriptor(); - com.google.cloud.securitycenter.v1.SecurityMarksOuterClass.getDescriptor(); - com.google.cloud.securitycenter.v1.VulnerabilityProto.getDescriptor(); - com.google.protobuf.StructProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FolderProto.java b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FolderProto.java deleted file mode 100644 index a86b98b9f48f..000000000000 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FolderProto.java +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/securitycenter/v1/folder.proto - -package com.google.cloud.securitycenter.v1; - -public final class FolderProto { - private FolderProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public 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_securitycenter_v1_Folder_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1_Folder_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n+google/cloud/securitycenter/v1/folder." - + "proto\022\036google.cloud.securitycenter.v1\"G\n" - + "\006Folder\022\027\n\017resource_folder\030\001 \001(\t\022$\n\034reso" - + "urce_folder_display_name\030\002 \001(\tB\347\001\n\"com.g" - + "oogle.cloud.securitycenter.v1B\013FolderPro" - + "toP\001ZLgoogle.golang.org/genproto/googlea" - + "pis/cloud/securitycenter/v1;securitycent" - + "er\252\002\036Google.Cloud.SecurityCenter.V1\312\002\036Go" - + "ogle\\Cloud\\SecurityCenter\\V1\352\002!Google::C" - + "loud::SecurityCenter::V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); - internal_static_google_cloud_securitycenter_v1_Folder_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_securitycenter_v1_Folder_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1_Folder_descriptor, - new java.lang.String[] { - "ResourceFolder", "ResourceFolderDisplayName", - }); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GeolocationOrBuilder.java b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GeolocationOrBuilder.java deleted file mode 100644 index 4a8e58cad2ca..000000000000 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GeolocationOrBuilder.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/securitycenter/v1/access.proto - -package com.google.cloud.securitycenter.v1; - -public interface GeolocationOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.securitycenter.v1.Geolocation) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * A CLDR.
-   * 
- * - * string region_code = 1; - * - * @return The regionCode. - */ - java.lang.String getRegionCode(); - /** - * - * - *
-   * A CLDR.
-   * 
- * - * string region_code = 1; - * - * @return The bytes for regionCode. - */ - com.google.protobuf.ByteString getRegionCodeBytes(); -} diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetBigQueryExportRequestOrBuilder.java b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetBigQueryExportRequestOrBuilder.java deleted file mode 100644 index 9504ee0ed4a7..000000000000 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetBigQueryExportRequestOrBuilder.java +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/securitycenter/v1/securitycenter_service.proto - -package com.google.cloud.securitycenter.v1; - -public interface GetBigQueryExportRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.securitycenter.v1.GetBigQueryExportRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. Name of the big query export to retrieve. Its format is
-   * organizations/{organization}/bigQueryExports/{export_id},
-   * folders/{folder}/bigQueryExports/{export_id}, or
-   * projects/{project}/bigQueryExports/{export_id}
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. Name of the big query export to retrieve. Its format is
-   * organizations/{organization}/bigQueryExports/{export_id},
-   * folders/{folder}/bigQueryExports/{export_id}, or
-   * projects/{project}/bigQueryExports/{export_id}
-   * 
- * - * - * 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-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetMuteConfigRequestOrBuilder.java b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetMuteConfigRequestOrBuilder.java deleted file mode 100644 index 2bc73edce38b..000000000000 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetMuteConfigRequestOrBuilder.java +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/securitycenter/v1/securitycenter_service.proto - -package com.google.cloud.securitycenter.v1; - -public interface GetMuteConfigRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.securitycenter.v1.GetMuteConfigRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. Name of the mute config to retrieve. Its format is
-   * organizations/{organization}/muteConfigs/{config_id},
-   * folders/{folder}/muteConfigs/{config_id}, or
-   * projects/{project}/muteConfigs/{config_id}
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. Name of the mute config to retrieve. Its format is
-   * organizations/{organization}/muteConfigs/{config_id},
-   * folders/{folder}/muteConfigs/{config_id}, or
-   * projects/{project}/muteConfigs/{config_id}
-   * 
- * - * - * 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-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetNotificationConfigRequestOrBuilder.java b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetNotificationConfigRequestOrBuilder.java deleted file mode 100644 index c2d3b5b53f5a..000000000000 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetNotificationConfigRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/securitycenter/v1/securitycenter_service.proto - -package com.google.cloud.securitycenter.v1; - -public interface GetNotificationConfigRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.securitycenter.v1.GetNotificationConfigRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. Name of the notification config to get. Its format is
-   * "organizations/[organization_id]/notificationConfigs/[config_id]".
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. Name of the notification config to get. Its format is
-   * "organizations/[organization_id]/notificationConfigs/[config_id]".
-   * 
- * - * - * 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-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetOrganizationSettingsRequestOrBuilder.java b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetOrganizationSettingsRequestOrBuilder.java deleted file mode 100644 index a0de65a25913..000000000000 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetOrganizationSettingsRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/securitycenter/v1/securitycenter_service.proto - -package com.google.cloud.securitycenter.v1; - -public interface GetOrganizationSettingsRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.securitycenter.v1.GetOrganizationSettingsRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. Name of the organization to get organization settings for. Its
-   * format is "organizations/[organization_id]/organizationSettings".
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. Name of the organization to get organization settings for. Its
-   * format is "organizations/[organization_id]/organizationSettings".
-   * 
- * - * - * 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-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetSourceRequestOrBuilder.java b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetSourceRequestOrBuilder.java deleted file mode 100644 index 646e14474f81..000000000000 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetSourceRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/securitycenter/v1/securitycenter_service.proto - -package com.google.cloud.securitycenter.v1; - -public interface GetSourceRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.securitycenter.v1.GetSourceRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. Relative resource name of the source. Its format is
-   * "organizations/[organization_id]/source/[source_id]".
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. Relative resource name of the source. Its format is
-   * "organizations/[organization_id]/source/[source_id]".
-   * 
- * - * - * 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-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/IamBindingProto.java b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/IamBindingProto.java deleted file mode 100644 index b37cd930a5f4..000000000000 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/IamBindingProto.java +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/securitycenter/v1/iam_binding.proto - -package com.google.cloud.securitycenter.v1; - -public final class IamBindingProto { - private IamBindingProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public 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_securitycenter_v1_IamBinding_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1_IamBinding_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n0google/cloud/securitycenter/v1/iam_bin" - + "ding.proto\022\036google.cloud.securitycenter." - + "v1\"\244\001\n\nIamBinding\022A\n\006action\030\001 \001(\01621.goog" - + "le.cloud.securitycenter.v1.IamBinding.Ac" - + "tion\022\014\n\004role\030\002 \001(\t\022\016\n\006member\030\003 \001(\t\"5\n\006Ac" - + "tion\022\026\n\022ACTION_UNSPECIFIED\020\000\022\007\n\003ADD\020\001\022\n\n" - + "\006REMOVE\020\002B\353\001\n\"com.google.cloud.securityc" - + "enter.v1B\017IamBindingProtoP\001ZLgoogle.gola" - + "ng.org/genproto/googleapis/cloud/securit" - + "ycenter/v1;securitycenter\252\002\036Google.Cloud" - + ".SecurityCenter.V1\312\002\036Google\\Cloud\\Securi" - + "tyCenter\\V1\352\002!Google::Cloud::SecurityCen" - + "ter::V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); - internal_static_google_cloud_securitycenter_v1_IamBinding_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_securitycenter_v1_IamBinding_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1_IamBinding_descriptor, - new java.lang.String[] { - "Action", "Role", "Member", - }); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/IndicatorProto.java b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/IndicatorProto.java deleted file mode 100644 index 6f3d276bdf7f..000000000000 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/IndicatorProto.java +++ /dev/null @@ -1,137 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/securitycenter/v1/indicator.proto - -package com.google.cloud.securitycenter.v1; - -public final class IndicatorProto { - private IndicatorProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public 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_securitycenter_v1_Indicator_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1_Indicator_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1_Indicator_ProcessSignature_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1_Indicator_ProcessSignature_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1_Indicator_ProcessSignature_MemoryHashSignature_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1_Indicator_ProcessSignature_MemoryHashSignature_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1_Indicator_ProcessSignature_MemoryHashSignature_Detection_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1_Indicator_ProcessSignature_MemoryHashSignature_Detection_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1_Indicator_ProcessSignature_YaraRuleSignature_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1_Indicator_ProcessSignature_YaraRuleSignature_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n.google/cloud/securitycenter/v1/indicat" - + "or.proto\022\036google.cloud.securitycenter.v1" - + "\"\221\005\n\tIndicator\022\024\n\014ip_addresses\030\001 \003(\t\022\017\n\007" - + "domains\030\002 \003(\t\022N\n\nsignatures\030\003 \003(\0132:.goog" - + "le.cloud.securitycenter.v1.Indicator.Pro" - + "cessSignature\022\014\n\004uris\030\004 \003(\t\032\376\003\n\020ProcessS" - + "ignature\022o\n\025memory_hash_signature\030\006 \001(\0132" - + "N.google.cloud.securitycenter.v1.Indicat" - + "or.ProcessSignature.MemoryHashSignatureH" - + "\000\022k\n\023yara_rule_signature\030\007 \001(\0132L.google." - + "cloud.securitycenter.v1.Indicator.Proces" - + "sSignature.YaraRuleSignatureH\000\032\326\001\n\023Memor" - + "yHashSignature\022\025\n\rbinary_family\030\001 \001(\t\022l\n" - + "\ndetections\030\004 \003(\0132X.google.cloud.securit" - + "ycenter.v1.Indicator.ProcessSignature.Me" - + "moryHashSignature.Detection\032:\n\tDetection" - + "\022\016\n\006binary\030\002 \001(\t\022\035\n\025percent_pages_matche" - + "d\030\003 \001(\001\032&\n\021YaraRuleSignature\022\021\n\tyara_rul" - + "e\030\005 \001(\tB\013\n\tsignatureB\352\001\n\"com.google.clou" - + "d.securitycenter.v1B\016IndicatorProtoP\001ZLg" - + "oogle.golang.org/genproto/googleapis/clo" - + "ud/securitycenter/v1;securitycenter\252\002\036Go" - + "ogle.Cloud.SecurityCenter.V1\312\002\036Google\\Cl" - + "oud\\SecurityCenter\\V1\352\002!Google::Cloud::S" - + "ecurityCenter::V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); - internal_static_google_cloud_securitycenter_v1_Indicator_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_securitycenter_v1_Indicator_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1_Indicator_descriptor, - new java.lang.String[] { - "IpAddresses", "Domains", "Signatures", "Uris", - }); - internal_static_google_cloud_securitycenter_v1_Indicator_ProcessSignature_descriptor = - internal_static_google_cloud_securitycenter_v1_Indicator_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_securitycenter_v1_Indicator_ProcessSignature_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1_Indicator_ProcessSignature_descriptor, - new java.lang.String[] { - "MemoryHashSignature", "YaraRuleSignature", "Signature", - }); - internal_static_google_cloud_securitycenter_v1_Indicator_ProcessSignature_MemoryHashSignature_descriptor = - internal_static_google_cloud_securitycenter_v1_Indicator_ProcessSignature_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_securitycenter_v1_Indicator_ProcessSignature_MemoryHashSignature_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1_Indicator_ProcessSignature_MemoryHashSignature_descriptor, - new java.lang.String[] { - "BinaryFamily", "Detections", - }); - internal_static_google_cloud_securitycenter_v1_Indicator_ProcessSignature_MemoryHashSignature_Detection_descriptor = - internal_static_google_cloud_securitycenter_v1_Indicator_ProcessSignature_MemoryHashSignature_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_securitycenter_v1_Indicator_ProcessSignature_MemoryHashSignature_Detection_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1_Indicator_ProcessSignature_MemoryHashSignature_Detection_descriptor, - new java.lang.String[] { - "Binary", "PercentPagesMatched", - }); - internal_static_google_cloud_securitycenter_v1_Indicator_ProcessSignature_YaraRuleSignature_descriptor = - internal_static_google_cloud_securitycenter_v1_Indicator_ProcessSignature_descriptor - .getNestedTypes() - .get(1); - internal_static_google_cloud_securitycenter_v1_Indicator_ProcessSignature_YaraRuleSignature_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1_Indicator_ProcessSignature_YaraRuleSignature_descriptor, - new java.lang.String[] { - "YaraRule", - }); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/KubernetesProto.java b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/KubernetesProto.java deleted file mode 100644 index 6f7b657f069c..000000000000 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/KubernetesProto.java +++ /dev/null @@ -1,207 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/securitycenter/v1/kubernetes.proto - -package com.google.cloud.securitycenter.v1; - -public final class KubernetesProto { - private KubernetesProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public 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_securitycenter_v1_Kubernetes_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1_Kubernetes_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1_Kubernetes_Pod_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1_Kubernetes_Pod_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1_Kubernetes_Node_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1_Kubernetes_Node_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1_Kubernetes_NodePool_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1_Kubernetes_NodePool_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1_Kubernetes_Role_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1_Kubernetes_Role_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1_Kubernetes_Binding_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1_Kubernetes_Binding_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1_Kubernetes_Subject_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1_Kubernetes_Subject_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1_Kubernetes_AccessReview_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1_Kubernetes_AccessReview_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n/google/cloud/securitycenter/v1/kuberne" - + "tes.proto\022\036google.cloud.securitycenter.v" - + "1\032.google/cloud/securitycenter/v1/contai" - + "ner.proto\032*google/cloud/securitycenter/v" - + "1/label.proto\"\276\n\n\nKubernetes\022<\n\004pods\030\001 \003" - + "(\0132..google.cloud.securitycenter.v1.Kube" - + "rnetes.Pod\022>\n\005nodes\030\002 \003(\0132/.google.cloud" - + ".securitycenter.v1.Kubernetes.Node\022G\n\nno" - + "de_pools\030\003 \003(\01323.google.cloud.securityce" - + "nter.v1.Kubernetes.NodePool\022>\n\005roles\030\004 \003" - + "(\0132/.google.cloud.securitycenter.v1.Kube" - + "rnetes.Role\022D\n\010bindings\030\005 \003(\01322.google.c" - + "loud.securitycenter.v1.Kubernetes.Bindin" - + "g\022O\n\016access_reviews\030\006 \003(\01327.google.cloud" - + ".securitycenter.v1.Kubernetes.AccessRevi" - + "ew\032\225\001\n\003Pod\022\n\n\002ns\030\001 \001(\t\022\014\n\004name\030\002 \001(\t\0225\n\006" - + "labels\030\003 \003(\0132%.google.cloud.securitycent" - + "er.v1.Label\022=\n\ncontainers\030\004 \003(\0132).google" - + ".cloud.securitycenter.v1.Container\032\024\n\004No" - + "de\022\014\n\004name\030\001 \001(\t\032X\n\010NodePool\022\014\n\004name\030\001 \001" - + "(\t\022>\n\005nodes\030\002 \003(\0132/.google.cloud.securit" - + "ycenter.v1.Kubernetes.Node\032\236\001\n\004Role\022B\n\004k" - + "ind\030\001 \001(\01624.google.cloud.securitycenter." - + "v1.Kubernetes.Role.Kind\022\n\n\002ns\030\002 \001(\t\022\014\n\004n" - + "ame\030\003 \001(\t\"8\n\004Kind\022\024\n\020KIND_UNSPECIFIED\020\000\022" - + "\010\n\004ROLE\020\001\022\020\n\014CLUSTER_ROLE\020\002\032\250\001\n\007Binding\022" - + "\n\n\002ns\030\001 \001(\t\022\014\n\004name\030\002 \001(\t\022=\n\004role\030\003 \001(\0132" - + "/.google.cloud.securitycenter.v1.Kuberne" - + "tes.Role\022D\n\010subjects\030\004 \003(\01322.google.clou" - + "d.securitycenter.v1.Kubernetes.Subject\032\276" - + "\001\n\007Subject\022I\n\004kind\030\001 \001(\0162;.google.cloud." - + "securitycenter.v1.Kubernetes.Subject.Aut" - + "hType\022\n\n\002ns\030\002 \001(\t\022\014\n\004name\030\003 \001(\t\"N\n\010AuthT" - + "ype\022\031\n\025AUTH_TYPE_UNSPECIFIED\020\000\022\010\n\004USER\020\001" - + "\022\022\n\016SERVICEACCOUNT\020\002\022\t\n\005GROUP\020\003\032}\n\014Acces" - + "sReview\022\r\n\005group\030\001 \001(\t\022\n\n\002ns\030\002 \001(\t\022\014\n\004na" - + "me\030\003 \001(\t\022\020\n\010resource\030\004 \001(\t\022\023\n\013subresourc" - + "e\030\005 \001(\t\022\014\n\004verb\030\006 \001(\t\022\017\n\007version\030\007 \001(\tB\353" - + "\001\n\"com.google.cloud.securitycenter.v1B\017K" - + "ubernetesProtoP\001ZLgoogle.golang.org/genp" - + "roto/googleapis/cloud/securitycenter/v1;" - + "securitycenter\252\002\036Google.Cloud.SecurityCe" - + "nter.V1\312\002\036Google\\Cloud\\SecurityCenter\\V1" - + "\352\002!Google::Cloud::SecurityCenter::V1b\006pr" - + "oto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.cloud.securitycenter.v1.ContainerProto.getDescriptor(), - com.google.cloud.securitycenter.v1.LabelProto.getDescriptor(), - }); - internal_static_google_cloud_securitycenter_v1_Kubernetes_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_securitycenter_v1_Kubernetes_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1_Kubernetes_descriptor, - new java.lang.String[] { - "Pods", "Nodes", "NodePools", "Roles", "Bindings", "AccessReviews", - }); - internal_static_google_cloud_securitycenter_v1_Kubernetes_Pod_descriptor = - internal_static_google_cloud_securitycenter_v1_Kubernetes_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_securitycenter_v1_Kubernetes_Pod_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1_Kubernetes_Pod_descriptor, - new java.lang.String[] { - "Ns", "Name", "Labels", "Containers", - }); - internal_static_google_cloud_securitycenter_v1_Kubernetes_Node_descriptor = - internal_static_google_cloud_securitycenter_v1_Kubernetes_descriptor - .getNestedTypes() - .get(1); - internal_static_google_cloud_securitycenter_v1_Kubernetes_Node_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1_Kubernetes_Node_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_securitycenter_v1_Kubernetes_NodePool_descriptor = - internal_static_google_cloud_securitycenter_v1_Kubernetes_descriptor - .getNestedTypes() - .get(2); - internal_static_google_cloud_securitycenter_v1_Kubernetes_NodePool_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1_Kubernetes_NodePool_descriptor, - new java.lang.String[] { - "Name", "Nodes", - }); - internal_static_google_cloud_securitycenter_v1_Kubernetes_Role_descriptor = - internal_static_google_cloud_securitycenter_v1_Kubernetes_descriptor - .getNestedTypes() - .get(3); - internal_static_google_cloud_securitycenter_v1_Kubernetes_Role_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1_Kubernetes_Role_descriptor, - new java.lang.String[] { - "Kind", "Ns", "Name", - }); - internal_static_google_cloud_securitycenter_v1_Kubernetes_Binding_descriptor = - internal_static_google_cloud_securitycenter_v1_Kubernetes_descriptor - .getNestedTypes() - .get(4); - internal_static_google_cloud_securitycenter_v1_Kubernetes_Binding_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1_Kubernetes_Binding_descriptor, - new java.lang.String[] { - "Ns", "Name", "Role", "Subjects", - }); - internal_static_google_cloud_securitycenter_v1_Kubernetes_Subject_descriptor = - internal_static_google_cloud_securitycenter_v1_Kubernetes_descriptor - .getNestedTypes() - .get(5); - internal_static_google_cloud_securitycenter_v1_Kubernetes_Subject_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1_Kubernetes_Subject_descriptor, - new java.lang.String[] { - "Kind", "Ns", "Name", - }); - internal_static_google_cloud_securitycenter_v1_Kubernetes_AccessReview_descriptor = - internal_static_google_cloud_securitycenter_v1_Kubernetes_descriptor - .getNestedTypes() - .get(6); - internal_static_google_cloud_securitycenter_v1_Kubernetes_AccessReview_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1_Kubernetes_AccessReview_descriptor, - new java.lang.String[] { - "Group", "Ns", "Name", "Resource", "Subresource", "Verb", "Version", - }); - com.google.cloud.securitycenter.v1.ContainerProto.getDescriptor(); - com.google.cloud.securitycenter.v1.LabelProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/LabelProto.java b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/LabelProto.java deleted file mode 100644 index c8fd6d2a0902..000000000000 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/LabelProto.java +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/securitycenter/v1/label.proto - -package com.google.cloud.securitycenter.v1; - -public final class LabelProto { - private LabelProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public 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_securitycenter_v1_Label_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1_Label_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n*google/cloud/securitycenter/v1/label.p" - + "roto\022\036google.cloud.securitycenter.v1\"$\n\005" - + "Label\022\014\n\004name\030\001 \001(\t\022\r\n\005value\030\002 \001(\tB\346\001\n\"c" - + "om.google.cloud.securitycenter.v1B\nLabel" - + "ProtoP\001ZLgoogle.golang.org/genproto/goog" - + "leapis/cloud/securitycenter/v1;securityc" - + "enter\252\002\036Google.Cloud.SecurityCenter.V1\312\002" - + "\036Google\\Cloud\\SecurityCenter\\V1\352\002!Google" - + "::Cloud::SecurityCenter::V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); - internal_static_google_cloud_securitycenter_v1_Label_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_securitycenter_v1_Label_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1_Label_descriptor, - new java.lang.String[] { - "Name", "Value", - }); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/MitreAttackProto.java b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/MitreAttackProto.java deleted file mode 100644 index 172123aed95d..000000000000 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/MitreAttackProto.java +++ /dev/null @@ -1,111 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/securitycenter/v1/mitre_attack.proto - -package com.google.cloud.securitycenter.v1; - -public final class MitreAttackProto { - private MitreAttackProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public 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_securitycenter_v1_MitreAttack_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1_MitreAttack_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n1google/cloud/securitycenter/v1/mitre_a" - + "ttack.proto\022\036google.cloud.securitycenter" - + ".v1\"\322\014\n\013MitreAttack\022J\n\016primary_tactic\030\001 " - + "\001(\01622.google.cloud.securitycenter.v1.Mit" - + "reAttack.Tactic\022Q\n\022primary_techniques\030\002 " - + "\003(\01625.google.cloud.securitycenter.v1.Mit" - + "reAttack.Technique\022N\n\022additional_tactics" - + "\030\003 \003(\01622.google.cloud.securitycenter.v1." - + "MitreAttack.Tactic\022T\n\025additional_techniq" - + "ues\030\004 \003(\01625.google.cloud.securitycenter." - + "v1.MitreAttack.Technique\022\017\n\007version\030\005 \001(" - + "\t\"\264\002\n\006Tactic\022\026\n\022TACTIC_UNSPECIFIED\020\000\022\022\n\016" - + "RECONNAISSANCE\020\001\022\030\n\024RESOURCE_DEVELOPMENT" - + "\020\002\022\022\n\016INITIAL_ACCESS\020\005\022\r\n\tEXECUTION\020\003\022\017\n" - + "\013PERSISTENCE\020\006\022\030\n\024PRIVILEGE_ESCALATION\020\010" - + "\022\023\n\017DEFENSE_EVASION\020\007\022\025\n\021CREDENTIAL_ACCE" - + "SS\020\t\022\r\n\tDISCOVERY\020\n\022\024\n\020LATERAL_MOVEMENT\020" - + "\013\022\016\n\nCOLLECTION\020\014\022\027\n\023COMMAND_AND_CONTROL" - + "\020\004\022\020\n\014EXFILTRATION\020\r\022\n\n\006IMPACT\020\016\"\265\007\n\tTec" - + "hnique\022\031\n\025TECHNIQUE_UNSPECIFIED\020\000\022\023\n\017ACT" - + "IVE_SCANNING\020\001\022\026\n\022SCANNING_IP_BLOCKS\020\002\022\031" - + "\n\025INGRESS_TOOL_TRANSFER\020\003\022\016\n\nNATIVE_API\020" - + "\004\022\022\n\016SHARED_MODULES\020\005\022%\n!COMMAND_AND_SCR" - + "IPTING_INTERPRETER\020\006\022\016\n\nUNIX_SHELL\020\007\022\026\n\022" - + "RESOURCE_HIJACKING\020\010\022\t\n\005PROXY\020\t\022\022\n\016EXTER" - + "NAL_PROXY\020\n\022\023\n\017MULTI_HOP_PROXY\020\013\022\026\n\022DYNA" - + "MIC_RESOLUTION\020\014\022\031\n\025UNSECURED_CREDENTIAL" - + "S\020\r\022\022\n\016VALID_ACCOUNTS\020\016\022\022\n\016LOCAL_ACCOUNT" - + "S\020\017\022\022\n\016CLOUD_ACCOUNTS\020\020\022\035\n\031NETWORK_DENIA" - + "L_OF_SERVICE\020\021\022\037\n\033PERMISSION_GROUPS_DISC" - + "OVERY\020\022\022\020\n\014CLOUD_GROUPS\020\023\022!\n\035EXFILTRATIO" - + "N_OVER_WEB_SERVICE\020\024\022!\n\035EXFILTRATION_TO_" - + "CLOUD_STORAGE\020\025\022\030\n\024ACCOUNT_MANIPULATION\020" - + "\026\022\027\n\023SSH_AUTHORIZED_KEYS\020\027\022#\n\037CREATE_OR_" - + "MODIFY_SYSTEM_PROCESS\020\030\022\034\n\030STEAL_WEB_SES" - + "SION_COOKIE\020\031\022\'\n#MODIFY_CLOUD_COMPUTE_IN" - + "FRASTRUCTURE\020\032\022%\n!EXPLOIT_PUBLIC_FACING_" - + "APPLICATION\020\033\022!\n\035MODIFY_AUTHENTICATION_P" - + "ROCESS\020\034\022\024\n\020DATA_DESTRUCTION\020\035\022\036\n\032DOMAIN" - + "_POLICY_MODIFICATION\020\036\022\023\n\017IMPAIR_DEFENSE" - + "S\020\037\022\035\n\031NETWORK_SERVICE_DISCOVERY\020 \022\035\n\031AC" - + "CESS_TOKEN_MANIPULATION\020!\022%\n!ABUSE_ELEVA" - + "TION_CONTROL_MECHANISM\020\"B\354\001\n\"com.google." - + "cloud.securitycenter.v1B\020MitreAttackProt" - + "oP\001ZLgoogle.golang.org/genproto/googleap" - + "is/cloud/securitycenter/v1;securitycente" - + "r\252\002\036Google.Cloud.SecurityCenter.V1\312\002\036Goo" - + "gle\\Cloud\\SecurityCenter\\V1\352\002!Google::Cl" - + "oud::SecurityCenter::V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); - internal_static_google_cloud_securitycenter_v1_MitreAttack_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_securitycenter_v1_MitreAttack_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1_MitreAttack_descriptor, - new java.lang.String[] { - "PrimaryTactic", - "PrimaryTechniques", - "AdditionalTactics", - "AdditionalTechniques", - "Version", - }); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/MuteConfigProto.java b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/MuteConfigProto.java deleted file mode 100644 index b6b1cd23126c..000000000000 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/MuteConfigProto.java +++ /dev/null @@ -1,100 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/securitycenter/v1/mute_config.proto - -package com.google.cloud.securitycenter.v1; - -public final class MuteConfigProto { - private MuteConfigProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public 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_securitycenter_v1_MuteConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1_MuteConfig_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n0google/cloud/securitycenter/v1/mute_co" - + "nfig.proto\022\036google.cloud.securitycenter." - + "v1\032\037google/api/field_behavior.proto\032\031goo" - + "gle/api/resource.proto\032\037google/protobuf/" - + "timestamp.proto\"\256\003\n\nMuteConfig\022\014\n\004name\030\001" - + " \001(\t\022\030\n\014display_name\030\002 \001(\tB\002\030\001\022\023\n\013descri" - + "ption\030\003 \001(\t\022\023\n\006filter\030\004 \001(\tB\003\340A\002\0224\n\013crea" - + "te_time\030\005 \001(\0132\032.google.protobuf.Timestam" - + "pB\003\340A\003\0224\n\013update_time\030\006 \001(\0132\032.google.pro" - + "tobuf.TimestampB\003\340A\003\022\037\n\022most_recent_edit" - + "or\030\007 \001(\tB\003\340A\003:\300\001\352A\274\001\n(securitycenter.goo" - + "gleapis.com/MuteConfig\0226organizations/{o" - + "rganization}/muteConfigs/{mute_config}\022*" - + "folders/{folder}/muteConfigs/{mute_confi" - + "g}\022,projects/{project}/muteConfigs/{mute" - + "_config}B\353\001\n\"com.google.cloud.securityce" - + "nter.v1B\017MuteConfigProtoP\001ZLgoogle.golan" - + "g.org/genproto/googleapis/cloud/security" - + "center/v1;securitycenter\252\002\036Google.Cloud." - + "SecurityCenter.V1\312\002\036Google\\Cloud\\Securit" - + "yCenter\\V1\352\002!Google::Cloud::SecurityCent" - + "er::V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_securitycenter_v1_MuteConfig_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_securitycenter_v1_MuteConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1_MuteConfig_descriptor, - new java.lang.String[] { - "Name", - "DisplayName", - "Description", - "Filter", - "CreateTime", - "UpdateTime", - "MostRecentEditor", - }); - 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-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/NotificationConfigProto.java b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/NotificationConfigProto.java deleted file mode 100644 index 03264f602d0f..000000000000 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/NotificationConfigProto.java +++ /dev/null @@ -1,117 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/securitycenter/v1/notification_config.proto - -package com.google.cloud.securitycenter.v1; - -public final class NotificationConfigProto { - private NotificationConfigProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public 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_securitycenter_v1_NotificationConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1_NotificationConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1_NotificationConfig_StreamingConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1_NotificationConfig_StreamingConfig_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/securitycenter/v1/notific" - + "ation_config.proto\022\036google.cloud.securit" - + "ycenter.v1\032\037google/api/field_behavior.pr" - + "oto\032\031google/api/resource.proto\"\234\004\n\022Notif" - + "icationConfig\022\014\n\004name\030\001 \001(\t\022\023\n\013descripti" - + "on\030\002 \001(\t\0226\n\014pubsub_topic\030\003 \001(\tB \372A\035\n\033pub" - + "sub.googleapis.com/Topic\022\034\n\017service_acco" - + "unt\030\004 \001(\tB\003\340A\003\022^\n\020streaming_config\030\005 \001(\013" - + "2B.google.cloud.securitycenter.v1.Notifi" - + "cationConfig.StreamingConfigH\000\032!\n\017Stream" - + "ingConfig\022\016\n\006filter\030\001 \001(\t:\370\001\352A\364\001\n0securi" - + "tycenter.googleapis.com/NotificationConf" - + "ig\022Forganizations/{organization}/notific" - + "ationConfigs/{notification_config}\022:fold" - + "ers/{folder}/notificationConfigs/{notifi" - + "cation_config}\022 - * Required. Name of the organization to run asset discovery for. Its format - * is "organizations/[organization_id]". - * - * - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The parent. - */ - java.lang.String getParent(); - /** - * - * - *
-   * Required. Name of the organization to run asset discovery for. Its format
-   * is "organizations/[organization_id]".
-   * 
- * - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for parent. - */ - com.google.protobuf.ByteString getParentBytes(); -} diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/RunAssetDiscoveryResponseOuterClass.java b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/RunAssetDiscoveryResponseOuterClass.java deleted file mode 100644 index ed78dc490849..000000000000 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/RunAssetDiscoveryResponseOuterClass.java +++ /dev/null @@ -1,77 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/securitycenter/v1/run_asset_discovery_response.proto - -package com.google.cloud.securitycenter.v1; - -public final class RunAssetDiscoveryResponseOuterClass { - private RunAssetDiscoveryResponseOuterClass() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public 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_securitycenter_v1_RunAssetDiscoveryResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1_RunAssetDiscoveryResponse_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\nAgoogle/cloud/securitycenter/v1/run_ass" - + "et_discovery_response.proto\022\036google.clou" - + "d.securitycenter.v1\032\036google/protobuf/dur" - + "ation.proto\"\347\001\n\031RunAssetDiscoveryRespons" - + "e\022N\n\005state\030\001 \001(\0162?.google.cloud.security" - + "center.v1.RunAssetDiscoveryResponse.Stat" - + "e\022+\n\010duration\030\002 \001(\0132\031.google.protobuf.Du" - + "ration\"M\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\r" - + "\n\tCOMPLETED\020\001\022\016\n\nSUPERSEDED\020\002\022\016\n\nTERMINA" - + "TED\020\003B\332\001\n\"com.google.cloud.securitycente" - + "r.v1P\001ZLgoogle.golang.org/genproto/googl" - + "eapis/cloud/securitycenter/v1;securityce" - + "nter\252\002\036Google.Cloud.SecurityCenter.V1\312\002\036" - + "Google\\Cloud\\SecurityCenter\\V1\352\002!Google:" - + ":Cloud::SecurityCenter::V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.protobuf.DurationProto.getDescriptor(), - }); - internal_static_google_cloud_securitycenter_v1_RunAssetDiscoveryResponse_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_securitycenter_v1_RunAssetDiscoveryResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1_RunAssetDiscoveryResponse_descriptor, - new java.lang.String[] { - "State", "Duration", - }); - com.google.protobuf.DurationProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/SecurityMarksOuterClass.java b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/SecurityMarksOuterClass.java deleted file mode 100644 index 5a5a39061b0c..000000000000 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/SecurityMarksOuterClass.java +++ /dev/null @@ -1,105 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/securitycenter/v1/security_marks.proto - -package com.google.cloud.securitycenter.v1; - -public final class SecurityMarksOuterClass { - private SecurityMarksOuterClass() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public 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_securitycenter_v1_SecurityMarks_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1_SecurityMarks_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1_SecurityMarks_MarksEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1_SecurityMarks_MarksEntry_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n3google/cloud/securitycenter/v1/securit" - + "y_marks.proto\022\036google.cloud.securitycent" - + "er.v1\032\031google/api/resource.proto\"\325\004\n\rSec" - + "urityMarks\022\014\n\004name\030\001 \001(\t\022G\n\005marks\030\002 \003(\0132" - + "8.google.cloud.securitycenter.v1.Securit" - + "yMarks.MarksEntry\022\026\n\016canonical_name\030\003 \001(" - + "\t\032,\n\nMarksEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 " - + "\001(\t:\0028\001:\246\003\352A\242\003\n+securitycenter.googleapi" - + "s.com/SecurityMarks\0229organizations/{orga" - + "nization}/assets/{asset}/securityMarks\022N" - + "organizations/{organization}/sources/{so" - + "urce}/findings/{finding}/securityMarks\022-" - + "folders/{folder}/assets/{asset}/security" - + "Marks\022/projects/{project}/assets/{asset}" - + "/securityMarks\022Bfolders/{folder}/sources" - + "/{source}/findings/{finding}/securityMar" - + "ks\022Dprojects/{project}/sources/{source}/" - + "findings/{finding}/securityMarksB\332\001\n\"com" - + ".google.cloud.securitycenter.v1P\001ZLgoogl" - + "e.golang.org/genproto/googleapis/cloud/s" - + "ecuritycenter/v1;securitycenter\252\002\036Google" - + ".Cloud.SecurityCenter.V1\312\002\036Google\\Cloud\\" - + "SecurityCenter\\V1\352\002!Google::Cloud::Secur" - + "ityCenter::V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.ResourceProto.getDescriptor(), - }); - internal_static_google_cloud_securitycenter_v1_SecurityMarks_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_securitycenter_v1_SecurityMarks_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1_SecurityMarks_descriptor, - new java.lang.String[] { - "Name", "Marks", "CanonicalName", - }); - internal_static_google_cloud_securitycenter_v1_SecurityMarks_MarksEntry_descriptor = - internal_static_google_cloud_securitycenter_v1_SecurityMarks_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_securitycenter_v1_SecurityMarks_MarksEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1_SecurityMarks_MarksEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.ResourceProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/SecuritycenterService.java b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/SecuritycenterService.java deleted file mode 100644 index 2d218316fb49..000000000000 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/SecuritycenterService.java +++ /dev/null @@ -1,1188 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/securitycenter/v1/securitycenter_service.proto - -package com.google.cloud.securitycenter.v1; - -public final class SecuritycenterService { - private SecuritycenterService() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public 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_securitycenter_v1_BulkMuteFindingsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1_BulkMuteFindingsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1_BulkMuteFindingsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1_BulkMuteFindingsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1_CreateFindingRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1_CreateFindingRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1_CreateMuteConfigRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1_CreateMuteConfigRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1_CreateNotificationConfigRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1_CreateNotificationConfigRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1_CreateSourceRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1_CreateSourceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1_DeleteMuteConfigRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1_DeleteMuteConfigRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1_DeleteNotificationConfigRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1_DeleteNotificationConfigRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1_GetBigQueryExportRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1_GetBigQueryExportRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1_GetMuteConfigRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1_GetMuteConfigRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1_GetNotificationConfigRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1_GetNotificationConfigRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1_GetOrganizationSettingsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1_GetOrganizationSettingsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1_GetSourceRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1_GetSourceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1_GroupAssetsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1_GroupAssetsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1_GroupAssetsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1_GroupAssetsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1_GroupFindingsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1_GroupFindingsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1_GroupFindingsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1_GroupFindingsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1_GroupResult_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1_GroupResult_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1_GroupResult_PropertiesEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1_GroupResult_PropertiesEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1_ListMuteConfigsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1_ListMuteConfigsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1_ListMuteConfigsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1_ListMuteConfigsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1_ListNotificationConfigsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1_ListNotificationConfigsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1_ListNotificationConfigsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1_ListNotificationConfigsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1_ListSourcesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1_ListSourcesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1_ListSourcesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1_ListSourcesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1_ListAssetsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1_ListAssetsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1_ListAssetsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1_ListAssetsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1_ListAssetsResponse_ListAssetsResult_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1_ListAssetsResponse_ListAssetsResult_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1_ListFindingsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1_ListFindingsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1_ListFindingsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1_ListFindingsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1_ListFindingsResponse_ListFindingsResult_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1_ListFindingsResponse_ListFindingsResult_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1_ListFindingsResponse_ListFindingsResult_Resource_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1_ListFindingsResponse_ListFindingsResult_Resource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1_SetFindingStateRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1_SetFindingStateRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1_SetMuteRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1_SetMuteRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1_RunAssetDiscoveryRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1_RunAssetDiscoveryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1_UpdateExternalSystemRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1_UpdateExternalSystemRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1_UpdateFindingRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1_UpdateFindingRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1_UpdateMuteConfigRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1_UpdateMuteConfigRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1_UpdateNotificationConfigRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1_UpdateNotificationConfigRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1_UpdateOrganizationSettingsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1_UpdateOrganizationSettingsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1_UpdateSourceRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1_UpdateSourceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1_UpdateSecurityMarksRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1_UpdateSecurityMarksRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1_CreateBigQueryExportRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1_CreateBigQueryExportRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1_UpdateBigQueryExportRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1_UpdateBigQueryExportRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1_ListBigQueryExportsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1_ListBigQueryExportsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1_ListBigQueryExportsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1_ListBigQueryExportsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1_DeleteBigQueryExportRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1_DeleteBigQueryExportRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n;google/cloud/securitycenter/v1/securit" - + "ycenter_service.proto\022\036google.cloud.secu" - + "ritycenter.v1\032Agoogle/cloud/securitycent" - + "er/v1/run_asset_discovery_response.proto" - + "\032\034google/api/annotations.proto\032\027google/a" - + "pi/client.proto\032\037google/api/field_behavi" - + "or.proto\032\031google/api/resource.proto\032*goo" - + "gle/cloud/securitycenter/v1/asset.proto\032" - + "4google/cloud/securitycenter/v1/bigquery" - + "_export.proto\0324google/cloud/securitycent" - + "er/v1/external_system.proto\032,google/clou" - + "d/securitycenter/v1/finding.proto\032+googl" - + "e/cloud/securitycenter/v1/folder.proto\0320" - + "google/cloud/securitycenter/v1/mute_conf" - + "ig.proto\0328google/cloud/securitycenter/v1" - + "/notification_config.proto\032:google/cloud" - + "/securitycenter/v1/organization_settings" - + ".proto\0323google/cloud/securitycenter/v1/s" - + "ecurity_marks.proto\032+google/cloud/securi" - + "tycenter/v1/source.proto\032\036google/iam/v1/" - + "iam_policy.proto\032\032google/iam/v1/policy.p" - + "roto\032#google/longrunning/operations.prot" - + "o\032\036google/protobuf/duration.proto\032\033googl" - + "e/protobuf/empty.proto\032 google/protobuf/" - + "field_mask.proto\032\034google/protobuf/struct" - + ".proto\032\037google/protobuf/timestamp.proto\"" - + "a\n\027BulkMuteFindingsRequest\022\031\n\006parent\030\001 \001" - + "(\tB\t\340A\002\372A\003\n\001*\022\016\n\006filter\030\002 \001(\t\022\033\n\017mute_an" - + "notation\030\003 \001(\tB\002\030\001\"\032\n\030BulkMuteFindingsRe" - + "sponse\"\254\001\n\024CreateFindingRequest\022<\n\006paren" - + "t\030\001 \001(\tB,\340A\002\372A&\n$securitycenter.googleap" - + "is.com/Source\022\027\n\nfinding_id\030\002 \001(\tB\003\340A\002\022=" - + "\n\007finding\030\003 \001(\0132\'.google.cloud.securityc" - + "enter.v1.FindingB\003\340A\002\"\276\001\n\027CreateMuteConf" - + "igRequest\022@\n\006parent\030\001 \001(\tB0\340A\002\372A*\022(secur" - + "itycenter.googleapis.com/MuteConfig\022D\n\013m" - + "ute_config\030\002 \001(\0132*.google.cloud.security" - + "center.v1.MuteConfigB\003\340A\002\022\033\n\016mute_config" - + "_id\030\003 \001(\tB\003\340A\002\"\331\001\n\037CreateNotificationCon" - + "figRequest\022H\n\006parent\030\001 \001(\tB8\340A\002\372A2\0220secu" - + "ritycenter.googleapis.com/NotificationCo" - + "nfig\022\026\n\tconfig_id\030\002 \001(\tB\003\340A\002\022T\n\023notifica" - + "tion_config\030\003 \001(\01322.google.cloud.securit" - + "ycenter.v1.NotificationConfigB\003\340A\002\"\234\001\n\023C" - + "reateSourceRequest\022H\n\006parent\030\001 \001(\tB8\340A\002\372" - + "A2\n0cloudresourcemanager.googleapis.com/" - + "Organization\022;\n\006source\030\002 \001(\0132&.google.cl" - + "oud.securitycenter.v1.SourceB\003\340A\002\"Y\n\027Del" - + "eteMuteConfigRequest\022>\n\004name\030\001 \001(\tB0\340A\002\372" - + "A*\n(securitycenter.googleapis.com/MuteCo" - + "nfig\"i\n\037DeleteNotificationConfigRequest\022" - + "F\n\004name\030\001 \001(\tB8\340A\002\372A2\n0securitycenter.go" - + "ogleapis.com/NotificationConfig\"^\n\030GetBi" - + "gQueryExportRequest\022B\n\004name\030\001 \001(\tB4\340A\002\372A" - + ".\n,securitycenter.googleapis.com/BigQuer" - + "yExport\"V\n\024GetMuteConfigRequest\022>\n\004name\030" - + "\001 \001(\tB0\340A\002\372A*\n(securitycenter.googleapis" - + ".com/MuteConfig\"f\n\034GetNotificationConfig" - + "Request\022F\n\004name\030\001 \001(\tB8\340A\002\372A2\n0securityc" - + "enter.googleapis.com/NotificationConfig\"" - + "j\n\036GetOrganizationSettingsRequest\022H\n\004nam" - + "e\030\001 \001(\tB:\340A\002\372A4\n2securitycenter.googleap" - + "is.com/OrganizationSettings\"N\n\020GetSource" - + "Request\022:\n\004name\030\001 \001(\tB,\340A\002\372A&\n$securityc" - + "enter.googleapis.com/Source\"\203\002\n\022GroupAss" - + "etsRequest\022;\n\006parent\030\001 \001(\tB+\340A\002\372A%\022#secu" - + "ritycenter.googleapis.com/Asset\022\016\n\006filte" - + "r\030\002 \001(\t\022\025\n\010group_by\030\003 \001(\tB\003\340A\002\0223\n\020compar" - + "e_duration\030\004 \001(\0132\031.google.protobuf.Durat" - + "ion\022-\n\tread_time\030\005 \001(\0132\032.google.protobuf" - + ".Timestamp\022\022\n\npage_token\030\007 \001(\t\022\021\n\tpage_s" - + "ize\030\010 \001(\005\"\270\001\n\023GroupAssetsResponse\022E\n\020gro" - + "up_by_results\030\001 \003(\0132+.google.cloud.secur" - + "itycenter.v1.GroupResult\022-\n\tread_time\030\002 " - + "\001(\0132\032.google.protobuf.Timestamp\022\027\n\017next_" - + "page_token\030\003 \001(\t\022\022\n\ntotal_size\030\004 \001(\005\"\206\002\n" - + "\024GroupFindingsRequest\022<\n\006parent\030\001 \001(\tB,\340" - + "A\002\372A&\n$securitycenter.googleapis.com/Sou" - + "rce\022\016\n\006filter\030\002 \001(\t\022\025\n\010group_by\030\003 \001(\tB\003\340" - + "A\002\022-\n\tread_time\030\004 \001(\0132\032.google.protobuf." - + "Timestamp\0223\n\020compare_duration\030\005 \001(\0132\031.go" - + "ogle.protobuf.Duration\022\022\n\npage_token\030\007 \001" - + "(\t\022\021\n\tpage_size\030\010 \001(\005\"\272\001\n\025GroupFindingsR" - + "esponse\022E\n\020group_by_results\030\001 \003(\0132+.goog" - + "le.cloud.securitycenter.v1.GroupResult\022-" - + "\n\tread_time\030\002 \001(\0132\032.google.protobuf.Time" - + "stamp\022\027\n\017next_page_token\030\003 \001(\t\022\022\n\ntotal_" - + "size\030\004 \001(\005\"\270\001\n\013GroupResult\022O\n\nproperties" - + "\030\001 \003(\0132;.google.cloud.securitycenter.v1." - + "GroupResult.PropertiesEntry\022\r\n\005count\030\002 \001" - + "(\003\032I\n\017PropertiesEntry\022\013\n\003key\030\001 \001(\t\022%\n\005va" - + "lue\030\002 \001(\0132\026.google.protobuf.Value:\0028\001\"\201\001" - + "\n\026ListMuteConfigsRequest\022@\n\006parent\030\001 \001(\t" - + "B0\340A\002\372A*\022(securitycenter.googleapis.com/" - + "MuteConfig\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_to" - + "ken\030\003 \001(\t\"t\n\027ListMuteConfigsResponse\022@\n\014" - + "mute_configs\030\001 \003(\0132*.google.cloud.securi" - + "tycenter.v1.MuteConfig\022\027\n\017next_page_toke" - + "n\030\002 \001(\t\"\221\001\n\036ListNotificationConfigsReque" - + "st\022H\n\006parent\030\001 \001(\tB8\340A\002\372A2\0220securitycent" - + "er.googleapis.com/NotificationConfig\022\022\n\n" - + "page_token\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\"\214\001\n\037" - + "ListNotificationConfigsResponse\022P\n\024notif" - + "ication_configs\030\001 \003(\01322.google.cloud.sec" - + "uritycenter.v1.NotificationConfig\022\027\n\017nex" - + "t_page_token\030\002 \001(\t\"y\n\022ListSourcesRequest" - + "\022<\n\006parent\030\001 \001(\tB,\340A\002\372A&\022$securitycenter" - + ".googleapis.com/Source\022\022\n\npage_token\030\002 \001" - + "(\t\022\021\n\tpage_size\030\007 \001(\005\"g\n\023ListSourcesResp" - + "onse\0227\n\007sources\030\001 \003(\0132&.google.cloud.sec" - + "uritycenter.v1.Source\022\027\n\017next_page_token" - + "\030\002 \001(\t\"\255\002\n\021ListAssetsRequest\022;\n\006parent\030\001" - + " \001(\tB+\340A\002\372A%\022#securitycenter.googleapis." - + "com/Asset\022\016\n\006filter\030\002 \001(\t\022\020\n\010order_by\030\003 " - + "\001(\t\022-\n\tread_time\030\004 \001(\0132\032.google.protobuf" - + ".Timestamp\0223\n\020compare_duration\030\005 \001(\0132\031.g" - + "oogle.protobuf.Duration\022.\n\nfield_mask\030\007 " - + "\001(\0132\032.google.protobuf.FieldMask\022\022\n\npage_" - + "token\030\010 \001(\t\022\021\n\tpage_size\030\t \001(\005\"\303\003\n\022ListA" - + "ssetsResponse\022`\n\023list_assets_results\030\001 \003" - + "(\0132C.google.cloud.securitycenter.v1.List" - + "AssetsResponse.ListAssetsResult\022-\n\tread_" - + "time\030\002 \001(\0132\032.google.protobuf.Timestamp\022\027" - + "\n\017next_page_token\030\003 \001(\t\022\022\n\ntotal_size\030\004 " - + "\001(\005\032\356\001\n\020ListAssetsResult\0224\n\005asset\030\001 \001(\0132" - + "%.google.cloud.securitycenter.v1.Asset\022e" - + "\n\014state_change\030\002 \001(\0162O.google.cloud.secu" - + "ritycenter.v1.ListAssetsResponse.ListAss" - + "etsResult.StateChange\"=\n\013StateChange\022\n\n\006" - + "UNUSED\020\000\022\t\n\005ADDED\020\001\022\013\n\007REMOVED\020\002\022\n\n\006ACTI" - + "VE\020\003\"\260\002\n\023ListFindingsRequest\022<\n\006parent\030\001" - + " \001(\tB,\340A\002\372A&\n$securitycenter.googleapis." - + "com/Source\022\016\n\006filter\030\002 \001(\t\022\020\n\010order_by\030\003" - + " \001(\t\022-\n\tread_time\030\004 \001(\0132\032.google.protobu" - + "f.Timestamp\0223\n\020compare_duration\030\005 \001(\0132\031." - + "google.protobuf.Duration\022.\n\nfield_mask\030\007" - + " \001(\0132\032.google.protobuf.FieldMask\022\022\n\npage" - + "_token\030\010 \001(\t\022\021\n\tpage_size\030\t \001(\005\"\254\006\n\024List" - + "FindingsResponse\022f\n\025list_findings_result" - + "s\030\001 \003(\0132G.google.cloud.securitycenter.v1" - + ".ListFindingsResponse.ListFindingsResult" - + "\022-\n\tread_time\030\002 \001(\0132\032.google.protobuf.Ti" - + "mestamp\022\027\n\017next_page_token\030\003 \001(\t\022\022\n\ntota" - + "l_size\030\004 \001(\005\032\317\004\n\022ListFindingsResult\0228\n\007f" - + "inding\030\001 \001(\0132\'.google.cloud.securitycent" - + "er.v1.Finding\022i\n\014state_change\030\002 \001(\0162S.go" - + "ogle.cloud.securitycenter.v1.ListFinding" - + "sResponse.ListFindingsResult.StateChange" - + "\022g\n\010resource\030\003 \001(\0132P.google.cloud.securi" - + "tycenter.v1.ListFindingsResponse.ListFin" - + "dingsResult.ResourceB\003\340A\003\032\333\001\n\010Resource\022\014" - + "\n\004name\030\001 \001(\t\022\024\n\014display_name\030\010 \001(\t\022\014\n\004ty" - + "pe\030\006 \001(\t\022\024\n\014project_name\030\002 \001(\t\022\034\n\024projec" - + "t_display_name\030\003 \001(\t\022\023\n\013parent_name\030\004 \001(" - + "\t\022\033\n\023parent_display_name\030\005 \001(\t\0227\n\007folder" - + "s\030\007 \003(\0132&.google.cloud.securitycenter.v1" - + ".Folder\"M\n\013StateChange\022\n\n\006UNUSED\020\000\022\013\n\007CH" - + "ANGED\020\001\022\r\n\tUNCHANGED\020\002\022\t\n\005ADDED\020\003\022\013\n\007REM" - + "OVED\020\004\"\315\001\n\026SetFindingStateRequest\022;\n\004nam" - + "e\030\001 \001(\tB-\340A\002\372A\'\n%securitycenter.googleap" - + "is.com/Finding\022A\n\005state\030\002 \001(\0162-.google.c" - + "loud.securitycenter.v1.Finding.StateB\003\340A" - + "\002\0223\n\nstart_time\030\003 \001(\0132\032.google.protobuf." - + "TimestampB\003\340A\002\"\216\001\n\016SetMuteRequest\022;\n\004nam" - + "e\030\001 \001(\tB-\340A\002\372A\'\n%securitycenter.googleap" - + "is.com/Finding\022?\n\004mute\030\002 \001(\0162,.google.cl" - + "oud.securitycenter.v1.Finding.MuteB\003\340A\002\"" - + "d\n\030RunAssetDiscoveryRequest\022H\n\006parent\030\001 " - + "\001(\tB8\340A\002\372A2\n0cloudresourcemanager.google" - + "apis.com/Organization\"\234\001\n\033UpdateExternal" - + "SystemRequest\022L\n\017external_system\030\001 \001(\0132." - + ".google.cloud.securitycenter.v1.External" - + "SystemB\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.googl" - + "e.protobuf.FieldMask\"\206\001\n\024UpdateFindingRe" - + "quest\022=\n\007finding\030\001 \001(\0132\'.google.cloud.se" - + "curitycenter.v1.FindingB\003\340A\002\022/\n\013update_m" - + "ask\030\002 \001(\0132\032.google.protobuf.FieldMask\"\220\001" - + "\n\027UpdateMuteConfigRequest\022D\n\013mute_config" - + "\030\001 \001(\0132*.google.cloud.securitycenter.v1." - + "MuteConfigB\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.g" - + "oogle.protobuf.FieldMask\"\250\001\n\037UpdateNotif" - + "icationConfigRequest\022T\n\023notification_con" - + "fig\030\001 \001(\01322.google.cloud.securitycenter." - + "v1.NotificationConfigB\003\340A\002\022/\n\013update_mas" - + "k\030\002 \001(\0132\032.google.protobuf.FieldMask\"\256\001\n!" - + "UpdateOrganizationSettingsRequest\022X\n\025org" - + "anization_settings\030\001 \001(\01324.google.cloud." - + "securitycenter.v1.OrganizationSettingsB\003" - + "\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.google.protob" - + "uf.FieldMask\"\203\001\n\023UpdateSourceRequest\022;\n\006" - + "source\030\001 \001(\0132&.google.cloud.securitycent" - + "er.v1.SourceB\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032" - + ".google.protobuf.FieldMask\"\311\001\n\032UpdateSec" - + "urityMarksRequest\022J\n\016security_marks\030\001 \001(" - + "\0132-.google.cloud.securitycenter.v1.Secur" - + "ityMarksB\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.goo" - + "gle.protobuf.FieldMask\022.\n\nstart_time\030\003 \001" - + "(\0132\032.google.protobuf.Timestamp\"\324\001\n\033Creat" - + "eBigQueryExportRequest\022D\n\006parent\030\001 \001(\tB4" - + "\340A\002\372A.\022,securitycenter.googleapis.com/Bi" - + "gQueryExport\022M\n\020big_query_export\030\002 \001(\0132." - + ".google.cloud.securitycenter.v1.BigQuery" - + "ExportB\003\340A\002\022 \n\023big_query_export_id\030\003 \001(\t" - + "B\003\340A\002\"\235\001\n\033UpdateBigQueryExportRequest\022M\n" - + "\020big_query_export\030\001 \001(\0132..google.cloud.s" - + "ecuritycenter.v1.BigQueryExportB\003\340A\002\022/\n\013" - + "update_mask\030\002 \001(\0132\032.google.protobuf.Fiel" - + "dMask\"\211\001\n\032ListBigQueryExportsRequest\022D\n\006" - + "parent\030\001 \001(\tB4\340A\002\372A.\022,securitycenter.goo" - + "gleapis.com/BigQueryExport\022\021\n\tpage_size\030" - + "\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"\201\001\n\033ListBigQue" - + "ryExportsResponse\022I\n\021big_query_exports\030\001" - + " \003(\0132..google.cloud.securitycenter.v1.Bi" - + "gQueryExport\022\027\n\017next_page_token\030\002 \001(\t\"a\n" - + "\033DeleteBigQueryExportRequest\022B\n\004name\030\001 \001" - + "(\tB4\340A\002\372A.\n,securitycenter.googleapis.co" - + "m/BigQueryExport2\374S\n\016SecurityCenter\022\342\002\n\020" - + "BulkMuteFindings\0227.google.cloud.security" - + "center.v1.BulkMuteFindingsRequest\032\035.goog" - + "le.longrunning.Operation\"\365\001\202\323\344\223\002\222\001\"./v1/" - + "{parent=organizations/*}/findings:bulkMu" - + "te:\001*Z-\"(/v1/{parent=folders/*}/findings" - + ":bulkMute:\001*Z.\")/v1/{parent=projects/*}/" - + "findings:bulkMute:\001*\332A\006parent\312AP\n7google" - + ".cloud.securitycenter.v1.BulkMuteFinding" - + "sResponse\022\025google.protobuf.Empty\022\261\001\n\014Cre" - + "ateSource\0223.google.cloud.securitycenter." - + "v1.CreateSourceRequest\032&.google.cloud.se" - + "curitycenter.v1.Source\"D\202\323\344\223\002.\"$/v1/{par" - + "ent=organizations/*}/sources:\006source\332A\rp" - + "arent,source\022\314\001\n\rCreateFinding\0224.google." - + "cloud.securitycenter.v1.CreateFindingReq" - + "uest\032\'.google.cloud.securitycenter.v1.Fi" - + "nding\"\\\202\323\344\223\002:\"//v1/{parent=organizations" - + "/*/sources/*}/findings:\007finding\332A\031parent" - + ",finding_id,finding\022\330\002\n\020CreateMuteConfig" - + "\0227.google.cloud.securitycenter.v1.Create" - + "MuteConfigRequest\032*.google.cloud.securit" - + "ycenter.v1.MuteConfig\"\336\001\202\323\344\223\002\236\001\"(/v1/{pa" - + "rent=organizations/*}/muteConfigs:\013mute_" - + "configZ1\"\"/v1/{parent=folders/*}/muteCon" - + "figs:\013mute_configZ2\"#/v1/{parent=project" - + "s/*}/muteConfigs:\013mute_config\332A\022parent,m" - + "ute_config\332A!parent,mute_config,mute_con" - + "fig_id\022\253\003\n\030CreateNotificationConfig\022?.go" - + "ogle.cloud.securitycenter.v1.CreateNotif" - + "icationConfigRequest\0322.google.cloud.secu" - + "ritycenter.v1.NotificationConfig\"\231\002\202\323\344\223\002" - + "\316\001\"0/v1/{parent=organizations/*}/notific" - + "ationConfigs:\023notification_configZA\"*/v1" - + "/{parent=folders/*}/notificationConfigs:" - + "\023notification_configZB\"+/v1/{parent=proj" - + "ects/*}/notificationConfigs:\023notificatio" - + "n_config\332A$parent,config_id,notification" - + "_config\332A\032parent,notification_config\022\352\001\n" - + "\020DeleteMuteConfig\0227.google.cloud.securit" - + "ycenter.v1.DeleteMuteConfigRequest\032\026.goo" - + "gle.protobuf.Empty\"\204\001\202\323\344\223\002w*(/v1/{name=o" - + "rganizations/*/muteConfigs/*}Z$*\"/v1/{na" - + "me=folders/*/muteConfigs/*}Z%*#/v1/{name" - + "=projects/*/muteConfigs/*}\332A\004name\022\223\002\n\030De" - + "leteNotificationConfig\022?.google.cloud.se" - + "curitycenter.v1.DeleteNotificationConfig" - + "Request\032\026.google.protobuf.Empty\"\235\001\202\323\344\223\002\217" - + "\001*0/v1/{name=organizations/*/notificatio" - + "nConfigs/*}Z,**/v1/{name=folders/*/notif" - + "icationConfigs/*}Z-*+/v1/{name=projects/" - + "*/notificationConfigs/*}\332A\004name\022\221\002\n\021GetB" - + "igQueryExport\0228.google.cloud.securitycen" - + "ter.v1.GetBigQueryExportRequest\032..google" - + ".cloud.securitycenter.v1.BigQueryExport\"" - + "\221\001\202\323\344\223\002\203\001\022,/v1/{name=organizations/*/big" - + "QueryExports/*}Z(\022&/v1/{name=folders/*/b" - + "igQueryExports/*}Z)\022\'/v1/{name=projects/" - + "*/bigQueryExports/*}\332A\004name\022\226\001\n\014GetIamPo" - + "licy\022\".google.iam.v1.GetIamPolicyRequest" - + "\032\025.google.iam.v1.Policy\"K\202\323\344\223\002:\"5/v1/{re" - + "source=organizations/*/sources/*}:getIam" - + "Policy:\001*\332A\010resource\022\370\001\n\rGetMuteConfig\0224" - + ".google.cloud.securitycenter.v1.GetMuteC" - + "onfigRequest\032*.google.cloud.securitycent" - + "er.v1.MuteConfig\"\204\001\202\323\344\223\002w\022(/v1/{name=org" - + "anizations/*/muteConfigs/*}Z$\022\"/v1/{name" - + "=folders/*/muteConfigs/*}Z%\022#/v1/{name=p" - + "rojects/*/muteConfigs/*}\332A\004name\022\251\002\n\025GetN" - + "otificationConfig\022<.google.cloud.securit" - + "ycenter.v1.GetNotificationConfigRequest\032" - + "2.google.cloud.securitycenter.v1.Notific" - + "ationConfig\"\235\001\202\323\344\223\002\217\001\0220/v1/{name=organiz" - + "ations/*/notificationConfigs/*}Z,\022*/v1/{" - + "name=folders/*/notificationConfigs/*}Z-\022" - + "+/v1/{name=projects/*/notificationConfig" - + "s/*}\332A\004name\022\317\001\n\027GetOrganizationSettings\022" - + ">.google.cloud.securitycenter.v1.GetOrga" - + "nizationSettingsRequest\0324.google.cloud.s" - + "ecuritycenter.v1.OrganizationSettings\">\202" - + "\323\344\223\0021\022//v1/{name=organizations/*/organiz" - + "ationSettings}\332A\004name\022\232\001\n\tGetSource\0220.go" - + "ogle.cloud.securitycenter.v1.GetSourceRe" - + "quest\032&.google.cloud.securitycenter.v1.S" - + "ource\"3\202\323\344\223\002&\022$/v1/{name=organizations/*" - + "/sources/*}\332A\004name\022\203\002\n\013GroupAssets\0222.goo" - + "gle.cloud.securitycenter.v1.GroupAssetsR" - + "equest\0323.google.cloud.securitycenter.v1." - + "GroupAssetsResponse\"\212\001\202\323\344\223\002\203\001\")/v1/{pare" - + "nt=organizations/*}/assets:group:\001*Z(\"#/" - + "v1/{parent=folders/*}/assets:group:\001*Z)\"" - + "$/v1/{parent=projects/*}/assets:group:\001*" - + "\022\277\002\n\rGroupFindings\0224.google.cloud.securi" - + "tycenter.v1.GroupFindingsRequest\0325.googl" - + "e.cloud.securitycenter.v1.GroupFindingsR" - + "esponse\"\300\001\202\323\344\223\002\247\001\"5/v1/{parent=organizat" - + "ions/*/sources/*}/findings:group:\001*Z4\"//" - + "v1/{parent=folders/*/sources/*}/findings" - + ":group:\001*Z5\"0/v1/{parent=projects/*/sour" - + "ces/*}/findings:group:\001*\332A\017parent,group_" - + "by\022\343\001\n\nListAssets\0221.google.cloud.securit" - + "ycenter.v1.ListAssetsRequest\0322.google.cl" - + "oud.securitycenter.v1.ListAssetsResponse" - + "\"n\202\323\344\223\002h\022#/v1/{parent=organizations/*}/a" - + "ssetsZ\037\022\035/v1/{parent=folders/*}/assetsZ " - + "\022\036/v1/{parent=projects/*}/assets\022\217\002\n\014Lis" - + "tFindings\0223.google.cloud.securitycenter." - + "v1.ListFindingsRequest\0324.google.cloud.se" - + "curitycenter.v1.ListFindingsResponse\"\223\001\202" - + "\323\344\223\002\214\001\022//v1/{parent=organizations/*/sour" - + "ces/*}/findingsZ+\022)/v1/{parent=folders/*" - + "/sources/*}/findingsZ,\022*/v1/{parent=proj" - + "ects/*/sources/*}/findings\022\213\002\n\017ListMuteC" - + "onfigs\0226.google.cloud.securitycenter.v1." - + "ListMuteConfigsRequest\0327.google.cloud.se" - + "curitycenter.v1.ListMuteConfigsResponse\"" - + "\206\001\202\323\344\223\002w\022(/v1/{parent=organizations/*}/m" - + "uteConfigsZ$\022\"/v1/{parent=folders/*}/mut" - + "eConfigsZ%\022#/v1/{parent=projects/*}/mute" - + "Configs\332A\006parent\022\274\002\n\027ListNotificationCon" - + "figs\022>.google.cloud.securitycenter.v1.Li" - + "stNotificationConfigsRequest\032?.google.cl" - + "oud.securitycenter.v1.ListNotificationCo" - + "nfigsResponse\"\237\001\202\323\344\223\002\217\001\0220/v1/{parent=org" - + "anizations/*}/notificationConfigsZ,\022*/v1" - + "/{parent=folders/*}/notificationConfigsZ" - + "-\022+/v1/{parent=projects/*}/notificationC" - + "onfigs\332A\006parent\022\362\001\n\013ListSources\0222.google" - + ".cloud.securitycenter.v1.ListSourcesRequ" - + "est\0323.google.cloud.securitycenter.v1.Lis" - + "tSourcesResponse\"z\202\323\344\223\002k\022$/v1/{parent=or" - + "ganizations/*}/sourcesZ \022\036/v1/{parent=fo" - + "lders/*}/sourcesZ!\022\037/v1/{parent=projects" - + "/*}/sources\332A\006parent\022\207\002\n\021RunAssetDiscove" - + "ry\0228.google.cloud.securitycenter.v1.RunA" - + "ssetDiscoveryRequest\032\035.google.longrunnin" - + "g.Operation\"\230\001\202\323\344\223\0025\"0/v1/{parent=organi" - + "zations/*}/assets:runDiscovery:\001*\332A\006pare" - + "nt\312AQ\n8google.cloud.securitycenter.v1.Ru" - + "nAssetDiscoveryResponse\022\025google.protobuf" - + ".Empty\022\304\002\n\017SetFindingState\0226.google.clou" - + "d.securitycenter.v1.SetFindingStateReque" - + "st\032\'.google.cloud.securitycenter.v1.Find" - + "ing\"\317\001\202\323\344\223\002\260\001\"8/v1/{name=organizations/*" - + "/sources/*/findings/*}:setState:\001*Z7\"2/v" - + "1/{name=folders/*/sources/*/findings/*}:" - + "setState:\001*Z8\"3/v1/{name=projects/*/sour" - + "ces/*/findings/*}:setState:\001*\332A\025name,sta" - + "te,start_time\022\245\002\n\007SetMute\022..google.cloud" - + ".securitycenter.v1.SetMuteRequest\032\'.goog" - + "le.cloud.securitycenter.v1.Finding\"\300\001\202\323\344" - + "\223\002\255\001\"7/v1/{name=organizations/*/sources/" - + "*/findings/*}:setMute:\001*Z6\"1/v1/{name=fo" - + "lders/*/sources/*/findings/*}:setMute:\001*" - + "Z7\"2/v1/{name=projects/*/sources/*/findi" - + "ngs/*}:setMute:\001*\332A\tname,mute\022\235\001\n\014SetIam" - + "Policy\022\".google.iam.v1.SetIamPolicyReque" - + "st\032\025.google.iam.v1.Policy\"R\202\323\344\223\002:\"5/v1/{" - + "resource=organizations/*/sources/*}:setI" - + "amPolicy:\001*\332A\017resource,policy\022\310\001\n\022TestIa" - + "mPermissions\022(.google.iam.v1.TestIamPerm" - + "issionsRequest\032).google.iam.v1.TestIamPe" - + "rmissionsResponse\"]\202\323\344\223\002@\";/v1/{resource" - + "=organizations/*/sources/*}:testIamPermi" - + "ssions:\001*\332A\024resource,permissions\022\320\003\n\024Upd" - + "ateExternalSystem\022;.google.cloud.securit" - + "ycenter.v1.UpdateExternalSystemRequest\032." - + ".google.cloud.securitycenter.v1.External" - + "System\"\312\002\202\323\344\223\002\245\0022Q/v1/{external_system.n" - + "ame=organizations/*/sources/*/findings/*" - + "/externalSystems/*}:\017external_systemZ^2K" - + "/v1/{external_system.name=folders/*/sour" - + "ces/*/findings/*/externalSystems/*}:\017ext" - + "ernal_systemZ_2L/v1/{external_system.nam" - + "e=projects/*/sources/*/findings/*/extern" - + "alSystems/*}:\017external_system\332A\033external" - + "_system,update_mask\022\301\002\n\rUpdateFinding\0224." - + "google.cloud.securitycenter.v1.UpdateFin" - + "dingRequest\032\'.google.cloud.securitycente" - + "r.v1.Finding\"\320\001\202\323\344\223\002\277\00127/v1/{finding.nam" - + "e=organizations/*/sources/*/findings/*}:" - + "\007findingZ<21/v1/{finding.name=folders/*/" - + "sources/*/findings/*}:\007findingZ=22/v1/{f" - + "inding.name=projects/*/sources/*/finding", - "s/*}:\007finding\332A\007finding\022\335\002\n\020UpdateMuteCo" - + "nfig\0227.google.cloud.securitycenter.v1.Up" - + "dateMuteConfigRequest\032*.google.cloud.sec" - + "uritycenter.v1.MuteConfig\"\343\001\202\323\344\223\002\302\00124/v1" - + "/{mute_config.name=organizations/*/muteC" - + "onfigs/*}:\013mute_configZ=2./v1/{mute_conf" - + "ig.name=folders/*/muteConfigs/*}:\013mute_c" - + "onfigZ>2//v1/{mute_config.name=projects/" - + "*/muteConfigs/*}:\013mute_config\332A\027mute_con" - + "fig,update_mask\022\333\003\n\030UpdateNotificationCo" - + "nfig\022?.google.cloud.securitycenter.v1.Up" - + "dateNotificationConfigRequest\0322.google.c" - + "loud.securitycenter.v1.NotificationConfi" - + "g\"\311\002\202\323\344\223\002\212\0022D/v1/{notification_config.na" - + "me=organizations/*/notificationConfigs/*" - + "}:\023notification_configZU2>/v1/{notificat" - + "ion_config.name=folders/*/notificationCo" - + "nfigs/*}:\023notification_configZV2?/v1/{no" - + "tification_config.name=projects/*/notifi" - + "cationConfigs/*}:\023notification_config\332A\023" - + "notification_config\332A\037notification_confi" - + "g,update_mask\022\223\002\n\032UpdateOrganizationSett" - + "ings\022A.google.cloud.securitycenter.v1.Up" - + "dateOrganizationSettingsRequest\0324.google" - + ".cloud.securitycenter.v1.OrganizationSet" - + "tings\"|\202\323\344\223\002^2E/v1/{organization_setting" - + "s.name=organizations/*/organizationSetti" - + "ngs}:\025organization_settings\332A\025organizati" - + "on_settings\022\261\001\n\014UpdateSource\0223.google.cl" - + "oud.securitycenter.v1.UpdateSourceReques" - + "t\032&.google.cloud.securitycenter.v1.Sourc" - + "e\"D\202\323\344\223\00252+/v1/{source.name=organization" - + "s/*/sources/*}:\006source\332A\006source\022\237\005\n\023Upda" - + "teSecurityMarks\022:.google.cloud.securityc" - + "enter.v1.UpdateSecurityMarksRequest\032-.go" - + "ogle.cloud.securitycenter.v1.SecurityMar" - + "ks\"\234\004\202\323\344\223\002\204\0042@/v1/{security_marks.name=o" - + "rganizations/*/assets/*/securityMarks}:\016" - + "security_marksZL2:/v1/{security_marks.na" - + "me=folders/*/assets/*/securityMarks}:\016se" - + "curity_marksZM2;/v1/{security_marks.name" - + "=projects/*/assets/*/securityMarks}:\016sec" - + "urity_marksZ^2L/v1/{security_marks.name=" - + "organizations/*/sources/*/findings/*/sec" - + "urityMarks}:\016security_marksZX2F/v1/{secu" - + "rity_marks.name=folders/*/sources/*/find" - + "ings/*/securityMarks}:\016security_marksZY2" - + "G/v1/{security_marks.name=projects/*/sou" - + "rces/*/findings/*/securityMarks}:\016securi" - + "ty_marks\332A\016security_marks\022\364\002\n\024CreateBigQ" - + "ueryExport\022;.google.cloud.securitycenter" - + ".v1.CreateBigQueryExportRequest\032..google" - + ".cloud.securitycenter.v1.BigQueryExport\"" - + "\356\001\202\323\344\223\002\271\001\",/v1/{parent=organizations/*}/" - + "bigQueryExports:\020big_query_exportZ:\"&/v1" - + "/{parent=folders/*}/bigQueryExports:\020big" - + "_query_exportZ;\"\'/v1/{parent=projects/*}" - + "/bigQueryExports:\020big_query_export\332A+par" - + "ent,big_query_export,big_query_export_id" - + "\022\377\001\n\024DeleteBigQueryExport\022;.google.cloud" - + ".securitycenter.v1.DeleteBigQueryExportR" - + "equest\032\026.google.protobuf.Empty\"\221\001\202\323\344\223\002\203\001" - + "*,/v1/{name=organizations/*/bigQueryExpo" - + "rts/*}Z(*&/v1/{name=folders/*/bigQueryEx" - + "ports/*}Z)*\'/v1/{name=projects/*/bigQuer" - + "yExports/*}\332A\004name\022\230\003\n\024UpdateBigQueryExp" - + "ort\022;.google.cloud.securitycenter.v1.Upd" - + "ateBigQueryExportRequest\032..google.cloud." - + "securitycenter.v1.BigQueryExport\"\222\002\202\323\344\223\002" - + "\354\0012=/v1/{big_query_export.name=organizat" - + "ions/*/bigQueryExports/*}:\020big_query_exp" - + "ortZK27/v1/{big_query_export.name=folder" - + "s/*/bigQueryExports/*}:\020big_query_export" - + "ZL28/v1/{big_query_export.name=projects/" - + "*/bigQueryExports/*}:\020big_query_export\332A" - + "\034big_query_export,update_mask\022\244\002\n\023ListBi" - + "gQueryExports\022:.google.cloud.securitycen" - + "ter.v1.ListBigQueryExportsRequest\032;.goog" - + "le.cloud.securitycenter.v1.ListBigQueryE" - + "xportsResponse\"\223\001\202\323\344\223\002\203\001\022,/v1/{parent=or" - + "ganizations/*}/bigQueryExportsZ(\022&/v1/{p" - + "arent=folders/*}/bigQueryExportsZ)\022\'/v1/" - + "{parent=projects/*}/bigQueryExports\332A\006pa" - + "rent\032Q\312A\035securitycenter.googleapis.com\322A" - + ".https://www.googleapis.com/auth/cloud-p" - + "latformB\332\001\n\"com.google.cloud.securitycen" - + "ter.v1P\001ZLgoogle.golang.org/genproto/goo" - + "gleapis/cloud/securitycenter/v1;security" - + "center\252\002\036Google.Cloud.SecurityCenter.V1\312" - + "\002\036Google\\Cloud\\SecurityCenter\\V1\352\002!Googl" - + "e::Cloud::SecurityCenter::V1P\000b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.cloud.securitycenter.v1.RunAssetDiscoveryResponseOuterClass - .getDescriptor(), - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.securitycenter.v1.AssetOuterClass.getDescriptor(), - com.google.cloud.securitycenter.v1.BigQueryExportProto.getDescriptor(), - com.google.cloud.securitycenter.v1.ExternalSystemProto.getDescriptor(), - com.google.cloud.securitycenter.v1.FindingOuterClass.getDescriptor(), - com.google.cloud.securitycenter.v1.FolderProto.getDescriptor(), - com.google.cloud.securitycenter.v1.MuteConfigProto.getDescriptor(), - com.google.cloud.securitycenter.v1.NotificationConfigProto.getDescriptor(), - com.google.cloud.securitycenter.v1.OrganizationSettingsOuterClass.getDescriptor(), - com.google.cloud.securitycenter.v1.SecurityMarksOuterClass.getDescriptor(), - com.google.cloud.securitycenter.v1.SourceOuterClass.getDescriptor(), - com.google.iam.v1.IamPolicyProto.getDescriptor(), - com.google.iam.v1.PolicyProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.StructProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_securitycenter_v1_BulkMuteFindingsRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_securitycenter_v1_BulkMuteFindingsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1_BulkMuteFindingsRequest_descriptor, - new java.lang.String[] { - "Parent", "Filter", "MuteAnnotation", - }); - internal_static_google_cloud_securitycenter_v1_BulkMuteFindingsResponse_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_securitycenter_v1_BulkMuteFindingsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1_BulkMuteFindingsResponse_descriptor, - new java.lang.String[] {}); - internal_static_google_cloud_securitycenter_v1_CreateFindingRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_securitycenter_v1_CreateFindingRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1_CreateFindingRequest_descriptor, - new java.lang.String[] { - "Parent", "FindingId", "Finding", - }); - internal_static_google_cloud_securitycenter_v1_CreateMuteConfigRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_securitycenter_v1_CreateMuteConfigRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1_CreateMuteConfigRequest_descriptor, - new java.lang.String[] { - "Parent", "MuteConfig", "MuteConfigId", - }); - internal_static_google_cloud_securitycenter_v1_CreateNotificationConfigRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_securitycenter_v1_CreateNotificationConfigRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1_CreateNotificationConfigRequest_descriptor, - new java.lang.String[] { - "Parent", "ConfigId", "NotificationConfig", - }); - internal_static_google_cloud_securitycenter_v1_CreateSourceRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_securitycenter_v1_CreateSourceRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1_CreateSourceRequest_descriptor, - new java.lang.String[] { - "Parent", "Source", - }); - internal_static_google_cloud_securitycenter_v1_DeleteMuteConfigRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_securitycenter_v1_DeleteMuteConfigRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1_DeleteMuteConfigRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_securitycenter_v1_DeleteNotificationConfigRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_securitycenter_v1_DeleteNotificationConfigRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1_DeleteNotificationConfigRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_securitycenter_v1_GetBigQueryExportRequest_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_securitycenter_v1_GetBigQueryExportRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1_GetBigQueryExportRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_securitycenter_v1_GetMuteConfigRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_securitycenter_v1_GetMuteConfigRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1_GetMuteConfigRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_securitycenter_v1_GetNotificationConfigRequest_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_securitycenter_v1_GetNotificationConfigRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1_GetNotificationConfigRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_securitycenter_v1_GetOrganizationSettingsRequest_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_securitycenter_v1_GetOrganizationSettingsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1_GetOrganizationSettingsRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_securitycenter_v1_GetSourceRequest_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_securitycenter_v1_GetSourceRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1_GetSourceRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_securitycenter_v1_GroupAssetsRequest_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_securitycenter_v1_GroupAssetsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1_GroupAssetsRequest_descriptor, - new java.lang.String[] { - "Parent", "Filter", "GroupBy", "CompareDuration", "ReadTime", "PageToken", "PageSize", - }); - internal_static_google_cloud_securitycenter_v1_GroupAssetsResponse_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_cloud_securitycenter_v1_GroupAssetsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1_GroupAssetsResponse_descriptor, - new java.lang.String[] { - "GroupByResults", "ReadTime", "NextPageToken", "TotalSize", - }); - internal_static_google_cloud_securitycenter_v1_GroupFindingsRequest_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_cloud_securitycenter_v1_GroupFindingsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1_GroupFindingsRequest_descriptor, - new java.lang.String[] { - "Parent", "Filter", "GroupBy", "ReadTime", "CompareDuration", "PageToken", "PageSize", - }); - internal_static_google_cloud_securitycenter_v1_GroupFindingsResponse_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_cloud_securitycenter_v1_GroupFindingsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1_GroupFindingsResponse_descriptor, - new java.lang.String[] { - "GroupByResults", "ReadTime", "NextPageToken", "TotalSize", - }); - internal_static_google_cloud_securitycenter_v1_GroupResult_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_cloud_securitycenter_v1_GroupResult_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1_GroupResult_descriptor, - new java.lang.String[] { - "Properties", "Count", - }); - internal_static_google_cloud_securitycenter_v1_GroupResult_PropertiesEntry_descriptor = - internal_static_google_cloud_securitycenter_v1_GroupResult_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_securitycenter_v1_GroupResult_PropertiesEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1_GroupResult_PropertiesEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_securitycenter_v1_ListMuteConfigsRequest_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_cloud_securitycenter_v1_ListMuteConfigsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1_ListMuteConfigsRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", - }); - internal_static_google_cloud_securitycenter_v1_ListMuteConfigsResponse_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_google_cloud_securitycenter_v1_ListMuteConfigsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1_ListMuteConfigsResponse_descriptor, - new java.lang.String[] { - "MuteConfigs", "NextPageToken", - }); - internal_static_google_cloud_securitycenter_v1_ListNotificationConfigsRequest_descriptor = - getDescriptor().getMessageTypes().get(20); - internal_static_google_cloud_securitycenter_v1_ListNotificationConfigsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1_ListNotificationConfigsRequest_descriptor, - new java.lang.String[] { - "Parent", "PageToken", "PageSize", - }); - internal_static_google_cloud_securitycenter_v1_ListNotificationConfigsResponse_descriptor = - getDescriptor().getMessageTypes().get(21); - internal_static_google_cloud_securitycenter_v1_ListNotificationConfigsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1_ListNotificationConfigsResponse_descriptor, - new java.lang.String[] { - "NotificationConfigs", "NextPageToken", - }); - internal_static_google_cloud_securitycenter_v1_ListSourcesRequest_descriptor = - getDescriptor().getMessageTypes().get(22); - internal_static_google_cloud_securitycenter_v1_ListSourcesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1_ListSourcesRequest_descriptor, - new java.lang.String[] { - "Parent", "PageToken", "PageSize", - }); - internal_static_google_cloud_securitycenter_v1_ListSourcesResponse_descriptor = - getDescriptor().getMessageTypes().get(23); - internal_static_google_cloud_securitycenter_v1_ListSourcesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1_ListSourcesResponse_descriptor, - new java.lang.String[] { - "Sources", "NextPageToken", - }); - internal_static_google_cloud_securitycenter_v1_ListAssetsRequest_descriptor = - getDescriptor().getMessageTypes().get(24); - internal_static_google_cloud_securitycenter_v1_ListAssetsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1_ListAssetsRequest_descriptor, - new java.lang.String[] { - "Parent", - "Filter", - "OrderBy", - "ReadTime", - "CompareDuration", - "FieldMask", - "PageToken", - "PageSize", - }); - internal_static_google_cloud_securitycenter_v1_ListAssetsResponse_descriptor = - getDescriptor().getMessageTypes().get(25); - internal_static_google_cloud_securitycenter_v1_ListAssetsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1_ListAssetsResponse_descriptor, - new java.lang.String[] { - "ListAssetsResults", "ReadTime", "NextPageToken", "TotalSize", - }); - internal_static_google_cloud_securitycenter_v1_ListAssetsResponse_ListAssetsResult_descriptor = - internal_static_google_cloud_securitycenter_v1_ListAssetsResponse_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_securitycenter_v1_ListAssetsResponse_ListAssetsResult_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1_ListAssetsResponse_ListAssetsResult_descriptor, - new java.lang.String[] { - "Asset", "StateChange", - }); - internal_static_google_cloud_securitycenter_v1_ListFindingsRequest_descriptor = - getDescriptor().getMessageTypes().get(26); - internal_static_google_cloud_securitycenter_v1_ListFindingsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1_ListFindingsRequest_descriptor, - new java.lang.String[] { - "Parent", - "Filter", - "OrderBy", - "ReadTime", - "CompareDuration", - "FieldMask", - "PageToken", - "PageSize", - }); - internal_static_google_cloud_securitycenter_v1_ListFindingsResponse_descriptor = - getDescriptor().getMessageTypes().get(27); - internal_static_google_cloud_securitycenter_v1_ListFindingsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1_ListFindingsResponse_descriptor, - new java.lang.String[] { - "ListFindingsResults", "ReadTime", "NextPageToken", "TotalSize", - }); - internal_static_google_cloud_securitycenter_v1_ListFindingsResponse_ListFindingsResult_descriptor = - internal_static_google_cloud_securitycenter_v1_ListFindingsResponse_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_securitycenter_v1_ListFindingsResponse_ListFindingsResult_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1_ListFindingsResponse_ListFindingsResult_descriptor, - new java.lang.String[] { - "Finding", "StateChange", "Resource", - }); - internal_static_google_cloud_securitycenter_v1_ListFindingsResponse_ListFindingsResult_Resource_descriptor = - internal_static_google_cloud_securitycenter_v1_ListFindingsResponse_ListFindingsResult_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_securitycenter_v1_ListFindingsResponse_ListFindingsResult_Resource_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1_ListFindingsResponse_ListFindingsResult_Resource_descriptor, - new java.lang.String[] { - "Name", - "DisplayName", - "Type", - "ProjectName", - "ProjectDisplayName", - "ParentName", - "ParentDisplayName", - "Folders", - }); - internal_static_google_cloud_securitycenter_v1_SetFindingStateRequest_descriptor = - getDescriptor().getMessageTypes().get(28); - internal_static_google_cloud_securitycenter_v1_SetFindingStateRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1_SetFindingStateRequest_descriptor, - new java.lang.String[] { - "Name", "State", "StartTime", - }); - internal_static_google_cloud_securitycenter_v1_SetMuteRequest_descriptor = - getDescriptor().getMessageTypes().get(29); - internal_static_google_cloud_securitycenter_v1_SetMuteRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1_SetMuteRequest_descriptor, - new java.lang.String[] { - "Name", "Mute", - }); - internal_static_google_cloud_securitycenter_v1_RunAssetDiscoveryRequest_descriptor = - getDescriptor().getMessageTypes().get(30); - internal_static_google_cloud_securitycenter_v1_RunAssetDiscoveryRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1_RunAssetDiscoveryRequest_descriptor, - new java.lang.String[] { - "Parent", - }); - internal_static_google_cloud_securitycenter_v1_UpdateExternalSystemRequest_descriptor = - getDescriptor().getMessageTypes().get(31); - internal_static_google_cloud_securitycenter_v1_UpdateExternalSystemRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1_UpdateExternalSystemRequest_descriptor, - new java.lang.String[] { - "ExternalSystem", "UpdateMask", - }); - internal_static_google_cloud_securitycenter_v1_UpdateFindingRequest_descriptor = - getDescriptor().getMessageTypes().get(32); - internal_static_google_cloud_securitycenter_v1_UpdateFindingRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1_UpdateFindingRequest_descriptor, - new java.lang.String[] { - "Finding", "UpdateMask", - }); - internal_static_google_cloud_securitycenter_v1_UpdateMuteConfigRequest_descriptor = - getDescriptor().getMessageTypes().get(33); - internal_static_google_cloud_securitycenter_v1_UpdateMuteConfigRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1_UpdateMuteConfigRequest_descriptor, - new java.lang.String[] { - "MuteConfig", "UpdateMask", - }); - internal_static_google_cloud_securitycenter_v1_UpdateNotificationConfigRequest_descriptor = - getDescriptor().getMessageTypes().get(34); - internal_static_google_cloud_securitycenter_v1_UpdateNotificationConfigRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1_UpdateNotificationConfigRequest_descriptor, - new java.lang.String[] { - "NotificationConfig", "UpdateMask", - }); - internal_static_google_cloud_securitycenter_v1_UpdateOrganizationSettingsRequest_descriptor = - getDescriptor().getMessageTypes().get(35); - internal_static_google_cloud_securitycenter_v1_UpdateOrganizationSettingsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1_UpdateOrganizationSettingsRequest_descriptor, - new java.lang.String[] { - "OrganizationSettings", "UpdateMask", - }); - internal_static_google_cloud_securitycenter_v1_UpdateSourceRequest_descriptor = - getDescriptor().getMessageTypes().get(36); - internal_static_google_cloud_securitycenter_v1_UpdateSourceRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1_UpdateSourceRequest_descriptor, - new java.lang.String[] { - "Source", "UpdateMask", - }); - internal_static_google_cloud_securitycenter_v1_UpdateSecurityMarksRequest_descriptor = - getDescriptor().getMessageTypes().get(37); - internal_static_google_cloud_securitycenter_v1_UpdateSecurityMarksRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1_UpdateSecurityMarksRequest_descriptor, - new java.lang.String[] { - "SecurityMarks", "UpdateMask", "StartTime", - }); - internal_static_google_cloud_securitycenter_v1_CreateBigQueryExportRequest_descriptor = - getDescriptor().getMessageTypes().get(38); - internal_static_google_cloud_securitycenter_v1_CreateBigQueryExportRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1_CreateBigQueryExportRequest_descriptor, - new java.lang.String[] { - "Parent", "BigQueryExport", "BigQueryExportId", - }); - internal_static_google_cloud_securitycenter_v1_UpdateBigQueryExportRequest_descriptor = - getDescriptor().getMessageTypes().get(39); - internal_static_google_cloud_securitycenter_v1_UpdateBigQueryExportRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1_UpdateBigQueryExportRequest_descriptor, - new java.lang.String[] { - "BigQueryExport", "UpdateMask", - }); - internal_static_google_cloud_securitycenter_v1_ListBigQueryExportsRequest_descriptor = - getDescriptor().getMessageTypes().get(40); - internal_static_google_cloud_securitycenter_v1_ListBigQueryExportsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1_ListBigQueryExportsRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", - }); - internal_static_google_cloud_securitycenter_v1_ListBigQueryExportsResponse_descriptor = - getDescriptor().getMessageTypes().get(41); - internal_static_google_cloud_securitycenter_v1_ListBigQueryExportsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1_ListBigQueryExportsResponse_descriptor, - new java.lang.String[] { - "BigQueryExports", "NextPageToken", - }); - internal_static_google_cloud_securitycenter_v1_DeleteBigQueryExportRequest_descriptor = - getDescriptor().getMessageTypes().get(42); - internal_static_google_cloud_securitycenter_v1_DeleteBigQueryExportRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1_DeleteBigQueryExportRequest_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); - registry.add(com.google.longrunning.OperationsProto.operationInfo); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.cloud.securitycenter.v1.RunAssetDiscoveryResponseOuterClass.getDescriptor(); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.securitycenter.v1.AssetOuterClass.getDescriptor(); - com.google.cloud.securitycenter.v1.BigQueryExportProto.getDescriptor(); - com.google.cloud.securitycenter.v1.ExternalSystemProto.getDescriptor(); - com.google.cloud.securitycenter.v1.FindingOuterClass.getDescriptor(); - com.google.cloud.securitycenter.v1.FolderProto.getDescriptor(); - com.google.cloud.securitycenter.v1.MuteConfigProto.getDescriptor(); - com.google.cloud.securitycenter.v1.NotificationConfigProto.getDescriptor(); - com.google.cloud.securitycenter.v1.OrganizationSettingsOuterClass.getDescriptor(); - com.google.cloud.securitycenter.v1.SecurityMarksOuterClass.getDescriptor(); - com.google.cloud.securitycenter.v1.SourceOuterClass.getDescriptor(); - com.google.iam.v1.IamPolicyProto.getDescriptor(); - com.google.iam.v1.PolicyProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.protobuf.StructProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/SetMuteRequestOrBuilder.java b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/SetMuteRequestOrBuilder.java deleted file mode 100644 index 317dcd3f1edd..000000000000 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/SetMuteRequestOrBuilder.java +++ /dev/null @@ -1,93 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/securitycenter/v1/securitycenter_service.proto - -package com.google.cloud.securitycenter.v1; - -public interface SetMuteRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.securitycenter.v1.SetMuteRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The relative resource name of the finding. See:
-   * https://cloud.google.com/apis/design/resource_names#relative_resource_name
-   * Example:
-   * "organizations/{organization_id}/sources/{source_id}/finding/{finding_id}",
-   * "folders/{folder_id}/sources/{source_id}/finding/{finding_id}",
-   * "projects/{project_id}/sources/{source_id}/finding/{finding_id}".
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The relative resource name of the finding. See:
-   * https://cloud.google.com/apis/design/resource_names#relative_resource_name
-   * Example:
-   * "organizations/{organization_id}/sources/{source_id}/finding/{finding_id}",
-   * "folders/{folder_id}/sources/{source_id}/finding/{finding_id}",
-   * "projects/{project_id}/sources/{source_id}/finding/{finding_id}".
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); - - /** - * - * - *
-   * Required. The desired state of the Mute.
-   * 
- * - * - * .google.cloud.securitycenter.v1.Finding.Mute mute = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return The enum numeric value on the wire for mute. - */ - int getMuteValue(); - /** - * - * - *
-   * Required. The desired state of the Mute.
-   * 
- * - * - * .google.cloud.securitycenter.v1.Finding.Mute mute = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return The mute. - */ - com.google.cloud.securitycenter.v1.Finding.Mute getMute(); -} diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/SourceOuterClass.java b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/SourceOuterClass.java deleted file mode 100644 index f1760010d51c..000000000000 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/SourceOuterClass.java +++ /dev/null @@ -1,82 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/securitycenter/v1/source.proto - -package com.google.cloud.securitycenter.v1; - -public final class SourceOuterClass { - private SourceOuterClass() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public 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_securitycenter_v1_Source_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1_Source_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n+google/cloud/securitycenter/v1/source." - + "proto\022\036google.cloud.securitycenter.v1\032\031g" - + "oogle/api/resource.proto\"\375\001\n\006Source\022\014\n\004n" - + "ame\030\001 \001(\t\022\024\n\014display_name\030\002 \001(\t\022\023\n\013descr" - + "iption\030\003 \001(\t\022\026\n\016canonical_name\030\016 \001(\t:\241\001\352" - + "A\235\001\n$securitycenter.googleapis.com/Sourc" - + "e\022-organizations/{organization}/sources/" - + "{source}\022!folders/{folder}/sources/{sour" - + "ce}\022#projects/{project}/sources/{source}" - + "B\332\001\n\"com.google.cloud.securitycenter.v1P" - + "\001ZLgoogle.golang.org/genproto/googleapis" - + "/cloud/securitycenter/v1;securitycenter\252" - + "\002\036Google.Cloud.SecurityCenter.V1\312\002\036Googl" - + "e\\Cloud\\SecurityCenter\\V1\352\002!Google::Clou" - + "d::SecurityCenter::V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.ResourceProto.getDescriptor(), - }); - internal_static_google_cloud_securitycenter_v1_Source_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_securitycenter_v1_Source_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1_Source_descriptor, - new java.lang.String[] { - "Name", "DisplayName", "Description", "CanonicalName", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.ResourceProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/VulnerabilityProto.java b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/VulnerabilityProto.java deleted file mode 100644 index 7b1022368a95..000000000000 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/VulnerabilityProto.java +++ /dev/null @@ -1,151 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/securitycenter/v1/vulnerability.proto - -package com.google.cloud.securitycenter.v1; - -public final class VulnerabilityProto { - private VulnerabilityProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public 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_securitycenter_v1_Vulnerability_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1_Vulnerability_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1_Cve_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1_Cve_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1_Reference_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1_Reference_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1_Cvssv3_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1_Cvssv3_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n2google/cloud/securitycenter/v1/vulnera" - + "bility.proto\022\036google.cloud.securitycente" - + "r.v1\"A\n\rVulnerability\0220\n\003cve\030\001 \001(\0132#.goo" - + "gle.cloud.securitycenter.v1.Cve\"\250\001\n\003Cve\022" - + "\n\n\002id\030\001 \001(\t\022=\n\nreferences\030\002 \003(\0132).google" - + ".cloud.securitycenter.v1.Reference\0226\n\006cv" - + "ssv3\030\003 \001(\0132&.google.cloud.securitycenter" - + ".v1.Cvssv3\022\036\n\026upstream_fix_available\030\004 \001" - + "(\010\"(\n\tReference\022\016\n\006source\030\001 \001(\t\022\013\n\003uri\030\002" - + " \001(\t\"\261\n\n\006Cvssv3\022\022\n\nbase_score\030\001 \001(\001\022J\n\ra" - + "ttack_vector\030\005 \001(\01623.google.cloud.securi" - + "tycenter.v1.Cvssv3.AttackVector\022R\n\021attac" - + "k_complexity\030\006 \001(\01627.google.cloud.securi" - + "tycenter.v1.Cvssv3.AttackComplexity\022V\n\023p" - + "rivileges_required\030\007 \001(\01629.google.cloud." - + "securitycenter.v1.Cvssv3.PrivilegesRequi" - + "red\022P\n\020user_interaction\030\010 \001(\01626.google.c" - + "loud.securitycenter.v1.Cvssv3.UserIntera" - + "ction\022;\n\005scope\030\t \001(\0162,.google.cloud.secu" - + "ritycenter.v1.Cvssv3.Scope\022M\n\026confidenti" - + "ality_impact\030\n \001(\0162-.google.cloud.securi" - + "tycenter.v1.Cvssv3.Impact\022G\n\020integrity_i" - + "mpact\030\013 \001(\0162-.google.cloud.securitycente" - + "r.v1.Cvssv3.Impact\022J\n\023availability_impac" - + "t\030\014 \001(\0162-.google.cloud.securitycenter.v1" - + ".Cvssv3.Impact\"\231\001\n\014AttackVector\022\035\n\031ATTAC" - + "K_VECTOR_UNSPECIFIED\020\000\022\031\n\025ATTACK_VECTOR_" - + "NETWORK\020\001\022\032\n\026ATTACK_VECTOR_ADJACENT\020\002\022\027\n" - + "\023ATTACK_VECTOR_LOCAL\020\003\022\032\n\026ATTACK_VECTOR_" - + "PHYSICAL\020\004\"l\n\020AttackComplexity\022!\n\035ATTACK" - + "_COMPLEXITY_UNSPECIFIED\020\000\022\031\n\025ATTACK_COMP" - + "LEXITY_LOW\020\001\022\032\n\026ATTACK_COMPLEXITY_HIGH\020\002" - + "\"\222\001\n\022PrivilegesRequired\022#\n\037PRIVILEGES_RE" - + "QUIRED_UNSPECIFIED\020\000\022\034\n\030PRIVILEGES_REQUI" - + "RED_NONE\020\001\022\033\n\027PRIVILEGES_REQUIRED_LOW\020\002\022" - + "\034\n\030PRIVILEGES_REQUIRED_HIGH\020\003\"m\n\017UserInt" - + "eraction\022 \n\034USER_INTERACTION_UNSPECIFIED" - + "\020\000\022\031\n\025USER_INTERACTION_NONE\020\001\022\035\n\031USER_IN" - + "TERACTION_REQUIRED\020\002\"F\n\005Scope\022\025\n\021SCOPE_U" - + "NSPECIFIED\020\000\022\023\n\017SCOPE_UNCHANGED\020\001\022\021\n\rSCO" - + "PE_CHANGED\020\002\"R\n\006Impact\022\026\n\022IMPACT_UNSPECI" - + "FIED\020\000\022\017\n\013IMPACT_HIGH\020\001\022\016\n\nIMPACT_LOW\020\002\022" - + "\017\n\013IMPACT_NONE\020\003B\356\001\n\"com.google.cloud.se" - + "curitycenter.v1B\022VulnerabilityProtoP\001ZLg" - + "oogle.golang.org/genproto/googleapis/clo" - + "ud/securitycenter/v1;securitycenter\252\002\036Go" - + "ogle.Cloud.SecurityCenter.V1\312\002\036Google\\Cl" - + "oud\\SecurityCenter\\V1\352\002!Google::Cloud::S" - + "ecurityCenter::V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); - internal_static_google_cloud_securitycenter_v1_Vulnerability_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_securitycenter_v1_Vulnerability_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1_Vulnerability_descriptor, - new java.lang.String[] { - "Cve", - }); - internal_static_google_cloud_securitycenter_v1_Cve_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_securitycenter_v1_Cve_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1_Cve_descriptor, - new java.lang.String[] { - "Id", "References", "Cvssv3", "UpstreamFixAvailable", - }); - internal_static_google_cloud_securitycenter_v1_Reference_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_securitycenter_v1_Reference_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1_Reference_descriptor, - new java.lang.String[] { - "Source", "Uri", - }); - internal_static_google_cloud_securitycenter_v1_Cvssv3_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_securitycenter_v1_Cvssv3_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1_Cvssv3_descriptor, - new java.lang.String[] { - "BaseScore", - "AttackVector", - "AttackComplexity", - "PrivilegesRequired", - "UserInteraction", - "Scope", - "ConfidentialityImpact", - "IntegrityImpact", - "AvailabilityImpact", - }); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/AssetOuterClass.java b/java-securitycenter/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/AssetOuterClass.java deleted file mode 100644 index 7a3352ef6762..000000000000 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/AssetOuterClass.java +++ /dev/null @@ -1,138 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/securitycenter/v1beta1/asset.proto - -package com.google.cloud.securitycenter.v1beta1; - -public final class AssetOuterClass { - private AssetOuterClass() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public 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_securitycenter_v1beta1_Asset_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1beta1_Asset_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1beta1_Asset_SecurityCenterProperties_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1beta1_Asset_SecurityCenterProperties_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1beta1_Asset_ResourcePropertiesEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1beta1_Asset_ResourcePropertiesEntry_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n/google/cloud/securitycenter/v1beta1/as" - + "set.proto\022#google.cloud.securitycenter.v" - + "1beta1\032\037google/api/field_behavior.proto\032" - + "\031google/api/resource.proto\0328google/cloud" - + "/securitycenter/v1beta1/security_marks.p" - + "roto\032\034google/protobuf/struct.proto\032\037goog" - + "le/protobuf/timestamp.proto\"\323\005\n\005Asset\022\014\n" - + "\004name\030\001 \001(\t\022g\n\032security_center_propertie" - + "s\030\002 \001(\0132C.google.cloud.securitycenter.v1" - + "beta1.Asset.SecurityCenterProperties\022_\n\023" - + "resource_properties\030\007 \003(\0132B.google.cloud" - + ".securitycenter.v1beta1.Asset.ResourcePr" - + "opertiesEntry\022J\n\016security_marks\030\010 \001(\01322." - + "google.cloud.securitycenter.v1beta1.Secu" - + "rityMarks\022/\n\013create_time\030\t \001(\0132\032.google." - + "protobuf.Timestamp\022/\n\013update_time\030\n \001(\0132" - + "\032.google.protobuf.Timestamp\032\231\001\n\030Security" - + "CenterProperties\022\032\n\rresource_name\030\001 \001(\tB" - + "\003\340A\005\022\025\n\rresource_type\030\002 \001(\t\022\027\n\017resource_" - + "parent\030\003 \001(\t\022\030\n\020resource_project\030\004 \001(\t\022\027" - + "\n\017resource_owners\030\005 \003(\t\032Q\n\027ResourcePrope" - + "rtiesEntry\022\013\n\003key\030\001 \001(\t\022%\n\005value\030\002 \001(\0132\026" - + ".google.protobuf.Value:\0028\001:U\352AR\n#securit" - + "ycenter.googleapis.com/Asset\022+organizati" - + "ons/{organization}/assets/{asset}B~\n\'com" - + ".google.cloud.securitycenter.v1beta1P\001ZQ" - + "google.golang.org/genproto/googleapis/cl" - + "oud/securitycenter/v1beta1;securitycente" - + "rb\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.cloud.securitycenter.v1beta1.SecurityMarksOuterClass.getDescriptor(), - com.google.protobuf.StructProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_securitycenter_v1beta1_Asset_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_securitycenter_v1beta1_Asset_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1beta1_Asset_descriptor, - new java.lang.String[] { - "Name", - "SecurityCenterProperties", - "ResourceProperties", - "SecurityMarks", - "CreateTime", - "UpdateTime", - }); - internal_static_google_cloud_securitycenter_v1beta1_Asset_SecurityCenterProperties_descriptor = - internal_static_google_cloud_securitycenter_v1beta1_Asset_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_securitycenter_v1beta1_Asset_SecurityCenterProperties_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1beta1_Asset_SecurityCenterProperties_descriptor, - new java.lang.String[] { - "ResourceName", "ResourceType", "ResourceParent", "ResourceProject", "ResourceOwners", - }); - internal_static_google_cloud_securitycenter_v1beta1_Asset_ResourcePropertiesEntry_descriptor = - internal_static_google_cloud_securitycenter_v1beta1_Asset_descriptor - .getNestedTypes() - .get(1); - internal_static_google_cloud_securitycenter_v1beta1_Asset_ResourcePropertiesEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1beta1_Asset_ResourcePropertiesEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - 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.cloud.securitycenter.v1beta1.SecurityMarksOuterClass.getDescriptor(); - com.google.protobuf.StructProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/FindingOuterClass.java b/java-securitycenter/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/FindingOuterClass.java deleted file mode 100644 index dab6e23eb147..000000000000 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/FindingOuterClass.java +++ /dev/null @@ -1,127 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/securitycenter/v1beta1/finding.proto - -package com.google.cloud.securitycenter.v1beta1; - -public final class FindingOuterClass { - private FindingOuterClass() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public 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_securitycenter_v1beta1_Finding_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1beta1_Finding_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1beta1_Finding_SourcePropertiesEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1beta1_Finding_SourcePropertiesEntry_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n1google/cloud/securitycenter/v1beta1/fi" - + "nding.proto\022#google.cloud.securitycenter" - + ".v1beta1\032\037google/api/field_behavior.prot" - + "o\032\031google/api/resource.proto\0328google/clo" - + "ud/securitycenter/v1beta1/security_marks" - + ".proto\032\034google/protobuf/struct.proto\032\037go" - + "ogle/protobuf/timestamp.proto\"\270\005\n\007Findin" - + "g\022\014\n\004name\030\001 \001(\t\022\023\n\006parent\030\002 \001(\tB\003\340A\005\022\025\n\r" - + "resource_name\030\003 \001(\t\022A\n\005state\030\004 \001(\01622.goo" - + "gle.cloud.securitycenter.v1beta1.Finding" - + ".State\022\020\n\010category\030\005 \001(\t\022\024\n\014external_uri" - + "\030\006 \001(\t\022]\n\021source_properties\030\007 \003(\0132B.goog" - + "le.cloud.securitycenter.v1beta1.Finding." - + "SourcePropertiesEntry\022O\n\016security_marks\030" - + "\010 \001(\01322.google.cloud.securitycenter.v1be" - + "ta1.SecurityMarksB\003\340A\003\022.\n\nevent_time\030\t \001" - + "(\0132\032.google.protobuf.Timestamp\022/\n\013create" - + "_time\030\n \001(\0132\032.google.protobuf.Timestamp\032" - + "O\n\025SourcePropertiesEntry\022\013\n\003key\030\001 \001(\t\022%\n" - + "\005value\030\002 \001(\0132\026.google.protobuf.Value:\0028\001" - + "\"8\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\n\n\006ACTI" - + "VE\020\001\022\014\n\010INACTIVE\020\002:l\352Ai\n%securitycenter." - + "googleapis.com/Finding\022@organizations/{o" - + "rganization}/sources/{source}/findings/{" - + "finding}B~\n\'com.google.cloud.securitycen" - + "ter.v1beta1P\001ZQgoogle.golang.org/genprot" - + "o/googleapis/cloud/securitycenter/v1beta" - + "1;securitycenterb\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.cloud.securitycenter.v1beta1.SecurityMarksOuterClass.getDescriptor(), - com.google.protobuf.StructProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_securitycenter_v1beta1_Finding_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_securitycenter_v1beta1_Finding_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1beta1_Finding_descriptor, - new java.lang.String[] { - "Name", - "Parent", - "ResourceName", - "State", - "Category", - "ExternalUri", - "SourceProperties", - "SecurityMarks", - "EventTime", - "CreateTime", - }); - internal_static_google_cloud_securitycenter_v1beta1_Finding_SourcePropertiesEntry_descriptor = - internal_static_google_cloud_securitycenter_v1beta1_Finding_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_securitycenter_v1beta1_Finding_SourcePropertiesEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1beta1_Finding_SourcePropertiesEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - 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.cloud.securitycenter.v1beta1.SecurityMarksOuterClass.getDescriptor(); - com.google.protobuf.StructProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/GetOrganizationSettingsRequestOrBuilder.java b/java-securitycenter/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/GetOrganizationSettingsRequestOrBuilder.java deleted file mode 100644 index e58409834596..000000000000 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/GetOrganizationSettingsRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/securitycenter/v1beta1/securitycenter_service.proto - -package com.google.cloud.securitycenter.v1beta1; - -public interface GetOrganizationSettingsRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.securitycenter.v1beta1.GetOrganizationSettingsRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. Name of the organization to get organization settings for. Its format is
-   * "organizations/[organization_id]/organizationSettings".
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. Name of the organization to get organization settings for. Its format is
-   * "organizations/[organization_id]/organizationSettings".
-   * 
- * - * - * 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-securitycenter/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/GetSourceRequestOrBuilder.java b/java-securitycenter/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/GetSourceRequestOrBuilder.java deleted file mode 100644 index 777ba98c7535..000000000000 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/GetSourceRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/securitycenter/v1beta1/securitycenter_service.proto - -package com.google.cloud.securitycenter.v1beta1; - -public interface GetSourceRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.securitycenter.v1beta1.GetSourceRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. Relative resource name of the source. Its format is
-   * "organizations/[organization_id]/source/[source_id]".
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. Relative resource name of the source. Its format is
-   * "organizations/[organization_id]/source/[source_id]".
-   * 
- * - * - * 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-securitycenter/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/OrganizationSettingsOuterClass.java b/java-securitycenter/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/OrganizationSettingsOuterClass.java deleted file mode 100644 index 81d790175009..000000000000 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/OrganizationSettingsOuterClass.java +++ /dev/null @@ -1,101 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/securitycenter/v1beta1/organization_settings.proto - -package com.google.cloud.securitycenter.v1beta1; - -public final class OrganizationSettingsOuterClass { - private OrganizationSettingsOuterClass() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public 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_securitycenter_v1beta1_OrganizationSettings_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1beta1_OrganizationSettings_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1beta1_OrganizationSettings_AssetDiscoveryConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1beta1_OrganizationSettings_AssetDiscoveryConfig_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n?google/cloud/securitycenter/v1beta1/or" - + "ganization_settings.proto\022#google.cloud." - + "securitycenter.v1beta1\032\031google/api/resou" - + "rce.proto\"\224\004\n\024OrganizationSettings\022\014\n\004na" - + "me\030\001 \001(\t\022\036\n\026enable_asset_discovery\030\002 \001(\010" - + "\022n\n\026asset_discovery_config\030\003 \001(\0132N.googl" - + "e.cloud.securitycenter.v1beta1.Organizat" - + "ionSettings.AssetDiscoveryConfig\032\361\001\n\024Ass" - + "etDiscoveryConfig\022\023\n\013project_ids\030\001 \003(\t\022t" - + "\n\016inclusion_mode\030\002 \001(\0162\\.google.cloud.se" - + "curitycenter.v1beta1.OrganizationSetting" - + "s.AssetDiscoveryConfig.InclusionMode\"N\n\r" - + "InclusionMode\022\036\n\032INCLUSION_MODE_UNSPECIF" - + "IED\020\000\022\020\n\014INCLUDE_ONLY\020\001\022\013\n\007EXCLUDE\020\002:j\352A" - + "g\n2securitycenter.googleapis.com/Organiz" - + "ationSettings\0221organizations/{organizati" - + "on}/organizationSettingsB~\n\'com.google.c" - + "loud.securitycenter.v1beta1P\001ZQgoogle.go" - + "lang.org/genproto/googleapis/cloud/secur" - + "itycenter/v1beta1;securitycenterb\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.ResourceProto.getDescriptor(), - }); - internal_static_google_cloud_securitycenter_v1beta1_OrganizationSettings_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_securitycenter_v1beta1_OrganizationSettings_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1beta1_OrganizationSettings_descriptor, - new java.lang.String[] { - "Name", "EnableAssetDiscovery", "AssetDiscoveryConfig", - }); - internal_static_google_cloud_securitycenter_v1beta1_OrganizationSettings_AssetDiscoveryConfig_descriptor = - internal_static_google_cloud_securitycenter_v1beta1_OrganizationSettings_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_securitycenter_v1beta1_OrganizationSettings_AssetDiscoveryConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1beta1_OrganizationSettings_AssetDiscoveryConfig_descriptor, - new java.lang.String[] { - "ProjectIds", "InclusionMode", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.ResourceProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/RunAssetDiscoveryRequestOrBuilder.java b/java-securitycenter/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/RunAssetDiscoveryRequestOrBuilder.java deleted file mode 100644 index 583ec4ac6d06..000000000000 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/RunAssetDiscoveryRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/securitycenter/v1beta1/securitycenter_service.proto - -package com.google.cloud.securitycenter.v1beta1; - -public interface RunAssetDiscoveryRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.securitycenter.v1beta1.RunAssetDiscoveryRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. Name of the organization to run asset discovery for. Its format is
-   * "organizations/[organization_id]".
-   * 
- * - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The parent. - */ - java.lang.String getParent(); - /** - * - * - *
-   * Required. Name of the organization to run asset discovery for. Its format is
-   * "organizations/[organization_id]".
-   * 
- * - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for parent. - */ - com.google.protobuf.ByteString getParentBytes(); -} diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/RunAssetDiscoveryResponseOuterClass.java b/java-securitycenter/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/RunAssetDiscoveryResponseOuterClass.java deleted file mode 100644 index d635a4d59736..000000000000 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/RunAssetDiscoveryResponseOuterClass.java +++ /dev/null @@ -1,75 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/securitycenter/v1beta1/run_asset_discovery_response.proto - -package com.google.cloud.securitycenter.v1beta1; - -public final class RunAssetDiscoveryResponseOuterClass { - private RunAssetDiscoveryResponseOuterClass() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public 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_securitycenter_v1beta1_RunAssetDiscoveryResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1beta1_RunAssetDiscoveryResponse_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\nFgoogle/cloud/securitycenter/v1beta1/ru" - + "n_asset_discovery_response.proto\022#google" - + ".cloud.securitycenter.v1beta1\032\036google/pr" - + "otobuf/duration.proto\"\354\001\n\031RunAssetDiscov" - + "eryResponse\022S\n\005state\030\001 \001(\0162D.google.clou" - + "d.securitycenter.v1beta1.RunAssetDiscove" - + "ryResponse.State\022+\n\010duration\030\002 \001(\0132\031.goo" - + "gle.protobuf.Duration\"M\n\005State\022\025\n\021STATE_" - + "UNSPECIFIED\020\000\022\r\n\tCOMPLETED\020\001\022\016\n\nSUPERSED" - + "ED\020\002\022\016\n\nTERMINATED\020\003B~\n\'com.google.cloud" - + ".securitycenter.v1beta1P\001ZQgoogle.golang" - + ".org/genproto/googleapis/cloud/securityc" - + "enter/v1beta1;securitycenterb\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.protobuf.DurationProto.getDescriptor(), - }); - internal_static_google_cloud_securitycenter_v1beta1_RunAssetDiscoveryResponse_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_securitycenter_v1beta1_RunAssetDiscoveryResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1beta1_RunAssetDiscoveryResponse_descriptor, - new java.lang.String[] { - "State", "Duration", - }); - com.google.protobuf.DurationProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/SecurityMarksOuterClass.java b/java-securitycenter/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/SecurityMarksOuterClass.java deleted file mode 100644 index 86d9298df4fd..000000000000 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/SecurityMarksOuterClass.java +++ /dev/null @@ -1,97 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/securitycenter/v1beta1/security_marks.proto - -package com.google.cloud.securitycenter.v1beta1; - -public final class SecurityMarksOuterClass { - private SecurityMarksOuterClass() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public 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_securitycenter_v1beta1_SecurityMarks_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1beta1_SecurityMarks_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1beta1_SecurityMarks_MarksEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1beta1_SecurityMarks_MarksEntry_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/securitycenter/v1beta1/se" - + "curity_marks.proto\022#google.cloud.securit" - + "ycenter.v1beta1\032\031google/api/resource.pro" - + "to\"\330\002\n\rSecurityMarks\022\014\n\004name\030\001 \001(\t\022L\n\005ma" - + "rks\030\002 \003(\0132=.google.cloud.securitycenter." - + "v1beta1.SecurityMarks.MarksEntry\032,\n\nMark" - + "sEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:\274" - + "\001\352A\270\001\n+securitycenter.googleapis.com/Sec" - + "urityMarks\0229organizations/{organization}" - + "/assets/{asset}/securityMarks\022Norganizat" - + "ions/{organization}/sources/{source}/fin" - + "dings/{finding}/securityMarksB~\n\'com.goo" - + "gle.cloud.securitycenter.v1beta1P\001ZQgoog" - + "le.golang.org/genproto/googleapis/cloud/" - + "securitycenter/v1beta1;securitycenterb\006p" - + "roto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.ResourceProto.getDescriptor(), - }); - internal_static_google_cloud_securitycenter_v1beta1_SecurityMarks_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_securitycenter_v1beta1_SecurityMarks_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1beta1_SecurityMarks_descriptor, - new java.lang.String[] { - "Name", "Marks", - }); - internal_static_google_cloud_securitycenter_v1beta1_SecurityMarks_MarksEntry_descriptor = - internal_static_google_cloud_securitycenter_v1beta1_SecurityMarks_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_securitycenter_v1beta1_SecurityMarks_MarksEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1beta1_SecurityMarks_MarksEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.ResourceProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/SecuritycenterService.java b/java-securitycenter/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/SecuritycenterService.java deleted file mode 100644 index a864638fc7be..000000000000 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/SecuritycenterService.java +++ /dev/null @@ -1,600 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/securitycenter/v1beta1/securitycenter_service.proto - -package com.google.cloud.securitycenter.v1beta1; - -public final class SecuritycenterService { - private SecuritycenterService() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public 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_securitycenter_v1beta1_CreateFindingRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1beta1_CreateFindingRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1beta1_CreateSourceRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1beta1_CreateSourceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1beta1_GetOrganizationSettingsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1beta1_GetOrganizationSettingsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1beta1_GetSourceRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1beta1_GetSourceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1beta1_GroupAssetsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1beta1_GroupAssetsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1beta1_GroupAssetsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1beta1_GroupAssetsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1beta1_GroupFindingsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1beta1_GroupFindingsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1beta1_GroupFindingsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1beta1_GroupFindingsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1beta1_GroupResult_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1beta1_GroupResult_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1beta1_GroupResult_PropertiesEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1beta1_GroupResult_PropertiesEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1beta1_ListSourcesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1beta1_ListSourcesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1beta1_ListSourcesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1beta1_ListSourcesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1beta1_ListAssetsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1beta1_ListAssetsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1beta1_ListAssetsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1beta1_ListAssetsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1beta1_ListAssetsResponse_ListAssetsResult_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1beta1_ListAssetsResponse_ListAssetsResult_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1beta1_ListFindingsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1beta1_ListFindingsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1beta1_ListFindingsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1beta1_ListFindingsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1beta1_SetFindingStateRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1beta1_SetFindingStateRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1beta1_RunAssetDiscoveryRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1beta1_RunAssetDiscoveryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1beta1_UpdateFindingRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1beta1_UpdateFindingRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1beta1_UpdateOrganizationSettingsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1beta1_UpdateOrganizationSettingsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1beta1_UpdateSourceRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1beta1_UpdateSourceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1beta1_UpdateSecurityMarksRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1beta1_UpdateSecurityMarksRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n@google/cloud/securitycenter/v1beta1/se" - + "curitycenter_service.proto\022#google.cloud" - + ".securitycenter.v1beta1\032\034google/api/anno" - + "tations.proto\032\027google/api/client.proto\032\037" - + "google/api/field_behavior.proto\032\031google/" - + "api/resource.proto\032/google/cloud/securit" - + "ycenter/v1beta1/asset.proto\0321google/clou" - + "d/securitycenter/v1beta1/finding.proto\032?" - + "google/cloud/securitycenter/v1beta1/orga" - + "nization_settings.proto\0328google/cloud/se" - + "curitycenter/v1beta1/security_marks.prot" - + "o\0320google/cloud/securitycenter/v1beta1/s" - + "ource.proto\032\036google/iam/v1/iam_policy.pr" - + "oto\032\032google/iam/v1/policy.proto\032#google/" - + "longrunning/operations.proto\032\036google/pro" - + "tobuf/duration.proto\032 google/protobuf/fi" - + "eld_mask.proto\032\034google/protobuf/struct.p" - + "roto\032\037google/protobuf/timestamp.proto\"\261\001" - + "\n\024CreateFindingRequest\022<\n\006parent\030\001 \001(\tB," - + "\340A\002\372A&\n$securitycenter.googleapis.com/So" - + "urce\022\027\n\nfinding_id\030\002 \001(\tB\003\340A\002\022B\n\007finding" - + "\030\003 \001(\0132,.google.cloud.securitycenter.v1b" - + "eta1.FindingB\003\340A\002\"\241\001\n\023CreateSourceReques" - + "t\022H\n\006parent\030\001 \001(\tB8\340A\002\372A2\n0cloudresource" - + "manager.googleapis.com/Organization\022@\n\006s" - + "ource\030\002 \001(\0132+.google.cloud.securitycente" - + "r.v1beta1.SourceB\003\340A\002\"j\n\036GetOrganization" - + "SettingsRequest\022H\n\004name\030\001 \001(\tB:\340A\002\372A4\n2s" - + "ecuritycenter.googleapis.com/Organizatio" - + "nSettings\"N\n\020GetSourceRequest\022:\n\004name\030\001 " - + "\001(\tB,\340A\002\372A&\n$securitycenter.googleapis.c" - + "om/Source\"\220\002\n\022GroupAssetsRequest\022H\n\006pare" - + "nt\030\001 \001(\tB8\340A\002\372A2\n0cloudresourcemanager.g" - + "oogleapis.com/Organization\022\016\n\006filter\030\002 \001" - + "(\t\022\025\n\010group_by\030\003 \001(\tB\003\340A\002\0223\n\020compare_dur" - + "ation\030\004 \001(\0132\031.google.protobuf.Duration\022-" - + "\n\tread_time\030\005 \001(\0132\032.google.protobuf.Time" - + "stamp\022\022\n\npage_token\030\007 \001(\t\022\021\n\tpage_size\030\010" - + " \001(\005\"\251\001\n\023GroupAssetsResponse\022J\n\020group_by" - + "_results\030\001 \003(\01320.google.cloud.securityce" - + "nter.v1beta1.GroupResult\022-\n\tread_time\030\002 " - + "\001(\0132\032.google.protobuf.Timestamp\022\027\n\017next_" - + "page_token\030\003 \001(\t\"\321\001\n\024GroupFindingsReques" - + "t\022<\n\006parent\030\001 \001(\tB,\340A\002\372A&\n$securitycente" - + "r.googleapis.com/Source\022\016\n\006filter\030\002 \001(\t\022" - + "\025\n\010group_by\030\003 \001(\tB\003\340A\002\022-\n\tread_time\030\004 \001(" - + "\0132\032.google.protobuf.Timestamp\022\022\n\npage_to" - + "ken\030\005 \001(\t\022\021\n\tpage_size\030\006 \001(\005\"\253\001\n\025GroupFi" - + "ndingsResponse\022J\n\020group_by_results\030\001 \003(\013" - + "20.google.cloud.securitycenter.v1beta1.G" - + "roupResult\022-\n\tread_time\030\002 \001(\0132\032.google.p" - + "rotobuf.Timestamp\022\027\n\017next_page_token\030\003 \001" - + "(\t\"\275\001\n\013GroupResult\022T\n\nproperties\030\001 \003(\0132@" - + ".google.cloud.securitycenter.v1beta1.Gro" - + "upResult.PropertiesEntry\022\r\n\005count\030\002 \001(\003\032" - + "I\n\017PropertiesEntry\022\013\n\003key\030\001 \001(\t\022%\n\005value" - + "\030\002 \001(\0132\026.google.protobuf.Value:\0028\001\"\205\001\n\022L" - + "istSourcesRequest\022H\n\006parent\030\001 \001(\tB8\340A\002\372A" - + "2\n0cloudresourcemanager.googleapis.com/O" - + "rganization\022\022\n\npage_token\030\002 \001(\t\022\021\n\tpage_" - + "size\030\007 \001(\005\"l\n\023ListSourcesResponse\022<\n\007sou" - + "rces\030\001 \003(\0132+.google.cloud.securitycenter" - + ".v1beta1.Source\022\027\n\017next_page_token\030\002 \001(\t" - + "\"\277\002\n\021ListAssetsRequest\022H\n\006parent\030\001 \001(\tB8" - + "\340A\002\372A2\n0cloudresourcemanager.googleapis." - + "com/Organization\022\016\n\006filter\030\002 \001(\t\022\020\n\010orde" - + "r_by\030\003 \001(\t\022-\n\tread_time\030\004 \001(\0132\032.google.p" - + "rotobuf.Timestamp\0223\n\020compare_duration\030\005 " - + "\001(\0132\031.google.protobuf.Duration\0223\n\nfield_" - + "mask\030\007 \001(\0132\032.google.protobuf.FieldMaskB\003" - + "\340A\001\022\022\n\npage_token\030\010 \001(\t\022\021\n\tpage_size\030\t \001" - + "(\005\"\326\003\n\022ListAssetsResponse\022e\n\023list_assets" - + "_results\030\001 \003(\0132H.google.cloud.securityce" - + "nter.v1beta1.ListAssetsResponse.ListAsse" - + "tsResult\022-\n\tread_time\030\002 \001(\0132\032.google.pro" - + "tobuf.Timestamp\022\027\n\017next_page_token\030\003 \001(\t" - + "\022\022\n\ntotal_size\030\004 \001(\005\032\374\001\n\020ListAssetsResul" - + "t\0229\n\005asset\030\001 \001(\0132*.google.cloud.security" - + "center.v1beta1.Asset\022]\n\005state\030\002 \001(\0162N.go" - + "ogle.cloud.securitycenter.v1beta1.ListAs" - + "setsResponse.ListAssetsResult.State\"N\n\005S" - + "tate\022\025\n\021STATE_UNSPECIFIED\020\000\022\n\n\006UNUSED\020\001\022" - + "\t\n\005ADDED\020\002\022\013\n\007REMOVED\020\003\022\n\n\006ACTIVE\020\004\"\200\002\n\023" - + "ListFindingsRequest\022<\n\006parent\030\001 \001(\tB,\340A\002" - + "\372A&\n$securitycenter.googleapis.com/Sourc" - + "e\022\016\n\006filter\030\002 \001(\t\022\020\n\010order_by\030\003 \001(\t\022-\n\tr" - + "ead_time\030\004 \001(\0132\032.google.protobuf.Timesta" - + "mp\0223\n\nfield_mask\030\005 \001(\0132\032.google.protobuf" - + ".FieldMaskB\003\340A\001\022\022\n\npage_token\030\006 \001(\t\022\021\n\tp" - + "age_size\030\007 \001(\005\"\262\001\n\024ListFindingsResponse\022" - + ">\n\010findings\030\001 \003(\0132,.google.cloud.securit" - + "ycenter.v1beta1.Finding\022-\n\tread_time\030\002 \001" - + "(\0132\032.google.protobuf.Timestamp\022\027\n\017next_p" - + "age_token\030\003 \001(\t\022\022\n\ntotal_size\030\004 \001(\005\"\322\001\n\026" - + "SetFindingStateRequest\022;\n\004name\030\001 \001(\tB-\340A" - + "\002\372A\'\n%securitycenter.googleapis.com/Find" - + "ing\022F\n\005state\030\002 \001(\01622.google.cloud.securi" - + "tycenter.v1beta1.Finding.StateB\003\340A\002\0223\n\ns" - + "tart_time\030\003 \001(\0132\032.google.protobuf.Timest" - + "ampB\003\340A\002\"d\n\030RunAssetDiscoveryRequest\022H\n\006" - + "parent\030\001 \001(\tB8\340A\002\372A2\n0cloudresourcemanag" - + "er.googleapis.com/Organization\"\213\001\n\024Updat" - + "eFindingRequest\022B\n\007finding\030\001 \001(\0132,.googl" - + "e.cloud.securitycenter.v1beta1.FindingB\003" - + "\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.google.protob" - + "uf.FieldMask\"\263\001\n!UpdateOrganizationSetti" - + "ngsRequest\022]\n\025organization_settings\030\001 \001(" - + "\01329.google.cloud.securitycenter.v1beta1." - + "OrganizationSettingsB\003\340A\002\022/\n\013update_mask" - + "\030\002 \001(\0132\032.google.protobuf.FieldMask\"\210\001\n\023U" - + "pdateSourceRequest\022@\n\006source\030\001 \001(\0132+.goo" - + "gle.cloud.securitycenter.v1beta1.SourceB" - + "\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.google.proto" - + "buf.FieldMask\"\316\001\n\032UpdateSecurityMarksReq" - + "uest\022O\n\016security_marks\030\001 \001(\01322.google.cl" - + "oud.securitycenter.v1beta1.SecurityMarks" - + "B\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.google.prot" - + "obuf.FieldMask\022.\n\nstart_time\030\003 \001(\0132\032.goo" - + "gle.protobuf.Timestamp2\353\036\n\016SecurityCente" - + "r\022\300\001\n\014CreateSource\0228.google.cloud.securi" - + "tycenter.v1beta1.CreateSourceRequest\032+.g" - + "oogle.cloud.securitycenter.v1beta1.Sourc" - + "e\"I\202\323\344\223\0023\")/v1beta1/{parent=organization" - + "s/*}/sources:\006source\332A\rparent,source\022\333\001\n" - + "\rCreateFinding\0229.google.cloud.securityce" - + "nter.v1beta1.CreateFindingRequest\032,.goog" - + "le.cloud.securitycenter.v1beta1.Finding\"" - + "a\202\323\344\223\002?\"4/v1beta1/{parent=organizations/" - + "*/sources/*}/findings:\007finding\332A\031parent," - + "finding_id,finding\022\233\001\n\014GetIamPolicy\022\".go" - + "ogle.iam.v1.GetIamPolicyRequest\032\025.google" - + ".iam.v1.Policy\"P\202\323\344\223\002?\":/v1beta1/{resour" - + "ce=organizations/*/sources/*}:getIamPoli" - + "cy:\001*\332A\010resource\022\336\001\n\027GetOrganizationSett" - + "ings\022C.google.cloud.securitycenter.v1bet" - + "a1.GetOrganizationSettingsRequest\0329.goog" - + "le.cloud.securitycenter.v1beta1.Organiza" - + "tionSettings\"C\202\323\344\223\0026\0224/v1beta1/{name=org" - + "anizations/*/organizationSettings}\332A\004nam" - + "e\022\251\001\n\tGetSource\0225.google.cloud.securityc" - + "enter.v1beta1.GetSourceRequest\032+.google." - + "cloud.securitycenter.v1beta1.Source\"8\202\323\344" - + "\223\002+\022)/v1beta1/{name=organizations/*/sour" - + "ces/*}\332A\004name\022\273\001\n\013GroupAssets\0227.google.c" - + "loud.securitycenter.v1beta1.GroupAssetsR" - + "equest\0328.google.cloud.securitycenter.v1b" - + "eta1.GroupAssetsResponse\"9\202\323\344\223\0023\"./v1bet" - + "a1/{parent=organizations/*}/assets:group" - + ":\001*\022\337\001\n\rGroupFindings\0229.google.cloud.sec" - + "uritycenter.v1beta1.GroupFindingsRequest" - + "\032:.google.cloud.securitycenter.v1beta1.G" - + "roupFindingsResponse\"W\202\323\344\223\002?\":/v1beta1/{" - + "parent=organizations/*/sources/*}/findin" - + "gs:group:\001*\332A\017parent,group_by\022\257\001\n\nListAs" - + "sets\0226.google.cloud.securitycenter.v1bet" - + "a1.ListAssetsRequest\0327.google.cloud.secu" - + "ritycenter.v1beta1.ListAssetsResponse\"0\202" - + "\323\344\223\002*\022(/v1beta1/{parent=organizations/*}" - + "/assets\022\301\001\n\014ListFindings\0228.google.cloud." - + "securitycenter.v1beta1.ListFindingsReque" - + "st\0329.google.cloud.securitycenter.v1beta1" - + ".ListFindingsResponse\"<\202\323\344\223\0026\0224/v1beta1/" - + "{parent=organizations/*/sources/*}/findi" - + "ngs\022\274\001\n\013ListSources\0227.google.cloud.secur" - + "itycenter.v1beta1.ListSourcesRequest\0328.g" - + "oogle.cloud.securitycenter.v1beta1.ListS" - + "ourcesResponse\":\202\323\344\223\002+\022)/v1beta1/{parent" - + "=organizations/*}/sources\332A\006parent\022\355\001\n\021R" - + "unAssetDiscovery\022=.google.cloud.security" - + "center.v1beta1.RunAssetDiscoveryRequest\032" - + "\035.google.longrunning.Operation\"z\202\323\344\223\002:\"5" - + "/v1beta1/{parent=organizations/*}/assets" - + ":runDiscovery:\001*\332A\006parent\312A.\n\025google.pro" - + "tobuf.Empty\022\025google.protobuf.Empty\022\336\001\n\017S" - + "etFindingState\022;.google.cloud.securityce" - + "nter.v1beta1.SetFindingStateRequest\032,.go" - + "ogle.cloud.securitycenter.v1beta1.Findin" - + "g\"`\202\323\344\223\002B\"=/v1beta1/{name=organizations/" - + "*/sources/*/findings/*}:setState:\001*\332A\025na" - + "me,state,start_time\022\242\001\n\014SetIamPolicy\022\".g" - + "oogle.iam.v1.SetIamPolicyRequest\032\025.googl" - + "e.iam.v1.Policy\"W\202\323\344\223\002?\":/v1beta1/{resou" - + "rce=organizations/*/sources/*}:setIamPol" - + "icy:\001*\332A\017resource,policy\022\315\001\n\022TestIamPerm" - + "issions\022(.google.iam.v1.TestIamPermissio" - + "nsRequest\032).google.iam.v1.TestIamPermiss" - + "ionsResponse\"b\202\323\344\223\002E\"@/v1beta1/{resource" - + "=organizations/*/sources/*}:testIamPermi" - + "ssions:\001*\332A\024resource,permissions\022\321\001\n\rUpd" - + "ateFinding\0229.google.cloud.securitycenter" - + ".v1beta1.UpdateFindingRequest\032,.google.c" - + "loud.securitycenter.v1beta1.Finding\"W\202\323\344" - + "\223\002G2\n\007folders\030\n \003(\0132-.goo" - + "gle.cloud.securitycenter.v1p1beta1.Folde" - + "r\032 \n\tIamPolicy\022\023\n\013policy_blob\030\001 \001(\t\032Q\n\027R" - + "esourcePropertiesEntry\022\013\n\003key\030\001 \001(\t\022%\n\005v" - + "alue\030\002 \001(\0132\026.google.protobuf.Value:\0028\001:\232" - + "\001\352A\226\001\n#securitycenter.googleapis.com/Ass" - + "et\022+organizations/{organization}/assets/" - + "{asset}\022\037folders/{folder}/assets/{asset}" - + "\022!projects/{project}/assets/{asset}B\375\001\n)" - + "com.google.cloud.securitycenter.v1p1beta" - + "1P\001ZSgoogle.golang.org/genproto/googleap" - + "is/cloud/securitycenter/v1p1beta1;securi" - + "tycenter\252\002%Google.Cloud.SecurityCenter.V" - + "1P1Beta1\312\002%Google\\Cloud\\SecurityCenter\\V" - + "1p1beta1\352\002(Google::Cloud::SecurityCenter" - + "::V1p1beta1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.securitycenter.v1p1beta1.FolderProto.getDescriptor(), - com.google.cloud.securitycenter.v1p1beta1.SecurityMarksOuterClass.getDescriptor(), - com.google.protobuf.StructProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_securitycenter_v1p1beta1_Asset_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_securitycenter_v1p1beta1_Asset_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1p1beta1_Asset_descriptor, - new java.lang.String[] { - "Name", - "SecurityCenterProperties", - "ResourceProperties", - "SecurityMarks", - "CreateTime", - "UpdateTime", - "IamPolicy", - "CanonicalName", - }); - internal_static_google_cloud_securitycenter_v1p1beta1_Asset_SecurityCenterProperties_descriptor = - internal_static_google_cloud_securitycenter_v1p1beta1_Asset_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_securitycenter_v1p1beta1_Asset_SecurityCenterProperties_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1p1beta1_Asset_SecurityCenterProperties_descriptor, - new java.lang.String[] { - "ResourceName", - "ResourceType", - "ResourceParent", - "ResourceProject", - "ResourceOwners", - "ResourceDisplayName", - "ResourceParentDisplayName", - "ResourceProjectDisplayName", - "Folders", - }); - internal_static_google_cloud_securitycenter_v1p1beta1_Asset_IamPolicy_descriptor = - internal_static_google_cloud_securitycenter_v1p1beta1_Asset_descriptor - .getNestedTypes() - .get(1); - internal_static_google_cloud_securitycenter_v1p1beta1_Asset_IamPolicy_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1p1beta1_Asset_IamPolicy_descriptor, - new java.lang.String[] { - "PolicyBlob", - }); - internal_static_google_cloud_securitycenter_v1p1beta1_Asset_ResourcePropertiesEntry_descriptor = - internal_static_google_cloud_securitycenter_v1p1beta1_Asset_descriptor - .getNestedTypes() - .get(2); - internal_static_google_cloud_securitycenter_v1p1beta1_Asset_ResourcePropertiesEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1p1beta1_Asset_ResourcePropertiesEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.securitycenter.v1p1beta1.FolderProto.getDescriptor(); - com.google.cloud.securitycenter.v1p1beta1.SecurityMarksOuterClass.getDescriptor(); - com.google.protobuf.StructProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/DeleteNotificationConfigRequestOrBuilder.java b/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/DeleteNotificationConfigRequestOrBuilder.java deleted file mode 100644 index 4ce3a217754d..000000000000 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/DeleteNotificationConfigRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/securitycenter/v1p1beta1/securitycenter_service.proto - -package com.google.cloud.securitycenter.v1p1beta1; - -public interface DeleteNotificationConfigRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.securitycenter.v1p1beta1.DeleteNotificationConfigRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. Name of the notification config to delete. Its format is
-   * "organizations/[organization_id]/notificationConfigs/[config_id]".
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. Name of the notification config to delete. Its format is
-   * "organizations/[organization_id]/notificationConfigs/[config_id]".
-   * 
- * - * - * 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-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/FindingOuterClass.java b/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/FindingOuterClass.java deleted file mode 100644 index 24dc5d0a922f..000000000000 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/FindingOuterClass.java +++ /dev/null @@ -1,140 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/securitycenter/v1p1beta1/finding.proto - -package com.google.cloud.securitycenter.v1p1beta1; - -public final class FindingOuterClass { - private FindingOuterClass() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public 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_securitycenter_v1p1beta1_Finding_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1p1beta1_Finding_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1p1beta1_Finding_SourcePropertiesEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1p1beta1_Finding_SourcePropertiesEntry_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n3google/cloud/securitycenter/v1p1beta1/" - + "finding.proto\022%google.cloud.securitycent" - + "er.v1p1beta1\032\037google/api/field_behavior." - + "proto\032\031google/api/resource.proto\032:google" - + "/cloud/securitycenter/v1p1beta1/security" - + "_marks.proto\032\034google/protobuf/struct.pro" - + "to\032\037google/protobuf/timestamp.proto\"\337\007\n\007" - + "Finding\022\014\n\004name\030\001 \001(\t\022\016\n\006parent\030\002 \001(\t\022\025\n" - + "\rresource_name\030\003 \001(\t\022C\n\005state\030\004 \001(\01624.go" - + "ogle.cloud.securitycenter.v1p1beta1.Find" - + "ing.State\022\020\n\010category\030\005 \001(\t\022\024\n\014external_" - + "uri\030\006 \001(\t\022_\n\021source_properties\030\007 \003(\0132D.g" - + "oogle.cloud.securitycenter.v1p1beta1.Fin" - + "ding.SourcePropertiesEntry\022Q\n\016security_m" - + "arks\030\010 \001(\01324.google.cloud.securitycenter" - + ".v1p1beta1.SecurityMarksB\003\340A\003\022.\n\nevent_t" - + "ime\030\t \001(\0132\032.google.protobuf.Timestamp\022/\n" - + "\013create_time\030\n \001(\0132\032.google.protobuf.Tim" - + "estamp\022I\n\010severity\030\r \001(\01627.google.cloud." - + "securitycenter.v1p1beta1.Finding.Severit" - + "y\022\026\n\016canonical_name\030\016 \001(\t\032O\n\025SourcePrope" - + "rtiesEntry\022\013\n\003key\030\001 \001(\t\022%\n\005value\030\002 \001(\0132\026" - + ".google.protobuf.Value:\0028\001\"8\n\005State\022\025\n\021S" - + "TATE_UNSPECIFIED\020\000\022\n\n\006ACTIVE\020\001\022\014\n\010INACTI" - + "VE\020\002\"Q\n\010Severity\022\030\n\024SEVERITY_UNSPECIFIED" - + "\020\000\022\014\n\010CRITICAL\020\001\022\010\n\004HIGH\020\002\022\n\n\006MEDIUM\020\003\022\007" - + "\n\003LOW\020\004:\333\001\352A\327\001\n%securitycenter.googleapi" - + "s.com/Finding\022@organizations/{organizati" - + "on}/sources/{source}/findings/{finding}\022" - + "4folders/{folder}/sources/{source}/findi" - + "ngs/{finding}\0226projects/{project}/source" - + "s/{source}/findings/{finding}B\375\001\n)com.go" - + "ogle.cloud.securitycenter.v1p1beta1P\001ZSg" - + "oogle.golang.org/genproto/googleapis/clo" - + "ud/securitycenter/v1p1beta1;securitycent" - + "er\252\002%Google.Cloud.SecurityCenter.V1P1Bet" - + "a1\312\002%Google\\Cloud\\SecurityCenter\\V1p1bet" - + "a1\352\002(Google::Cloud::SecurityCenter::V1p1" - + "beta1b\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.cloud.securitycenter.v1p1beta1.SecurityMarksOuterClass.getDescriptor(), - com.google.protobuf.StructProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_securitycenter_v1p1beta1_Finding_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_securitycenter_v1p1beta1_Finding_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1p1beta1_Finding_descriptor, - new java.lang.String[] { - "Name", - "Parent", - "ResourceName", - "State", - "Category", - "ExternalUri", - "SourceProperties", - "SecurityMarks", - "EventTime", - "CreateTime", - "Severity", - "CanonicalName", - }); - internal_static_google_cloud_securitycenter_v1p1beta1_Finding_SourcePropertiesEntry_descriptor = - internal_static_google_cloud_securitycenter_v1p1beta1_Finding_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_securitycenter_v1p1beta1_Finding_SourcePropertiesEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1p1beta1_Finding_SourcePropertiesEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - 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.cloud.securitycenter.v1p1beta1.SecurityMarksOuterClass.getDescriptor(); - com.google.protobuf.StructProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/FolderProto.java b/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/FolderProto.java deleted file mode 100644 index da9889604591..000000000000 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/FolderProto.java +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/securitycenter/v1p1beta1/folder.proto - -package com.google.cloud.securitycenter.v1p1beta1; - -public final class FolderProto { - private FolderProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public 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_securitycenter_v1p1beta1_Folder_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1p1beta1_Folder_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n2google/cloud/securitycenter/v1p1beta1/" - + "folder.proto\022%google.cloud.securitycente" - + "r.v1p1beta1\"G\n\006Folder\022\027\n\017resource_folder" - + "\030\001 \001(\t\022$\n\034resource_folder_display_name\030\002" - + " \001(\tB\212\002\n)com.google.cloud.securitycenter" - + ".v1p1beta1B\013FolderProtoP\001ZSgoogle.golang" - + ".org/genproto/googleapis/cloud/securityc" - + "enter/v1p1beta1;securitycenter\252\002%Google." - + "Cloud.SecurityCenter.V1P1Beta1\312\002%Google\\" - + "Cloud\\SecurityCenter\\V1p1beta1\352\002(Google:" - + ":Cloud::SecurityCenter::V1p1Beta1b\006proto" - + "3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); - internal_static_google_cloud_securitycenter_v1p1beta1_Folder_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_securitycenter_v1p1beta1_Folder_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1p1beta1_Folder_descriptor, - new java.lang.String[] { - "ResourceFolder", "ResourceFolderDisplayName", - }); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/GetNotificationConfigRequestOrBuilder.java b/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/GetNotificationConfigRequestOrBuilder.java deleted file mode 100644 index 0ab8d93aa3e1..000000000000 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/GetNotificationConfigRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/securitycenter/v1p1beta1/securitycenter_service.proto - -package com.google.cloud.securitycenter.v1p1beta1; - -public interface GetNotificationConfigRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.securitycenter.v1p1beta1.GetNotificationConfigRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. Name of the notification config to get. Its format is
-   * "organizations/[organization_id]/notificationConfigs/[config_id]".
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. Name of the notification config to get. Its format is
-   * "organizations/[organization_id]/notificationConfigs/[config_id]".
-   * 
- * - * - * 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-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/GetOrganizationSettingsRequestOrBuilder.java b/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/GetOrganizationSettingsRequestOrBuilder.java deleted file mode 100644 index 6bed1814c77f..000000000000 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/GetOrganizationSettingsRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/securitycenter/v1p1beta1/securitycenter_service.proto - -package com.google.cloud.securitycenter.v1p1beta1; - -public interface GetOrganizationSettingsRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.securitycenter.v1p1beta1.GetOrganizationSettingsRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. Name of the organization to get organization settings for. Its format is
-   * "organizations/[organization_id]/organizationSettings".
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. Name of the organization to get organization settings for. Its format is
-   * "organizations/[organization_id]/organizationSettings".
-   * 
- * - * - * 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-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/GetSourceRequestOrBuilder.java b/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/GetSourceRequestOrBuilder.java deleted file mode 100644 index faa23ee35acc..000000000000 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/GetSourceRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/securitycenter/v1p1beta1/securitycenter_service.proto - -package com.google.cloud.securitycenter.v1p1beta1; - -public interface GetSourceRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.securitycenter.v1p1beta1.GetSourceRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. Relative resource name of the source. Its format is
-   * "organizations/[organization_id]/source/[source_id]".
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. Relative resource name of the source. Its format is
-   * "organizations/[organization_id]/source/[source_id]".
-   * 
- * - * - * 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-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/NotificationConfigOuterClass.java b/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/NotificationConfigOuterClass.java deleted file mode 100644 index 02be35e22aad..000000000000 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/NotificationConfigOuterClass.java +++ /dev/null @@ -1,119 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/securitycenter/v1p1beta1/notification_config.proto - -package com.google.cloud.securitycenter.v1p1beta1; - -public final class NotificationConfigOuterClass { - private NotificationConfigOuterClass() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public 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_securitycenter_v1p1beta1_NotificationConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1p1beta1_NotificationConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1p1beta1_NotificationConfig_StreamingConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1p1beta1_NotificationConfig_StreamingConfig_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n?google/cloud/securitycenter/v1p1beta1/" - + "notification_config.proto\022%google.cloud." - + "securitycenter.v1p1beta1\032\037google/api/fie" - + "ld_behavior.proto\032\031google/api/resource.p" - + "roto\"\266\004\n\022NotificationConfig\022\014\n\004name\030\001 \001(" - + "\t\022\023\n\013description\030\002 \001(\t\022W\n\nevent_type\030\003 \001" - + "(\0162C.google.cloud.securitycenter.v1p1bet" - + "a1.NotificationConfig.EventType\0226\n\014pubsu" - + "b_topic\030\004 \001(\tB \372A\035\n\033pubsub.googleapis.co" - + "m/Topic\022\034\n\017service_account\030\005 \001(\tB\003\340A\003\022e\n" - + "\020streaming_config\030\006 \001(\0132I.google.cloud.s" - + "ecuritycenter.v1p1beta1.NotificationConf" - + "ig.StreamingConfigH\000\032!\n\017StreamingConfig\022" - + "\016\n\006filter\030\001 \001(\t\"4\n\tEventType\022\032\n\026EVENT_TY" - + "PE_UNSPECIFIED\020\000\022\013\n\007FINDING\020\001:}\352Az\n0secu" - + "ritycenter.googleapis.com/NotificationCo" - + "nfig\022Forganizations/{organization}/notif" - + "icationConfigs/{notification_config}B\017\n\r" - + "notify_configB\300\002\n)com.google.cloud.secur" - + "itycenter.v1p1beta1P\001ZSgoogle.golang.org" - + "/genproto/googleapis/cloud/securitycente" - + "r/v1p1beta1;securitycenter\252\002%Google.Clou" - + "d.SecurityCenter.V1P1Beta1\312\002%Google\\Clou" - + "d\\SecurityCenter\\V1p1beta1\352\002(Google::Clo" - + "ud::SecurityCenter::V1p1beta1\352A@\n\033pubsub" - + ".googleapis.com/Topic\022!projects/{project" - + "}/topics/{topic}b\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(), - }); - internal_static_google_cloud_securitycenter_v1p1beta1_NotificationConfig_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_securitycenter_v1p1beta1_NotificationConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1p1beta1_NotificationConfig_descriptor, - new java.lang.String[] { - "Name", - "Description", - "EventType", - "PubsubTopic", - "ServiceAccount", - "StreamingConfig", - "NotifyConfig", - }); - internal_static_google_cloud_securitycenter_v1p1beta1_NotificationConfig_StreamingConfig_descriptor = - internal_static_google_cloud_securitycenter_v1p1beta1_NotificationConfig_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_securitycenter_v1p1beta1_NotificationConfig_StreamingConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1p1beta1_NotificationConfig_StreamingConfig_descriptor, - new java.lang.String[] { - "Filter", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceDefinition); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/NotificationMessageOuterClass.java b/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/NotificationMessageOuterClass.java deleted file mode 100644 index b9d898b9d095..000000000000 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/NotificationMessageOuterClass.java +++ /dev/null @@ -1,81 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/securitycenter/v1p1beta1/notification_message.proto - -package com.google.cloud.securitycenter.v1p1beta1; - -public final class NotificationMessageOuterClass { - private NotificationMessageOuterClass() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public 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_securitycenter_v1p1beta1_NotificationMessage_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1p1beta1_NotificationMessage_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n@google/cloud/securitycenter/v1p1beta1/" - + "notification_message.proto\022%google.cloud" - + ".securitycenter.v1p1beta1\0323google/cloud/" - + "securitycenter/v1p1beta1/finding.proto\0324" - + "google/cloud/securitycenter/v1p1beta1/re" - + "source.proto\"\306\001\n\023NotificationMessage\022 \n\030" - + "notification_config_name\030\001 \001(\t\022A\n\007findin" - + "g\030\002 \001(\0132..google.cloud.securitycenter.v1" - + "p1beta1.FindingH\000\022A\n\010resource\030\003 \001(\0132/.go" - + "ogle.cloud.securitycenter.v1p1beta1.Reso" - + "urceB\007\n\005eventB\375\001\n)com.google.cloud.secur" - + "itycenter.v1p1beta1P\001ZSgoogle.golang.org" - + "/genproto/googleapis/cloud/securitycente" - + "r/v1p1beta1;securitycenter\252\002%Google.Clou" - + "d.SecurityCenter.V1P1Beta1\312\002%Google\\Clou" - + "d\\SecurityCenter\\V1p1beta1\352\002(Google::Clo" - + "ud::SecurityCenter::V1p1beta1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.cloud.securitycenter.v1p1beta1.FindingOuterClass.getDescriptor(), - com.google.cloud.securitycenter.v1p1beta1.ResourceProto.getDescriptor(), - }); - internal_static_google_cloud_securitycenter_v1p1beta1_NotificationMessage_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_securitycenter_v1p1beta1_NotificationMessage_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1p1beta1_NotificationMessage_descriptor, - new java.lang.String[] { - "NotificationConfigName", "Finding", "Resource", "Event", - }); - com.google.cloud.securitycenter.v1p1beta1.FindingOuterClass.getDescriptor(); - com.google.cloud.securitycenter.v1p1beta1.ResourceProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/OrganizationSettingsOuterClass.java b/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/OrganizationSettingsOuterClass.java deleted file mode 100644 index 7fbd0dbb552e..000000000000 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/OrganizationSettingsOuterClass.java +++ /dev/null @@ -1,105 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/securitycenter/v1p1beta1/organization_settings.proto - -package com.google.cloud.securitycenter.v1p1beta1; - -public final class OrganizationSettingsOuterClass { - private OrganizationSettingsOuterClass() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public 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_securitycenter_v1p1beta1_OrganizationSettings_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1p1beta1_OrganizationSettings_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1p1beta1_OrganizationSettings_AssetDiscoveryConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1p1beta1_OrganizationSettings_AssetDiscoveryConfig_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\nAgoogle/cloud/securitycenter/v1p1beta1/" - + "organization_settings.proto\022%google.clou" - + "d.securitycenter.v1p1beta1\032\031google/api/r" - + "esource.proto\"\254\004\n\024OrganizationSettings\022\014" - + "\n\004name\030\001 \001(\t\022\036\n\026enable_asset_discovery\030\002" - + " \001(\010\022p\n\026asset_discovery_config\030\003 \001(\0132P.g" - + "oogle.cloud.securitycenter.v1p1beta1.Org" - + "anizationSettings.AssetDiscoveryConfig\032\207" - + "\002\n\024AssetDiscoveryConfig\022\023\n\013project_ids\030\001" - + " \003(\t\022v\n\016inclusion_mode\030\002 \001(\0162^.google.cl" - + "oud.securitycenter.v1p1beta1.Organizatio" - + "nSettings.AssetDiscoveryConfig.Inclusion" - + "Mode\022\022\n\nfolder_ids\030\003 \003(\t\"N\n\rInclusionMod" - + "e\022\036\n\032INCLUSION_MODE_UNSPECIFIED\020\000\022\020\n\014INC" - + "LUDE_ONLY\020\001\022\013\n\007EXCLUDE\020\002:j\352Ag\n2securityc" - + "enter.googleapis.com/OrganizationSetting" - + "s\0221organizations/{organization}/organiza" - + "tionSettingsB\375\001\n)com.google.cloud.securi" - + "tycenter.v1p1beta1P\001ZSgoogle.golang.org/" - + "genproto/googleapis/cloud/securitycenter" - + "/v1p1beta1;securitycenter\252\002%Google.Cloud" - + ".SecurityCenter.V1P1Beta1\312\002%Google\\Cloud" - + "\\SecurityCenter\\V1p1beta1\352\002(Google::Clou" - + "d::SecurityCenter::V1p1beta1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.ResourceProto.getDescriptor(), - }); - internal_static_google_cloud_securitycenter_v1p1beta1_OrganizationSettings_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_securitycenter_v1p1beta1_OrganizationSettings_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1p1beta1_OrganizationSettings_descriptor, - new java.lang.String[] { - "Name", "EnableAssetDiscovery", "AssetDiscoveryConfig", - }); - internal_static_google_cloud_securitycenter_v1p1beta1_OrganizationSettings_AssetDiscoveryConfig_descriptor = - internal_static_google_cloud_securitycenter_v1p1beta1_OrganizationSettings_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_securitycenter_v1p1beta1_OrganizationSettings_AssetDiscoveryConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1p1beta1_OrganizationSettings_AssetDiscoveryConfig_descriptor, - new java.lang.String[] { - "ProjectIds", "InclusionMode", "FolderIds", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.ResourceProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/ResourceProto.java b/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/ResourceProto.java deleted file mode 100644 index 3884c5231a51..000000000000 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/ResourceProto.java +++ /dev/null @@ -1,86 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/securitycenter/v1p1beta1/resource.proto - -package com.google.cloud.securitycenter.v1p1beta1; - -public final class ResourceProto { - private ResourceProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public 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_securitycenter_v1p1beta1_Resource_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1p1beta1_Resource_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n4google/cloud/securitycenter/v1p1beta1/" - + "resource.proto\022%google.cloud.securitycen" - + "ter.v1p1beta1\032\037google/api/field_behavior" - + ".proto\0322google/cloud/securitycenter/v1p1" - + "beta1/folder.proto\"\271\001\n\010Resource\022\014\n\004name\030" - + "\001 \001(\t\022\017\n\007project\030\002 \001(\t\022\034\n\024project_displa" - + "y_name\030\003 \001(\t\022\016\n\006parent\030\004 \001(\t\022\033\n\023parent_d" - + "isplay_name\030\005 \001(\t\022C\n\007folders\030\007 \003(\0132-.goo" - + "gle.cloud.securitycenter.v1p1beta1.Folde" - + "rB\003\340A\003B\214\002\n)com.google.cloud.securitycent" - + "er.v1p1beta1B\rResourceProtoP\001ZSgoogle.go" - + "lang.org/genproto/googleapis/cloud/secur" - + "itycenter/v1p1beta1;securitycenter\252\002%Goo" - + "gle.Cloud.SecurityCenter.V1P1Beta1\312\002%Goo" - + "gle\\Cloud\\SecurityCenter\\V1p1beta1\352\002(Goo" - + "gle::Cloud::SecurityCenter::V1p1beta1b\006p" - + "roto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.cloud.securitycenter.v1p1beta1.FolderProto.getDescriptor(), - }); - internal_static_google_cloud_securitycenter_v1p1beta1_Resource_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_securitycenter_v1p1beta1_Resource_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1p1beta1_Resource_descriptor, - new java.lang.String[] { - "Name", "Project", "ProjectDisplayName", "Parent", "ParentDisplayName", "Folders", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.cloud.securitycenter.v1p1beta1.FolderProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/RunAssetDiscoveryRequestOrBuilder.java b/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/RunAssetDiscoveryRequestOrBuilder.java deleted file mode 100644 index d772aa0f67f7..000000000000 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/RunAssetDiscoveryRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/securitycenter/v1p1beta1/securitycenter_service.proto - -package com.google.cloud.securitycenter.v1p1beta1; - -public interface RunAssetDiscoveryRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.securitycenter.v1p1beta1.RunAssetDiscoveryRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. Name of the organization to run asset discovery for. Its format is
-   * "organizations/[organization_id]".
-   * 
- * - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The parent. - */ - java.lang.String getParent(); - /** - * - * - *
-   * Required. Name of the organization to run asset discovery for. Its format is
-   * "organizations/[organization_id]".
-   * 
- * - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for parent. - */ - com.google.protobuf.ByteString getParentBytes(); -} diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/RunAssetDiscoveryResponseOuterClass.java b/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/RunAssetDiscoveryResponseOuterClass.java deleted file mode 100644 index 87c3a347d19d..000000000000 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/RunAssetDiscoveryResponseOuterClass.java +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/securitycenter/v1p1beta1/run_asset_discovery_response.proto - -package com.google.cloud.securitycenter.v1p1beta1; - -public final class RunAssetDiscoveryResponseOuterClass { - private RunAssetDiscoveryResponseOuterClass() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public 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_securitycenter_v1p1beta1_RunAssetDiscoveryResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1p1beta1_RunAssetDiscoveryResponse_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\nHgoogle/cloud/securitycenter/v1p1beta1/" - + "run_asset_discovery_response.proto\022%goog" - + "le.cloud.securitycenter.v1p1beta1\032\036googl" - + "e/protobuf/duration.proto\"\356\001\n\031RunAssetDi" - + "scoveryResponse\022U\n\005state\030\001 \001(\0162F.google." - + "cloud.securitycenter.v1p1beta1.RunAssetD" - + "iscoveryResponse.State\022+\n\010duration\030\002 \001(\013" - + "2\031.google.protobuf.Duration\"M\n\005State\022\025\n\021" - + "STATE_UNSPECIFIED\020\000\022\r\n\tCOMPLETED\020\001\022\016\n\nSU" - + "PERSEDED\020\002\022\016\n\nTERMINATED\020\003B\375\001\n)com.googl" - + "e.cloud.securitycenter.v1p1beta1P\001ZSgoog" - + "le.golang.org/genproto/googleapis/cloud/" - + "securitycenter/v1p1beta1;securitycenter\252" - + "\002%Google.Cloud.SecurityCenter.V1P1Beta1\312" - + "\002%Google\\Cloud\\SecurityCenter\\V1p1beta1\352" - + "\002(Google::Cloud::SecurityCenter::V1p1bet" - + "a1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.protobuf.DurationProto.getDescriptor(), - }); - internal_static_google_cloud_securitycenter_v1p1beta1_RunAssetDiscoveryResponse_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_securitycenter_v1p1beta1_RunAssetDiscoveryResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1p1beta1_RunAssetDiscoveryResponse_descriptor, - new java.lang.String[] { - "State", "Duration", - }); - com.google.protobuf.DurationProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/SecurityMarksOuterClass.java b/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/SecurityMarksOuterClass.java deleted file mode 100644 index 166fc8a61204..000000000000 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/SecurityMarksOuterClass.java +++ /dev/null @@ -1,106 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/securitycenter/v1p1beta1/security_marks.proto - -package com.google.cloud.securitycenter.v1p1beta1; - -public final class SecurityMarksOuterClass { - private SecurityMarksOuterClass() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public 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_securitycenter_v1p1beta1_SecurityMarks_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1p1beta1_SecurityMarks_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1p1beta1_SecurityMarks_MarksEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1p1beta1_SecurityMarks_MarksEntry_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n:google/cloud/securitycenter/v1p1beta1/" - + "security_marks.proto\022%google.cloud.secur" - + "itycenter.v1p1beta1\032\031google/api/resource" - + ".proto\"\334\004\n\rSecurityMarks\022\014\n\004name\030\001 \001(\t\022N" - + "\n\005marks\030\002 \003(\0132?.google.cloud.securitycen" - + "ter.v1p1beta1.SecurityMarks.MarksEntry\022\026" - + "\n\016canonical_name\030\003 \001(\t\032,\n\nMarksEntry\022\013\n\003" - + "key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:\246\003\352A\242\003\n+sec" - + "uritycenter.googleapis.com/SecurityMarks" - + "\0229organizations/{organization}/assets/{a" - + "sset}/securityMarks\022Norganizations/{orga" - + "nization}/sources/{source}/findings/{fin" - + "ding}/securityMarks\022-folders/{folder}/as" - + "sets/{asset}/securityMarks\022/projects/{pr" - + "oject}/assets/{asset}/securityMarks\022Bfol" - + "ders/{folder}/sources/{source}/findings/" - + "{finding}/securityMarks\022Dprojects/{proje" - + "ct}/sources/{source}/findings/{finding}/" - + "securityMarksB\375\001\n)com.google.cloud.secur" - + "itycenter.v1p1beta1P\001ZSgoogle.golang.org" - + "/genproto/googleapis/cloud/securitycente" - + "r/v1p1beta1;securitycenter\252\002%Google.Clou" - + "d.SecurityCenter.V1P1Beta1\312\002%Google\\Clou" - + "d\\SecurityCenter\\V1p1beta1\352\002(Google::Clo" - + "ud::SecurityCenter::V1p1beta1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.ResourceProto.getDescriptor(), - }); - internal_static_google_cloud_securitycenter_v1p1beta1_SecurityMarks_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_securitycenter_v1p1beta1_SecurityMarks_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1p1beta1_SecurityMarks_descriptor, - new java.lang.String[] { - "Name", "Marks", "CanonicalName", - }); - internal_static_google_cloud_securitycenter_v1p1beta1_SecurityMarks_MarksEntry_descriptor = - internal_static_google_cloud_securitycenter_v1p1beta1_SecurityMarks_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_securitycenter_v1p1beta1_SecurityMarks_MarksEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1p1beta1_SecurityMarks_MarksEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.ResourceProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/SecuritycenterService.java b/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/SecuritycenterService.java deleted file mode 100644 index ef447d6d5a89..000000000000 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/SecuritycenterService.java +++ /dev/null @@ -1,845 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/securitycenter/v1p1beta1/securitycenter_service.proto - -package com.google.cloud.securitycenter.v1p1beta1; - -public final class SecuritycenterService { - private SecuritycenterService() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public 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_securitycenter_v1p1beta1_CreateFindingRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1p1beta1_CreateFindingRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1p1beta1_CreateNotificationConfigRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1p1beta1_CreateNotificationConfigRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1p1beta1_CreateSourceRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1p1beta1_CreateSourceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1p1beta1_DeleteNotificationConfigRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1p1beta1_DeleteNotificationConfigRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1p1beta1_GetNotificationConfigRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1p1beta1_GetNotificationConfigRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1p1beta1_GetOrganizationSettingsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1p1beta1_GetOrganizationSettingsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1p1beta1_GetSourceRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1p1beta1_GetSourceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1p1beta1_GroupAssetsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1p1beta1_GroupAssetsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1p1beta1_GroupAssetsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1p1beta1_GroupAssetsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1p1beta1_GroupFindingsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1p1beta1_GroupFindingsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1p1beta1_GroupFindingsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1p1beta1_GroupFindingsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1p1beta1_GroupResult_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1p1beta1_GroupResult_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1p1beta1_GroupResult_PropertiesEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1p1beta1_GroupResult_PropertiesEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1p1beta1_ListNotificationConfigsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1p1beta1_ListNotificationConfigsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1p1beta1_ListNotificationConfigsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1p1beta1_ListNotificationConfigsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1p1beta1_ListSourcesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1p1beta1_ListSourcesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1p1beta1_ListSourcesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1p1beta1_ListSourcesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1p1beta1_ListAssetsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1p1beta1_ListAssetsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1p1beta1_ListAssetsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1p1beta1_ListAssetsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1p1beta1_ListAssetsResponse_ListAssetsResult_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1p1beta1_ListAssetsResponse_ListAssetsResult_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1p1beta1_ListFindingsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1p1beta1_ListFindingsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1p1beta1_ListFindingsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1p1beta1_ListFindingsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1p1beta1_ListFindingsResponse_ListFindingsResult_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1p1beta1_ListFindingsResponse_ListFindingsResult_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1p1beta1_ListFindingsResponse_ListFindingsResult_Resource_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1p1beta1_ListFindingsResponse_ListFindingsResult_Resource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1p1beta1_SetFindingStateRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1p1beta1_SetFindingStateRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1p1beta1_RunAssetDiscoveryRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1p1beta1_RunAssetDiscoveryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1p1beta1_UpdateFindingRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1p1beta1_UpdateFindingRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1p1beta1_UpdateNotificationConfigRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1p1beta1_UpdateNotificationConfigRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1p1beta1_UpdateOrganizationSettingsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1p1beta1_UpdateOrganizationSettingsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1p1beta1_UpdateSourceRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1p1beta1_UpdateSourceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_securitycenter_v1p1beta1_UpdateSecurityMarksRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1p1beta1_UpdateSecurityMarksRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\nBgoogle/cloud/securitycenter/v1p1beta1/" - + "securitycenter_service.proto\022%google.clo" - + "ud.securitycenter.v1p1beta1\032@google/clou" - + "d/securitycenter/v1p1beta1/notification_" - + "message.proto\032Hgoogle/cloud/securitycent" - + "er/v1p1beta1/run_asset_discovery_respons" - + "e.proto\032\034google/api/annotations.proto\032\027g" - + "oogle/api/client.proto\032\037google/api/field" - + "_behavior.proto\032\031google/api/resource.pro" - + "to\0321google/cloud/securitycenter/v1p1beta" - + "1/asset.proto\0323google/cloud/securitycent" - + "er/v1p1beta1/finding.proto\0322google/cloud" - + "/securitycenter/v1p1beta1/folder.proto\032?" - + "google/cloud/securitycenter/v1p1beta1/no" - + "tification_config.proto\032Agoogle/cloud/se" - + "curitycenter/v1p1beta1/organization_sett" - + "ings.proto\032:google/cloud/securitycenter/" - + "v1p1beta1/security_marks.proto\0322google/c" - + "loud/securitycenter/v1p1beta1/source.pro" - + "to\032\036google/iam/v1/iam_policy.proto\032\032goog" - + "le/iam/v1/policy.proto\032#google/longrunni" - + "ng/operations.proto\032\036google/protobuf/dur" - + "ation.proto\032\033google/protobuf/empty.proto" - + "\032 google/protobuf/field_mask.proto\032\034goog" - + "le/protobuf/struct.proto\032\037google/protobu" - + "f/timestamp.proto\"\263\001\n\024CreateFindingReque" - + "st\022<\n\006parent\030\001 \001(\tB,\340A\002\372A&\n$securitycent" - + "er.googleapis.com/Source\022\027\n\nfinding_id\030\002" - + " \001(\tB\003\340A\002\022D\n\007finding\030\003 \001(\0132..google.clou" - + "d.securitycenter.v1p1beta1.FindingB\003\340A\002\"" - + "\340\001\n\037CreateNotificationConfigRequest\022H\n\006p" - + "arent\030\001 \001(\tB8\340A\002\372A2\n0cloudresourcemanage" - + "r.googleapis.com/Organization\022\026\n\tconfig_" - + "id\030\002 \001(\tB\003\340A\002\022[\n\023notification_config\030\003 \001" - + "(\01329.google.cloud.securitycenter.v1p1bet" - + "a1.NotificationConfigB\003\340A\002\"\243\001\n\023CreateSou" - + "rceRequest\022H\n\006parent\030\001 \001(\tB8\340A\002\372A2\n0clou" - + "dresourcemanager.googleapis.com/Organiza" - + "tion\022B\n\006source\030\002 \001(\0132-.google.cloud.secu" - + "ritycenter.v1p1beta1.SourceB\003\340A\002\"i\n\037Dele" - + "teNotificationConfigRequest\022F\n\004name\030\001 \001(" - + "\tB8\340A\002\372A2\n0securitycenter.googleapis.com" - + "/NotificationConfig\"f\n\034GetNotificationCo" - + "nfigRequest\022F\n\004name\030\001 \001(\tB8\340A\002\372A2\n0secur" - + "itycenter.googleapis.com/NotificationCon" - + "fig\"j\n\036GetOrganizationSettingsRequest\022H\n" - + "\004name\030\001 \001(\tB:\340A\002\372A4\n2securitycenter.goog" - + "leapis.com/OrganizationSettings\"N\n\020GetSo" - + "urceRequest\022:\n\004name\030\001 \001(\tB,\340A\002\372A&\n$secur" - + "itycenter.googleapis.com/Source\"\203\002\n\022Grou" - + "pAssetsRequest\022;\n\006parent\030\001 \001(\tB+\340A\002\372A%\022#" - + "securitycenter.googleapis.com/Asset\022\016\n\006f" - + "ilter\030\002 \001(\t\022\025\n\010group_by\030\003 \001(\tB\003\340A\002\0223\n\020co" - + "mpare_duration\030\004 \001(\0132\031.google.protobuf.D" - + "uration\022-\n\tread_time\030\005 \001(\0132\032.google.prot" - + "obuf.Timestamp\022\022\n\npage_token\030\007 \001(\t\022\021\n\tpa" - + "ge_size\030\010 \001(\005\"\277\001\n\023GroupAssetsResponse\022L\n" - + "\020group_by_results\030\001 \003(\01322.google.cloud.s" - + "ecuritycenter.v1p1beta1.GroupResult\022-\n\tr" - + "ead_time\030\002 \001(\0132\032.google.protobuf.Timesta" - + "mp\022\027\n\017next_page_token\030\003 \001(\t\022\022\n\ntotal_siz" - + "e\030\004 \001(\005\"\206\002\n\024GroupFindingsRequest\022<\n\006pare" - + "nt\030\001 \001(\tB,\340A\002\372A&\n$securitycenter.googlea" - + "pis.com/Source\022\016\n\006filter\030\002 \001(\t\022\025\n\010group_" - + "by\030\003 \001(\tB\003\340A\002\022-\n\tread_time\030\004 \001(\0132\032.googl" - + "e.protobuf.Timestamp\0223\n\020compare_duration" - + "\030\005 \001(\0132\031.google.protobuf.Duration\022\022\n\npag" - + "e_token\030\007 \001(\t\022\021\n\tpage_size\030\010 \001(\005\"\301\001\n\025Gro" - + "upFindingsResponse\022L\n\020group_by_results\030\001" - + " \003(\01322.google.cloud.securitycenter.v1p1b" - + "eta1.GroupResult\022-\n\tread_time\030\002 \001(\0132\032.go" - + "ogle.protobuf.Timestamp\022\027\n\017next_page_tok" - + "en\030\003 \001(\t\022\022\n\ntotal_size\030\004 \001(\005\"\277\001\n\013GroupRe" - + "sult\022V\n\nproperties\030\001 \003(\0132B.google.cloud." - + "securitycenter.v1p1beta1.GroupResult.Pro" - + "pertiesEntry\022\r\n\005count\030\002 \001(\003\032I\n\017Propertie" - + "sEntry\022\013\n\003key\030\001 \001(\t\022%\n\005value\030\002 \001(\0132\026.goo" - + "gle.protobuf.Value:\0028\001\"\221\001\n\036ListNotificat" - + "ionConfigsRequest\022H\n\006parent\030\001 \001(\tB8\340A\002\372A" - + "2\n0cloudresourcemanager.googleapis.com/O" - + "rganization\022\022\n\npage_token\030\002 \001(\t\022\021\n\tpage_" - + "size\030\003 \001(\005\"\223\001\n\037ListNotificationConfigsRe" - + "sponse\022W\n\024notification_configs\030\001 \003(\01329.g" - + "oogle.cloud.securitycenter.v1p1beta1.Not" - + "ificationConfig\022\027\n\017next_page_token\030\002 \001(\t" - + "\"y\n\022ListSourcesRequest\022<\n\006parent\030\001 \001(\tB," - + "\340A\002\372A&\022$securitycenter.googleapis.com/So" - + "urce\022\022\n\npage_token\030\002 \001(\t\022\021\n\tpage_size\030\007 " - + "\001(\005\"n\n\023ListSourcesResponse\022>\n\007sources\030\001 " - + "\003(\0132-.google.cloud.securitycenter.v1p1be" - + "ta1.Source\022\027\n\017next_page_token\030\002 \001(\t\"\255\002\n\021" - + "ListAssetsRequest\022;\n\006parent\030\001 \001(\tB+\340A\002\372A" - + "%\022#securitycenter.googleapis.com/Asset\022\016" - + "\n\006filter\030\002 \001(\t\022\020\n\010order_by\030\003 \001(\t\022-\n\tread" - + "_time\030\004 \001(\0132\032.google.protobuf.Timestamp\022" - + "3\n\020compare_duration\030\005 \001(\0132\031.google.proto" - + "buf.Duration\022.\n\nfield_mask\030\007 \001(\0132\032.googl" - + "e.protobuf.FieldMask\022\022\n\npage_token\030\010 \001(\t" - + "\022\021\n\tpage_size\030\t \001(\005\"\330\003\n\022ListAssetsRespon" - + "se\022g\n\023list_assets_results\030\001 \003(\0132J.google" - + ".cloud.securitycenter.v1p1beta1.ListAsse" - + "tsResponse.ListAssetsResult\022-\n\tread_time" - + "\030\002 \001(\0132\032.google.protobuf.Timestamp\022\027\n\017ne" - + "xt_page_token\030\003 \001(\t\022\022\n\ntotal_size\030\004 \001(\005\032" - + "\374\001\n\020ListAssetsResult\022;\n\005asset\030\001 \001(\0132,.go" - + "ogle.cloud.securitycenter.v1p1beta1.Asse" - + "t\022l\n\014state_change\030\002 \001(\0162V.google.cloud.s" - + "ecuritycenter.v1p1beta1.ListAssetsRespon" - + "se.ListAssetsResult.StateChange\"=\n\013State" - + "Change\022\n\n\006UNUSED\020\000\022\t\n\005ADDED\020\001\022\013\n\007REMOVED" - + "\020\002\022\n\n\006ACTIVE\020\003\"\260\002\n\023ListFindingsRequest\022<" - + "\n\006parent\030\001 \001(\tB,\340A\002\372A&\n$securitycenter.g" - + "oogleapis.com/Source\022\016\n\006filter\030\002 \001(\t\022\020\n\010" - + "order_by\030\003 \001(\t\022-\n\tread_time\030\004 \001(\0132\032.goog" - + "le.protobuf.Timestamp\0223\n\020compare_duratio" - + "n\030\005 \001(\0132\031.google.protobuf.Duration\022.\n\nfi" - + "eld_mask\030\007 \001(\0132\032.google.protobuf.FieldMa" - + "sk\022\022\n\npage_token\030\010 \001(\t\022\021\n\tpage_size\030\t \001(" - + "\005\"\253\006\n\024ListFindingsResponse\022m\n\025list_findi" - + "ngs_results\030\001 \003(\0132N.google.cloud.securit" - + "ycenter.v1p1beta1.ListFindingsResponse.L" - + "istFindingsResult\022-\n\tread_time\030\002 \001(\0132\032.g" - + "oogle.protobuf.Timestamp\022\027\n\017next_page_to" - + "ken\030\003 \001(\t\022\022\n\ntotal_size\030\004 \001(\005\032\307\004\n\022ListFi" - + "ndingsResult\022?\n\007finding\030\001 \001(\0132..google.c" - + "loud.securitycenter.v1p1beta1.Finding\022p\n" - + "\014state_change\030\002 \001(\0162Z.google.cloud.secur" - + "itycenter.v1p1beta1.ListFindingsResponse" - + ".ListFindingsResult.StateChange\022n\n\010resou" - + "rce\030\003 \001(\0132W.google.cloud.securitycenter." - + "v1p1beta1.ListFindingsResponse.ListFindi" - + "ngsResult.ResourceB\003\340A\003\032\276\001\n\010Resource\022\014\n\004" - + "name\030\001 \001(\t\022\024\n\014project_name\030\002 \001(\t\022\034\n\024proj" - + "ect_display_name\030\003 \001(\t\022\023\n\013parent_name\030\004 " - + "\001(\t\022\033\n\023parent_display_name\030\005 \001(\t\022>\n\007fold" - + "ers\030\n \003(\0132-.google.cloud.securitycenter." - + "v1p1beta1.Folder\"M\n\013StateChange\022\n\n\006UNUSE" - + "D\020\000\022\013\n\007CHANGED\020\001\022\r\n\tUNCHANGED\020\002\022\t\n\005ADDED" - + "\020\003\022\013\n\007REMOVED\020\004\"\324\001\n\026SetFindingStateReque" - + "st\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%securitycenter" - + ".googleapis.com/Finding\022H\n\005state\030\002 \001(\01624" - + ".google.cloud.securitycenter.v1p1beta1.F" - + "inding.StateB\003\340A\002\0223\n\nstart_time\030\003 \001(\0132\032." - + "google.protobuf.TimestampB\003\340A\002\"d\n\030RunAss" - + "etDiscoveryRequest\022H\n\006parent\030\001 \001(\tB8\340A\002\372" - + "A2\n0cloudresourcemanager.googleapis.com/" - + "Organization\"\215\001\n\024UpdateFindingRequest\022D\n" - + "\007finding\030\001 \001(\0132..google.cloud.securityce" - + "nter.v1p1beta1.FindingB\003\340A\002\022/\n\013update_ma" - + "sk\030\002 \001(\0132\032.google.protobuf.FieldMask\"\257\001\n" - + "\037UpdateNotificationConfigRequest\022[\n\023noti" - + "fication_config\030\001 \001(\01329.google.cloud.sec" - + "uritycenter.v1p1beta1.NotificationConfig" - + "B\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.google.prot" - + "obuf.FieldMask\"\265\001\n!UpdateOrganizationSet" - + "tingsRequest\022_\n\025organization_settings\030\001 " - + "\001(\0132;.google.cloud.securitycenter.v1p1be" - + "ta1.OrganizationSettingsB\003\340A\002\022/\n\013update_" - + "mask\030\002 \001(\0132\032.google.protobuf.FieldMask\"\212" - + "\001\n\023UpdateSourceRequest\022B\n\006source\030\001 \001(\0132-" - + ".google.cloud.securitycenter.v1p1beta1.S" - + "ourceB\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.google" - + ".protobuf.FieldMask\"\320\001\n\032UpdateSecurityMa" - + "rksRequest\022Q\n\016security_marks\030\001 \001(\01324.goo" - + "gle.cloud.securitycenter.v1p1beta1.Secur" - + "ityMarksB\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.goo" - + "gle.protobuf.FieldMask\022.\n\nstart_time\030\003 \001" - + "(\0132\032.google.protobuf.Timestamp2\3703\n\016Secur" - + "ityCenter\022\306\001\n\014CreateSource\022:.google.clou" - + "d.securitycenter.v1p1beta1.CreateSourceR" - + "equest\032-.google.cloud.securitycenter.v1p" - + "1beta1.Source\"K\202\323\344\223\0025\"+/v1p1beta1/{paren" - + "t=organizations/*}/sources:\006source\332A\rpar" - + "ent,source\022\375\001\n\rCreateFinding\022;.google.cl" - + "oud.securitycenter.v1p1beta1.CreateFindi" - + "ngRequest\032..google.cloud.securitycenter." - + "v1p1beta1.Finding\"\177\202\323\344\223\002A\"6/v1p1beta1/{p" - + "arent=organizations/*/sources/*}/finding" - + "s:\007finding\332A\031parent,finding_id,finding\332A" - + "\031parent,finding,finding_id\022\270\002\n\030CreateNot" - + "ificationConfig\022F.google.cloud.securityc" - + "enter.v1p1beta1.CreateNotificationConfig" - + "Request\0329.google.cloud.securitycenter.v1" - + "p1beta1.NotificationConfig\"\230\001\202\323\344\223\002N\"7/v1" - + "p1beta1/{parent=organizations/*}/notific" - + "ationConfigs:\023notification_config\332A$pare" - + "nt,config_id,notification_config\332A\032paren" - + "t,notification_config\022\302\001\n\030DeleteNotifica" - + "tionConfig\022F.google.cloud.securitycenter" - + ".v1p1beta1.DeleteNotificationConfigReque" - + "st\032\026.google.protobuf.Empty\"F\202\323\344\223\0029*7/v1p" - + "1beta1/{name=organizations/*/notificatio" - + "nConfigs/*}\332A\004name\022\235\001\n\014GetIamPolicy\022\".go" - + "ogle.iam.v1.GetIamPolicyRequest\032\025.google" - + ".iam.v1.Policy\"R\202\323\344\223\002A\"\"9/v1p1beta1/{name=folders/*/source" - + "s/*/findings/*}:setState:\001*Z?\":/v1p1beta" - + "1/{name=projects/*/sources/*/findings/*}" - + ":setState:\001*\332A\025name,state,start_time\022\244\001\n" - + "\014SetIamPolicy\022\".google.iam.v1.SetIamPoli" - + "cyRequest\032\025.google.iam.v1.Policy\"Y\202\323\344\223\002A" - + "\"/v1p1bet" - + "a1/{finding.name=organizations/*/sources" - + "/*/findings/*}:\007findingZC28/v1p1beta1/{f" - + "inding.name=folders/*/sources/*/findings" - + "/*}:\007findingZD29/v1p1beta1/{finding.name" - + "=projects/*/sources/*/findings/*}:\007findi" - + "ng\332A\007finding\332A\023finding,update_mask\022\300\002\n\030U" - + "pdateNotificationConfig\022F.google.cloud.s" - + "ecuritycenter.v1p1beta1.UpdateNotificati" - + "onConfigRequest\0329.google.cloud.securityc" - + "enter.v1p1beta1.NotificationConfig\"\240\001\202\323\344" - + "\223\002b2K/v1p1beta1/{notification_config.nam" - + "e=organizations/*/notificationConfigs/*}" - + ":\023notification_config\332A\023notification_con" - + "fig\332A\037notification_config,update_mask\022\251\002" - + "\n\032UpdateOrganizationSettings\022H.google.cl" - + "oud.securitycenter.v1p1beta1.UpdateOrgan" - + "izationSettingsRequest\032;.google.cloud.se" - + "curitycenter.v1p1beta1.OrganizationSetti" - + "ngs\"\203\001\202\323\344\223\002e2L/v1p1beta1/{organization_s" - + "ettings.name=organizations/*/organizatio" - + "nSettings}:\025organization_settings\332A\025orga" - + "nization_settings\022\333\001\n\014UpdateSource\022:.goo" - + "gle.cloud.securitycenter.v1p1beta1.Updat" - + "eSourceRequest\032-.google.cloud.securityce" - + "nter.v1p1beta1.Source\"`\202\323\344\223\002<22/v1p1beta" - + "1/{source.name=organizations/*/sources/*" - + "}:\006source\332A\006source\332A\022source,update_mask\022" - + "\364\005\n\023UpdateSecurityMarks\022A.google.cloud.s" - + "ecuritycenter.v1p1beta1.UpdateSecurityMa" - + "rksRequest\0324.google.cloud.securitycenter" - + ".v1p1beta1.SecurityMarks\"\343\004\202\323\344\223\002\256\0042G/v1p" - + "1beta1/{security_marks.name=organization" - + "s/*/assets/*/securityMarks}:\016security_ma" - + "rksZS2A/v1p1beta1/{security_marks.name=f" - + "olders/*/assets/*/securityMarks}:\016securi" - + "ty_marksZT2B/v1p1beta1/{security_marks.n" - + "ame=projects/*/assets/*/securityMarks}:\016" - + "security_marksZe2S/v1p1beta1/{security_m" - + "arks.name=organizations/*/sources/*/find" - + "ings/*/securityMarks}:\016security_marksZ_2" - + "M/v1p1beta1/{security_marks.name=folders" - + "/*/sources/*/findings/*/securityMarks}:\016" - + "security_marksZ`2N/v1p1beta1/{security_m" - + "arks.name=projects/*/sources/*/findings/" - + "*/securityMarks}:\016security_marks\332A\016secur" - + "ity_marks\332A\032security_marks,update_mask\032Q" - + "\312A\035securitycenter.googleapis.com\322A.https" - + "://www.googleapis.com/auth/cloud-platfor" - + "mB\375\001\n)com.google.cloud.securitycenter.v1" - + "p1beta1P\001ZSgoogle.golang.org/genproto/go" - + "ogleapis/cloud/securitycenter/v1p1beta1;" - + "securitycenter\252\002%Google.Cloud.SecurityCe" - + "nter.V1P1Beta1\312\002%Google\\Cloud\\SecurityCe" - + "nter\\V1p1beta1\352\002(Google::Cloud::Security" - + "Center::V1p1beta1P\000P\001b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.cloud.securitycenter.v1p1beta1.NotificationMessageOuterClass - .getDescriptor(), - com.google.cloud.securitycenter.v1p1beta1.RunAssetDiscoveryResponseOuterClass - .getDescriptor(), - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.securitycenter.v1p1beta1.AssetOuterClass.getDescriptor(), - com.google.cloud.securitycenter.v1p1beta1.FindingOuterClass.getDescriptor(), - com.google.cloud.securitycenter.v1p1beta1.FolderProto.getDescriptor(), - com.google.cloud.securitycenter.v1p1beta1.NotificationConfigOuterClass - .getDescriptor(), - com.google.cloud.securitycenter.v1p1beta1.OrganizationSettingsOuterClass - .getDescriptor(), - com.google.cloud.securitycenter.v1p1beta1.SecurityMarksOuterClass.getDescriptor(), - com.google.cloud.securitycenter.v1p1beta1.SourceOuterClass.getDescriptor(), - com.google.iam.v1.IamPolicyProto.getDescriptor(), - com.google.iam.v1.PolicyProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.StructProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_securitycenter_v1p1beta1_CreateFindingRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_securitycenter_v1p1beta1_CreateFindingRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1p1beta1_CreateFindingRequest_descriptor, - new java.lang.String[] { - "Parent", "FindingId", "Finding", - }); - internal_static_google_cloud_securitycenter_v1p1beta1_CreateNotificationConfigRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_securitycenter_v1p1beta1_CreateNotificationConfigRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1p1beta1_CreateNotificationConfigRequest_descriptor, - new java.lang.String[] { - "Parent", "ConfigId", "NotificationConfig", - }); - internal_static_google_cloud_securitycenter_v1p1beta1_CreateSourceRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_securitycenter_v1p1beta1_CreateSourceRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1p1beta1_CreateSourceRequest_descriptor, - new java.lang.String[] { - "Parent", "Source", - }); - internal_static_google_cloud_securitycenter_v1p1beta1_DeleteNotificationConfigRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_securitycenter_v1p1beta1_DeleteNotificationConfigRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1p1beta1_DeleteNotificationConfigRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_securitycenter_v1p1beta1_GetNotificationConfigRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_securitycenter_v1p1beta1_GetNotificationConfigRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1p1beta1_GetNotificationConfigRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_securitycenter_v1p1beta1_GetOrganizationSettingsRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_securitycenter_v1p1beta1_GetOrganizationSettingsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1p1beta1_GetOrganizationSettingsRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_securitycenter_v1p1beta1_GetSourceRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_securitycenter_v1p1beta1_GetSourceRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1p1beta1_GetSourceRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_securitycenter_v1p1beta1_GroupAssetsRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_securitycenter_v1p1beta1_GroupAssetsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1p1beta1_GroupAssetsRequest_descriptor, - new java.lang.String[] { - "Parent", "Filter", "GroupBy", "CompareDuration", "ReadTime", "PageToken", "PageSize", - }); - internal_static_google_cloud_securitycenter_v1p1beta1_GroupAssetsResponse_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_securitycenter_v1p1beta1_GroupAssetsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1p1beta1_GroupAssetsResponse_descriptor, - new java.lang.String[] { - "GroupByResults", "ReadTime", "NextPageToken", "TotalSize", - }); - internal_static_google_cloud_securitycenter_v1p1beta1_GroupFindingsRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_securitycenter_v1p1beta1_GroupFindingsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1p1beta1_GroupFindingsRequest_descriptor, - new java.lang.String[] { - "Parent", "Filter", "GroupBy", "ReadTime", "CompareDuration", "PageToken", "PageSize", - }); - internal_static_google_cloud_securitycenter_v1p1beta1_GroupFindingsResponse_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_securitycenter_v1p1beta1_GroupFindingsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1p1beta1_GroupFindingsResponse_descriptor, - new java.lang.String[] { - "GroupByResults", "ReadTime", "NextPageToken", "TotalSize", - }); - internal_static_google_cloud_securitycenter_v1p1beta1_GroupResult_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_securitycenter_v1p1beta1_GroupResult_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1p1beta1_GroupResult_descriptor, - new java.lang.String[] { - "Properties", "Count", - }); - internal_static_google_cloud_securitycenter_v1p1beta1_GroupResult_PropertiesEntry_descriptor = - internal_static_google_cloud_securitycenter_v1p1beta1_GroupResult_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_securitycenter_v1p1beta1_GroupResult_PropertiesEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1p1beta1_GroupResult_PropertiesEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_securitycenter_v1p1beta1_ListNotificationConfigsRequest_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_securitycenter_v1p1beta1_ListNotificationConfigsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1p1beta1_ListNotificationConfigsRequest_descriptor, - new java.lang.String[] { - "Parent", "PageToken", "PageSize", - }); - internal_static_google_cloud_securitycenter_v1p1beta1_ListNotificationConfigsResponse_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_securitycenter_v1p1beta1_ListNotificationConfigsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1p1beta1_ListNotificationConfigsResponse_descriptor, - new java.lang.String[] { - "NotificationConfigs", "NextPageToken", - }); - internal_static_google_cloud_securitycenter_v1p1beta1_ListSourcesRequest_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_cloud_securitycenter_v1p1beta1_ListSourcesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1p1beta1_ListSourcesRequest_descriptor, - new java.lang.String[] { - "Parent", "PageToken", "PageSize", - }); - internal_static_google_cloud_securitycenter_v1p1beta1_ListSourcesResponse_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_cloud_securitycenter_v1p1beta1_ListSourcesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1p1beta1_ListSourcesResponse_descriptor, - new java.lang.String[] { - "Sources", "NextPageToken", - }); - internal_static_google_cloud_securitycenter_v1p1beta1_ListAssetsRequest_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_cloud_securitycenter_v1p1beta1_ListAssetsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1p1beta1_ListAssetsRequest_descriptor, - new java.lang.String[] { - "Parent", - "Filter", - "OrderBy", - "ReadTime", - "CompareDuration", - "FieldMask", - "PageToken", - "PageSize", - }); - internal_static_google_cloud_securitycenter_v1p1beta1_ListAssetsResponse_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_cloud_securitycenter_v1p1beta1_ListAssetsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1p1beta1_ListAssetsResponse_descriptor, - new java.lang.String[] { - "ListAssetsResults", "ReadTime", "NextPageToken", "TotalSize", - }); - internal_static_google_cloud_securitycenter_v1p1beta1_ListAssetsResponse_ListAssetsResult_descriptor = - internal_static_google_cloud_securitycenter_v1p1beta1_ListAssetsResponse_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_securitycenter_v1p1beta1_ListAssetsResponse_ListAssetsResult_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1p1beta1_ListAssetsResponse_ListAssetsResult_descriptor, - new java.lang.String[] { - "Asset", "StateChange", - }); - internal_static_google_cloud_securitycenter_v1p1beta1_ListFindingsRequest_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_cloud_securitycenter_v1p1beta1_ListFindingsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1p1beta1_ListFindingsRequest_descriptor, - new java.lang.String[] { - "Parent", - "Filter", - "OrderBy", - "ReadTime", - "CompareDuration", - "FieldMask", - "PageToken", - "PageSize", - }); - internal_static_google_cloud_securitycenter_v1p1beta1_ListFindingsResponse_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_google_cloud_securitycenter_v1p1beta1_ListFindingsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1p1beta1_ListFindingsResponse_descriptor, - new java.lang.String[] { - "ListFindingsResults", "ReadTime", "NextPageToken", "TotalSize", - }); - internal_static_google_cloud_securitycenter_v1p1beta1_ListFindingsResponse_ListFindingsResult_descriptor = - internal_static_google_cloud_securitycenter_v1p1beta1_ListFindingsResponse_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_securitycenter_v1p1beta1_ListFindingsResponse_ListFindingsResult_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1p1beta1_ListFindingsResponse_ListFindingsResult_descriptor, - new java.lang.String[] { - "Finding", "StateChange", "Resource", - }); - internal_static_google_cloud_securitycenter_v1p1beta1_ListFindingsResponse_ListFindingsResult_Resource_descriptor = - internal_static_google_cloud_securitycenter_v1p1beta1_ListFindingsResponse_ListFindingsResult_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_securitycenter_v1p1beta1_ListFindingsResponse_ListFindingsResult_Resource_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1p1beta1_ListFindingsResponse_ListFindingsResult_Resource_descriptor, - new java.lang.String[] { - "Name", - "ProjectName", - "ProjectDisplayName", - "ParentName", - "ParentDisplayName", - "Folders", - }); - internal_static_google_cloud_securitycenter_v1p1beta1_SetFindingStateRequest_descriptor = - getDescriptor().getMessageTypes().get(20); - internal_static_google_cloud_securitycenter_v1p1beta1_SetFindingStateRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1p1beta1_SetFindingStateRequest_descriptor, - new java.lang.String[] { - "Name", "State", "StartTime", - }); - internal_static_google_cloud_securitycenter_v1p1beta1_RunAssetDiscoveryRequest_descriptor = - getDescriptor().getMessageTypes().get(21); - internal_static_google_cloud_securitycenter_v1p1beta1_RunAssetDiscoveryRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1p1beta1_RunAssetDiscoveryRequest_descriptor, - new java.lang.String[] { - "Parent", - }); - internal_static_google_cloud_securitycenter_v1p1beta1_UpdateFindingRequest_descriptor = - getDescriptor().getMessageTypes().get(22); - internal_static_google_cloud_securitycenter_v1p1beta1_UpdateFindingRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1p1beta1_UpdateFindingRequest_descriptor, - new java.lang.String[] { - "Finding", "UpdateMask", - }); - internal_static_google_cloud_securitycenter_v1p1beta1_UpdateNotificationConfigRequest_descriptor = - getDescriptor().getMessageTypes().get(23); - internal_static_google_cloud_securitycenter_v1p1beta1_UpdateNotificationConfigRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1p1beta1_UpdateNotificationConfigRequest_descriptor, - new java.lang.String[] { - "NotificationConfig", "UpdateMask", - }); - internal_static_google_cloud_securitycenter_v1p1beta1_UpdateOrganizationSettingsRequest_descriptor = - getDescriptor().getMessageTypes().get(24); - internal_static_google_cloud_securitycenter_v1p1beta1_UpdateOrganizationSettingsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1p1beta1_UpdateOrganizationSettingsRequest_descriptor, - new java.lang.String[] { - "OrganizationSettings", "UpdateMask", - }); - internal_static_google_cloud_securitycenter_v1p1beta1_UpdateSourceRequest_descriptor = - getDescriptor().getMessageTypes().get(25); - internal_static_google_cloud_securitycenter_v1p1beta1_UpdateSourceRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1p1beta1_UpdateSourceRequest_descriptor, - new java.lang.String[] { - "Source", "UpdateMask", - }); - internal_static_google_cloud_securitycenter_v1p1beta1_UpdateSecurityMarksRequest_descriptor = - getDescriptor().getMessageTypes().get(26); - internal_static_google_cloud_securitycenter_v1p1beta1_UpdateSecurityMarksRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1p1beta1_UpdateSecurityMarksRequest_descriptor, - new java.lang.String[] { - "SecurityMarks", "UpdateMask", "StartTime", - }); - 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); - registry.add(com.google.longrunning.OperationsProto.operationInfo); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.cloud.securitycenter.v1p1beta1.NotificationMessageOuterClass.getDescriptor(); - com.google.cloud.securitycenter.v1p1beta1.RunAssetDiscoveryResponseOuterClass.getDescriptor(); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.securitycenter.v1p1beta1.AssetOuterClass.getDescriptor(); - com.google.cloud.securitycenter.v1p1beta1.FindingOuterClass.getDescriptor(); - com.google.cloud.securitycenter.v1p1beta1.FolderProto.getDescriptor(); - com.google.cloud.securitycenter.v1p1beta1.NotificationConfigOuterClass.getDescriptor(); - com.google.cloud.securitycenter.v1p1beta1.OrganizationSettingsOuterClass.getDescriptor(); - com.google.cloud.securitycenter.v1p1beta1.SecurityMarksOuterClass.getDescriptor(); - com.google.cloud.securitycenter.v1p1beta1.SourceOuterClass.getDescriptor(); - com.google.iam.v1.IamPolicyProto.getDescriptor(); - com.google.iam.v1.PolicyProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.protobuf.StructProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/SourceOuterClass.java b/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/SourceOuterClass.java deleted file mode 100644 index a9c79fa220f7..000000000000 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/SourceOuterClass.java +++ /dev/null @@ -1,83 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/securitycenter/v1p1beta1/source.proto - -package com.google.cloud.securitycenter.v1p1beta1; - -public final class SourceOuterClass { - private SourceOuterClass() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public 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_securitycenter_v1p1beta1_Source_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_securitycenter_v1p1beta1_Source_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n2google/cloud/securitycenter/v1p1beta1/" - + "source.proto\022%google.cloud.securitycente" - + "r.v1p1beta1\032\031google/api/resource.proto\"\375" - + "\001\n\006Source\022\014\n\004name\030\001 \001(\t\022\024\n\014display_name\030" - + "\002 \001(\t\022\023\n\013description\030\003 \001(\t\022\026\n\016canonical_" - + "name\030\016 \001(\t:\241\001\352A\235\001\n$securitycenter.google" - + "apis.com/Source\022-organizations/{organiza" - + "tion}/sources/{source}\022!folders/{folder}" - + "/sources/{source}\022#projects/{project}/so" - + "urces/{source}B\375\001\n)com.google.cloud.secu" - + "ritycenter.v1p1beta1P\001ZSgoogle.golang.or" - + "g/genproto/googleapis/cloud/securitycent" - + "er/v1p1beta1;securitycenter\252\002%Google.Clo" - + "ud.SecurityCenter.V1P1Beta1\312\002%Google\\Clo" - + "ud\\SecurityCenter\\V1p1beta1\352\002(Google::Cl" - + "oud::SecurityCenter::V1p1beta1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.ResourceProto.getDescriptor(), - }); - internal_static_google_cloud_securitycenter_v1p1beta1_Source_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_securitycenter_v1p1beta1_Source_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_securitycenter_v1p1beta1_Source_descriptor, - new java.lang.String[] { - "Name", "DisplayName", "Description", "CanonicalName", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.ResourceProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/SecurityCenterClient.java b/owl-bot-staging/java-securitycenter/v1/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/SecurityCenterClient.java similarity index 99% rename from java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/SecurityCenterClient.java rename to owl-bot-staging/java-securitycenter/v1/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/SecurityCenterClient.java index aa0577366687..05ad83ed3bce 100644 --- a/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/SecurityCenterClient.java +++ b/owl-bot-staging/java-securitycenter/v1/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/SecurityCenterClient.java @@ -3794,7 +3794,7 @@ public final UnaryCallable runAssetDiscover * * @param name Required. The relative resource name of the finding. See: * https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: - * "organizations/{organization_id}/sources/{source_id}/finding/{finding_id}". + * "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}". * @param state Required. The desired State of the finding. * @param startTime Required. The time at which the updated state takes effect. * @throws com.google.api.gax.rpc.ApiException if the remote call fails @@ -3833,7 +3833,7 @@ public final Finding setFindingState(FindingName name, Finding.State state, Time * * @param name Required. The relative resource name of the finding. See: * https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: - * "organizations/{organization_id}/sources/{source_id}/finding/{finding_id}". + * "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}". * @param state Required. The desired State of the finding. * @param startTime Required. The time at which the updated state takes effect. * @throws com.google.api.gax.rpc.ApiException if the remote call fails @@ -3934,9 +3934,9 @@ public final UnaryCallable setFindingStateCalla * * @param name Required. The relative resource name of the finding. See: * https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: - * "organizations/{organization_id}/sources/{source_id}/finding/{finding_id}", - * "folders/{folder_id}/sources/{source_id}/finding/{finding_id}", - * "projects/{project_id}/sources/{source_id}/finding/{finding_id}". + * "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}", + * "folders/{folder_id}/sources/{source_id}/findings/{finding_id}", + * "projects/{project_id}/sources/{source_id}/findings/{finding_id}". * @param mute Required. The desired state of the Mute. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -3972,9 +3972,9 @@ public final Finding setMute(FindingName name, Finding.Mute mute) { * * @param name Required. The relative resource name of the finding. See: * https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: - * "organizations/{organization_id}/sources/{source_id}/finding/{finding_id}", - * "folders/{folder_id}/sources/{source_id}/finding/{finding_id}", - * "projects/{project_id}/sources/{source_id}/finding/{finding_id}". + * "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}", + * "folders/{folder_id}/sources/{source_id}/findings/{finding_id}", + * "projects/{project_id}/sources/{source_id}/findings/{finding_id}". * @param mute Required. The desired state of the Mute. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ diff --git a/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/SecurityCenterSettings.java b/owl-bot-staging/java-securitycenter/v1/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/SecurityCenterSettings.java similarity index 99% rename from java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/SecurityCenterSettings.java rename to owl-bot-staging/java-securitycenter/v1/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/SecurityCenterSettings.java index e42ef771620b..2b01acf313f7 100644 --- a/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/SecurityCenterSettings.java +++ b/owl-bot-staging/java-securitycenter/v1/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/SecurityCenterSettings.java @@ -36,6 +36,7 @@ import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.OperationCallSettings; import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.securitycenter.v1.stub.SecurityCenterStubSettings; diff --git a/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/gapic_metadata.json b/owl-bot-staging/java-securitycenter/v1/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/gapic_metadata.json similarity index 100% rename from java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/gapic_metadata.json rename to owl-bot-staging/java-securitycenter/v1/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/gapic_metadata.json diff --git a/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/package-info.java b/owl-bot-staging/java-securitycenter/v1/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/package-info.java similarity index 100% rename from java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/package-info.java rename to owl-bot-staging/java-securitycenter/v1/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/package-info.java diff --git a/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/stub/GrpcSecurityCenterCallableFactory.java b/owl-bot-staging/java-securitycenter/v1/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/stub/GrpcSecurityCenterCallableFactory.java similarity index 100% rename from java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/stub/GrpcSecurityCenterCallableFactory.java rename to owl-bot-staging/java-securitycenter/v1/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/stub/GrpcSecurityCenterCallableFactory.java diff --git a/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/stub/GrpcSecurityCenterStub.java b/owl-bot-staging/java-securitycenter/v1/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/stub/GrpcSecurityCenterStub.java similarity index 99% rename from java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/stub/GrpcSecurityCenterStub.java rename to owl-bot-staging/java-securitycenter/v1/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/stub/GrpcSecurityCenterStub.java index cd09071d4c99..4943b19d61e6 100644 --- a/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/stub/GrpcSecurityCenterStub.java +++ b/owl-bot-staging/java-securitycenter/v1/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/stub/GrpcSecurityCenterStub.java @@ -95,6 +95,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-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/stub/HttpJsonSecurityCenterCallableFactory.java b/owl-bot-staging/java-securitycenter/v1/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/stub/HttpJsonSecurityCenterCallableFactory.java similarity index 100% rename from java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/stub/HttpJsonSecurityCenterCallableFactory.java rename to owl-bot-staging/java-securitycenter/v1/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/stub/HttpJsonSecurityCenterCallableFactory.java diff --git a/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/stub/HttpJsonSecurityCenterStub.java b/owl-bot-staging/java-securitycenter/v1/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/stub/HttpJsonSecurityCenterStub.java similarity index 99% rename from java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/stub/HttpJsonSecurityCenterStub.java rename to owl-bot-staging/java-securitycenter/v1/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/stub/HttpJsonSecurityCenterStub.java index 12d1f5f4556b..1c4982ff11a3 100644 --- a/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/stub/HttpJsonSecurityCenterStub.java +++ b/owl-bot-staging/java-securitycenter/v1/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/stub/HttpJsonSecurityCenterStub.java @@ -37,6 +37,7 @@ import com.google.api.gax.httpjson.ProtoMessageResponseParser; import com.google.api.gax.httpjson.ProtoRestSerializer; import com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub; +import com.google.api.gax.longrunning.OperationSnapshot; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.OperationCallable; import com.google.api.gax.rpc.UnaryCallable; diff --git a/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/stub/SecurityCenterStub.java b/owl-bot-staging/java-securitycenter/v1/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/stub/SecurityCenterStub.java similarity index 100% rename from java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/stub/SecurityCenterStub.java rename to owl-bot-staging/java-securitycenter/v1/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/stub/SecurityCenterStub.java diff --git a/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/stub/SecurityCenterStubSettings.java b/owl-bot-staging/java-securitycenter/v1/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/stub/SecurityCenterStubSettings.java similarity index 100% rename from java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/stub/SecurityCenterStubSettings.java rename to owl-bot-staging/java-securitycenter/v1/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/stub/SecurityCenterStubSettings.java diff --git a/java-securitycenter/google-cloud-securitycenter/src/test/java/com/google/cloud/securitycenter/v1/MockSecurityCenter.java b/owl-bot-staging/java-securitycenter/v1/google-cloud-securitycenter/src/test/java/com/google/cloud/securitycenter/v1/MockSecurityCenter.java similarity index 100% rename from java-securitycenter/google-cloud-securitycenter/src/test/java/com/google/cloud/securitycenter/v1/MockSecurityCenter.java rename to owl-bot-staging/java-securitycenter/v1/google-cloud-securitycenter/src/test/java/com/google/cloud/securitycenter/v1/MockSecurityCenter.java diff --git a/java-securitycenter/google-cloud-securitycenter/src/test/java/com/google/cloud/securitycenter/v1/MockSecurityCenterImpl.java b/owl-bot-staging/java-securitycenter/v1/google-cloud-securitycenter/src/test/java/com/google/cloud/securitycenter/v1/MockSecurityCenterImpl.java similarity index 100% rename from java-securitycenter/google-cloud-securitycenter/src/test/java/com/google/cloud/securitycenter/v1/MockSecurityCenterImpl.java rename to owl-bot-staging/java-securitycenter/v1/google-cloud-securitycenter/src/test/java/com/google/cloud/securitycenter/v1/MockSecurityCenterImpl.java diff --git a/java-securitycenter/google-cloud-securitycenter/src/test/java/com/google/cloud/securitycenter/v1/SecurityCenterClientHttpJsonTest.java b/owl-bot-staging/java-securitycenter/v1/google-cloud-securitycenter/src/test/java/com/google/cloud/securitycenter/v1/SecurityCenterClientHttpJsonTest.java similarity index 99% rename from java-securitycenter/google-cloud-securitycenter/src/test/java/com/google/cloud/securitycenter/v1/SecurityCenterClientHttpJsonTest.java rename to owl-bot-staging/java-securitycenter/v1/google-cloud-securitycenter/src/test/java/com/google/cloud/securitycenter/v1/SecurityCenterClientHttpJsonTest.java index 9c7736ab7eb6..c35e6f50c787 100644 --- a/java-securitycenter/google-cloud-securitycenter/src/test/java/com/google/cloud/securitycenter/v1/SecurityCenterClientHttpJsonTest.java +++ b/owl-bot-staging/java-securitycenter/v1/google-cloud-securitycenter/src/test/java/com/google/cloud/securitycenter/v1/SecurityCenterClientHttpJsonTest.java @@ -324,6 +324,7 @@ public void createFindingTest() throws Exception { .addAllContainers(new ArrayList()) .setKubernetes(Kubernetes.newBuilder().build()) .setDatabase(Database.newBuilder().build()) + .addAllFiles(new ArrayList()) .build(); mockService.addResponse(expectedResponse); @@ -403,6 +404,7 @@ public void createFindingTest2() throws Exception { .addAllContainers(new ArrayList()) .setKubernetes(Kubernetes.newBuilder().build()) .setDatabase(Database.newBuilder().build()) + .addAllFiles(new ArrayList()) .build(); mockService.addResponse(expectedResponse); @@ -3125,6 +3127,7 @@ public void setFindingStateTest() throws Exception { .addAllContainers(new ArrayList()) .setKubernetes(Kubernetes.newBuilder().build()) .setDatabase(Database.newBuilder().build()) + .addAllFiles(new ArrayList()) .build(); mockService.addResponse(expectedResponse); @@ -3206,6 +3209,7 @@ public void setFindingStateTest2() throws Exception { .addAllContainers(new ArrayList()) .setKubernetes(Kubernetes.newBuilder().build()) .setDatabase(Database.newBuilder().build()) + .addAllFiles(new ArrayList()) .build(); mockService.addResponse(expectedResponse); @@ -3285,6 +3289,7 @@ public void setMuteTest() throws Exception { .addAllContainers(new ArrayList()) .setKubernetes(Kubernetes.newBuilder().build()) .setDatabase(Database.newBuilder().build()) + .addAllFiles(new ArrayList()) .build(); mockService.addResponse(expectedResponse); @@ -3364,6 +3369,7 @@ public void setMuteTest2() throws Exception { .addAllContainers(new ArrayList()) .setKubernetes(Kubernetes.newBuilder().build()) .setDatabase(Database.newBuilder().build()) + .addAllFiles(new ArrayList()) .build(); mockService.addResponse(expectedResponse); @@ -3693,6 +3699,7 @@ public void updateFindingTest() throws Exception { .addAllContainers(new ArrayList()) .setKubernetes(Kubernetes.newBuilder().build()) .setDatabase(Database.newBuilder().build()) + .addAllFiles(new ArrayList()) .build(); mockService.addResponse(expectedResponse); @@ -3730,6 +3737,7 @@ public void updateFindingTest() throws Exception { .addAllContainers(new ArrayList()) .setKubernetes(Kubernetes.newBuilder().build()) .setDatabase(Database.newBuilder().build()) + .addAllFiles(new ArrayList()) .build(); Finding actualResponse = client.updateFinding(finding); @@ -3792,6 +3800,7 @@ public void updateFindingExceptionTest() throws Exception { .addAllContainers(new ArrayList()) .setKubernetes(Kubernetes.newBuilder().build()) .setDatabase(Database.newBuilder().build()) + .addAllFiles(new ArrayList()) .build(); client.updateFinding(finding); Assert.fail("No exception raised"); diff --git a/java-securitycenter/google-cloud-securitycenter/src/test/java/com/google/cloud/securitycenter/v1/SecurityCenterClientTest.java b/owl-bot-staging/java-securitycenter/v1/google-cloud-securitycenter/src/test/java/com/google/cloud/securitycenter/v1/SecurityCenterClientTest.java similarity index 99% rename from java-securitycenter/google-cloud-securitycenter/src/test/java/com/google/cloud/securitycenter/v1/SecurityCenterClientTest.java rename to owl-bot-staging/java-securitycenter/v1/google-cloud-securitycenter/src/test/java/com/google/cloud/securitycenter/v1/SecurityCenterClientTest.java index f6835e6eaeae..20a990ffd381 100644 --- a/java-securitycenter/google-cloud-securitycenter/src/test/java/com/google/cloud/securitycenter/v1/SecurityCenterClientTest.java +++ b/owl-bot-staging/java-securitycenter/v1/google-cloud-securitycenter/src/test/java/com/google/cloud/securitycenter/v1/SecurityCenterClientTest.java @@ -315,6 +315,7 @@ public void createFindingTest() throws Exception { .addAllContainers(new ArrayList()) .setKubernetes(Kubernetes.newBuilder().build()) .setDatabase(Database.newBuilder().build()) + .addAllFiles(new ArrayList()) .build(); mockSecurityCenter.addResponse(expectedResponse); @@ -390,6 +391,7 @@ public void createFindingTest2() throws Exception { .addAllContainers(new ArrayList()) .setKubernetes(Kubernetes.newBuilder().build()) .setDatabase(Database.newBuilder().build()) + .addAllFiles(new ArrayList()) .build(); mockSecurityCenter.addResponse(expectedResponse); @@ -2872,6 +2874,7 @@ public void setFindingStateTest() throws Exception { .addAllContainers(new ArrayList()) .setKubernetes(Kubernetes.newBuilder().build()) .setDatabase(Database.newBuilder().build()) + .addAllFiles(new ArrayList()) .build(); mockSecurityCenter.addResponse(expectedResponse); @@ -2949,6 +2952,7 @@ public void setFindingStateTest2() throws Exception { .addAllContainers(new ArrayList()) .setKubernetes(Kubernetes.newBuilder().build()) .setDatabase(Database.newBuilder().build()) + .addAllFiles(new ArrayList()) .build(); mockSecurityCenter.addResponse(expectedResponse); @@ -3024,6 +3028,7 @@ public void setMuteTest() throws Exception { .addAllContainers(new ArrayList()) .setKubernetes(Kubernetes.newBuilder().build()) .setDatabase(Database.newBuilder().build()) + .addAllFiles(new ArrayList()) .build(); mockSecurityCenter.addResponse(expectedResponse); @@ -3098,6 +3103,7 @@ public void setMuteTest2() throws Exception { .addAllContainers(new ArrayList()) .setKubernetes(Kubernetes.newBuilder().build()) .setDatabase(Database.newBuilder().build()) + .addAllFiles(new ArrayList()) .build(); mockSecurityCenter.addResponse(expectedResponse); @@ -3382,6 +3388,7 @@ public void updateFindingTest() throws Exception { .addAllContainers(new ArrayList()) .setKubernetes(Kubernetes.newBuilder().build()) .setDatabase(Database.newBuilder().build()) + .addAllFiles(new ArrayList()) .build(); mockSecurityCenter.addResponse(expectedResponse); diff --git a/owl-bot-staging/java-securitycenter/v1/grpc-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/SecurityCenterGrpc.java b/owl-bot-staging/java-securitycenter/v1/grpc-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/SecurityCenterGrpc.java new file mode 100644 index 000000000000..be404ce375c6 --- /dev/null +++ b/owl-bot-staging/java-securitycenter/v1/grpc-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/SecurityCenterGrpc.java @@ -0,0 +1,3397 @@ +package com.google.cloud.securitycenter.v1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + *
+ * V1 APIs for Security Center service.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/securitycenter/v1/securitycenter_service.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class SecurityCenterGrpc { + + private SecurityCenterGrpc() {} + + public static final String SERVICE_NAME = "google.cloud.securitycenter.v1.SecurityCenter"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor getBulkMuteFindingsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "BulkMuteFindings", + requestType = com.google.cloud.securitycenter.v1.BulkMuteFindingsRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getBulkMuteFindingsMethod() { + io.grpc.MethodDescriptor getBulkMuteFindingsMethod; + if ((getBulkMuteFindingsMethod = SecurityCenterGrpc.getBulkMuteFindingsMethod) == null) { + synchronized (SecurityCenterGrpc.class) { + if ((getBulkMuteFindingsMethod = SecurityCenterGrpc.getBulkMuteFindingsMethod) == null) { + SecurityCenterGrpc.getBulkMuteFindingsMethod = getBulkMuteFindingsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BulkMuteFindings")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.securitycenter.v1.BulkMuteFindingsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new SecurityCenterMethodDescriptorSupplier("BulkMuteFindings")) + .build(); + } + } + } + return getBulkMuteFindingsMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateSourceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateSource", + requestType = com.google.cloud.securitycenter.v1.CreateSourceRequest.class, + responseType = com.google.cloud.securitycenter.v1.Source.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateSourceMethod() { + io.grpc.MethodDescriptor getCreateSourceMethod; + if ((getCreateSourceMethod = SecurityCenterGrpc.getCreateSourceMethod) == null) { + synchronized (SecurityCenterGrpc.class) { + if ((getCreateSourceMethod = SecurityCenterGrpc.getCreateSourceMethod) == null) { + SecurityCenterGrpc.getCreateSourceMethod = getCreateSourceMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateSource")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.securitycenter.v1.CreateSourceRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.securitycenter.v1.Source.getDefaultInstance())) + .setSchemaDescriptor(new SecurityCenterMethodDescriptorSupplier("CreateSource")) + .build(); + } + } + } + return getCreateSourceMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateFindingMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateFinding", + requestType = com.google.cloud.securitycenter.v1.CreateFindingRequest.class, + responseType = com.google.cloud.securitycenter.v1.Finding.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateFindingMethod() { + io.grpc.MethodDescriptor getCreateFindingMethod; + if ((getCreateFindingMethod = SecurityCenterGrpc.getCreateFindingMethod) == null) { + synchronized (SecurityCenterGrpc.class) { + if ((getCreateFindingMethod = SecurityCenterGrpc.getCreateFindingMethod) == null) { + SecurityCenterGrpc.getCreateFindingMethod = getCreateFindingMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateFinding")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.securitycenter.v1.CreateFindingRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.securitycenter.v1.Finding.getDefaultInstance())) + .setSchemaDescriptor(new SecurityCenterMethodDescriptorSupplier("CreateFinding")) + .build(); + } + } + } + return getCreateFindingMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateMuteConfigMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateMuteConfig", + requestType = com.google.cloud.securitycenter.v1.CreateMuteConfigRequest.class, + responseType = com.google.cloud.securitycenter.v1.MuteConfig.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateMuteConfigMethod() { + io.grpc.MethodDescriptor getCreateMuteConfigMethod; + if ((getCreateMuteConfigMethod = SecurityCenterGrpc.getCreateMuteConfigMethod) == null) { + synchronized (SecurityCenterGrpc.class) { + if ((getCreateMuteConfigMethod = SecurityCenterGrpc.getCreateMuteConfigMethod) == null) { + SecurityCenterGrpc.getCreateMuteConfigMethod = getCreateMuteConfigMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateMuteConfig")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.securitycenter.v1.CreateMuteConfigRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.securitycenter.v1.MuteConfig.getDefaultInstance())) + .setSchemaDescriptor(new SecurityCenterMethodDescriptorSupplier("CreateMuteConfig")) + .build(); + } + } + } + return getCreateMuteConfigMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateNotificationConfigMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateNotificationConfig", + requestType = com.google.cloud.securitycenter.v1.CreateNotificationConfigRequest.class, + responseType = com.google.cloud.securitycenter.v1.NotificationConfig.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateNotificationConfigMethod() { + io.grpc.MethodDescriptor getCreateNotificationConfigMethod; + if ((getCreateNotificationConfigMethod = SecurityCenterGrpc.getCreateNotificationConfigMethod) == null) { + synchronized (SecurityCenterGrpc.class) { + if ((getCreateNotificationConfigMethod = SecurityCenterGrpc.getCreateNotificationConfigMethod) == null) { + SecurityCenterGrpc.getCreateNotificationConfigMethod = getCreateNotificationConfigMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateNotificationConfig")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.securitycenter.v1.CreateNotificationConfigRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.securitycenter.v1.NotificationConfig.getDefaultInstance())) + .setSchemaDescriptor(new SecurityCenterMethodDescriptorSupplier("CreateNotificationConfig")) + .build(); + } + } + } + return getCreateNotificationConfigMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteMuteConfigMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteMuteConfig", + requestType = com.google.cloud.securitycenter.v1.DeleteMuteConfigRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteMuteConfigMethod() { + io.grpc.MethodDescriptor getDeleteMuteConfigMethod; + if ((getDeleteMuteConfigMethod = SecurityCenterGrpc.getDeleteMuteConfigMethod) == null) { + synchronized (SecurityCenterGrpc.class) { + if ((getDeleteMuteConfigMethod = SecurityCenterGrpc.getDeleteMuteConfigMethod) == null) { + SecurityCenterGrpc.getDeleteMuteConfigMethod = getDeleteMuteConfigMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteMuteConfig")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.securitycenter.v1.DeleteMuteConfigRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new SecurityCenterMethodDescriptorSupplier("DeleteMuteConfig")) + .build(); + } + } + } + return getDeleteMuteConfigMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteNotificationConfigMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteNotificationConfig", + requestType = com.google.cloud.securitycenter.v1.DeleteNotificationConfigRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteNotificationConfigMethod() { + io.grpc.MethodDescriptor getDeleteNotificationConfigMethod; + if ((getDeleteNotificationConfigMethod = SecurityCenterGrpc.getDeleteNotificationConfigMethod) == null) { + synchronized (SecurityCenterGrpc.class) { + if ((getDeleteNotificationConfigMethod = SecurityCenterGrpc.getDeleteNotificationConfigMethod) == null) { + SecurityCenterGrpc.getDeleteNotificationConfigMethod = getDeleteNotificationConfigMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteNotificationConfig")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.securitycenter.v1.DeleteNotificationConfigRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new SecurityCenterMethodDescriptorSupplier("DeleteNotificationConfig")) + .build(); + } + } + } + return getDeleteNotificationConfigMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetBigQueryExportMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetBigQueryExport", + requestType = com.google.cloud.securitycenter.v1.GetBigQueryExportRequest.class, + responseType = com.google.cloud.securitycenter.v1.BigQueryExport.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetBigQueryExportMethod() { + io.grpc.MethodDescriptor getGetBigQueryExportMethod; + if ((getGetBigQueryExportMethod = SecurityCenterGrpc.getGetBigQueryExportMethod) == null) { + synchronized (SecurityCenterGrpc.class) { + if ((getGetBigQueryExportMethod = SecurityCenterGrpc.getGetBigQueryExportMethod) == null) { + SecurityCenterGrpc.getGetBigQueryExportMethod = getGetBigQueryExportMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetBigQueryExport")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.securitycenter.v1.GetBigQueryExportRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.securitycenter.v1.BigQueryExport.getDefaultInstance())) + .setSchemaDescriptor(new SecurityCenterMethodDescriptorSupplier("GetBigQueryExport")) + .build(); + } + } + } + return getGetBigQueryExportMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetIamPolicyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetIamPolicy", + requestType = com.google.iam.v1.GetIamPolicyRequest.class, + responseType = com.google.iam.v1.Policy.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetIamPolicyMethod() { + io.grpc.MethodDescriptor getGetIamPolicyMethod; + if ((getGetIamPolicyMethod = SecurityCenterGrpc.getGetIamPolicyMethod) == null) { + synchronized (SecurityCenterGrpc.class) { + if ((getGetIamPolicyMethod = SecurityCenterGrpc.getGetIamPolicyMethod) == null) { + SecurityCenterGrpc.getGetIamPolicyMethod = getGetIamPolicyMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetIamPolicy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.GetIamPolicyRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.Policy.getDefaultInstance())) + .setSchemaDescriptor(new SecurityCenterMethodDescriptorSupplier("GetIamPolicy")) + .build(); + } + } + } + return getGetIamPolicyMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetMuteConfigMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetMuteConfig", + requestType = com.google.cloud.securitycenter.v1.GetMuteConfigRequest.class, + responseType = com.google.cloud.securitycenter.v1.MuteConfig.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetMuteConfigMethod() { + io.grpc.MethodDescriptor getGetMuteConfigMethod; + if ((getGetMuteConfigMethod = SecurityCenterGrpc.getGetMuteConfigMethod) == null) { + synchronized (SecurityCenterGrpc.class) { + if ((getGetMuteConfigMethod = SecurityCenterGrpc.getGetMuteConfigMethod) == null) { + SecurityCenterGrpc.getGetMuteConfigMethod = getGetMuteConfigMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetMuteConfig")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.securitycenter.v1.GetMuteConfigRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.securitycenter.v1.MuteConfig.getDefaultInstance())) + .setSchemaDescriptor(new SecurityCenterMethodDescriptorSupplier("GetMuteConfig")) + .build(); + } + } + } + return getGetMuteConfigMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetNotificationConfigMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetNotificationConfig", + requestType = com.google.cloud.securitycenter.v1.GetNotificationConfigRequest.class, + responseType = com.google.cloud.securitycenter.v1.NotificationConfig.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetNotificationConfigMethod() { + io.grpc.MethodDescriptor getGetNotificationConfigMethod; + if ((getGetNotificationConfigMethod = SecurityCenterGrpc.getGetNotificationConfigMethod) == null) { + synchronized (SecurityCenterGrpc.class) { + if ((getGetNotificationConfigMethod = SecurityCenterGrpc.getGetNotificationConfigMethod) == null) { + SecurityCenterGrpc.getGetNotificationConfigMethod = getGetNotificationConfigMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetNotificationConfig")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.securitycenter.v1.GetNotificationConfigRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.securitycenter.v1.NotificationConfig.getDefaultInstance())) + .setSchemaDescriptor(new SecurityCenterMethodDescriptorSupplier("GetNotificationConfig")) + .build(); + } + } + } + return getGetNotificationConfigMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetOrganizationSettingsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetOrganizationSettings", + requestType = com.google.cloud.securitycenter.v1.GetOrganizationSettingsRequest.class, + responseType = com.google.cloud.securitycenter.v1.OrganizationSettings.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetOrganizationSettingsMethod() { + io.grpc.MethodDescriptor getGetOrganizationSettingsMethod; + if ((getGetOrganizationSettingsMethod = SecurityCenterGrpc.getGetOrganizationSettingsMethod) == null) { + synchronized (SecurityCenterGrpc.class) { + if ((getGetOrganizationSettingsMethod = SecurityCenterGrpc.getGetOrganizationSettingsMethod) == null) { + SecurityCenterGrpc.getGetOrganizationSettingsMethod = getGetOrganizationSettingsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetOrganizationSettings")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.securitycenter.v1.GetOrganizationSettingsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.securitycenter.v1.OrganizationSettings.getDefaultInstance())) + .setSchemaDescriptor(new SecurityCenterMethodDescriptorSupplier("GetOrganizationSettings")) + .build(); + } + } + } + return getGetOrganizationSettingsMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetSourceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetSource", + requestType = com.google.cloud.securitycenter.v1.GetSourceRequest.class, + responseType = com.google.cloud.securitycenter.v1.Source.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetSourceMethod() { + io.grpc.MethodDescriptor getGetSourceMethod; + if ((getGetSourceMethod = SecurityCenterGrpc.getGetSourceMethod) == null) { + synchronized (SecurityCenterGrpc.class) { + if ((getGetSourceMethod = SecurityCenterGrpc.getGetSourceMethod) == null) { + SecurityCenterGrpc.getGetSourceMethod = getGetSourceMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetSource")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.securitycenter.v1.GetSourceRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.securitycenter.v1.Source.getDefaultInstance())) + .setSchemaDescriptor(new SecurityCenterMethodDescriptorSupplier("GetSource")) + .build(); + } + } + } + return getGetSourceMethod; + } + + private static volatile io.grpc.MethodDescriptor getGroupAssetsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GroupAssets", + requestType = com.google.cloud.securitycenter.v1.GroupAssetsRequest.class, + responseType = com.google.cloud.securitycenter.v1.GroupAssetsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGroupAssetsMethod() { + io.grpc.MethodDescriptor getGroupAssetsMethod; + if ((getGroupAssetsMethod = SecurityCenterGrpc.getGroupAssetsMethod) == null) { + synchronized (SecurityCenterGrpc.class) { + if ((getGroupAssetsMethod = SecurityCenterGrpc.getGroupAssetsMethod) == null) { + SecurityCenterGrpc.getGroupAssetsMethod = getGroupAssetsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GroupAssets")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.securitycenter.v1.GroupAssetsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.securitycenter.v1.GroupAssetsResponse.getDefaultInstance())) + .setSchemaDescriptor(new SecurityCenterMethodDescriptorSupplier("GroupAssets")) + .build(); + } + } + } + return getGroupAssetsMethod; + } + + private static volatile io.grpc.MethodDescriptor getGroupFindingsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GroupFindings", + requestType = com.google.cloud.securitycenter.v1.GroupFindingsRequest.class, + responseType = com.google.cloud.securitycenter.v1.GroupFindingsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGroupFindingsMethod() { + io.grpc.MethodDescriptor getGroupFindingsMethod; + if ((getGroupFindingsMethod = SecurityCenterGrpc.getGroupFindingsMethod) == null) { + synchronized (SecurityCenterGrpc.class) { + if ((getGroupFindingsMethod = SecurityCenterGrpc.getGroupFindingsMethod) == null) { + SecurityCenterGrpc.getGroupFindingsMethod = getGroupFindingsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GroupFindings")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.securitycenter.v1.GroupFindingsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.securitycenter.v1.GroupFindingsResponse.getDefaultInstance())) + .setSchemaDescriptor(new SecurityCenterMethodDescriptorSupplier("GroupFindings")) + .build(); + } + } + } + return getGroupFindingsMethod; + } + + private static volatile io.grpc.MethodDescriptor getListAssetsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListAssets", + requestType = com.google.cloud.securitycenter.v1.ListAssetsRequest.class, + responseType = com.google.cloud.securitycenter.v1.ListAssetsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListAssetsMethod() { + io.grpc.MethodDescriptor getListAssetsMethod; + if ((getListAssetsMethod = SecurityCenterGrpc.getListAssetsMethod) == null) { + synchronized (SecurityCenterGrpc.class) { + if ((getListAssetsMethod = SecurityCenterGrpc.getListAssetsMethod) == null) { + SecurityCenterGrpc.getListAssetsMethod = getListAssetsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListAssets")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.securitycenter.v1.ListAssetsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.securitycenter.v1.ListAssetsResponse.getDefaultInstance())) + .setSchemaDescriptor(new SecurityCenterMethodDescriptorSupplier("ListAssets")) + .build(); + } + } + } + return getListAssetsMethod; + } + + private static volatile io.grpc.MethodDescriptor getListFindingsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListFindings", + requestType = com.google.cloud.securitycenter.v1.ListFindingsRequest.class, + responseType = com.google.cloud.securitycenter.v1.ListFindingsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListFindingsMethod() { + io.grpc.MethodDescriptor getListFindingsMethod; + if ((getListFindingsMethod = SecurityCenterGrpc.getListFindingsMethod) == null) { + synchronized (SecurityCenterGrpc.class) { + if ((getListFindingsMethod = SecurityCenterGrpc.getListFindingsMethod) == null) { + SecurityCenterGrpc.getListFindingsMethod = getListFindingsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListFindings")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.securitycenter.v1.ListFindingsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.securitycenter.v1.ListFindingsResponse.getDefaultInstance())) + .setSchemaDescriptor(new SecurityCenterMethodDescriptorSupplier("ListFindings")) + .build(); + } + } + } + return getListFindingsMethod; + } + + private static volatile io.grpc.MethodDescriptor getListMuteConfigsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListMuteConfigs", + requestType = com.google.cloud.securitycenter.v1.ListMuteConfigsRequest.class, + responseType = com.google.cloud.securitycenter.v1.ListMuteConfigsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListMuteConfigsMethod() { + io.grpc.MethodDescriptor getListMuteConfigsMethod; + if ((getListMuteConfigsMethod = SecurityCenterGrpc.getListMuteConfigsMethod) == null) { + synchronized (SecurityCenterGrpc.class) { + if ((getListMuteConfigsMethod = SecurityCenterGrpc.getListMuteConfigsMethod) == null) { + SecurityCenterGrpc.getListMuteConfigsMethod = getListMuteConfigsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListMuteConfigs")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.securitycenter.v1.ListMuteConfigsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.securitycenter.v1.ListMuteConfigsResponse.getDefaultInstance())) + .setSchemaDescriptor(new SecurityCenterMethodDescriptorSupplier("ListMuteConfigs")) + .build(); + } + } + } + return getListMuteConfigsMethod; + } + + private static volatile io.grpc.MethodDescriptor getListNotificationConfigsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListNotificationConfigs", + requestType = com.google.cloud.securitycenter.v1.ListNotificationConfigsRequest.class, + responseType = com.google.cloud.securitycenter.v1.ListNotificationConfigsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListNotificationConfigsMethod() { + io.grpc.MethodDescriptor getListNotificationConfigsMethod; + if ((getListNotificationConfigsMethod = SecurityCenterGrpc.getListNotificationConfigsMethod) == null) { + synchronized (SecurityCenterGrpc.class) { + if ((getListNotificationConfigsMethod = SecurityCenterGrpc.getListNotificationConfigsMethod) == null) { + SecurityCenterGrpc.getListNotificationConfigsMethod = getListNotificationConfigsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListNotificationConfigs")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.securitycenter.v1.ListNotificationConfigsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.securitycenter.v1.ListNotificationConfigsResponse.getDefaultInstance())) + .setSchemaDescriptor(new SecurityCenterMethodDescriptorSupplier("ListNotificationConfigs")) + .build(); + } + } + } + return getListNotificationConfigsMethod; + } + + private static volatile io.grpc.MethodDescriptor getListSourcesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListSources", + requestType = com.google.cloud.securitycenter.v1.ListSourcesRequest.class, + responseType = com.google.cloud.securitycenter.v1.ListSourcesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListSourcesMethod() { + io.grpc.MethodDescriptor getListSourcesMethod; + if ((getListSourcesMethod = SecurityCenterGrpc.getListSourcesMethod) == null) { + synchronized (SecurityCenterGrpc.class) { + if ((getListSourcesMethod = SecurityCenterGrpc.getListSourcesMethod) == null) { + SecurityCenterGrpc.getListSourcesMethod = getListSourcesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListSources")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.securitycenter.v1.ListSourcesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.securitycenter.v1.ListSourcesResponse.getDefaultInstance())) + .setSchemaDescriptor(new SecurityCenterMethodDescriptorSupplier("ListSources")) + .build(); + } + } + } + return getListSourcesMethod; + } + + private static volatile io.grpc.MethodDescriptor getRunAssetDiscoveryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "RunAssetDiscovery", + requestType = com.google.cloud.securitycenter.v1.RunAssetDiscoveryRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getRunAssetDiscoveryMethod() { + io.grpc.MethodDescriptor getRunAssetDiscoveryMethod; + if ((getRunAssetDiscoveryMethod = SecurityCenterGrpc.getRunAssetDiscoveryMethod) == null) { + synchronized (SecurityCenterGrpc.class) { + if ((getRunAssetDiscoveryMethod = SecurityCenterGrpc.getRunAssetDiscoveryMethod) == null) { + SecurityCenterGrpc.getRunAssetDiscoveryMethod = getRunAssetDiscoveryMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RunAssetDiscovery")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.securitycenter.v1.RunAssetDiscoveryRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new SecurityCenterMethodDescriptorSupplier("RunAssetDiscovery")) + .build(); + } + } + } + return getRunAssetDiscoveryMethod; + } + + private static volatile io.grpc.MethodDescriptor getSetFindingStateMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SetFindingState", + requestType = com.google.cloud.securitycenter.v1.SetFindingStateRequest.class, + responseType = com.google.cloud.securitycenter.v1.Finding.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getSetFindingStateMethod() { + io.grpc.MethodDescriptor getSetFindingStateMethod; + if ((getSetFindingStateMethod = SecurityCenterGrpc.getSetFindingStateMethod) == null) { + synchronized (SecurityCenterGrpc.class) { + if ((getSetFindingStateMethod = SecurityCenterGrpc.getSetFindingStateMethod) == null) { + SecurityCenterGrpc.getSetFindingStateMethod = getSetFindingStateMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetFindingState")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.securitycenter.v1.SetFindingStateRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.securitycenter.v1.Finding.getDefaultInstance())) + .setSchemaDescriptor(new SecurityCenterMethodDescriptorSupplier("SetFindingState")) + .build(); + } + } + } + return getSetFindingStateMethod; + } + + private static volatile io.grpc.MethodDescriptor getSetMuteMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SetMute", + requestType = com.google.cloud.securitycenter.v1.SetMuteRequest.class, + responseType = com.google.cloud.securitycenter.v1.Finding.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getSetMuteMethod() { + io.grpc.MethodDescriptor getSetMuteMethod; + if ((getSetMuteMethod = SecurityCenterGrpc.getSetMuteMethod) == null) { + synchronized (SecurityCenterGrpc.class) { + if ((getSetMuteMethod = SecurityCenterGrpc.getSetMuteMethod) == null) { + SecurityCenterGrpc.getSetMuteMethod = getSetMuteMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetMute")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.securitycenter.v1.SetMuteRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.securitycenter.v1.Finding.getDefaultInstance())) + .setSchemaDescriptor(new SecurityCenterMethodDescriptorSupplier("SetMute")) + .build(); + } + } + } + return getSetMuteMethod; + } + + private static volatile io.grpc.MethodDescriptor getSetIamPolicyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SetIamPolicy", + requestType = com.google.iam.v1.SetIamPolicyRequest.class, + responseType = com.google.iam.v1.Policy.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getSetIamPolicyMethod() { + io.grpc.MethodDescriptor getSetIamPolicyMethod; + if ((getSetIamPolicyMethod = SecurityCenterGrpc.getSetIamPolicyMethod) == null) { + synchronized (SecurityCenterGrpc.class) { + if ((getSetIamPolicyMethod = SecurityCenterGrpc.getSetIamPolicyMethod) == null) { + SecurityCenterGrpc.getSetIamPolicyMethod = getSetIamPolicyMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetIamPolicy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.SetIamPolicyRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.Policy.getDefaultInstance())) + .setSchemaDescriptor(new SecurityCenterMethodDescriptorSupplier("SetIamPolicy")) + .build(); + } + } + } + return getSetIamPolicyMethod; + } + + private static volatile io.grpc.MethodDescriptor getTestIamPermissionsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "TestIamPermissions", + requestType = com.google.iam.v1.TestIamPermissionsRequest.class, + responseType = com.google.iam.v1.TestIamPermissionsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getTestIamPermissionsMethod() { + io.grpc.MethodDescriptor getTestIamPermissionsMethod; + if ((getTestIamPermissionsMethod = SecurityCenterGrpc.getTestIamPermissionsMethod) == null) { + synchronized (SecurityCenterGrpc.class) { + if ((getTestIamPermissionsMethod = SecurityCenterGrpc.getTestIamPermissionsMethod) == null) { + SecurityCenterGrpc.getTestIamPermissionsMethod = getTestIamPermissionsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "TestIamPermissions")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.TestIamPermissionsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.TestIamPermissionsResponse.getDefaultInstance())) + .setSchemaDescriptor(new SecurityCenterMethodDescriptorSupplier("TestIamPermissions")) + .build(); + } + } + } + return getTestIamPermissionsMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateExternalSystemMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateExternalSystem", + requestType = com.google.cloud.securitycenter.v1.UpdateExternalSystemRequest.class, + responseType = com.google.cloud.securitycenter.v1.ExternalSystem.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateExternalSystemMethod() { + io.grpc.MethodDescriptor getUpdateExternalSystemMethod; + if ((getUpdateExternalSystemMethod = SecurityCenterGrpc.getUpdateExternalSystemMethod) == null) { + synchronized (SecurityCenterGrpc.class) { + if ((getUpdateExternalSystemMethod = SecurityCenterGrpc.getUpdateExternalSystemMethod) == null) { + SecurityCenterGrpc.getUpdateExternalSystemMethod = getUpdateExternalSystemMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateExternalSystem")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.securitycenter.v1.UpdateExternalSystemRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.securitycenter.v1.ExternalSystem.getDefaultInstance())) + .setSchemaDescriptor(new SecurityCenterMethodDescriptorSupplier("UpdateExternalSystem")) + .build(); + } + } + } + return getUpdateExternalSystemMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateFindingMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateFinding", + requestType = com.google.cloud.securitycenter.v1.UpdateFindingRequest.class, + responseType = com.google.cloud.securitycenter.v1.Finding.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateFindingMethod() { + io.grpc.MethodDescriptor getUpdateFindingMethod; + if ((getUpdateFindingMethod = SecurityCenterGrpc.getUpdateFindingMethod) == null) { + synchronized (SecurityCenterGrpc.class) { + if ((getUpdateFindingMethod = SecurityCenterGrpc.getUpdateFindingMethod) == null) { + SecurityCenterGrpc.getUpdateFindingMethod = getUpdateFindingMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateFinding")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.securitycenter.v1.UpdateFindingRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.securitycenter.v1.Finding.getDefaultInstance())) + .setSchemaDescriptor(new SecurityCenterMethodDescriptorSupplier("UpdateFinding")) + .build(); + } + } + } + return getUpdateFindingMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateMuteConfigMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateMuteConfig", + requestType = com.google.cloud.securitycenter.v1.UpdateMuteConfigRequest.class, + responseType = com.google.cloud.securitycenter.v1.MuteConfig.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateMuteConfigMethod() { + io.grpc.MethodDescriptor getUpdateMuteConfigMethod; + if ((getUpdateMuteConfigMethod = SecurityCenterGrpc.getUpdateMuteConfigMethod) == null) { + synchronized (SecurityCenterGrpc.class) { + if ((getUpdateMuteConfigMethod = SecurityCenterGrpc.getUpdateMuteConfigMethod) == null) { + SecurityCenterGrpc.getUpdateMuteConfigMethod = getUpdateMuteConfigMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateMuteConfig")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.securitycenter.v1.UpdateMuteConfigRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.securitycenter.v1.MuteConfig.getDefaultInstance())) + .setSchemaDescriptor(new SecurityCenterMethodDescriptorSupplier("UpdateMuteConfig")) + .build(); + } + } + } + return getUpdateMuteConfigMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateNotificationConfigMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateNotificationConfig", + requestType = com.google.cloud.securitycenter.v1.UpdateNotificationConfigRequest.class, + responseType = com.google.cloud.securitycenter.v1.NotificationConfig.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateNotificationConfigMethod() { + io.grpc.MethodDescriptor getUpdateNotificationConfigMethod; + if ((getUpdateNotificationConfigMethod = SecurityCenterGrpc.getUpdateNotificationConfigMethod) == null) { + synchronized (SecurityCenterGrpc.class) { + if ((getUpdateNotificationConfigMethod = SecurityCenterGrpc.getUpdateNotificationConfigMethod) == null) { + SecurityCenterGrpc.getUpdateNotificationConfigMethod = getUpdateNotificationConfigMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateNotificationConfig")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.securitycenter.v1.UpdateNotificationConfigRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.securitycenter.v1.NotificationConfig.getDefaultInstance())) + .setSchemaDescriptor(new SecurityCenterMethodDescriptorSupplier("UpdateNotificationConfig")) + .build(); + } + } + } + return getUpdateNotificationConfigMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateOrganizationSettingsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateOrganizationSettings", + requestType = com.google.cloud.securitycenter.v1.UpdateOrganizationSettingsRequest.class, + responseType = com.google.cloud.securitycenter.v1.OrganizationSettings.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateOrganizationSettingsMethod() { + io.grpc.MethodDescriptor getUpdateOrganizationSettingsMethod; + if ((getUpdateOrganizationSettingsMethod = SecurityCenterGrpc.getUpdateOrganizationSettingsMethod) == null) { + synchronized (SecurityCenterGrpc.class) { + if ((getUpdateOrganizationSettingsMethod = SecurityCenterGrpc.getUpdateOrganizationSettingsMethod) == null) { + SecurityCenterGrpc.getUpdateOrganizationSettingsMethod = getUpdateOrganizationSettingsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateOrganizationSettings")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.securitycenter.v1.UpdateOrganizationSettingsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.securitycenter.v1.OrganizationSettings.getDefaultInstance())) + .setSchemaDescriptor(new SecurityCenterMethodDescriptorSupplier("UpdateOrganizationSettings")) + .build(); + } + } + } + return getUpdateOrganizationSettingsMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateSourceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateSource", + requestType = com.google.cloud.securitycenter.v1.UpdateSourceRequest.class, + responseType = com.google.cloud.securitycenter.v1.Source.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateSourceMethod() { + io.grpc.MethodDescriptor getUpdateSourceMethod; + if ((getUpdateSourceMethod = SecurityCenterGrpc.getUpdateSourceMethod) == null) { + synchronized (SecurityCenterGrpc.class) { + if ((getUpdateSourceMethod = SecurityCenterGrpc.getUpdateSourceMethod) == null) { + SecurityCenterGrpc.getUpdateSourceMethod = getUpdateSourceMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateSource")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.securitycenter.v1.UpdateSourceRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.securitycenter.v1.Source.getDefaultInstance())) + .setSchemaDescriptor(new SecurityCenterMethodDescriptorSupplier("UpdateSource")) + .build(); + } + } + } + return getUpdateSourceMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateSecurityMarksMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateSecurityMarks", + requestType = com.google.cloud.securitycenter.v1.UpdateSecurityMarksRequest.class, + responseType = com.google.cloud.securitycenter.v1.SecurityMarks.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateSecurityMarksMethod() { + io.grpc.MethodDescriptor getUpdateSecurityMarksMethod; + if ((getUpdateSecurityMarksMethod = SecurityCenterGrpc.getUpdateSecurityMarksMethod) == null) { + synchronized (SecurityCenterGrpc.class) { + if ((getUpdateSecurityMarksMethod = SecurityCenterGrpc.getUpdateSecurityMarksMethod) == null) { + SecurityCenterGrpc.getUpdateSecurityMarksMethod = getUpdateSecurityMarksMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateSecurityMarks")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.securitycenter.v1.UpdateSecurityMarksRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.securitycenter.v1.SecurityMarks.getDefaultInstance())) + .setSchemaDescriptor(new SecurityCenterMethodDescriptorSupplier("UpdateSecurityMarks")) + .build(); + } + } + } + return getUpdateSecurityMarksMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateBigQueryExportMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateBigQueryExport", + requestType = com.google.cloud.securitycenter.v1.CreateBigQueryExportRequest.class, + responseType = com.google.cloud.securitycenter.v1.BigQueryExport.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateBigQueryExportMethod() { + io.grpc.MethodDescriptor getCreateBigQueryExportMethod; + if ((getCreateBigQueryExportMethod = SecurityCenterGrpc.getCreateBigQueryExportMethod) == null) { + synchronized (SecurityCenterGrpc.class) { + if ((getCreateBigQueryExportMethod = SecurityCenterGrpc.getCreateBigQueryExportMethod) == null) { + SecurityCenterGrpc.getCreateBigQueryExportMethod = getCreateBigQueryExportMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateBigQueryExport")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.securitycenter.v1.CreateBigQueryExportRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.securitycenter.v1.BigQueryExport.getDefaultInstance())) + .setSchemaDescriptor(new SecurityCenterMethodDescriptorSupplier("CreateBigQueryExport")) + .build(); + } + } + } + return getCreateBigQueryExportMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteBigQueryExportMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteBigQueryExport", + requestType = com.google.cloud.securitycenter.v1.DeleteBigQueryExportRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteBigQueryExportMethod() { + io.grpc.MethodDescriptor getDeleteBigQueryExportMethod; + if ((getDeleteBigQueryExportMethod = SecurityCenterGrpc.getDeleteBigQueryExportMethod) == null) { + synchronized (SecurityCenterGrpc.class) { + if ((getDeleteBigQueryExportMethod = SecurityCenterGrpc.getDeleteBigQueryExportMethod) == null) { + SecurityCenterGrpc.getDeleteBigQueryExportMethod = getDeleteBigQueryExportMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteBigQueryExport")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.securitycenter.v1.DeleteBigQueryExportRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new SecurityCenterMethodDescriptorSupplier("DeleteBigQueryExport")) + .build(); + } + } + } + return getDeleteBigQueryExportMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateBigQueryExportMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateBigQueryExport", + requestType = com.google.cloud.securitycenter.v1.UpdateBigQueryExportRequest.class, + responseType = com.google.cloud.securitycenter.v1.BigQueryExport.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateBigQueryExportMethod() { + io.grpc.MethodDescriptor getUpdateBigQueryExportMethod; + if ((getUpdateBigQueryExportMethod = SecurityCenterGrpc.getUpdateBigQueryExportMethod) == null) { + synchronized (SecurityCenterGrpc.class) { + if ((getUpdateBigQueryExportMethod = SecurityCenterGrpc.getUpdateBigQueryExportMethod) == null) { + SecurityCenterGrpc.getUpdateBigQueryExportMethod = getUpdateBigQueryExportMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateBigQueryExport")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.securitycenter.v1.UpdateBigQueryExportRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.securitycenter.v1.BigQueryExport.getDefaultInstance())) + .setSchemaDescriptor(new SecurityCenterMethodDescriptorSupplier("UpdateBigQueryExport")) + .build(); + } + } + } + return getUpdateBigQueryExportMethod; + } + + private static volatile io.grpc.MethodDescriptor getListBigQueryExportsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListBigQueryExports", + requestType = com.google.cloud.securitycenter.v1.ListBigQueryExportsRequest.class, + responseType = com.google.cloud.securitycenter.v1.ListBigQueryExportsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListBigQueryExportsMethod() { + io.grpc.MethodDescriptor getListBigQueryExportsMethod; + if ((getListBigQueryExportsMethod = SecurityCenterGrpc.getListBigQueryExportsMethod) == null) { + synchronized (SecurityCenterGrpc.class) { + if ((getListBigQueryExportsMethod = SecurityCenterGrpc.getListBigQueryExportsMethod) == null) { + SecurityCenterGrpc.getListBigQueryExportsMethod = getListBigQueryExportsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListBigQueryExports")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.securitycenter.v1.ListBigQueryExportsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.securitycenter.v1.ListBigQueryExportsResponse.getDefaultInstance())) + .setSchemaDescriptor(new SecurityCenterMethodDescriptorSupplier("ListBigQueryExports")) + .build(); + } + } + } + return getListBigQueryExportsMethod; + } + + /** + * Creates a new async stub that supports all call types for the service + */ + public static SecurityCenterStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public SecurityCenterStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new SecurityCenterStub(channel, callOptions); + } + }; + return SecurityCenterStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static SecurityCenterBlockingStub newBlockingStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public SecurityCenterBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new SecurityCenterBlockingStub(channel, callOptions); + } + }; + return SecurityCenterBlockingStub.newStub(factory, channel); + } + + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static SecurityCenterFutureStub newFutureStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public SecurityCenterFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new SecurityCenterFutureStub(channel, callOptions); + } + }; + return SecurityCenterFutureStub.newStub(factory, channel); + } + + /** + *
+   * V1 APIs for Security Center service.
+   * 
+ */ + public static abstract class SecurityCenterImplBase implements io.grpc.BindableService { + + /** + *
+     * Kicks off an LRO to bulk mute findings for a parent based on a filter. The
+     * parent can be either an organization, folder or project. The findings
+     * matched by the filter will be muted after the LRO is done.
+     * 
+ */ + public void bulkMuteFindings(com.google.cloud.securitycenter.v1.BulkMuteFindingsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getBulkMuteFindingsMethod(), responseObserver); + } + + /** + *
+     * Creates a source.
+     * 
+ */ + public void createSource(com.google.cloud.securitycenter.v1.CreateSourceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateSourceMethod(), responseObserver); + } + + /** + *
+     * Creates a finding. The corresponding source must exist for finding creation
+     * to succeed.
+     * 
+ */ + public void createFinding(com.google.cloud.securitycenter.v1.CreateFindingRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateFindingMethod(), responseObserver); + } + + /** + *
+     * Creates a mute config.
+     * 
+ */ + public void createMuteConfig(com.google.cloud.securitycenter.v1.CreateMuteConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateMuteConfigMethod(), responseObserver); + } + + /** + *
+     * Creates a notification config.
+     * 
+ */ + public void createNotificationConfig(com.google.cloud.securitycenter.v1.CreateNotificationConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateNotificationConfigMethod(), responseObserver); + } + + /** + *
+     * Deletes an existing mute config.
+     * 
+ */ + public void deleteMuteConfig(com.google.cloud.securitycenter.v1.DeleteMuteConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteMuteConfigMethod(), responseObserver); + } + + /** + *
+     * Deletes a notification config.
+     * 
+ */ + public void deleteNotificationConfig(com.google.cloud.securitycenter.v1.DeleteNotificationConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteNotificationConfigMethod(), responseObserver); + } + + /** + *
+     * Gets a big query export.
+     * 
+ */ + public void getBigQueryExport(com.google.cloud.securitycenter.v1.GetBigQueryExportRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetBigQueryExportMethod(), responseObserver); + } + + /** + *
+     * Gets the access control policy on the specified Source.
+     * 
+ */ + public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetIamPolicyMethod(), responseObserver); + } + + /** + *
+     * Gets a mute config.
+     * 
+ */ + public void getMuteConfig(com.google.cloud.securitycenter.v1.GetMuteConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetMuteConfigMethod(), responseObserver); + } + + /** + *
+     * Gets a notification config.
+     * 
+ */ + public void getNotificationConfig(com.google.cloud.securitycenter.v1.GetNotificationConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetNotificationConfigMethod(), responseObserver); + } + + /** + *
+     * Gets the settings for an organization.
+     * 
+ */ + public void getOrganizationSettings(com.google.cloud.securitycenter.v1.GetOrganizationSettingsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetOrganizationSettingsMethod(), responseObserver); + } + + /** + *
+     * Gets a source.
+     * 
+ */ + public void getSource(com.google.cloud.securitycenter.v1.GetSourceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetSourceMethod(), responseObserver); + } + + /** + *
+     * Filters an organization's assets and  groups them by their specified
+     * properties.
+     * 
+ */ + public void groupAssets(com.google.cloud.securitycenter.v1.GroupAssetsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGroupAssetsMethod(), responseObserver); + } + + /** + *
+     * Filters an organization or source's findings and  groups them by their
+     * specified properties.
+     * To group across all sources provide a `-` as the source id.
+     * Example: /v1/organizations/{organization_id}/sources/-/findings,
+     * /v1/folders/{folder_id}/sources/-/findings,
+     * /v1/projects/{project_id}/sources/-/findings
+     * 
+ */ + public void groupFindings(com.google.cloud.securitycenter.v1.GroupFindingsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGroupFindingsMethod(), responseObserver); + } + + /** + *
+     * Lists an organization's assets.
+     * 
+ */ + public void listAssets(com.google.cloud.securitycenter.v1.ListAssetsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListAssetsMethod(), responseObserver); + } + + /** + *
+     * Lists an organization or source's findings.
+     * To list across all sources provide a `-` as the source id.
+     * Example: /v1/organizations/{organization_id}/sources/-/findings
+     * 
+ */ + public void listFindings(com.google.cloud.securitycenter.v1.ListFindingsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListFindingsMethod(), responseObserver); + } + + /** + *
+     * Lists mute configs.
+     * 
+ */ + public void listMuteConfigs(com.google.cloud.securitycenter.v1.ListMuteConfigsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListMuteConfigsMethod(), responseObserver); + } + + /** + *
+     * Lists notification configs.
+     * 
+ */ + public void listNotificationConfigs(com.google.cloud.securitycenter.v1.ListNotificationConfigsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListNotificationConfigsMethod(), responseObserver); + } + + /** + *
+     * Lists all sources belonging to an organization.
+     * 
+ */ + public void listSources(com.google.cloud.securitycenter.v1.ListSourcesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListSourcesMethod(), responseObserver); + } + + /** + *
+     * Runs asset discovery. The discovery is tracked with a long-running
+     * operation.
+     * This API can only be called with limited frequency for an organization. If
+     * it is called too frequently the caller will receive a TOO_MANY_REQUESTS
+     * error.
+     * 
+ */ + public void runAssetDiscovery(com.google.cloud.securitycenter.v1.RunAssetDiscoveryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRunAssetDiscoveryMethod(), responseObserver); + } + + /** + *
+     * Updates the state of a finding.
+     * 
+ */ + public void setFindingState(com.google.cloud.securitycenter.v1.SetFindingStateRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetFindingStateMethod(), responseObserver); + } + + /** + *
+     * Updates the mute state of a finding.
+     * 
+ */ + public void setMute(com.google.cloud.securitycenter.v1.SetMuteRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetMuteMethod(), responseObserver); + } + + /** + *
+     * Sets the access control policy on the specified Source.
+     * 
+ */ + public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetIamPolicyMethod(), responseObserver); + } + + /** + *
+     * Returns the permissions that a caller has on the specified source.
+     * 
+ */ + public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getTestIamPermissionsMethod(), responseObserver); + } + + /** + *
+     * Updates external system. This is for a given finding.
+     * 
+ */ + public void updateExternalSystem(com.google.cloud.securitycenter.v1.UpdateExternalSystemRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateExternalSystemMethod(), responseObserver); + } + + /** + *
+     * Creates or updates a finding. The corresponding source must exist for a
+     * finding creation to succeed.
+     * 
+ */ + public void updateFinding(com.google.cloud.securitycenter.v1.UpdateFindingRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateFindingMethod(), responseObserver); + } + + /** + *
+     * Updates a mute config.
+     * 
+ */ + public void updateMuteConfig(com.google.cloud.securitycenter.v1.UpdateMuteConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateMuteConfigMethod(), responseObserver); + } + + /** + *
+     * Updates a notification config. The following update
+     * fields are allowed: description, pubsub_topic, streaming_config.filter
+     * 
+ */ + public void updateNotificationConfig(com.google.cloud.securitycenter.v1.UpdateNotificationConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateNotificationConfigMethod(), responseObserver); + } + + /** + *
+     * Updates an organization's settings.
+     * 
+ */ + public void updateOrganizationSettings(com.google.cloud.securitycenter.v1.UpdateOrganizationSettingsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateOrganizationSettingsMethod(), responseObserver); + } + + /** + *
+     * Updates a source.
+     * 
+ */ + public void updateSource(com.google.cloud.securitycenter.v1.UpdateSourceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateSourceMethod(), responseObserver); + } + + /** + *
+     * Updates security marks.
+     * 
+ */ + public void updateSecurityMarks(com.google.cloud.securitycenter.v1.UpdateSecurityMarksRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateSecurityMarksMethod(), responseObserver); + } + + /** + *
+     * Creates a big query export.
+     * 
+ */ + public void createBigQueryExport(com.google.cloud.securitycenter.v1.CreateBigQueryExportRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateBigQueryExportMethod(), responseObserver); + } + + /** + *
+     * Deletes an existing big query export.
+     * 
+ */ + public void deleteBigQueryExport(com.google.cloud.securitycenter.v1.DeleteBigQueryExportRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteBigQueryExportMethod(), responseObserver); + } + + /** + *
+     * Updates a BigQuery export.
+     * 
+ */ + public void updateBigQueryExport(com.google.cloud.securitycenter.v1.UpdateBigQueryExportRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateBigQueryExportMethod(), responseObserver); + } + + /** + *
+     * Lists BigQuery exports. Note that when requesting BigQuery exports at a
+     * given level all exports under that level are also returned e.g. if
+     * requesting BigQuery exports under a folder, then all BigQuery exports
+     * immediately under the folder plus the ones created under the projects
+     * within the folder are returned.
+     * 
+ */ + public void listBigQueryExports(com.google.cloud.securitycenter.v1.ListBigQueryExportsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListBigQueryExportsMethod(), responseObserver); + } + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getBulkMuteFindingsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.securitycenter.v1.BulkMuteFindingsRequest, + com.google.longrunning.Operation>( + this, METHODID_BULK_MUTE_FINDINGS))) + .addMethod( + getCreateSourceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.securitycenter.v1.CreateSourceRequest, + com.google.cloud.securitycenter.v1.Source>( + this, METHODID_CREATE_SOURCE))) + .addMethod( + getCreateFindingMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.securitycenter.v1.CreateFindingRequest, + com.google.cloud.securitycenter.v1.Finding>( + this, METHODID_CREATE_FINDING))) + .addMethod( + getCreateMuteConfigMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.securitycenter.v1.CreateMuteConfigRequest, + com.google.cloud.securitycenter.v1.MuteConfig>( + this, METHODID_CREATE_MUTE_CONFIG))) + .addMethod( + getCreateNotificationConfigMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.securitycenter.v1.CreateNotificationConfigRequest, + com.google.cloud.securitycenter.v1.NotificationConfig>( + this, METHODID_CREATE_NOTIFICATION_CONFIG))) + .addMethod( + getDeleteMuteConfigMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.securitycenter.v1.DeleteMuteConfigRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_MUTE_CONFIG))) + .addMethod( + getDeleteNotificationConfigMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.securitycenter.v1.DeleteNotificationConfigRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_NOTIFICATION_CONFIG))) + .addMethod( + getGetBigQueryExportMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.securitycenter.v1.GetBigQueryExportRequest, + com.google.cloud.securitycenter.v1.BigQueryExport>( + this, METHODID_GET_BIG_QUERY_EXPORT))) + .addMethod( + getGetIamPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.GetIamPolicyRequest, + com.google.iam.v1.Policy>( + this, METHODID_GET_IAM_POLICY))) + .addMethod( + getGetMuteConfigMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.securitycenter.v1.GetMuteConfigRequest, + com.google.cloud.securitycenter.v1.MuteConfig>( + this, METHODID_GET_MUTE_CONFIG))) + .addMethod( + getGetNotificationConfigMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.securitycenter.v1.GetNotificationConfigRequest, + com.google.cloud.securitycenter.v1.NotificationConfig>( + this, METHODID_GET_NOTIFICATION_CONFIG))) + .addMethod( + getGetOrganizationSettingsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.securitycenter.v1.GetOrganizationSettingsRequest, + com.google.cloud.securitycenter.v1.OrganizationSettings>( + this, METHODID_GET_ORGANIZATION_SETTINGS))) + .addMethod( + getGetSourceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.securitycenter.v1.GetSourceRequest, + com.google.cloud.securitycenter.v1.Source>( + this, METHODID_GET_SOURCE))) + .addMethod( + getGroupAssetsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.securitycenter.v1.GroupAssetsRequest, + com.google.cloud.securitycenter.v1.GroupAssetsResponse>( + this, METHODID_GROUP_ASSETS))) + .addMethod( + getGroupFindingsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.securitycenter.v1.GroupFindingsRequest, + com.google.cloud.securitycenter.v1.GroupFindingsResponse>( + this, METHODID_GROUP_FINDINGS))) + .addMethod( + getListAssetsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.securitycenter.v1.ListAssetsRequest, + com.google.cloud.securitycenter.v1.ListAssetsResponse>( + this, METHODID_LIST_ASSETS))) + .addMethod( + getListFindingsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.securitycenter.v1.ListFindingsRequest, + com.google.cloud.securitycenter.v1.ListFindingsResponse>( + this, METHODID_LIST_FINDINGS))) + .addMethod( + getListMuteConfigsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.securitycenter.v1.ListMuteConfigsRequest, + com.google.cloud.securitycenter.v1.ListMuteConfigsResponse>( + this, METHODID_LIST_MUTE_CONFIGS))) + .addMethod( + getListNotificationConfigsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.securitycenter.v1.ListNotificationConfigsRequest, + com.google.cloud.securitycenter.v1.ListNotificationConfigsResponse>( + this, METHODID_LIST_NOTIFICATION_CONFIGS))) + .addMethod( + getListSourcesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.securitycenter.v1.ListSourcesRequest, + com.google.cloud.securitycenter.v1.ListSourcesResponse>( + this, METHODID_LIST_SOURCES))) + .addMethod( + getRunAssetDiscoveryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.securitycenter.v1.RunAssetDiscoveryRequest, + com.google.longrunning.Operation>( + this, METHODID_RUN_ASSET_DISCOVERY))) + .addMethod( + getSetFindingStateMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.securitycenter.v1.SetFindingStateRequest, + com.google.cloud.securitycenter.v1.Finding>( + this, METHODID_SET_FINDING_STATE))) + .addMethod( + getSetMuteMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.securitycenter.v1.SetMuteRequest, + com.google.cloud.securitycenter.v1.Finding>( + this, METHODID_SET_MUTE))) + .addMethod( + getSetIamPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.SetIamPolicyRequest, + com.google.iam.v1.Policy>( + this, METHODID_SET_IAM_POLICY))) + .addMethod( + getTestIamPermissionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.TestIamPermissionsRequest, + com.google.iam.v1.TestIamPermissionsResponse>( + this, METHODID_TEST_IAM_PERMISSIONS))) + .addMethod( + getUpdateExternalSystemMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.securitycenter.v1.UpdateExternalSystemRequest, + com.google.cloud.securitycenter.v1.ExternalSystem>( + this, METHODID_UPDATE_EXTERNAL_SYSTEM))) + .addMethod( + getUpdateFindingMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.securitycenter.v1.UpdateFindingRequest, + com.google.cloud.securitycenter.v1.Finding>( + this, METHODID_UPDATE_FINDING))) + .addMethod( + getUpdateMuteConfigMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.securitycenter.v1.UpdateMuteConfigRequest, + com.google.cloud.securitycenter.v1.MuteConfig>( + this, METHODID_UPDATE_MUTE_CONFIG))) + .addMethod( + getUpdateNotificationConfigMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.securitycenter.v1.UpdateNotificationConfigRequest, + com.google.cloud.securitycenter.v1.NotificationConfig>( + this, METHODID_UPDATE_NOTIFICATION_CONFIG))) + .addMethod( + getUpdateOrganizationSettingsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.securitycenter.v1.UpdateOrganizationSettingsRequest, + com.google.cloud.securitycenter.v1.OrganizationSettings>( + this, METHODID_UPDATE_ORGANIZATION_SETTINGS))) + .addMethod( + getUpdateSourceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.securitycenter.v1.UpdateSourceRequest, + com.google.cloud.securitycenter.v1.Source>( + this, METHODID_UPDATE_SOURCE))) + .addMethod( + getUpdateSecurityMarksMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.securitycenter.v1.UpdateSecurityMarksRequest, + com.google.cloud.securitycenter.v1.SecurityMarks>( + this, METHODID_UPDATE_SECURITY_MARKS))) + .addMethod( + getCreateBigQueryExportMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.securitycenter.v1.CreateBigQueryExportRequest, + com.google.cloud.securitycenter.v1.BigQueryExport>( + this, METHODID_CREATE_BIG_QUERY_EXPORT))) + .addMethod( + getDeleteBigQueryExportMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.securitycenter.v1.DeleteBigQueryExportRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_BIG_QUERY_EXPORT))) + .addMethod( + getUpdateBigQueryExportMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.securitycenter.v1.UpdateBigQueryExportRequest, + com.google.cloud.securitycenter.v1.BigQueryExport>( + this, METHODID_UPDATE_BIG_QUERY_EXPORT))) + .addMethod( + getListBigQueryExportsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.securitycenter.v1.ListBigQueryExportsRequest, + com.google.cloud.securitycenter.v1.ListBigQueryExportsResponse>( + this, METHODID_LIST_BIG_QUERY_EXPORTS))) + .build(); + } + } + + /** + *
+   * V1 APIs for Security Center service.
+   * 
+ */ + public static final class SecurityCenterStub extends io.grpc.stub.AbstractAsyncStub { + private SecurityCenterStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected SecurityCenterStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new SecurityCenterStub(channel, callOptions); + } + + /** + *
+     * Kicks off an LRO to bulk mute findings for a parent based on a filter. The
+     * parent can be either an organization, folder or project. The findings
+     * matched by the filter will be muted after the LRO is done.
+     * 
+ */ + public void bulkMuteFindings(com.google.cloud.securitycenter.v1.BulkMuteFindingsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getBulkMuteFindingsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a source.
+     * 
+ */ + public void createSource(com.google.cloud.securitycenter.v1.CreateSourceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateSourceMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a finding. The corresponding source must exist for finding creation
+     * to succeed.
+     * 
+ */ + public void createFinding(com.google.cloud.securitycenter.v1.CreateFindingRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateFindingMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a mute config.
+     * 
+ */ + public void createMuteConfig(com.google.cloud.securitycenter.v1.CreateMuteConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateMuteConfigMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a notification config.
+     * 
+ */ + public void createNotificationConfig(com.google.cloud.securitycenter.v1.CreateNotificationConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateNotificationConfigMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes an existing mute config.
+     * 
+ */ + public void deleteMuteConfig(com.google.cloud.securitycenter.v1.DeleteMuteConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteMuteConfigMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a notification config.
+     * 
+ */ + public void deleteNotificationConfig(com.google.cloud.securitycenter.v1.DeleteNotificationConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteNotificationConfigMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets a big query export.
+     * 
+ */ + public void getBigQueryExport(com.google.cloud.securitycenter.v1.GetBigQueryExportRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetBigQueryExportMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets the access control policy on the specified Source.
+     * 
+ */ + public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets a mute config.
+     * 
+ */ + public void getMuteConfig(com.google.cloud.securitycenter.v1.GetMuteConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetMuteConfigMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets a notification config.
+     * 
+ */ + public void getNotificationConfig(com.google.cloud.securitycenter.v1.GetNotificationConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetNotificationConfigMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets the settings for an organization.
+     * 
+ */ + public void getOrganizationSettings(com.google.cloud.securitycenter.v1.GetOrganizationSettingsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetOrganizationSettingsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets a source.
+     * 
+ */ + public void getSource(com.google.cloud.securitycenter.v1.GetSourceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetSourceMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Filters an organization's assets and  groups them by their specified
+     * properties.
+     * 
+ */ + public void groupAssets(com.google.cloud.securitycenter.v1.GroupAssetsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGroupAssetsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Filters an organization or source's findings and  groups them by their
+     * specified properties.
+     * To group across all sources provide a `-` as the source id.
+     * Example: /v1/organizations/{organization_id}/sources/-/findings,
+     * /v1/folders/{folder_id}/sources/-/findings,
+     * /v1/projects/{project_id}/sources/-/findings
+     * 
+ */ + public void groupFindings(com.google.cloud.securitycenter.v1.GroupFindingsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGroupFindingsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists an organization's assets.
+     * 
+ */ + public void listAssets(com.google.cloud.securitycenter.v1.ListAssetsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListAssetsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists an organization or source's findings.
+     * To list across all sources provide a `-` as the source id.
+     * Example: /v1/organizations/{organization_id}/sources/-/findings
+     * 
+ */ + public void listFindings(com.google.cloud.securitycenter.v1.ListFindingsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListFindingsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists mute configs.
+     * 
+ */ + public void listMuteConfigs(com.google.cloud.securitycenter.v1.ListMuteConfigsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListMuteConfigsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists notification configs.
+     * 
+ */ + public void listNotificationConfigs(com.google.cloud.securitycenter.v1.ListNotificationConfigsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListNotificationConfigsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists all sources belonging to an organization.
+     * 
+ */ + public void listSources(com.google.cloud.securitycenter.v1.ListSourcesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListSourcesMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Runs asset discovery. The discovery is tracked with a long-running
+     * operation.
+     * This API can only be called with limited frequency for an organization. If
+     * it is called too frequently the caller will receive a TOO_MANY_REQUESTS
+     * error.
+     * 
+ */ + public void runAssetDiscovery(com.google.cloud.securitycenter.v1.RunAssetDiscoveryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getRunAssetDiscoveryMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates the state of a finding.
+     * 
+ */ + public void setFindingState(com.google.cloud.securitycenter.v1.SetFindingStateRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getSetFindingStateMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates the mute state of a finding.
+     * 
+ */ + public void setMute(com.google.cloud.securitycenter.v1.SetMuteRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getSetMuteMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Sets the access control policy on the specified Source.
+     * 
+ */ + public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Returns the permissions that a caller has on the specified source.
+     * 
+ */ + public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates external system. This is for a given finding.
+     * 
+ */ + public void updateExternalSystem(com.google.cloud.securitycenter.v1.UpdateExternalSystemRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateExternalSystemMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates or updates a finding. The corresponding source must exist for a
+     * finding creation to succeed.
+     * 
+ */ + public void updateFinding(com.google.cloud.securitycenter.v1.UpdateFindingRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateFindingMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates a mute config.
+     * 
+ */ + public void updateMuteConfig(com.google.cloud.securitycenter.v1.UpdateMuteConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateMuteConfigMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates a notification config. The following update
+     * fields are allowed: description, pubsub_topic, streaming_config.filter
+     * 
+ */ + public void updateNotificationConfig(com.google.cloud.securitycenter.v1.UpdateNotificationConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateNotificationConfigMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates an organization's settings.
+     * 
+ */ + public void updateOrganizationSettings(com.google.cloud.securitycenter.v1.UpdateOrganizationSettingsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateOrganizationSettingsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates a source.
+     * 
+ */ + public void updateSource(com.google.cloud.securitycenter.v1.UpdateSourceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateSourceMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates security marks.
+     * 
+ */ + public void updateSecurityMarks(com.google.cloud.securitycenter.v1.UpdateSecurityMarksRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateSecurityMarksMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a big query export.
+     * 
+ */ + public void createBigQueryExport(com.google.cloud.securitycenter.v1.CreateBigQueryExportRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateBigQueryExportMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes an existing big query export.
+     * 
+ */ + public void deleteBigQueryExport(com.google.cloud.securitycenter.v1.DeleteBigQueryExportRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteBigQueryExportMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates a BigQuery export.
+     * 
+ */ + public void updateBigQueryExport(com.google.cloud.securitycenter.v1.UpdateBigQueryExportRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateBigQueryExportMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists BigQuery exports. Note that when requesting BigQuery exports at a
+     * given level all exports under that level are also returned e.g. if
+     * requesting BigQuery exports under a folder, then all BigQuery exports
+     * immediately under the folder plus the ones created under the projects
+     * within the folder are returned.
+     * 
+ */ + public void listBigQueryExports(com.google.cloud.securitycenter.v1.ListBigQueryExportsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListBigQueryExportsMethod(), getCallOptions()), request, responseObserver); + } + } + + /** + *
+   * V1 APIs for Security Center service.
+   * 
+ */ + public static final class SecurityCenterBlockingStub extends io.grpc.stub.AbstractBlockingStub { + private SecurityCenterBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected SecurityCenterBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new SecurityCenterBlockingStub(channel, callOptions); + } + + /** + *
+     * Kicks off an LRO to bulk mute findings for a parent based on a filter. The
+     * parent can be either an organization, folder or project. The findings
+     * matched by the filter will be muted after the LRO is done.
+     * 
+ */ + public com.google.longrunning.Operation bulkMuteFindings(com.google.cloud.securitycenter.v1.BulkMuteFindingsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getBulkMuteFindingsMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a source.
+     * 
+ */ + public com.google.cloud.securitycenter.v1.Source createSource(com.google.cloud.securitycenter.v1.CreateSourceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateSourceMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a finding. The corresponding source must exist for finding creation
+     * to succeed.
+     * 
+ */ + public com.google.cloud.securitycenter.v1.Finding createFinding(com.google.cloud.securitycenter.v1.CreateFindingRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateFindingMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a mute config.
+     * 
+ */ + public com.google.cloud.securitycenter.v1.MuteConfig createMuteConfig(com.google.cloud.securitycenter.v1.CreateMuteConfigRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateMuteConfigMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a notification config.
+     * 
+ */ + public com.google.cloud.securitycenter.v1.NotificationConfig createNotificationConfig(com.google.cloud.securitycenter.v1.CreateNotificationConfigRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateNotificationConfigMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes an existing mute config.
+     * 
+ */ + public com.google.protobuf.Empty deleteMuteConfig(com.google.cloud.securitycenter.v1.DeleteMuteConfigRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteMuteConfigMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a notification config.
+     * 
+ */ + public com.google.protobuf.Empty deleteNotificationConfig(com.google.cloud.securitycenter.v1.DeleteNotificationConfigRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteNotificationConfigMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets a big query export.
+     * 
+ */ + public com.google.cloud.securitycenter.v1.BigQueryExport getBigQueryExport(com.google.cloud.securitycenter.v1.GetBigQueryExportRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetBigQueryExportMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets the access control policy on the specified Source.
+     * 
+ */ + public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetIamPolicyMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets a mute config.
+     * 
+ */ + public com.google.cloud.securitycenter.v1.MuteConfig getMuteConfig(com.google.cloud.securitycenter.v1.GetMuteConfigRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetMuteConfigMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets a notification config.
+     * 
+ */ + public com.google.cloud.securitycenter.v1.NotificationConfig getNotificationConfig(com.google.cloud.securitycenter.v1.GetNotificationConfigRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetNotificationConfigMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets the settings for an organization.
+     * 
+ */ + public com.google.cloud.securitycenter.v1.OrganizationSettings getOrganizationSettings(com.google.cloud.securitycenter.v1.GetOrganizationSettingsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetOrganizationSettingsMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets a source.
+     * 
+ */ + public com.google.cloud.securitycenter.v1.Source getSource(com.google.cloud.securitycenter.v1.GetSourceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetSourceMethod(), getCallOptions(), request); + } + + /** + *
+     * Filters an organization's assets and  groups them by their specified
+     * properties.
+     * 
+ */ + public com.google.cloud.securitycenter.v1.GroupAssetsResponse groupAssets(com.google.cloud.securitycenter.v1.GroupAssetsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGroupAssetsMethod(), getCallOptions(), request); + } + + /** + *
+     * Filters an organization or source's findings and  groups them by their
+     * specified properties.
+     * To group across all sources provide a `-` as the source id.
+     * Example: /v1/organizations/{organization_id}/sources/-/findings,
+     * /v1/folders/{folder_id}/sources/-/findings,
+     * /v1/projects/{project_id}/sources/-/findings
+     * 
+ */ + public com.google.cloud.securitycenter.v1.GroupFindingsResponse groupFindings(com.google.cloud.securitycenter.v1.GroupFindingsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGroupFindingsMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists an organization's assets.
+     * 
+ */ + public com.google.cloud.securitycenter.v1.ListAssetsResponse listAssets(com.google.cloud.securitycenter.v1.ListAssetsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListAssetsMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists an organization or source's findings.
+     * To list across all sources provide a `-` as the source id.
+     * Example: /v1/organizations/{organization_id}/sources/-/findings
+     * 
+ */ + public com.google.cloud.securitycenter.v1.ListFindingsResponse listFindings(com.google.cloud.securitycenter.v1.ListFindingsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListFindingsMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists mute configs.
+     * 
+ */ + public com.google.cloud.securitycenter.v1.ListMuteConfigsResponse listMuteConfigs(com.google.cloud.securitycenter.v1.ListMuteConfigsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListMuteConfigsMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists notification configs.
+     * 
+ */ + public com.google.cloud.securitycenter.v1.ListNotificationConfigsResponse listNotificationConfigs(com.google.cloud.securitycenter.v1.ListNotificationConfigsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListNotificationConfigsMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists all sources belonging to an organization.
+     * 
+ */ + public com.google.cloud.securitycenter.v1.ListSourcesResponse listSources(com.google.cloud.securitycenter.v1.ListSourcesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListSourcesMethod(), getCallOptions(), request); + } + + /** + *
+     * Runs asset discovery. The discovery is tracked with a long-running
+     * operation.
+     * This API can only be called with limited frequency for an organization. If
+     * it is called too frequently the caller will receive a TOO_MANY_REQUESTS
+     * error.
+     * 
+ */ + public com.google.longrunning.Operation runAssetDiscovery(com.google.cloud.securitycenter.v1.RunAssetDiscoveryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getRunAssetDiscoveryMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates the state of a finding.
+     * 
+ */ + public com.google.cloud.securitycenter.v1.Finding setFindingState(com.google.cloud.securitycenter.v1.SetFindingStateRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSetFindingStateMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates the mute state of a finding.
+     * 
+ */ + public com.google.cloud.securitycenter.v1.Finding setMute(com.google.cloud.securitycenter.v1.SetMuteRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSetMuteMethod(), getCallOptions(), request); + } + + /** + *
+     * Sets the access control policy on the specified Source.
+     * 
+ */ + public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSetIamPolicyMethod(), getCallOptions(), request); + } + + /** + *
+     * Returns the permissions that a caller has on the specified source.
+     * 
+ */ + public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getTestIamPermissionsMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates external system. This is for a given finding.
+     * 
+ */ + public com.google.cloud.securitycenter.v1.ExternalSystem updateExternalSystem(com.google.cloud.securitycenter.v1.UpdateExternalSystemRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateExternalSystemMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates or updates a finding. The corresponding source must exist for a
+     * finding creation to succeed.
+     * 
+ */ + public com.google.cloud.securitycenter.v1.Finding updateFinding(com.google.cloud.securitycenter.v1.UpdateFindingRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateFindingMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates a mute config.
+     * 
+ */ + public com.google.cloud.securitycenter.v1.MuteConfig updateMuteConfig(com.google.cloud.securitycenter.v1.UpdateMuteConfigRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateMuteConfigMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates a notification config. The following update
+     * fields are allowed: description, pubsub_topic, streaming_config.filter
+     * 
+ */ + public com.google.cloud.securitycenter.v1.NotificationConfig updateNotificationConfig(com.google.cloud.securitycenter.v1.UpdateNotificationConfigRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateNotificationConfigMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates an organization's settings.
+     * 
+ */ + public com.google.cloud.securitycenter.v1.OrganizationSettings updateOrganizationSettings(com.google.cloud.securitycenter.v1.UpdateOrganizationSettingsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateOrganizationSettingsMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates a source.
+     * 
+ */ + public com.google.cloud.securitycenter.v1.Source updateSource(com.google.cloud.securitycenter.v1.UpdateSourceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateSourceMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates security marks.
+     * 
+ */ + public com.google.cloud.securitycenter.v1.SecurityMarks updateSecurityMarks(com.google.cloud.securitycenter.v1.UpdateSecurityMarksRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateSecurityMarksMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a big query export.
+     * 
+ */ + public com.google.cloud.securitycenter.v1.BigQueryExport createBigQueryExport(com.google.cloud.securitycenter.v1.CreateBigQueryExportRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateBigQueryExportMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes an existing big query export.
+     * 
+ */ + public com.google.protobuf.Empty deleteBigQueryExport(com.google.cloud.securitycenter.v1.DeleteBigQueryExportRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteBigQueryExportMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates a BigQuery export.
+     * 
+ */ + public com.google.cloud.securitycenter.v1.BigQueryExport updateBigQueryExport(com.google.cloud.securitycenter.v1.UpdateBigQueryExportRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateBigQueryExportMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists BigQuery exports. Note that when requesting BigQuery exports at a
+     * given level all exports under that level are also returned e.g. if
+     * requesting BigQuery exports under a folder, then all BigQuery exports
+     * immediately under the folder plus the ones created under the projects
+     * within the folder are returned.
+     * 
+ */ + public com.google.cloud.securitycenter.v1.ListBigQueryExportsResponse listBigQueryExports(com.google.cloud.securitycenter.v1.ListBigQueryExportsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListBigQueryExportsMethod(), getCallOptions(), request); + } + } + + /** + *
+   * V1 APIs for Security Center service.
+   * 
+ */ + public static final class SecurityCenterFutureStub extends io.grpc.stub.AbstractFutureStub { + private SecurityCenterFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected SecurityCenterFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new SecurityCenterFutureStub(channel, callOptions); + } + + /** + *
+     * Kicks off an LRO to bulk mute findings for a parent based on a filter. The
+     * parent can be either an organization, folder or project. The findings
+     * matched by the filter will be muted after the LRO is done.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture bulkMuteFindings( + com.google.cloud.securitycenter.v1.BulkMuteFindingsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getBulkMuteFindingsMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a source.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createSource( + com.google.cloud.securitycenter.v1.CreateSourceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateSourceMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a finding. The corresponding source must exist for finding creation
+     * to succeed.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createFinding( + com.google.cloud.securitycenter.v1.CreateFindingRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateFindingMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a mute config.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createMuteConfig( + com.google.cloud.securitycenter.v1.CreateMuteConfigRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateMuteConfigMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a notification config.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createNotificationConfig( + com.google.cloud.securitycenter.v1.CreateNotificationConfigRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateNotificationConfigMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes an existing mute config.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteMuteConfig( + com.google.cloud.securitycenter.v1.DeleteMuteConfigRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteMuteConfigMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a notification config.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteNotificationConfig( + com.google.cloud.securitycenter.v1.DeleteNotificationConfigRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteNotificationConfigMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets a big query export.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getBigQueryExport( + com.google.cloud.securitycenter.v1.GetBigQueryExportRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetBigQueryExportMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets the access control policy on the specified Source.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getIamPolicy( + com.google.iam.v1.GetIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets a mute config.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getMuteConfig( + com.google.cloud.securitycenter.v1.GetMuteConfigRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetMuteConfigMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets a notification config.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getNotificationConfig( + com.google.cloud.securitycenter.v1.GetNotificationConfigRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetNotificationConfigMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets the settings for an organization.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getOrganizationSettings( + com.google.cloud.securitycenter.v1.GetOrganizationSettingsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetOrganizationSettingsMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets a source.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getSource( + com.google.cloud.securitycenter.v1.GetSourceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetSourceMethod(), getCallOptions()), request); + } + + /** + *
+     * Filters an organization's assets and  groups them by their specified
+     * properties.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture groupAssets( + com.google.cloud.securitycenter.v1.GroupAssetsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGroupAssetsMethod(), getCallOptions()), request); + } + + /** + *
+     * Filters an organization or source's findings and  groups them by their
+     * specified properties.
+     * To group across all sources provide a `-` as the source id.
+     * Example: /v1/organizations/{organization_id}/sources/-/findings,
+     * /v1/folders/{folder_id}/sources/-/findings,
+     * /v1/projects/{project_id}/sources/-/findings
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture groupFindings( + com.google.cloud.securitycenter.v1.GroupFindingsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGroupFindingsMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists an organization's assets.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listAssets( + com.google.cloud.securitycenter.v1.ListAssetsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListAssetsMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists an organization or source's findings.
+     * To list across all sources provide a `-` as the source id.
+     * Example: /v1/organizations/{organization_id}/sources/-/findings
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listFindings( + com.google.cloud.securitycenter.v1.ListFindingsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListFindingsMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists mute configs.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listMuteConfigs( + com.google.cloud.securitycenter.v1.ListMuteConfigsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListMuteConfigsMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists notification configs.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listNotificationConfigs( + com.google.cloud.securitycenter.v1.ListNotificationConfigsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListNotificationConfigsMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists all sources belonging to an organization.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listSources( + com.google.cloud.securitycenter.v1.ListSourcesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListSourcesMethod(), getCallOptions()), request); + } + + /** + *
+     * Runs asset discovery. The discovery is tracked with a long-running
+     * operation.
+     * This API can only be called with limited frequency for an organization. If
+     * it is called too frequently the caller will receive a TOO_MANY_REQUESTS
+     * error.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture runAssetDiscovery( + com.google.cloud.securitycenter.v1.RunAssetDiscoveryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getRunAssetDiscoveryMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates the state of a finding.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture setFindingState( + com.google.cloud.securitycenter.v1.SetFindingStateRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getSetFindingStateMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates the mute state of a finding.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture setMute( + com.google.cloud.securitycenter.v1.SetMuteRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getSetMuteMethod(), getCallOptions()), request); + } + + /** + *
+     * Sets the access control policy on the specified Source.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture setIamPolicy( + com.google.iam.v1.SetIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request); + } + + /** + *
+     * Returns the permissions that a caller has on the specified source.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture testIamPermissions( + com.google.iam.v1.TestIamPermissionsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates external system. This is for a given finding.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateExternalSystem( + com.google.cloud.securitycenter.v1.UpdateExternalSystemRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateExternalSystemMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates or updates a finding. The corresponding source must exist for a
+     * finding creation to succeed.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateFinding( + com.google.cloud.securitycenter.v1.UpdateFindingRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateFindingMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates a mute config.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateMuteConfig( + com.google.cloud.securitycenter.v1.UpdateMuteConfigRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateMuteConfigMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates a notification config. The following update
+     * fields are allowed: description, pubsub_topic, streaming_config.filter
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateNotificationConfig( + com.google.cloud.securitycenter.v1.UpdateNotificationConfigRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateNotificationConfigMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates an organization's settings.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateOrganizationSettings( + com.google.cloud.securitycenter.v1.UpdateOrganizationSettingsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateOrganizationSettingsMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates a source.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateSource( + com.google.cloud.securitycenter.v1.UpdateSourceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateSourceMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates security marks.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateSecurityMarks( + com.google.cloud.securitycenter.v1.UpdateSecurityMarksRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateSecurityMarksMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a big query export.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createBigQueryExport( + com.google.cloud.securitycenter.v1.CreateBigQueryExportRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateBigQueryExportMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes an existing big query export.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteBigQueryExport( + com.google.cloud.securitycenter.v1.DeleteBigQueryExportRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteBigQueryExportMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates a BigQuery export.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateBigQueryExport( + com.google.cloud.securitycenter.v1.UpdateBigQueryExportRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateBigQueryExportMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists BigQuery exports. Note that when requesting BigQuery exports at a
+     * given level all exports under that level are also returned e.g. if
+     * requesting BigQuery exports under a folder, then all BigQuery exports
+     * immediately under the folder plus the ones created under the projects
+     * within the folder are returned.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listBigQueryExports( + com.google.cloud.securitycenter.v1.ListBigQueryExportsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListBigQueryExportsMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_BULK_MUTE_FINDINGS = 0; + private static final int METHODID_CREATE_SOURCE = 1; + private static final int METHODID_CREATE_FINDING = 2; + private static final int METHODID_CREATE_MUTE_CONFIG = 3; + private static final int METHODID_CREATE_NOTIFICATION_CONFIG = 4; + private static final int METHODID_DELETE_MUTE_CONFIG = 5; + private static final int METHODID_DELETE_NOTIFICATION_CONFIG = 6; + private static final int METHODID_GET_BIG_QUERY_EXPORT = 7; + private static final int METHODID_GET_IAM_POLICY = 8; + private static final int METHODID_GET_MUTE_CONFIG = 9; + private static final int METHODID_GET_NOTIFICATION_CONFIG = 10; + private static final int METHODID_GET_ORGANIZATION_SETTINGS = 11; + private static final int METHODID_GET_SOURCE = 12; + private static final int METHODID_GROUP_ASSETS = 13; + private static final int METHODID_GROUP_FINDINGS = 14; + private static final int METHODID_LIST_ASSETS = 15; + private static final int METHODID_LIST_FINDINGS = 16; + private static final int METHODID_LIST_MUTE_CONFIGS = 17; + private static final int METHODID_LIST_NOTIFICATION_CONFIGS = 18; + private static final int METHODID_LIST_SOURCES = 19; + private static final int METHODID_RUN_ASSET_DISCOVERY = 20; + private static final int METHODID_SET_FINDING_STATE = 21; + private static final int METHODID_SET_MUTE = 22; + private static final int METHODID_SET_IAM_POLICY = 23; + private static final int METHODID_TEST_IAM_PERMISSIONS = 24; + private static final int METHODID_UPDATE_EXTERNAL_SYSTEM = 25; + private static final int METHODID_UPDATE_FINDING = 26; + private static final int METHODID_UPDATE_MUTE_CONFIG = 27; + private static final int METHODID_UPDATE_NOTIFICATION_CONFIG = 28; + private static final int METHODID_UPDATE_ORGANIZATION_SETTINGS = 29; + private static final int METHODID_UPDATE_SOURCE = 30; + private static final int METHODID_UPDATE_SECURITY_MARKS = 31; + private static final int METHODID_CREATE_BIG_QUERY_EXPORT = 32; + private static final int METHODID_DELETE_BIG_QUERY_EXPORT = 33; + private static final int METHODID_UPDATE_BIG_QUERY_EXPORT = 34; + private static final int METHODID_LIST_BIG_QUERY_EXPORTS = 35; + + private static final class MethodHandlers implements + io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final SecurityCenterImplBase serviceImpl; + private final int methodId; + + MethodHandlers(SecurityCenterImplBase 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_BULK_MUTE_FINDINGS: + serviceImpl.bulkMuteFindings((com.google.cloud.securitycenter.v1.BulkMuteFindingsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_SOURCE: + serviceImpl.createSource((com.google.cloud.securitycenter.v1.CreateSourceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_FINDING: + serviceImpl.createFinding((com.google.cloud.securitycenter.v1.CreateFindingRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_MUTE_CONFIG: + serviceImpl.createMuteConfig((com.google.cloud.securitycenter.v1.CreateMuteConfigRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_NOTIFICATION_CONFIG: + serviceImpl.createNotificationConfig((com.google.cloud.securitycenter.v1.CreateNotificationConfigRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_MUTE_CONFIG: + serviceImpl.deleteMuteConfig((com.google.cloud.securitycenter.v1.DeleteMuteConfigRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_NOTIFICATION_CONFIG: + serviceImpl.deleteNotificationConfig((com.google.cloud.securitycenter.v1.DeleteNotificationConfigRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_BIG_QUERY_EXPORT: + serviceImpl.getBigQueryExport((com.google.cloud.securitycenter.v1.GetBigQueryExportRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_IAM_POLICY: + serviceImpl.getIamPolicy((com.google.iam.v1.GetIamPolicyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_MUTE_CONFIG: + serviceImpl.getMuteConfig((com.google.cloud.securitycenter.v1.GetMuteConfigRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_NOTIFICATION_CONFIG: + serviceImpl.getNotificationConfig((com.google.cloud.securitycenter.v1.GetNotificationConfigRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_ORGANIZATION_SETTINGS: + serviceImpl.getOrganizationSettings((com.google.cloud.securitycenter.v1.GetOrganizationSettingsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_SOURCE: + serviceImpl.getSource((com.google.cloud.securitycenter.v1.GetSourceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GROUP_ASSETS: + serviceImpl.groupAssets((com.google.cloud.securitycenter.v1.GroupAssetsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GROUP_FINDINGS: + serviceImpl.groupFindings((com.google.cloud.securitycenter.v1.GroupFindingsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_ASSETS: + serviceImpl.listAssets((com.google.cloud.securitycenter.v1.ListAssetsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_FINDINGS: + serviceImpl.listFindings((com.google.cloud.securitycenter.v1.ListFindingsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_MUTE_CONFIGS: + serviceImpl.listMuteConfigs((com.google.cloud.securitycenter.v1.ListMuteConfigsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_NOTIFICATION_CONFIGS: + serviceImpl.listNotificationConfigs((com.google.cloud.securitycenter.v1.ListNotificationConfigsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_SOURCES: + serviceImpl.listSources((com.google.cloud.securitycenter.v1.ListSourcesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_RUN_ASSET_DISCOVERY: + serviceImpl.runAssetDiscovery((com.google.cloud.securitycenter.v1.RunAssetDiscoveryRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_SET_FINDING_STATE: + serviceImpl.setFindingState((com.google.cloud.securitycenter.v1.SetFindingStateRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_SET_MUTE: + serviceImpl.setMute((com.google.cloud.securitycenter.v1.SetMuteRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_SET_IAM_POLICY: + serviceImpl.setIamPolicy((com.google.iam.v1.SetIamPolicyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_TEST_IAM_PERMISSIONS: + serviceImpl.testIamPermissions((com.google.iam.v1.TestIamPermissionsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_EXTERNAL_SYSTEM: + serviceImpl.updateExternalSystem((com.google.cloud.securitycenter.v1.UpdateExternalSystemRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_FINDING: + serviceImpl.updateFinding((com.google.cloud.securitycenter.v1.UpdateFindingRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_MUTE_CONFIG: + serviceImpl.updateMuteConfig((com.google.cloud.securitycenter.v1.UpdateMuteConfigRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_NOTIFICATION_CONFIG: + serviceImpl.updateNotificationConfig((com.google.cloud.securitycenter.v1.UpdateNotificationConfigRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_ORGANIZATION_SETTINGS: + serviceImpl.updateOrganizationSettings((com.google.cloud.securitycenter.v1.UpdateOrganizationSettingsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_SOURCE: + serviceImpl.updateSource((com.google.cloud.securitycenter.v1.UpdateSourceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_SECURITY_MARKS: + serviceImpl.updateSecurityMarks((com.google.cloud.securitycenter.v1.UpdateSecurityMarksRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_BIG_QUERY_EXPORT: + serviceImpl.createBigQueryExport((com.google.cloud.securitycenter.v1.CreateBigQueryExportRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_BIG_QUERY_EXPORT: + serviceImpl.deleteBigQueryExport((com.google.cloud.securitycenter.v1.DeleteBigQueryExportRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_BIG_QUERY_EXPORT: + serviceImpl.updateBigQueryExport((com.google.cloud.securitycenter.v1.UpdateBigQueryExportRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_BIG_QUERY_EXPORTS: + serviceImpl.listBigQueryExports((com.google.cloud.securitycenter.v1.ListBigQueryExportsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + private static abstract class SecurityCenterBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + SecurityCenterBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.securitycenter.v1.SecuritycenterService.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("SecurityCenter"); + } + } + + private static final class SecurityCenterFileDescriptorSupplier + extends SecurityCenterBaseDescriptorSupplier { + SecurityCenterFileDescriptorSupplier() {} + } + + private static final class SecurityCenterMethodDescriptorSupplier + extends SecurityCenterBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + SecurityCenterMethodDescriptorSupplier(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 (SecurityCenterGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new SecurityCenterFileDescriptorSupplier()) + .addMethod(getBulkMuteFindingsMethod()) + .addMethod(getCreateSourceMethod()) + .addMethod(getCreateFindingMethod()) + .addMethod(getCreateMuteConfigMethod()) + .addMethod(getCreateNotificationConfigMethod()) + .addMethod(getDeleteMuteConfigMethod()) + .addMethod(getDeleteNotificationConfigMethod()) + .addMethod(getGetBigQueryExportMethod()) + .addMethod(getGetIamPolicyMethod()) + .addMethod(getGetMuteConfigMethod()) + .addMethod(getGetNotificationConfigMethod()) + .addMethod(getGetOrganizationSettingsMethod()) + .addMethod(getGetSourceMethod()) + .addMethod(getGroupAssetsMethod()) + .addMethod(getGroupFindingsMethod()) + .addMethod(getListAssetsMethod()) + .addMethod(getListFindingsMethod()) + .addMethod(getListMuteConfigsMethod()) + .addMethod(getListNotificationConfigsMethod()) + .addMethod(getListSourcesMethod()) + .addMethod(getRunAssetDiscoveryMethod()) + .addMethod(getSetFindingStateMethod()) + .addMethod(getSetMuteMethod()) + .addMethod(getSetIamPolicyMethod()) + .addMethod(getTestIamPermissionsMethod()) + .addMethod(getUpdateExternalSystemMethod()) + .addMethod(getUpdateFindingMethod()) + .addMethod(getUpdateMuteConfigMethod()) + .addMethod(getUpdateNotificationConfigMethod()) + .addMethod(getUpdateOrganizationSettingsMethod()) + .addMethod(getUpdateSourceMethod()) + .addMethod(getUpdateSecurityMarksMethod()) + .addMethod(getCreateBigQueryExportMethod()) + .addMethod(getDeleteBigQueryExportMethod()) + .addMethod(getUpdateBigQueryExportMethod()) + .addMethod(getListBigQueryExportsMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Access.java b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Access.java similarity index 74% rename from java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Access.java rename to owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Access.java index af73e419b335..a12278a0f372 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Access.java +++ b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Access.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/securitycenter/v1/access.proto package com.google.cloud.securitycenter.v1; /** - * - * *
  * Represents an access event.
  * 
* * Protobuf type {@code google.cloud.securitycenter.v1.Access} */ -public final class Access extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Access extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.securitycenter.v1.Access) AccessOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Access.newBuilder() to construct. private Access(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Access() { principalEmail_ = ""; callerIp_ = ""; @@ -50,35 +32,32 @@ private Access() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Access(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.securitycenter.v1.AccessProto - .internal_static_google_cloud_securitycenter_v1_Access_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.securitycenter.v1.AccessProto.internal_static_google_cloud_securitycenter_v1_Access_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.securitycenter.v1.AccessProto - .internal_static_google_cloud_securitycenter_v1_Access_fieldAccessorTable + return com.google.cloud.securitycenter.v1.AccessProto.internal_static_google_cloud_securitycenter_v1_Access_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.securitycenter.v1.Access.class, - com.google.cloud.securitycenter.v1.Access.Builder.class); + com.google.cloud.securitycenter.v1.Access.class, com.google.cloud.securitycenter.v1.Access.Builder.class); } public static final int PRINCIPAL_EMAIL_FIELD_NUMBER = 1; private volatile java.lang.Object principalEmail_; /** - * - * *
    * Associated email, such as "foo@google.com".
    * The email address of the authenticated user (or service account on behalf
@@ -90,7 +69,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string principal_email = 1; - * * @return The principalEmail. */ @java.lang.Override @@ -99,15 +77,14 @@ public java.lang.String getPrincipalEmail() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); principalEmail_ = s; return s; } } /** - * - * *
    * Associated email, such as "foo@google.com".
    * The email address of the authenticated user (or service account on behalf
@@ -119,15 +96,16 @@ public java.lang.String getPrincipalEmail() {
    * 
* * string principal_email = 1; - * * @return The bytes for principalEmail. */ @java.lang.Override - public com.google.protobuf.ByteString getPrincipalEmailBytes() { + public com.google.protobuf.ByteString + getPrincipalEmailBytes() { java.lang.Object ref = principalEmail_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); principalEmail_ = b; return b; } else { @@ -138,14 +116,11 @@ public com.google.protobuf.ByteString getPrincipalEmailBytes() { public static final int CALLER_IP_FIELD_NUMBER = 2; private volatile java.lang.Object callerIp_; /** - * - * *
    * Caller's IP address, such as "1.1.1.1".
    * 
* * string caller_ip = 2; - * * @return The callerIp. */ @java.lang.Override @@ -154,29 +129,29 @@ public java.lang.String getCallerIp() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); callerIp_ = s; return s; } } /** - * - * *
    * Caller's IP address, such as "1.1.1.1".
    * 
* * string caller_ip = 2; - * * @return The bytes for callerIp. */ @java.lang.Override - public com.google.protobuf.ByteString getCallerIpBytes() { + public com.google.protobuf.ByteString + getCallerIpBytes() { java.lang.Object ref = callerIp_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); callerIp_ = b; return b; } else { @@ -187,14 +162,11 @@ public com.google.protobuf.ByteString getCallerIpBytes() { public static final int CALLER_IP_GEO_FIELD_NUMBER = 3; private com.google.cloud.securitycenter.v1.Geolocation callerIpGeo_; /** - * - * *
    * The caller IP's geolocation, which identifies where the call came from.
    * 
* * .google.cloud.securitycenter.v1.Geolocation caller_ip_geo = 3; - * * @return Whether the callerIpGeo field is set. */ @java.lang.Override @@ -202,25 +174,18 @@ public boolean hasCallerIpGeo() { return callerIpGeo_ != null; } /** - * - * *
    * The caller IP's geolocation, which identifies where the call came from.
    * 
* * .google.cloud.securitycenter.v1.Geolocation caller_ip_geo = 3; - * * @return The callerIpGeo. */ @java.lang.Override public com.google.cloud.securitycenter.v1.Geolocation getCallerIpGeo() { - return callerIpGeo_ == null - ? com.google.cloud.securitycenter.v1.Geolocation.getDefaultInstance() - : callerIpGeo_; + return callerIpGeo_ == null ? com.google.cloud.securitycenter.v1.Geolocation.getDefaultInstance() : callerIpGeo_; } /** - * - * *
    * The caller IP's geolocation, which identifies where the call came from.
    * 
@@ -235,15 +200,12 @@ public com.google.cloud.securitycenter.v1.GeolocationOrBuilder getCallerIpGeoOrB public static final int USER_AGENT_FAMILY_FIELD_NUMBER = 4; private volatile java.lang.Object userAgentFamily_; /** - * - * *
    * What kind of user agent is associated, e.g. operating system shells,
    * embedded or stand-alone applications, etc.
    * 
* * string user_agent_family = 4; - * * @return The userAgentFamily. */ @java.lang.Override @@ -252,30 +214,30 @@ public java.lang.String getUserAgentFamily() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); userAgentFamily_ = s; return s; } } /** - * - * *
    * What kind of user agent is associated, e.g. operating system shells,
    * embedded or stand-alone applications, etc.
    * 
* * string user_agent_family = 4; - * * @return The bytes for userAgentFamily. */ @java.lang.Override - public com.google.protobuf.ByteString getUserAgentFamilyBytes() { + public com.google.protobuf.ByteString + getUserAgentFamilyBytes() { java.lang.Object ref = userAgentFamily_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); userAgentFamily_ = b; return b; } else { @@ -286,15 +248,12 @@ public com.google.protobuf.ByteString getUserAgentFamilyBytes() { public static final int SERVICE_NAME_FIELD_NUMBER = 5; private volatile java.lang.Object serviceName_; /** - * - * *
    * This is the API service that the service account made a call to, e.g.
    * "iam.googleapis.com"
    * 
* * string service_name = 5; - * * @return The serviceName. */ @java.lang.Override @@ -303,30 +262,30 @@ public java.lang.String getServiceName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceName_ = s; return s; } } /** - * - * *
    * This is the API service that the service account made a call to, e.g.
    * "iam.googleapis.com"
    * 
* * string service_name = 5; - * * @return The bytes for serviceName. */ @java.lang.Override - public com.google.protobuf.ByteString getServiceNameBytes() { + public com.google.protobuf.ByteString + getServiceNameBytes() { java.lang.Object ref = serviceName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); serviceName_ = b; return b; } else { @@ -337,14 +296,11 @@ public com.google.protobuf.ByteString getServiceNameBytes() { public static final int METHOD_NAME_FIELD_NUMBER = 6; private volatile java.lang.Object methodName_; /** - * - * *
    * The method that the service account called, e.g. "SetIamPolicy".
    * 
* * string method_name = 6; - * * @return The methodName. */ @java.lang.Override @@ -353,29 +309,29 @@ public java.lang.String getMethodName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); methodName_ = s; return s; } } /** - * - * *
    * The method that the service account called, e.g. "SetIamPolicy".
    * 
* * string method_name = 6; - * * @return The bytes for methodName. */ @java.lang.Override - public com.google.protobuf.ByteString getMethodNameBytes() { + public com.google.protobuf.ByteString + getMethodNameBytes() { java.lang.Object ref = methodName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); methodName_ = b; return b; } else { @@ -386,8 +342,6 @@ public com.google.protobuf.ByteString getMethodNameBytes() { public static final int PRINCIPAL_SUBJECT_FIELD_NUMBER = 7; private volatile java.lang.Object principalSubject_; /** - * - * *
    * A string representing the principal_subject associated with the identity.
    * As compared to `principal_email`, supports principals that aren't
@@ -399,7 +353,6 @@ public com.google.protobuf.ByteString getMethodNameBytes() {
    * 
* * string principal_subject = 7; - * * @return The principalSubject. */ @java.lang.Override @@ -408,15 +361,14 @@ public java.lang.String getPrincipalSubject() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); principalSubject_ = s; return s; } } /** - * - * *
    * A string representing the principal_subject associated with the identity.
    * As compared to `principal_email`, supports principals that aren't
@@ -428,15 +380,16 @@ public java.lang.String getPrincipalSubject() {
    * 
* * string principal_subject = 7; - * * @return The bytes for principalSubject. */ @java.lang.Override - public com.google.protobuf.ByteString getPrincipalSubjectBytes() { + public com.google.protobuf.ByteString + getPrincipalSubjectBytes() { java.lang.Object ref = principalSubject_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); principalSubject_ = b; return b; } else { @@ -447,8 +400,6 @@ public com.google.protobuf.ByteString getPrincipalSubjectBytes() { public static final int SERVICE_ACCOUNT_KEY_NAME_FIELD_NUMBER = 8; private volatile java.lang.Object serviceAccountKeyName_; /** - * - * *
    * The name of the service account key used to create or exchange
    * credentials for authenticating the service account making the request.
@@ -457,7 +408,6 @@ public com.google.protobuf.ByteString getPrincipalSubjectBytes() {
    * 
* * string service_account_key_name = 8; - * * @return The serviceAccountKeyName. */ @java.lang.Override @@ -466,15 +416,14 @@ public java.lang.String getServiceAccountKeyName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccountKeyName_ = s; return s; } } /** - * - * *
    * The name of the service account key used to create or exchange
    * credentials for authenticating the service account making the request.
@@ -483,15 +432,16 @@ public java.lang.String getServiceAccountKeyName() {
    * 
* * string service_account_key_name = 8; - * * @return The bytes for serviceAccountKeyName. */ @java.lang.Override - public com.google.protobuf.ByteString getServiceAccountKeyNameBytes() { + public com.google.protobuf.ByteString + getServiceAccountKeyNameBytes() { java.lang.Object ref = serviceAccountKeyName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); serviceAccountKeyName_ = b; return b; } else { @@ -500,11 +450,8 @@ public com.google.protobuf.ByteString getServiceAccountKeyNameBytes() { } public static final int SERVICE_ACCOUNT_DELEGATION_INFO_FIELD_NUMBER = 9; - private java.util.List - serviceAccountDelegationInfo_; + private java.util.List serviceAccountDelegationInfo_; /** - * - * *
    * Identity delegation history of an authenticated service account that makes
    * the request. It contains information on the real authorities that try to
@@ -513,18 +460,13 @@ public com.google.protobuf.ByteString getServiceAccountKeyNameBytes() {
    * original ordering of the identity delegation events.
    * 
* - * - * repeated .google.cloud.securitycenter.v1.ServiceAccountDelegationInfo service_account_delegation_info = 9; - * + * repeated .google.cloud.securitycenter.v1.ServiceAccountDelegationInfo service_account_delegation_info = 9; */ @java.lang.Override - public java.util.List - getServiceAccountDelegationInfoList() { + public java.util.List getServiceAccountDelegationInfoList() { return serviceAccountDelegationInfo_; } /** - * - * *
    * Identity delegation history of an authenticated service account that makes
    * the request. It contains information on the real authorities that try to
@@ -533,19 +475,14 @@ public com.google.protobuf.ByteString getServiceAccountKeyNameBytes() {
    * original ordering of the identity delegation events.
    * 
* - * - * repeated .google.cloud.securitycenter.v1.ServiceAccountDelegationInfo service_account_delegation_info = 9; - * + * repeated .google.cloud.securitycenter.v1.ServiceAccountDelegationInfo service_account_delegation_info = 9; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.securitycenter.v1.ServiceAccountDelegationInfoOrBuilder> + public java.util.List getServiceAccountDelegationInfoOrBuilderList() { return serviceAccountDelegationInfo_; } /** - * - * *
    * Identity delegation history of an authenticated service account that makes
    * the request. It contains information on the real authorities that try to
@@ -554,17 +491,13 @@ public com.google.protobuf.ByteString getServiceAccountKeyNameBytes() {
    * original ordering of the identity delegation events.
    * 
* - * - * repeated .google.cloud.securitycenter.v1.ServiceAccountDelegationInfo service_account_delegation_info = 9; - * + * repeated .google.cloud.securitycenter.v1.ServiceAccountDelegationInfo service_account_delegation_info = 9; */ @java.lang.Override public int getServiceAccountDelegationInfoCount() { return serviceAccountDelegationInfo_.size(); } /** - * - * *
    * Identity delegation history of an authenticated service account that makes
    * the request. It contains information on the real authorities that try to
@@ -573,18 +506,13 @@ public int getServiceAccountDelegationInfoCount() {
    * original ordering of the identity delegation events.
    * 
* - * - * repeated .google.cloud.securitycenter.v1.ServiceAccountDelegationInfo service_account_delegation_info = 9; - * + * repeated .google.cloud.securitycenter.v1.ServiceAccountDelegationInfo service_account_delegation_info = 9; */ @java.lang.Override - public com.google.cloud.securitycenter.v1.ServiceAccountDelegationInfo - getServiceAccountDelegationInfo(int index) { + public com.google.cloud.securitycenter.v1.ServiceAccountDelegationInfo getServiceAccountDelegationInfo(int index) { return serviceAccountDelegationInfo_.get(index); } /** - * - * *
    * Identity delegation history of an authenticated service account that makes
    * the request. It contains information on the real authorities that try to
@@ -593,18 +521,15 @@ public int getServiceAccountDelegationInfoCount() {
    * original ordering of the identity delegation events.
    * 
* - * - * repeated .google.cloud.securitycenter.v1.ServiceAccountDelegationInfo service_account_delegation_info = 9; - * + * repeated .google.cloud.securitycenter.v1.ServiceAccountDelegationInfo service_account_delegation_info = 9; */ @java.lang.Override - public com.google.cloud.securitycenter.v1.ServiceAccountDelegationInfoOrBuilder - getServiceAccountDelegationInfoOrBuilder(int index) { + public com.google.cloud.securitycenter.v1.ServiceAccountDelegationInfoOrBuilder getServiceAccountDelegationInfoOrBuilder( + int index) { return serviceAccountDelegationInfo_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -616,7 +541,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(principalEmail_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, principalEmail_); } @@ -660,7 +586,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, callerIp_); } if (callerIpGeo_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCallerIpGeo()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getCallerIpGeo()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(userAgentFamily_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, userAgentFamily_); @@ -678,9 +605,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, serviceAccountKeyName_); } for (int i = 0; i < serviceAccountDelegationInfo_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 9, serviceAccountDelegationInfo_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, serviceAccountDelegationInfo_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -690,27 +616,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.securitycenter.v1.Access)) { return super.equals(obj); } - com.google.cloud.securitycenter.v1.Access other = - (com.google.cloud.securitycenter.v1.Access) obj; + com.google.cloud.securitycenter.v1.Access other = (com.google.cloud.securitycenter.v1.Access) obj; - if (!getPrincipalEmail().equals(other.getPrincipalEmail())) return false; - if (!getCallerIp().equals(other.getCallerIp())) return false; + if (!getPrincipalEmail() + .equals(other.getPrincipalEmail())) return false; + if (!getCallerIp() + .equals(other.getCallerIp())) return false; if (hasCallerIpGeo() != other.hasCallerIpGeo()) return false; if (hasCallerIpGeo()) { - if (!getCallerIpGeo().equals(other.getCallerIpGeo())) return false; - } - if (!getUserAgentFamily().equals(other.getUserAgentFamily())) return false; - if (!getServiceName().equals(other.getServiceName())) return false; - if (!getMethodName().equals(other.getMethodName())) return false; - if (!getPrincipalSubject().equals(other.getPrincipalSubject())) return false; - if (!getServiceAccountKeyName().equals(other.getServiceAccountKeyName())) return false; - if (!getServiceAccountDelegationInfoList().equals(other.getServiceAccountDelegationInfoList())) - return false; + if (!getCallerIpGeo() + .equals(other.getCallerIpGeo())) return false; + } + if (!getUserAgentFamily() + .equals(other.getUserAgentFamily())) return false; + if (!getServiceName() + .equals(other.getServiceName())) return false; + if (!getMethodName() + .equals(other.getMethodName())) return false; + if (!getPrincipalSubject() + .equals(other.getPrincipalSubject())) return false; + if (!getServiceAccountKeyName() + .equals(other.getServiceAccountKeyName())) return false; + if (!getServiceAccountDelegationInfoList() + .equals(other.getServiceAccountDelegationInfoList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -749,136 +682,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.securitycenter.v1.Access parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.securitycenter.v1.Access parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.Access parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.Access parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.Access parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.Access parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.Access parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.Access parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.Access parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.securitycenter.v1.Access parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.securitycenter.v1.Access parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.Access parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.Access parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.Access parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.securitycenter.v1.Access prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 access event.
    * 
* * Protobuf type {@code google.cloud.securitycenter.v1.Access} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.securitycenter.v1.Access) com.google.cloud.securitycenter.v1.AccessOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.securitycenter.v1.AccessProto - .internal_static_google_cloud_securitycenter_v1_Access_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.securitycenter.v1.AccessProto.internal_static_google_cloud_securitycenter_v1_Access_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.securitycenter.v1.AccessProto - .internal_static_google_cloud_securitycenter_v1_Access_fieldAccessorTable + return com.google.cloud.securitycenter.v1.AccessProto.internal_static_google_cloud_securitycenter_v1_Access_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.securitycenter.v1.Access.class, - com.google.cloud.securitycenter.v1.Access.Builder.class); + com.google.cloud.securitycenter.v1.Access.class, com.google.cloud.securitycenter.v1.Access.Builder.class); } // Construct using com.google.cloud.securitycenter.v1.Access.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(); @@ -913,9 +840,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.securitycenter.v1.AccessProto - .internal_static_google_cloud_securitycenter_v1_Access_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.securitycenter.v1.AccessProto.internal_static_google_cloud_securitycenter_v1_Access_descriptor; } @java.lang.Override @@ -934,8 +861,7 @@ public com.google.cloud.securitycenter.v1.Access build() { @java.lang.Override public com.google.cloud.securitycenter.v1.Access buildPartial() { - com.google.cloud.securitycenter.v1.Access result = - new com.google.cloud.securitycenter.v1.Access(this); + com.google.cloud.securitycenter.v1.Access result = new com.google.cloud.securitycenter.v1.Access(this); int from_bitField0_ = bitField0_; result.principalEmail_ = principalEmail_; result.callerIp_ = callerIp_; @@ -951,8 +877,7 @@ public com.google.cloud.securitycenter.v1.Access buildPartial() { result.serviceAccountKeyName_ = serviceAccountKeyName_; if (serviceAccountDelegationInfoBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { - serviceAccountDelegationInfo_ = - java.util.Collections.unmodifiableList(serviceAccountDelegationInfo_); + serviceAccountDelegationInfo_ = java.util.Collections.unmodifiableList(serviceAccountDelegationInfo_); bitField0_ = (bitField0_ & ~0x00000001); } result.serviceAccountDelegationInfo_ = serviceAccountDelegationInfo_; @@ -967,39 +892,38 @@ public com.google.cloud.securitycenter.v1.Access buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.securitycenter.v1.Access) { - return mergeFrom((com.google.cloud.securitycenter.v1.Access) other); + return mergeFrom((com.google.cloud.securitycenter.v1.Access)other); } else { super.mergeFrom(other); return this; @@ -1057,13 +981,11 @@ public Builder mergeFrom(com.google.cloud.securitycenter.v1.Access other) { serviceAccountDelegationInfoBuilder_ = null; serviceAccountDelegationInfo_ = other.serviceAccountDelegationInfo_; bitField0_ = (bitField0_ & ~0x00000001); - serviceAccountDelegationInfoBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getServiceAccountDelegationInfoFieldBuilder() - : null; + serviceAccountDelegationInfoBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getServiceAccountDelegationInfoFieldBuilder() : null; } else { - serviceAccountDelegationInfoBuilder_.addAllMessages( - other.serviceAccountDelegationInfo_); + serviceAccountDelegationInfoBuilder_.addAllMessages(other.serviceAccountDelegationInfo_); } } } @@ -1093,75 +1015,67 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - principalEmail_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - callerIp_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 26: - { - input.readMessage(getCallerIpGeoFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 26 - case 34: - { - userAgentFamily_ = input.readStringRequireUtf8(); - - break; - } // case 34 - case 42: - { - serviceName_ = input.readStringRequireUtf8(); - - break; - } // case 42 - case 50: - { - methodName_ = input.readStringRequireUtf8(); - - break; - } // case 50 - case 58: - { - principalSubject_ = input.readStringRequireUtf8(); - - break; - } // case 58 - case 66: - { - serviceAccountKeyName_ = input.readStringRequireUtf8(); - - break; - } // case 66 - case 74: - { - com.google.cloud.securitycenter.v1.ServiceAccountDelegationInfo m = - input.readMessage( - com.google.cloud.securitycenter.v1.ServiceAccountDelegationInfo.parser(), - extensionRegistry); - if (serviceAccountDelegationInfoBuilder_ == null) { - ensureServiceAccountDelegationInfoIsMutable(); - serviceAccountDelegationInfo_.add(m); - } else { - serviceAccountDelegationInfoBuilder_.addMessage(m); - } - break; - } // case 74 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + principalEmail_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + callerIp_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 26: { + input.readMessage( + getCallerIpGeoFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 26 + case 34: { + userAgentFamily_ = input.readStringRequireUtf8(); + + break; + } // case 34 + case 42: { + serviceName_ = input.readStringRequireUtf8(); + + break; + } // case 42 + case 50: { + methodName_ = input.readStringRequireUtf8(); + + break; + } // case 50 + case 58: { + principalSubject_ = input.readStringRequireUtf8(); + + break; + } // case 58 + case 66: { + serviceAccountKeyName_ = input.readStringRequireUtf8(); + + break; + } // case 66 + case 74: { + com.google.cloud.securitycenter.v1.ServiceAccountDelegationInfo m = + input.readMessage( + com.google.cloud.securitycenter.v1.ServiceAccountDelegationInfo.parser(), + extensionRegistry); + if (serviceAccountDelegationInfoBuilder_ == null) { + ensureServiceAccountDelegationInfoIsMutable(); + serviceAccountDelegationInfo_.add(m); + } else { + serviceAccountDelegationInfoBuilder_.addMessage(m); + } + break; + } // case 74 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1171,13 +1085,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object principalEmail_ = ""; /** - * - * *
      * Associated email, such as "foo@google.com".
      * The email address of the authenticated user (or service account on behalf
@@ -1189,13 +1100,13 @@ public Builder mergeFrom(
      * 
* * string principal_email = 1; - * * @return The principalEmail. */ public java.lang.String getPrincipalEmail() { java.lang.Object ref = principalEmail_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); principalEmail_ = s; return s; @@ -1204,8 +1115,6 @@ public java.lang.String getPrincipalEmail() { } } /** - * - * *
      * Associated email, such as "foo@google.com".
      * The email address of the authenticated user (or service account on behalf
@@ -1217,14 +1126,15 @@ public java.lang.String getPrincipalEmail() {
      * 
* * string principal_email = 1; - * * @return The bytes for principalEmail. */ - public com.google.protobuf.ByteString getPrincipalEmailBytes() { + public com.google.protobuf.ByteString + getPrincipalEmailBytes() { java.lang.Object ref = principalEmail_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); principalEmail_ = b; return b; } else { @@ -1232,8 +1142,6 @@ public com.google.protobuf.ByteString getPrincipalEmailBytes() { } } /** - * - * *
      * Associated email, such as "foo@google.com".
      * The email address of the authenticated user (or service account on behalf
@@ -1245,22 +1153,20 @@ public com.google.protobuf.ByteString getPrincipalEmailBytes() {
      * 
* * string principal_email = 1; - * * @param value The principalEmail to set. * @return This builder for chaining. */ - public Builder setPrincipalEmail(java.lang.String value) { + public Builder setPrincipalEmail( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + principalEmail_ = value; onChanged(); return this; } /** - * - * *
      * Associated email, such as "foo@google.com".
      * The email address of the authenticated user (or service account on behalf
@@ -1272,18 +1178,15 @@ public Builder setPrincipalEmail(java.lang.String value) {
      * 
* * string principal_email = 1; - * * @return This builder for chaining. */ public Builder clearPrincipalEmail() { - + principalEmail_ = getDefaultInstance().getPrincipalEmail(); onChanged(); return this; } /** - * - * *
      * Associated email, such as "foo@google.com".
      * The email address of the authenticated user (or service account on behalf
@@ -1295,16 +1198,16 @@ public Builder clearPrincipalEmail() {
      * 
* * string principal_email = 1; - * * @param value The bytes for principalEmail to set. * @return This builder for chaining. */ - public Builder setPrincipalEmailBytes(com.google.protobuf.ByteString value) { + public Builder setPrincipalEmailBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + principalEmail_ = value; onChanged(); return this; @@ -1312,20 +1215,18 @@ public Builder setPrincipalEmailBytes(com.google.protobuf.ByteString value) { private java.lang.Object callerIp_ = ""; /** - * - * *
      * Caller's IP address, such as "1.1.1.1".
      * 
* * string caller_ip = 2; - * * @return The callerIp. */ public java.lang.String getCallerIp() { java.lang.Object ref = callerIp_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); callerIp_ = s; return s; @@ -1334,21 +1235,20 @@ public java.lang.String getCallerIp() { } } /** - * - * *
      * Caller's IP address, such as "1.1.1.1".
      * 
* * string caller_ip = 2; - * * @return The bytes for callerIp. */ - public com.google.protobuf.ByteString getCallerIpBytes() { + public com.google.protobuf.ByteString + getCallerIpBytes() { java.lang.Object ref = callerIp_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); callerIp_ = b; return b; } else { @@ -1356,61 +1256,54 @@ public com.google.protobuf.ByteString getCallerIpBytes() { } } /** - * - * *
      * Caller's IP address, such as "1.1.1.1".
      * 
* * string caller_ip = 2; - * * @param value The callerIp to set. * @return This builder for chaining. */ - public Builder setCallerIp(java.lang.String value) { + public Builder setCallerIp( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + callerIp_ = value; onChanged(); return this; } /** - * - * *
      * Caller's IP address, such as "1.1.1.1".
      * 
* * string caller_ip = 2; - * * @return This builder for chaining. */ public Builder clearCallerIp() { - + callerIp_ = getDefaultInstance().getCallerIp(); onChanged(); return this; } /** - * - * *
      * Caller's IP address, such as "1.1.1.1".
      * 
* * string caller_ip = 2; - * * @param value The bytes for callerIp to set. * @return This builder for chaining. */ - public Builder setCallerIpBytes(com.google.protobuf.ByteString value) { + public Builder setCallerIpBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + callerIp_ = value; onChanged(); return this; @@ -1418,47 +1311,34 @@ public Builder setCallerIpBytes(com.google.protobuf.ByteString value) { private com.google.cloud.securitycenter.v1.Geolocation callerIpGeo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.securitycenter.v1.Geolocation, - com.google.cloud.securitycenter.v1.Geolocation.Builder, - com.google.cloud.securitycenter.v1.GeolocationOrBuilder> - callerIpGeoBuilder_; + com.google.cloud.securitycenter.v1.Geolocation, com.google.cloud.securitycenter.v1.Geolocation.Builder, com.google.cloud.securitycenter.v1.GeolocationOrBuilder> callerIpGeoBuilder_; /** - * - * *
      * The caller IP's geolocation, which identifies where the call came from.
      * 
* * .google.cloud.securitycenter.v1.Geolocation caller_ip_geo = 3; - * * @return Whether the callerIpGeo field is set. */ public boolean hasCallerIpGeo() { return callerIpGeoBuilder_ != null || callerIpGeo_ != null; } /** - * - * *
      * The caller IP's geolocation, which identifies where the call came from.
      * 
* * .google.cloud.securitycenter.v1.Geolocation caller_ip_geo = 3; - * * @return The callerIpGeo. */ public com.google.cloud.securitycenter.v1.Geolocation getCallerIpGeo() { if (callerIpGeoBuilder_ == null) { - return callerIpGeo_ == null - ? com.google.cloud.securitycenter.v1.Geolocation.getDefaultInstance() - : callerIpGeo_; + return callerIpGeo_ == null ? com.google.cloud.securitycenter.v1.Geolocation.getDefaultInstance() : callerIpGeo_; } else { return callerIpGeoBuilder_.getMessage(); } } /** - * - * *
      * The caller IP's geolocation, which identifies where the call came from.
      * 
@@ -1479,8 +1359,6 @@ public Builder setCallerIpGeo(com.google.cloud.securitycenter.v1.Geolocation val return this; } /** - * - * *
      * The caller IP's geolocation, which identifies where the call came from.
      * 
@@ -1499,8 +1377,6 @@ public Builder setCallerIpGeo( return this; } /** - * - * *
      * The caller IP's geolocation, which identifies where the call came from.
      * 
@@ -1511,9 +1387,7 @@ public Builder mergeCallerIpGeo(com.google.cloud.securitycenter.v1.Geolocation v if (callerIpGeoBuilder_ == null) { if (callerIpGeo_ != null) { callerIpGeo_ = - com.google.cloud.securitycenter.v1.Geolocation.newBuilder(callerIpGeo_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.securitycenter.v1.Geolocation.newBuilder(callerIpGeo_).mergeFrom(value).buildPartial(); } else { callerIpGeo_ = value; } @@ -1525,8 +1399,6 @@ public Builder mergeCallerIpGeo(com.google.cloud.securitycenter.v1.Geolocation v return this; } /** - * - * *
      * The caller IP's geolocation, which identifies where the call came from.
      * 
@@ -1545,8 +1417,6 @@ public Builder clearCallerIpGeo() { return this; } /** - * - * *
      * The caller IP's geolocation, which identifies where the call came from.
      * 
@@ -1554,13 +1424,11 @@ public Builder clearCallerIpGeo() { * .google.cloud.securitycenter.v1.Geolocation caller_ip_geo = 3; */ public com.google.cloud.securitycenter.v1.Geolocation.Builder getCallerIpGeoBuilder() { - + onChanged(); return getCallerIpGeoFieldBuilder().getBuilder(); } /** - * - * *
      * The caller IP's geolocation, which identifies where the call came from.
      * 
@@ -1571,14 +1439,11 @@ public com.google.cloud.securitycenter.v1.GeolocationOrBuilder getCallerIpGeoOrB if (callerIpGeoBuilder_ != null) { return callerIpGeoBuilder_.getMessageOrBuilder(); } else { - return callerIpGeo_ == null - ? com.google.cloud.securitycenter.v1.Geolocation.getDefaultInstance() - : callerIpGeo_; + return callerIpGeo_ == null ? + com.google.cloud.securitycenter.v1.Geolocation.getDefaultInstance() : callerIpGeo_; } } /** - * - * *
      * The caller IP's geolocation, which identifies where the call came from.
      * 
@@ -1586,17 +1451,14 @@ public com.google.cloud.securitycenter.v1.GeolocationOrBuilder getCallerIpGeoOrB * .google.cloud.securitycenter.v1.Geolocation caller_ip_geo = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.securitycenter.v1.Geolocation, - com.google.cloud.securitycenter.v1.Geolocation.Builder, - com.google.cloud.securitycenter.v1.GeolocationOrBuilder> + com.google.cloud.securitycenter.v1.Geolocation, com.google.cloud.securitycenter.v1.Geolocation.Builder, com.google.cloud.securitycenter.v1.GeolocationOrBuilder> getCallerIpGeoFieldBuilder() { if (callerIpGeoBuilder_ == null) { - callerIpGeoBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.securitycenter.v1.Geolocation, - com.google.cloud.securitycenter.v1.Geolocation.Builder, - com.google.cloud.securitycenter.v1.GeolocationOrBuilder>( - getCallerIpGeo(), getParentForChildren(), isClean()); + callerIpGeoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.securitycenter.v1.Geolocation, com.google.cloud.securitycenter.v1.Geolocation.Builder, com.google.cloud.securitycenter.v1.GeolocationOrBuilder>( + getCallerIpGeo(), + getParentForChildren(), + isClean()); callerIpGeo_ = null; } return callerIpGeoBuilder_; @@ -1604,21 +1466,19 @@ public com.google.cloud.securitycenter.v1.GeolocationOrBuilder getCallerIpGeoOrB private java.lang.Object userAgentFamily_ = ""; /** - * - * *
      * What kind of user agent is associated, e.g. operating system shells,
      * embedded or stand-alone applications, etc.
      * 
* * string user_agent_family = 4; - * * @return The userAgentFamily. */ public java.lang.String getUserAgentFamily() { java.lang.Object ref = userAgentFamily_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); userAgentFamily_ = s; return s; @@ -1627,22 +1487,21 @@ public java.lang.String getUserAgentFamily() { } } /** - * - * *
      * What kind of user agent is associated, e.g. operating system shells,
      * embedded or stand-alone applications, etc.
      * 
* * string user_agent_family = 4; - * * @return The bytes for userAgentFamily. */ - public com.google.protobuf.ByteString getUserAgentFamilyBytes() { + public com.google.protobuf.ByteString + getUserAgentFamilyBytes() { java.lang.Object ref = userAgentFamily_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); userAgentFamily_ = b; return b; } else { @@ -1650,64 +1509,57 @@ public com.google.protobuf.ByteString getUserAgentFamilyBytes() { } } /** - * - * *
      * What kind of user agent is associated, e.g. operating system shells,
      * embedded or stand-alone applications, etc.
      * 
* * string user_agent_family = 4; - * * @param value The userAgentFamily to set. * @return This builder for chaining. */ - public Builder setUserAgentFamily(java.lang.String value) { + public Builder setUserAgentFamily( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + userAgentFamily_ = value; onChanged(); return this; } /** - * - * *
      * What kind of user agent is associated, e.g. operating system shells,
      * embedded or stand-alone applications, etc.
      * 
* * string user_agent_family = 4; - * * @return This builder for chaining. */ public Builder clearUserAgentFamily() { - + userAgentFamily_ = getDefaultInstance().getUserAgentFamily(); onChanged(); return this; } /** - * - * *
      * What kind of user agent is associated, e.g. operating system shells,
      * embedded or stand-alone applications, etc.
      * 
* * string user_agent_family = 4; - * * @param value The bytes for userAgentFamily to set. * @return This builder for chaining. */ - public Builder setUserAgentFamilyBytes(com.google.protobuf.ByteString value) { + public Builder setUserAgentFamilyBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + userAgentFamily_ = value; onChanged(); return this; @@ -1715,21 +1567,19 @@ public Builder setUserAgentFamilyBytes(com.google.protobuf.ByteString value) { private java.lang.Object serviceName_ = ""; /** - * - * *
      * This is the API service that the service account made a call to, e.g.
      * "iam.googleapis.com"
      * 
* * string service_name = 5; - * * @return The serviceName. */ public java.lang.String getServiceName() { java.lang.Object ref = serviceName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceName_ = s; return s; @@ -1738,22 +1588,21 @@ public java.lang.String getServiceName() { } } /** - * - * *
      * This is the API service that the service account made a call to, e.g.
      * "iam.googleapis.com"
      * 
* * string service_name = 5; - * * @return The bytes for serviceName. */ - public com.google.protobuf.ByteString getServiceNameBytes() { + public com.google.protobuf.ByteString + getServiceNameBytes() { java.lang.Object ref = serviceName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); serviceName_ = b; return b; } else { @@ -1761,64 +1610,57 @@ public com.google.protobuf.ByteString getServiceNameBytes() { } } /** - * - * *
      * This is the API service that the service account made a call to, e.g.
      * "iam.googleapis.com"
      * 
* * string service_name = 5; - * * @param value The serviceName to set. * @return This builder for chaining. */ - public Builder setServiceName(java.lang.String value) { + public Builder setServiceName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + serviceName_ = value; onChanged(); return this; } /** - * - * *
      * This is the API service that the service account made a call to, e.g.
      * "iam.googleapis.com"
      * 
* * string service_name = 5; - * * @return This builder for chaining. */ public Builder clearServiceName() { - + serviceName_ = getDefaultInstance().getServiceName(); onChanged(); return this; } /** - * - * *
      * This is the API service that the service account made a call to, e.g.
      * "iam.googleapis.com"
      * 
* * string service_name = 5; - * * @param value The bytes for serviceName to set. * @return This builder for chaining. */ - public Builder setServiceNameBytes(com.google.protobuf.ByteString value) { + public Builder setServiceNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + serviceName_ = value; onChanged(); return this; @@ -1826,20 +1668,18 @@ public Builder setServiceNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object methodName_ = ""; /** - * - * *
      * The method that the service account called, e.g. "SetIamPolicy".
      * 
* * string method_name = 6; - * * @return The methodName. */ public java.lang.String getMethodName() { java.lang.Object ref = methodName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); methodName_ = s; return s; @@ -1848,21 +1688,20 @@ public java.lang.String getMethodName() { } } /** - * - * *
      * The method that the service account called, e.g. "SetIamPolicy".
      * 
* * string method_name = 6; - * * @return The bytes for methodName. */ - public com.google.protobuf.ByteString getMethodNameBytes() { + public com.google.protobuf.ByteString + getMethodNameBytes() { java.lang.Object ref = methodName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); methodName_ = b; return b; } else { @@ -1870,61 +1709,54 @@ public com.google.protobuf.ByteString getMethodNameBytes() { } } /** - * - * *
      * The method that the service account called, e.g. "SetIamPolicy".
      * 
* * string method_name = 6; - * * @param value The methodName to set. * @return This builder for chaining. */ - public Builder setMethodName(java.lang.String value) { + public Builder setMethodName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + methodName_ = value; onChanged(); return this; } /** - * - * *
      * The method that the service account called, e.g. "SetIamPolicy".
      * 
* * string method_name = 6; - * * @return This builder for chaining. */ public Builder clearMethodName() { - + methodName_ = getDefaultInstance().getMethodName(); onChanged(); return this; } /** - * - * *
      * The method that the service account called, e.g. "SetIamPolicy".
      * 
* * string method_name = 6; - * * @param value The bytes for methodName to set. * @return This builder for chaining. */ - public Builder setMethodNameBytes(com.google.protobuf.ByteString value) { + public Builder setMethodNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + methodName_ = value; onChanged(); return this; @@ -1932,8 +1764,6 @@ public Builder setMethodNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object principalSubject_ = ""; /** - * - * *
      * A string representing the principal_subject associated with the identity.
      * As compared to `principal_email`, supports principals that aren't
@@ -1945,13 +1775,13 @@ public Builder setMethodNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string principal_subject = 7; - * * @return The principalSubject. */ public java.lang.String getPrincipalSubject() { java.lang.Object ref = principalSubject_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); principalSubject_ = s; return s; @@ -1960,8 +1790,6 @@ public java.lang.String getPrincipalSubject() { } } /** - * - * *
      * A string representing the principal_subject associated with the identity.
      * As compared to `principal_email`, supports principals that aren't
@@ -1973,14 +1801,15 @@ public java.lang.String getPrincipalSubject() {
      * 
* * string principal_subject = 7; - * * @return The bytes for principalSubject. */ - public com.google.protobuf.ByteString getPrincipalSubjectBytes() { + public com.google.protobuf.ByteString + getPrincipalSubjectBytes() { java.lang.Object ref = principalSubject_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); principalSubject_ = b; return b; } else { @@ -1988,8 +1817,6 @@ public com.google.protobuf.ByteString getPrincipalSubjectBytes() { } } /** - * - * *
      * A string representing the principal_subject associated with the identity.
      * As compared to `principal_email`, supports principals that aren't
@@ -2001,22 +1828,20 @@ public com.google.protobuf.ByteString getPrincipalSubjectBytes() {
      * 
* * string principal_subject = 7; - * * @param value The principalSubject to set. * @return This builder for chaining. */ - public Builder setPrincipalSubject(java.lang.String value) { + public Builder setPrincipalSubject( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + principalSubject_ = value; onChanged(); return this; } /** - * - * *
      * A string representing the principal_subject associated with the identity.
      * As compared to `principal_email`, supports principals that aren't
@@ -2028,18 +1853,15 @@ public Builder setPrincipalSubject(java.lang.String value) {
      * 
* * string principal_subject = 7; - * * @return This builder for chaining. */ public Builder clearPrincipalSubject() { - + principalSubject_ = getDefaultInstance().getPrincipalSubject(); onChanged(); return this; } /** - * - * *
      * A string representing the principal_subject associated with the identity.
      * As compared to `principal_email`, supports principals that aren't
@@ -2051,16 +1873,16 @@ public Builder clearPrincipalSubject() {
      * 
* * string principal_subject = 7; - * * @param value The bytes for principalSubject to set. * @return This builder for chaining. */ - public Builder setPrincipalSubjectBytes(com.google.protobuf.ByteString value) { + public Builder setPrincipalSubjectBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + principalSubject_ = value; onChanged(); return this; @@ -2068,8 +1890,6 @@ public Builder setPrincipalSubjectBytes(com.google.protobuf.ByteString value) { private java.lang.Object serviceAccountKeyName_ = ""; /** - * - * *
      * The name of the service account key used to create or exchange
      * credentials for authenticating the service account making the request.
@@ -2078,13 +1898,13 @@ public Builder setPrincipalSubjectBytes(com.google.protobuf.ByteString value) {
      * 
* * string service_account_key_name = 8; - * * @return The serviceAccountKeyName. */ public java.lang.String getServiceAccountKeyName() { java.lang.Object ref = serviceAccountKeyName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccountKeyName_ = s; return s; @@ -2093,8 +1913,6 @@ public java.lang.String getServiceAccountKeyName() { } } /** - * - * *
      * The name of the service account key used to create or exchange
      * credentials for authenticating the service account making the request.
@@ -2103,14 +1921,15 @@ public java.lang.String getServiceAccountKeyName() {
      * 
* * string service_account_key_name = 8; - * * @return The bytes for serviceAccountKeyName. */ - public com.google.protobuf.ByteString getServiceAccountKeyNameBytes() { + public com.google.protobuf.ByteString + getServiceAccountKeyNameBytes() { java.lang.Object ref = serviceAccountKeyName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); serviceAccountKeyName_ = b; return b; } else { @@ -2118,8 +1937,6 @@ public com.google.protobuf.ByteString getServiceAccountKeyNameBytes() { } } /** - * - * *
      * The name of the service account key used to create or exchange
      * credentials for authenticating the service account making the request.
@@ -2128,22 +1945,20 @@ public com.google.protobuf.ByteString getServiceAccountKeyNameBytes() {
      * 
* * string service_account_key_name = 8; - * * @param value The serviceAccountKeyName to set. * @return This builder for chaining. */ - public Builder setServiceAccountKeyName(java.lang.String value) { + public Builder setServiceAccountKeyName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + serviceAccountKeyName_ = value; onChanged(); return this; } /** - * - * *
      * The name of the service account key used to create or exchange
      * credentials for authenticating the service account making the request.
@@ -2152,18 +1967,15 @@ public Builder setServiceAccountKeyName(java.lang.String value) {
      * 
* * string service_account_key_name = 8; - * * @return This builder for chaining. */ public Builder clearServiceAccountKeyName() { - + serviceAccountKeyName_ = getDefaultInstance().getServiceAccountKeyName(); onChanged(); return this; } /** - * - * *
      * The name of the service account key used to create or exchange
      * credentials for authenticating the service account making the request.
@@ -2172,43 +1984,34 @@ public Builder clearServiceAccountKeyName() {
      * 
* * string service_account_key_name = 8; - * * @param value The bytes for serviceAccountKeyName to set. * @return This builder for chaining. */ - public Builder setServiceAccountKeyNameBytes(com.google.protobuf.ByteString value) { + public Builder setServiceAccountKeyNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + serviceAccountKeyName_ = value; onChanged(); return this; } - private java.util.List - serviceAccountDelegationInfo_ = java.util.Collections.emptyList(); - + private java.util.List serviceAccountDelegationInfo_ = + java.util.Collections.emptyList(); private void ensureServiceAccountDelegationInfoIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - serviceAccountDelegationInfo_ = - new java.util.ArrayList< - com.google.cloud.securitycenter.v1.ServiceAccountDelegationInfo>( - serviceAccountDelegationInfo_); + serviceAccountDelegationInfo_ = new java.util.ArrayList(serviceAccountDelegationInfo_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.securitycenter.v1.ServiceAccountDelegationInfo, - com.google.cloud.securitycenter.v1.ServiceAccountDelegationInfo.Builder, - com.google.cloud.securitycenter.v1.ServiceAccountDelegationInfoOrBuilder> - serviceAccountDelegationInfoBuilder_; + com.google.cloud.securitycenter.v1.ServiceAccountDelegationInfo, com.google.cloud.securitycenter.v1.ServiceAccountDelegationInfo.Builder, com.google.cloud.securitycenter.v1.ServiceAccountDelegationInfoOrBuilder> serviceAccountDelegationInfoBuilder_; /** - * - * *
      * Identity delegation history of an authenticated service account that makes
      * the request. It contains information on the real authorities that try to
@@ -2217,12 +2020,9 @@ private void ensureServiceAccountDelegationInfoIsMutable() {
      * original ordering of the identity delegation events.
      * 
* - * - * repeated .google.cloud.securitycenter.v1.ServiceAccountDelegationInfo service_account_delegation_info = 9; - * + * repeated .google.cloud.securitycenter.v1.ServiceAccountDelegationInfo service_account_delegation_info = 9; */ - public java.util.List - getServiceAccountDelegationInfoList() { + public java.util.List getServiceAccountDelegationInfoList() { if (serviceAccountDelegationInfoBuilder_ == null) { return java.util.Collections.unmodifiableList(serviceAccountDelegationInfo_); } else { @@ -2230,8 +2030,6 @@ private void ensureServiceAccountDelegationInfoIsMutable() { } } /** - * - * *
      * Identity delegation history of an authenticated service account that makes
      * the request. It contains information on the real authorities that try to
@@ -2240,9 +2038,7 @@ private void ensureServiceAccountDelegationInfoIsMutable() {
      * original ordering of the identity delegation events.
      * 
* - * - * repeated .google.cloud.securitycenter.v1.ServiceAccountDelegationInfo service_account_delegation_info = 9; - * + * repeated .google.cloud.securitycenter.v1.ServiceAccountDelegationInfo service_account_delegation_info = 9; */ public int getServiceAccountDelegationInfoCount() { if (serviceAccountDelegationInfoBuilder_ == null) { @@ -2252,8 +2048,6 @@ public int getServiceAccountDelegationInfoCount() { } } /** - * - * *
      * Identity delegation history of an authenticated service account that makes
      * the request. It contains information on the real authorities that try to
@@ -2262,12 +2056,9 @@ public int getServiceAccountDelegationInfoCount() {
      * original ordering of the identity delegation events.
      * 
* - * - * repeated .google.cloud.securitycenter.v1.ServiceAccountDelegationInfo service_account_delegation_info = 9; - * + * repeated .google.cloud.securitycenter.v1.ServiceAccountDelegationInfo service_account_delegation_info = 9; */ - public com.google.cloud.securitycenter.v1.ServiceAccountDelegationInfo - getServiceAccountDelegationInfo(int index) { + public com.google.cloud.securitycenter.v1.ServiceAccountDelegationInfo getServiceAccountDelegationInfo(int index) { if (serviceAccountDelegationInfoBuilder_ == null) { return serviceAccountDelegationInfo_.get(index); } else { @@ -2275,8 +2066,6 @@ public int getServiceAccountDelegationInfoCount() { } } /** - * - * *
      * Identity delegation history of an authenticated service account that makes
      * the request. It contains information on the real authorities that try to
@@ -2285,9 +2074,7 @@ public int getServiceAccountDelegationInfoCount() {
      * original ordering of the identity delegation events.
      * 
* - * - * repeated .google.cloud.securitycenter.v1.ServiceAccountDelegationInfo service_account_delegation_info = 9; - * + * repeated .google.cloud.securitycenter.v1.ServiceAccountDelegationInfo service_account_delegation_info = 9; */ public Builder setServiceAccountDelegationInfo( int index, com.google.cloud.securitycenter.v1.ServiceAccountDelegationInfo value) { @@ -2304,8 +2091,6 @@ public Builder setServiceAccountDelegationInfo( return this; } /** - * - * *
      * Identity delegation history of an authenticated service account that makes
      * the request. It contains information on the real authorities that try to
@@ -2314,13 +2099,10 @@ public Builder setServiceAccountDelegationInfo(
      * original ordering of the identity delegation events.
      * 
* - * - * repeated .google.cloud.securitycenter.v1.ServiceAccountDelegationInfo service_account_delegation_info = 9; - * + * repeated .google.cloud.securitycenter.v1.ServiceAccountDelegationInfo service_account_delegation_info = 9; */ public Builder setServiceAccountDelegationInfo( - int index, - com.google.cloud.securitycenter.v1.ServiceAccountDelegationInfo.Builder builderForValue) { + int index, com.google.cloud.securitycenter.v1.ServiceAccountDelegationInfo.Builder builderForValue) { if (serviceAccountDelegationInfoBuilder_ == null) { ensureServiceAccountDelegationInfoIsMutable(); serviceAccountDelegationInfo_.set(index, builderForValue.build()); @@ -2331,8 +2113,6 @@ public Builder setServiceAccountDelegationInfo( return this; } /** - * - * *
      * Identity delegation history of an authenticated service account that makes
      * the request. It contains information on the real authorities that try to
@@ -2341,12 +2121,9 @@ public Builder setServiceAccountDelegationInfo(
      * original ordering of the identity delegation events.
      * 
* - * - * repeated .google.cloud.securitycenter.v1.ServiceAccountDelegationInfo service_account_delegation_info = 9; - * + * repeated .google.cloud.securitycenter.v1.ServiceAccountDelegationInfo service_account_delegation_info = 9; */ - public Builder addServiceAccountDelegationInfo( - com.google.cloud.securitycenter.v1.ServiceAccountDelegationInfo value) { + public Builder addServiceAccountDelegationInfo(com.google.cloud.securitycenter.v1.ServiceAccountDelegationInfo value) { if (serviceAccountDelegationInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2360,8 +2137,6 @@ public Builder addServiceAccountDelegationInfo( return this; } /** - * - * *
      * Identity delegation history of an authenticated service account that makes
      * the request. It contains information on the real authorities that try to
@@ -2370,9 +2145,7 @@ public Builder addServiceAccountDelegationInfo(
      * original ordering of the identity delegation events.
      * 
* - * - * repeated .google.cloud.securitycenter.v1.ServiceAccountDelegationInfo service_account_delegation_info = 9; - * + * repeated .google.cloud.securitycenter.v1.ServiceAccountDelegationInfo service_account_delegation_info = 9; */ public Builder addServiceAccountDelegationInfo( int index, com.google.cloud.securitycenter.v1.ServiceAccountDelegationInfo value) { @@ -2389,8 +2162,6 @@ public Builder addServiceAccountDelegationInfo( return this; } /** - * - * *
      * Identity delegation history of an authenticated service account that makes
      * the request. It contains information on the real authorities that try to
@@ -2399,9 +2170,7 @@ public Builder addServiceAccountDelegationInfo(
      * original ordering of the identity delegation events.
      * 
* - * - * repeated .google.cloud.securitycenter.v1.ServiceAccountDelegationInfo service_account_delegation_info = 9; - * + * repeated .google.cloud.securitycenter.v1.ServiceAccountDelegationInfo service_account_delegation_info = 9; */ public Builder addServiceAccountDelegationInfo( com.google.cloud.securitycenter.v1.ServiceAccountDelegationInfo.Builder builderForValue) { @@ -2415,8 +2184,6 @@ public Builder addServiceAccountDelegationInfo( return this; } /** - * - * *
      * Identity delegation history of an authenticated service account that makes
      * the request. It contains information on the real authorities that try to
@@ -2425,13 +2192,10 @@ public Builder addServiceAccountDelegationInfo(
      * original ordering of the identity delegation events.
      * 
* - * - * repeated .google.cloud.securitycenter.v1.ServiceAccountDelegationInfo service_account_delegation_info = 9; - * + * repeated .google.cloud.securitycenter.v1.ServiceAccountDelegationInfo service_account_delegation_info = 9; */ public Builder addServiceAccountDelegationInfo( - int index, - com.google.cloud.securitycenter.v1.ServiceAccountDelegationInfo.Builder builderForValue) { + int index, com.google.cloud.securitycenter.v1.ServiceAccountDelegationInfo.Builder builderForValue) { if (serviceAccountDelegationInfoBuilder_ == null) { ensureServiceAccountDelegationInfoIsMutable(); serviceAccountDelegationInfo_.add(index, builderForValue.build()); @@ -2442,8 +2206,6 @@ public Builder addServiceAccountDelegationInfo( return this; } /** - * - * *
      * Identity delegation history of an authenticated service account that makes
      * the request. It contains information on the real authorities that try to
@@ -2452,14 +2214,10 @@ public Builder addServiceAccountDelegationInfo(
      * original ordering of the identity delegation events.
      * 
* - * - * repeated .google.cloud.securitycenter.v1.ServiceAccountDelegationInfo service_account_delegation_info = 9; - * + * repeated .google.cloud.securitycenter.v1.ServiceAccountDelegationInfo service_account_delegation_info = 9; */ public Builder addAllServiceAccountDelegationInfo( - java.lang.Iterable< - ? extends com.google.cloud.securitycenter.v1.ServiceAccountDelegationInfo> - values) { + java.lang.Iterable values) { if (serviceAccountDelegationInfoBuilder_ == null) { ensureServiceAccountDelegationInfoIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( @@ -2471,8 +2229,6 @@ public Builder addAllServiceAccountDelegationInfo( return this; } /** - * - * *
      * Identity delegation history of an authenticated service account that makes
      * the request. It contains information on the real authorities that try to
@@ -2481,9 +2237,7 @@ public Builder addAllServiceAccountDelegationInfo(
      * original ordering of the identity delegation events.
      * 
* - * - * repeated .google.cloud.securitycenter.v1.ServiceAccountDelegationInfo service_account_delegation_info = 9; - * + * repeated .google.cloud.securitycenter.v1.ServiceAccountDelegationInfo service_account_delegation_info = 9; */ public Builder clearServiceAccountDelegationInfo() { if (serviceAccountDelegationInfoBuilder_ == null) { @@ -2496,8 +2250,6 @@ public Builder clearServiceAccountDelegationInfo() { return this; } /** - * - * *
      * Identity delegation history of an authenticated service account that makes
      * the request. It contains information on the real authorities that try to
@@ -2506,9 +2258,7 @@ public Builder clearServiceAccountDelegationInfo() {
      * original ordering of the identity delegation events.
      * 
* - * - * repeated .google.cloud.securitycenter.v1.ServiceAccountDelegationInfo service_account_delegation_info = 9; - * + * repeated .google.cloud.securitycenter.v1.ServiceAccountDelegationInfo service_account_delegation_info = 9; */ public Builder removeServiceAccountDelegationInfo(int index) { if (serviceAccountDelegationInfoBuilder_ == null) { @@ -2521,8 +2271,6 @@ public Builder removeServiceAccountDelegationInfo(int index) { return this; } /** - * - * *
      * Identity delegation history of an authenticated service account that makes
      * the request. It contains information on the real authorities that try to
@@ -2531,17 +2279,13 @@ public Builder removeServiceAccountDelegationInfo(int index) {
      * original ordering of the identity delegation events.
      * 
* - * - * repeated .google.cloud.securitycenter.v1.ServiceAccountDelegationInfo service_account_delegation_info = 9; - * + * repeated .google.cloud.securitycenter.v1.ServiceAccountDelegationInfo service_account_delegation_info = 9; */ - public com.google.cloud.securitycenter.v1.ServiceAccountDelegationInfo.Builder - getServiceAccountDelegationInfoBuilder(int index) { + public com.google.cloud.securitycenter.v1.ServiceAccountDelegationInfo.Builder getServiceAccountDelegationInfoBuilder( + int index) { return getServiceAccountDelegationInfoFieldBuilder().getBuilder(index); } /** - * - * *
      * Identity delegation history of an authenticated service account that makes
      * the request. It contains information on the real authorities that try to
@@ -2550,21 +2294,16 @@ public Builder removeServiceAccountDelegationInfo(int index) {
      * original ordering of the identity delegation events.
      * 
* - * - * repeated .google.cloud.securitycenter.v1.ServiceAccountDelegationInfo service_account_delegation_info = 9; - * + * repeated .google.cloud.securitycenter.v1.ServiceAccountDelegationInfo service_account_delegation_info = 9; */ - public com.google.cloud.securitycenter.v1.ServiceAccountDelegationInfoOrBuilder - getServiceAccountDelegationInfoOrBuilder(int index) { + public com.google.cloud.securitycenter.v1.ServiceAccountDelegationInfoOrBuilder getServiceAccountDelegationInfoOrBuilder( + int index) { if (serviceAccountDelegationInfoBuilder_ == null) { - return serviceAccountDelegationInfo_.get(index); - } else { + return serviceAccountDelegationInfo_.get(index); } else { return serviceAccountDelegationInfoBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Identity delegation history of an authenticated service account that makes
      * the request. It contains information on the real authorities that try to
@@ -2573,13 +2312,10 @@ public Builder removeServiceAccountDelegationInfo(int index) {
      * original ordering of the identity delegation events.
      * 
* - * - * repeated .google.cloud.securitycenter.v1.ServiceAccountDelegationInfo service_account_delegation_info = 9; - * + * repeated .google.cloud.securitycenter.v1.ServiceAccountDelegationInfo service_account_delegation_info = 9; */ - public java.util.List< - ? extends com.google.cloud.securitycenter.v1.ServiceAccountDelegationInfoOrBuilder> - getServiceAccountDelegationInfoOrBuilderList() { + public java.util.List + getServiceAccountDelegationInfoOrBuilderList() { if (serviceAccountDelegationInfoBuilder_ != null) { return serviceAccountDelegationInfoBuilder_.getMessageOrBuilderList(); } else { @@ -2587,8 +2323,6 @@ public Builder removeServiceAccountDelegationInfo(int index) { } } /** - * - * *
      * Identity delegation history of an authenticated service account that makes
      * the request. It contains information on the real authorities that try to
@@ -2597,19 +2331,13 @@ public Builder removeServiceAccountDelegationInfo(int index) {
      * original ordering of the identity delegation events.
      * 
* - * - * repeated .google.cloud.securitycenter.v1.ServiceAccountDelegationInfo service_account_delegation_info = 9; - * + * repeated .google.cloud.securitycenter.v1.ServiceAccountDelegationInfo service_account_delegation_info = 9; */ - public com.google.cloud.securitycenter.v1.ServiceAccountDelegationInfo.Builder - addServiceAccountDelegationInfoBuilder() { - return getServiceAccountDelegationInfoFieldBuilder() - .addBuilder( - com.google.cloud.securitycenter.v1.ServiceAccountDelegationInfo.getDefaultInstance()); + public com.google.cloud.securitycenter.v1.ServiceAccountDelegationInfo.Builder addServiceAccountDelegationInfoBuilder() { + return getServiceAccountDelegationInfoFieldBuilder().addBuilder( + com.google.cloud.securitycenter.v1.ServiceAccountDelegationInfo.getDefaultInstance()); } /** - * - * *
      * Identity delegation history of an authenticated service account that makes
      * the request. It contains information on the real authorities that try to
@@ -2618,20 +2346,14 @@ public Builder removeServiceAccountDelegationInfo(int index) {
      * original ordering of the identity delegation events.
      * 
* - * - * repeated .google.cloud.securitycenter.v1.ServiceAccountDelegationInfo service_account_delegation_info = 9; - * + * repeated .google.cloud.securitycenter.v1.ServiceAccountDelegationInfo service_account_delegation_info = 9; */ - public com.google.cloud.securitycenter.v1.ServiceAccountDelegationInfo.Builder - addServiceAccountDelegationInfoBuilder(int index) { - return getServiceAccountDelegationInfoFieldBuilder() - .addBuilder( - index, - com.google.cloud.securitycenter.v1.ServiceAccountDelegationInfo.getDefaultInstance()); + public com.google.cloud.securitycenter.v1.ServiceAccountDelegationInfo.Builder addServiceAccountDelegationInfoBuilder( + int index) { + return getServiceAccountDelegationInfoFieldBuilder().addBuilder( + index, com.google.cloud.securitycenter.v1.ServiceAccountDelegationInfo.getDefaultInstance()); } /** - * - * *
      * Identity delegation history of an authenticated service account that makes
      * the request. It contains information on the real authorities that try to
@@ -2640,26 +2362,18 @@ public Builder removeServiceAccountDelegationInfo(int index) {
      * original ordering of the identity delegation events.
      * 
* - * - * repeated .google.cloud.securitycenter.v1.ServiceAccountDelegationInfo service_account_delegation_info = 9; - * + * repeated .google.cloud.securitycenter.v1.ServiceAccountDelegationInfo service_account_delegation_info = 9; */ - public java.util.List - getServiceAccountDelegationInfoBuilderList() { + public java.util.List + getServiceAccountDelegationInfoBuilderList() { return getServiceAccountDelegationInfoFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.securitycenter.v1.ServiceAccountDelegationInfo, - com.google.cloud.securitycenter.v1.ServiceAccountDelegationInfo.Builder, - com.google.cloud.securitycenter.v1.ServiceAccountDelegationInfoOrBuilder> + com.google.cloud.securitycenter.v1.ServiceAccountDelegationInfo, com.google.cloud.securitycenter.v1.ServiceAccountDelegationInfo.Builder, com.google.cloud.securitycenter.v1.ServiceAccountDelegationInfoOrBuilder> getServiceAccountDelegationInfoFieldBuilder() { if (serviceAccountDelegationInfoBuilder_ == null) { - serviceAccountDelegationInfoBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.securitycenter.v1.ServiceAccountDelegationInfo, - com.google.cloud.securitycenter.v1.ServiceAccountDelegationInfo.Builder, - com.google.cloud.securitycenter.v1.ServiceAccountDelegationInfoOrBuilder>( + serviceAccountDelegationInfoBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.securitycenter.v1.ServiceAccountDelegationInfo, com.google.cloud.securitycenter.v1.ServiceAccountDelegationInfo.Builder, com.google.cloud.securitycenter.v1.ServiceAccountDelegationInfoOrBuilder>( serviceAccountDelegationInfo_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -2668,9 +2382,9 @@ public Builder removeServiceAccountDelegationInfo(int index) { } return serviceAccountDelegationInfoBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2680,12 +2394,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.securitycenter.v1.Access) } // @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1.Access) private static final com.google.cloud.securitycenter.v1.Access DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.securitycenter.v1.Access(); } @@ -2694,27 +2408,27 @@ public static com.google.cloud.securitycenter.v1.Access getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Access parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - 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 Access parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + 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; @@ -2729,4 +2443,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.securitycenter.v1.Access getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/AccessOrBuilder.java b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/AccessOrBuilder.java similarity index 80% rename from java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/AccessOrBuilder.java rename to owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/AccessOrBuilder.java index a8a4b86d3df4..eabf2f0f27c9 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/AccessOrBuilder.java +++ b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/AccessOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/securitycenter/v1/access.proto package com.google.cloud.securitycenter.v1; -public interface AccessOrBuilder - extends +public interface AccessOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.securitycenter.v1.Access) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Associated email, such as "foo@google.com".
    * The email address of the authenticated user (or service account on behalf
@@ -37,13 +19,10 @@ public interface AccessOrBuilder
    * 
* * string principal_email = 1; - * * @return The principalEmail. */ java.lang.String getPrincipalEmail(); /** - * - * *
    * Associated email, such as "foo@google.com".
    * The email address of the authenticated user (or service account on behalf
@@ -55,63 +34,50 @@ public interface AccessOrBuilder
    * 
* * string principal_email = 1; - * * @return The bytes for principalEmail. */ - com.google.protobuf.ByteString getPrincipalEmailBytes(); + com.google.protobuf.ByteString + getPrincipalEmailBytes(); /** - * - * *
    * Caller's IP address, such as "1.1.1.1".
    * 
* * string caller_ip = 2; - * * @return The callerIp. */ java.lang.String getCallerIp(); /** - * - * *
    * Caller's IP address, such as "1.1.1.1".
    * 
* * string caller_ip = 2; - * * @return The bytes for callerIp. */ - com.google.protobuf.ByteString getCallerIpBytes(); + com.google.protobuf.ByteString + getCallerIpBytes(); /** - * - * *
    * The caller IP's geolocation, which identifies where the call came from.
    * 
* * .google.cloud.securitycenter.v1.Geolocation caller_ip_geo = 3; - * * @return Whether the callerIpGeo field is set. */ boolean hasCallerIpGeo(); /** - * - * *
    * The caller IP's geolocation, which identifies where the call came from.
    * 
* * .google.cloud.securitycenter.v1.Geolocation caller_ip_geo = 3; - * * @return The callerIpGeo. */ com.google.cloud.securitycenter.v1.Geolocation getCallerIpGeo(); /** - * - * *
    * The caller IP's geolocation, which identifies where the call came from.
    * 
@@ -121,87 +87,70 @@ public interface AccessOrBuilder com.google.cloud.securitycenter.v1.GeolocationOrBuilder getCallerIpGeoOrBuilder(); /** - * - * *
    * What kind of user agent is associated, e.g. operating system shells,
    * embedded or stand-alone applications, etc.
    * 
* * string user_agent_family = 4; - * * @return The userAgentFamily. */ java.lang.String getUserAgentFamily(); /** - * - * *
    * What kind of user agent is associated, e.g. operating system shells,
    * embedded or stand-alone applications, etc.
    * 
* * string user_agent_family = 4; - * * @return The bytes for userAgentFamily. */ - com.google.protobuf.ByteString getUserAgentFamilyBytes(); + com.google.protobuf.ByteString + getUserAgentFamilyBytes(); /** - * - * *
    * This is the API service that the service account made a call to, e.g.
    * "iam.googleapis.com"
    * 
* * string service_name = 5; - * * @return The serviceName. */ java.lang.String getServiceName(); /** - * - * *
    * This is the API service that the service account made a call to, e.g.
    * "iam.googleapis.com"
    * 
* * string service_name = 5; - * * @return The bytes for serviceName. */ - com.google.protobuf.ByteString getServiceNameBytes(); + com.google.protobuf.ByteString + getServiceNameBytes(); /** - * - * *
    * The method that the service account called, e.g. "SetIamPolicy".
    * 
* * string method_name = 6; - * * @return The methodName. */ java.lang.String getMethodName(); /** - * - * *
    * The method that the service account called, e.g. "SetIamPolicy".
    * 
* * string method_name = 6; - * * @return The bytes for methodName. */ - com.google.protobuf.ByteString getMethodNameBytes(); + com.google.protobuf.ByteString + getMethodNameBytes(); /** - * - * *
    * A string representing the principal_subject associated with the identity.
    * As compared to `principal_email`, supports principals that aren't
@@ -213,13 +162,10 @@ public interface AccessOrBuilder
    * 
* * string principal_subject = 7; - * * @return The principalSubject. */ java.lang.String getPrincipalSubject(); /** - * - * *
    * A string representing the principal_subject associated with the identity.
    * As compared to `principal_email`, supports principals that aren't
@@ -231,14 +177,12 @@ public interface AccessOrBuilder
    * 
* * string principal_subject = 7; - * * @return The bytes for principalSubject. */ - com.google.protobuf.ByteString getPrincipalSubjectBytes(); + com.google.protobuf.ByteString + getPrincipalSubjectBytes(); /** - * - * *
    * The name of the service account key used to create or exchange
    * credentials for authenticating the service account making the request.
@@ -247,13 +191,10 @@ public interface AccessOrBuilder
    * 
* * string service_account_key_name = 8; - * * @return The serviceAccountKeyName. */ java.lang.String getServiceAccountKeyName(); /** - * - * *
    * The name of the service account key used to create or exchange
    * credentials for authenticating the service account making the request.
@@ -262,14 +203,12 @@ public interface AccessOrBuilder
    * 
* * string service_account_key_name = 8; - * * @return The bytes for serviceAccountKeyName. */ - com.google.protobuf.ByteString getServiceAccountKeyNameBytes(); + com.google.protobuf.ByteString + getServiceAccountKeyNameBytes(); /** - * - * *
    * Identity delegation history of an authenticated service account that makes
    * the request. It contains information on the real authorities that try to
@@ -278,15 +217,11 @@ public interface AccessOrBuilder
    * original ordering of the identity delegation events.
    * 
* - * - * repeated .google.cloud.securitycenter.v1.ServiceAccountDelegationInfo service_account_delegation_info = 9; - * + * repeated .google.cloud.securitycenter.v1.ServiceAccountDelegationInfo service_account_delegation_info = 9; */ - java.util.List + java.util.List getServiceAccountDelegationInfoList(); /** - * - * *
    * Identity delegation history of an authenticated service account that makes
    * the request. It contains information on the real authorities that try to
@@ -295,15 +230,10 @@ public interface AccessOrBuilder
    * original ordering of the identity delegation events.
    * 
* - * - * repeated .google.cloud.securitycenter.v1.ServiceAccountDelegationInfo service_account_delegation_info = 9; - * + * repeated .google.cloud.securitycenter.v1.ServiceAccountDelegationInfo service_account_delegation_info = 9; */ - com.google.cloud.securitycenter.v1.ServiceAccountDelegationInfo getServiceAccountDelegationInfo( - int index); + com.google.cloud.securitycenter.v1.ServiceAccountDelegationInfo getServiceAccountDelegationInfo(int index); /** - * - * *
    * Identity delegation history of an authenticated service account that makes
    * the request. It contains information on the real authorities that try to
@@ -312,14 +242,10 @@ com.google.cloud.securitycenter.v1.ServiceAccountDelegationInfo getServiceAccoun
    * original ordering of the identity delegation events.
    * 
* - * - * repeated .google.cloud.securitycenter.v1.ServiceAccountDelegationInfo service_account_delegation_info = 9; - * + * repeated .google.cloud.securitycenter.v1.ServiceAccountDelegationInfo service_account_delegation_info = 9; */ int getServiceAccountDelegationInfoCount(); /** - * - * *
    * Identity delegation history of an authenticated service account that makes
    * the request. It contains information on the real authorities that try to
@@ -328,15 +254,11 @@ com.google.cloud.securitycenter.v1.ServiceAccountDelegationInfo getServiceAccoun
    * original ordering of the identity delegation events.
    * 
* - * - * repeated .google.cloud.securitycenter.v1.ServiceAccountDelegationInfo service_account_delegation_info = 9; - * + * repeated .google.cloud.securitycenter.v1.ServiceAccountDelegationInfo service_account_delegation_info = 9; */ - java.util.List + java.util.List getServiceAccountDelegationInfoOrBuilderList(); /** - * - * *
    * Identity delegation history of an authenticated service account that makes
    * the request. It contains information on the real authorities that try to
@@ -345,10 +267,8 @@ com.google.cloud.securitycenter.v1.ServiceAccountDelegationInfo getServiceAccoun
    * original ordering of the identity delegation events.
    * 
* - * - * repeated .google.cloud.securitycenter.v1.ServiceAccountDelegationInfo service_account_delegation_info = 9; - * + * repeated .google.cloud.securitycenter.v1.ServiceAccountDelegationInfo service_account_delegation_info = 9; */ - com.google.cloud.securitycenter.v1.ServiceAccountDelegationInfoOrBuilder - getServiceAccountDelegationInfoOrBuilder(int index); + com.google.cloud.securitycenter.v1.ServiceAccountDelegationInfoOrBuilder getServiceAccountDelegationInfoOrBuilder( + int index); } diff --git a/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/AccessProto.java b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/AccessProto.java new file mode 100644 index 000000000000..c1a56a16634d --- /dev/null +++ b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/AccessProto.java @@ -0,0 +1,87 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/securitycenter/v1/access.proto + +package com.google.cloud.securitycenter.v1; + +public final class AccessProto { + private AccessProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public 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_securitycenter_v1_Access_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_securitycenter_v1_Access_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_securitycenter_v1_ServiceAccountDelegationInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_securitycenter_v1_ServiceAccountDelegationInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_securitycenter_v1_Geolocation_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_securitycenter_v1_Geolocation_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n+google/cloud/securitycenter/v1/access." + + "proto\022\036google.cloud.securitycenter.v1\"\342\002" + + "\n\006Access\022\027\n\017principal_email\030\001 \001(\t\022\021\n\tcal" + + "ler_ip\030\002 \001(\t\022B\n\rcaller_ip_geo\030\003 \001(\0132+.go" + + "ogle.cloud.securitycenter.v1.Geolocation" + + "\022\031\n\021user_agent_family\030\004 \001(\t\022\024\n\014service_n" + + "ame\030\005 \001(\t\022\023\n\013method_name\030\006 \001(\t\022\031\n\021princi" + + "pal_subject\030\007 \001(\t\022 \n\030service_account_key" + + "_name\030\010 \001(\t\022e\n\037service_account_delegatio" + + "n_info\030\t \003(\0132<.google.cloud.securitycent" + + "er.v1.ServiceAccountDelegationInfo\"R\n\034Se" + + "rviceAccountDelegationInfo\022\027\n\017principal_" + + "email\030\001 \001(\t\022\031\n\021principal_subject\030\002 \001(\t\"\"" + + "\n\013Geolocation\022\023\n\013region_code\030\001 \001(\tB\347\001\n\"c" + + "om.google.cloud.securitycenter.v1B\013Acces" + + "sProtoP\001ZLgoogle.golang.org/genproto/goo" + + "gleapis/cloud/securitycenter/v1;security" + + "center\252\002\036Google.Cloud.SecurityCenter.V1\312" + + "\002\036Google\\Cloud\\SecurityCenter\\V1\352\002!Googl" + + "e::Cloud::SecurityCenter::V1b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + }); + internal_static_google_cloud_securitycenter_v1_Access_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_securitycenter_v1_Access_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_securitycenter_v1_Access_descriptor, + new java.lang.String[] { "PrincipalEmail", "CallerIp", "CallerIpGeo", "UserAgentFamily", "ServiceName", "MethodName", "PrincipalSubject", "ServiceAccountKeyName", "ServiceAccountDelegationInfo", }); + internal_static_google_cloud_securitycenter_v1_ServiceAccountDelegationInfo_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_securitycenter_v1_ServiceAccountDelegationInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_securitycenter_v1_ServiceAccountDelegationInfo_descriptor, + new java.lang.String[] { "PrincipalEmail", "PrincipalSubject", }); + internal_static_google_cloud_securitycenter_v1_Geolocation_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_securitycenter_v1_Geolocation_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_securitycenter_v1_Geolocation_descriptor, + new java.lang.String[] { "RegionCode", }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Asset.java b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Asset.java similarity index 74% rename from java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Asset.java rename to owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Asset.java index 111e87a81d99..f3f71c658f25 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Asset.java +++ b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Asset.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/securitycenter/v1/asset.proto package com.google.cloud.securitycenter.v1; /** - * - * *
  * Security Command Center representation of a Google Cloud
  * resource.
@@ -32,16 +15,15 @@
  *
  * Protobuf type {@code google.cloud.securitycenter.v1.Asset}
  */
-public final class Asset extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Asset extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.securitycenter.v1.Asset)
     AssetOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Asset.newBuilder() to construct.
   private Asset(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Asset() {
     name_ = "";
     canonicalName_ = "";
@@ -49,49 +31,46 @@ private Asset() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Asset();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.securitycenter.v1.AssetOuterClass
-        .internal_static_google_cloud_securitycenter_v1_Asset_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.securitycenter.v1.AssetOuterClass.internal_static_google_cloud_securitycenter_v1_Asset_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(int number) {
+  protected com.google.protobuf.MapField internalGetMapField(
+      int number) {
     switch (number) {
       case 7:
         return internalGetResourceProperties();
       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.securitycenter.v1.AssetOuterClass
-        .internal_static_google_cloud_securitycenter_v1_Asset_fieldAccessorTable
+    return com.google.cloud.securitycenter.v1.AssetOuterClass.internal_static_google_cloud_securitycenter_v1_Asset_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.securitycenter.v1.Asset.class,
-            com.google.cloud.securitycenter.v1.Asset.Builder.class);
+            com.google.cloud.securitycenter.v1.Asset.class, com.google.cloud.securitycenter.v1.Asset.Builder.class);
   }
 
-  public interface SecurityCenterPropertiesOrBuilder
-      extends
+  public interface SecurityCenterPropertiesOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.cloud.securitycenter.v1.Asset.SecurityCenterProperties)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * The full resource name of the Google Cloud resource this asset
      * represents. This field is immutable after create time. See:
@@ -99,13 +78,10 @@ public interface SecurityCenterPropertiesOrBuilder
      * 
* * string resource_name = 1; - * * @return The resourceName. */ java.lang.String getResourceName(); /** - * - * *
      * The full resource name of the Google Cloud resource this asset
      * represents. This field is immutable after create time. See:
@@ -113,14 +89,12 @@ public interface SecurityCenterPropertiesOrBuilder
      * 
* * string resource_name = 1; - * * @return The bytes for resourceName. */ - com.google.protobuf.ByteString getResourceNameBytes(); + com.google.protobuf.ByteString + getResourceNameBytes(); /** - * - * *
      * The type of the Google Cloud resource. Examples include: APPLICATION,
      * PROJECT, and ORGANIZATION. This is a case insensitive field defined by
@@ -129,13 +103,10 @@ public interface SecurityCenterPropertiesOrBuilder
      * 
* * string resource_type = 2; - * * @return The resourceType. */ java.lang.String getResourceType(); /** - * - * *
      * The type of the Google Cloud resource. Examples include: APPLICATION,
      * PROJECT, and ORGANIZATION. This is a case insensitive field defined by
@@ -144,194 +115,157 @@ public interface SecurityCenterPropertiesOrBuilder
      * 
* * string resource_type = 2; - * * @return The bytes for resourceType. */ - com.google.protobuf.ByteString getResourceTypeBytes(); + com.google.protobuf.ByteString + getResourceTypeBytes(); /** - * - * *
      * The full resource name of the immediate parent of the resource. See:
      * https://cloud.google.com/apis/design/resource_names#full_resource_name
      * 
* * string resource_parent = 3; - * * @return The resourceParent. */ java.lang.String getResourceParent(); /** - * - * *
      * The full resource name of the immediate parent of the resource. See:
      * https://cloud.google.com/apis/design/resource_names#full_resource_name
      * 
* * string resource_parent = 3; - * * @return The bytes for resourceParent. */ - com.google.protobuf.ByteString getResourceParentBytes(); + com.google.protobuf.ByteString + getResourceParentBytes(); /** - * - * *
      * The full resource name of the project the resource belongs to. See:
      * https://cloud.google.com/apis/design/resource_names#full_resource_name
      * 
* * string resource_project = 4; - * * @return The resourceProject. */ java.lang.String getResourceProject(); /** - * - * *
      * The full resource name of the project the resource belongs to. See:
      * https://cloud.google.com/apis/design/resource_names#full_resource_name
      * 
* * string resource_project = 4; - * * @return The bytes for resourceProject. */ - com.google.protobuf.ByteString getResourceProjectBytes(); + com.google.protobuf.ByteString + getResourceProjectBytes(); /** - * - * *
      * Owners of the Google Cloud resource.
      * 
* * repeated string resource_owners = 5; - * * @return A list containing the resourceOwners. */ - java.util.List getResourceOwnersList(); + java.util.List + getResourceOwnersList(); /** - * - * *
      * Owners of the Google Cloud resource.
      * 
* * repeated string resource_owners = 5; - * * @return The count of resourceOwners. */ int getResourceOwnersCount(); /** - * - * *
      * Owners of the Google Cloud resource.
      * 
* * repeated string resource_owners = 5; - * * @param index The index of the element to return. * @return The resourceOwners at the given index. */ java.lang.String getResourceOwners(int index); /** - * - * *
      * Owners of the Google Cloud resource.
      * 
* * repeated string resource_owners = 5; - * * @param index The index of the value to return. * @return The bytes of the resourceOwners at the given index. */ - com.google.protobuf.ByteString getResourceOwnersBytes(int index); + com.google.protobuf.ByteString + getResourceOwnersBytes(int index); /** - * - * *
      * The user defined display name for this resource.
      * 
* * string resource_display_name = 6; - * * @return The resourceDisplayName. */ java.lang.String getResourceDisplayName(); /** - * - * *
      * The user defined display name for this resource.
      * 
* * string resource_display_name = 6; - * * @return The bytes for resourceDisplayName. */ - com.google.protobuf.ByteString getResourceDisplayNameBytes(); + com.google.protobuf.ByteString + getResourceDisplayNameBytes(); /** - * - * *
      * The user defined display name for the parent of this resource.
      * 
* * string resource_parent_display_name = 7; - * * @return The resourceParentDisplayName. */ java.lang.String getResourceParentDisplayName(); /** - * - * *
      * The user defined display name for the parent of this resource.
      * 
* * string resource_parent_display_name = 7; - * * @return The bytes for resourceParentDisplayName. */ - com.google.protobuf.ByteString getResourceParentDisplayNameBytes(); + com.google.protobuf.ByteString + getResourceParentDisplayNameBytes(); /** - * - * *
      * The user defined display name for the project of this resource.
      * 
* * string resource_project_display_name = 8; - * * @return The resourceProjectDisplayName. */ java.lang.String getResourceProjectDisplayName(); /** - * - * *
      * The user defined display name for the project of this resource.
      * 
* * string resource_project_display_name = 8; - * * @return The bytes for resourceProjectDisplayName. */ - com.google.protobuf.ByteString getResourceProjectDisplayNameBytes(); + com.google.protobuf.ByteString + getResourceProjectDisplayNameBytes(); /** - * - * *
      * Contains a Folder message for each folder in the assets ancestry.
      * The first folder is the deepest nested folder, and the last folder is the
@@ -340,10 +274,9 @@ public interface SecurityCenterPropertiesOrBuilder
      *
      * repeated .google.cloud.securitycenter.v1.Folder folders = 10;
      */
-    java.util.List getFoldersList();
+    java.util.List 
+        getFoldersList();
     /**
-     *
-     *
      * 
      * Contains a Folder message for each folder in the assets ancestry.
      * The first folder is the deepest nested folder, and the last folder is the
@@ -354,8 +287,6 @@ public interface SecurityCenterPropertiesOrBuilder
      */
     com.google.cloud.securitycenter.v1.Folder getFolders(int index);
     /**
-     *
-     *
      * 
      * Contains a Folder message for each folder in the assets ancestry.
      * The first folder is the deepest nested folder, and the last folder is the
@@ -366,8 +297,6 @@ public interface SecurityCenterPropertiesOrBuilder
      */
     int getFoldersCount();
     /**
-     *
-     *
      * 
      * Contains a Folder message for each folder in the assets ancestry.
      * The first folder is the deepest nested folder, and the last folder is the
@@ -376,11 +305,9 @@ public interface SecurityCenterPropertiesOrBuilder
      *
      * repeated .google.cloud.securitycenter.v1.Folder folders = 10;
      */
-    java.util.List
+    java.util.List 
         getFoldersOrBuilderList();
     /**
-     *
-     *
      * 
      * Contains a Folder message for each folder in the assets ancestry.
      * The first folder is the deepest nested folder, and the last folder is the
@@ -389,11 +316,10 @@ public interface SecurityCenterPropertiesOrBuilder
      *
      * repeated .google.cloud.securitycenter.v1.Folder folders = 10;
      */
-    com.google.cloud.securitycenter.v1.FolderOrBuilder getFoldersOrBuilder(int index);
+    com.google.cloud.securitycenter.v1.FolderOrBuilder getFoldersOrBuilder(
+        int index);
   }
   /**
-   *
-   *
    * 
    * Security Command Center managed properties. These properties are managed by
    * Security Command Center and cannot be modified by the user.
@@ -401,16 +327,15 @@ public interface SecurityCenterPropertiesOrBuilder
    *
    * Protobuf type {@code google.cloud.securitycenter.v1.Asset.SecurityCenterProperties}
    */
-  public static final class SecurityCenterProperties extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class SecurityCenterProperties extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.securitycenter.v1.Asset.SecurityCenterProperties)
       SecurityCenterPropertiesOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use SecurityCenterProperties.newBuilder() to construct.
     private SecurityCenterProperties(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private SecurityCenterProperties() {
       resourceName_ = "";
       resourceType_ = "";
@@ -425,35 +350,32 @@ private SecurityCenterProperties() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new SecurityCenterProperties();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.securitycenter.v1.AssetOuterClass
-          .internal_static_google_cloud_securitycenter_v1_Asset_SecurityCenterProperties_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.securitycenter.v1.AssetOuterClass.internal_static_google_cloud_securitycenter_v1_Asset_SecurityCenterProperties_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.securitycenter.v1.AssetOuterClass
-          .internal_static_google_cloud_securitycenter_v1_Asset_SecurityCenterProperties_fieldAccessorTable
+      return com.google.cloud.securitycenter.v1.AssetOuterClass.internal_static_google_cloud_securitycenter_v1_Asset_SecurityCenterProperties_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties.class,
-              com.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties.Builder.class);
+              com.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties.class, com.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties.Builder.class);
     }
 
     public static final int RESOURCE_NAME_FIELD_NUMBER = 1;
     private volatile java.lang.Object resourceName_;
     /**
-     *
-     *
      * 
      * The full resource name of the Google Cloud resource this asset
      * represents. This field is immutable after create time. See:
@@ -461,7 +383,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * string resource_name = 1; - * * @return The resourceName. */ @java.lang.Override @@ -470,15 +391,14 @@ public java.lang.String getResourceName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceName_ = s; return s; } } /** - * - * *
      * The full resource name of the Google Cloud resource this asset
      * represents. This field is immutable after create time. See:
@@ -486,15 +406,16 @@ public java.lang.String getResourceName() {
      * 
* * string resource_name = 1; - * * @return The bytes for resourceName. */ @java.lang.Override - public com.google.protobuf.ByteString getResourceNameBytes() { + public com.google.protobuf.ByteString + getResourceNameBytes() { java.lang.Object ref = resourceName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); resourceName_ = b; return b; } else { @@ -505,8 +426,6 @@ public com.google.protobuf.ByteString getResourceNameBytes() { public static final int RESOURCE_TYPE_FIELD_NUMBER = 2; private volatile java.lang.Object resourceType_; /** - * - * *
      * The type of the Google Cloud resource. Examples include: APPLICATION,
      * PROJECT, and ORGANIZATION. This is a case insensitive field defined by
@@ -515,7 +434,6 @@ public com.google.protobuf.ByteString getResourceNameBytes() {
      * 
* * string resource_type = 2; - * * @return The resourceType. */ @java.lang.Override @@ -524,15 +442,14 @@ public java.lang.String getResourceType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceType_ = s; return s; } } /** - * - * *
      * The type of the Google Cloud resource. Examples include: APPLICATION,
      * PROJECT, and ORGANIZATION. This is a case insensitive field defined by
@@ -541,15 +458,16 @@ public java.lang.String getResourceType() {
      * 
* * string resource_type = 2; - * * @return The bytes for resourceType. */ @java.lang.Override - public com.google.protobuf.ByteString getResourceTypeBytes() { + public com.google.protobuf.ByteString + getResourceTypeBytes() { java.lang.Object ref = resourceType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); resourceType_ = b; return b; } else { @@ -560,15 +478,12 @@ public com.google.protobuf.ByteString getResourceTypeBytes() { public static final int RESOURCE_PARENT_FIELD_NUMBER = 3; private volatile java.lang.Object resourceParent_; /** - * - * *
      * The full resource name of the immediate parent of the resource. See:
      * https://cloud.google.com/apis/design/resource_names#full_resource_name
      * 
* * string resource_parent = 3; - * * @return The resourceParent. */ @java.lang.Override @@ -577,30 +492,30 @@ public java.lang.String getResourceParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceParent_ = s; return s; } } /** - * - * *
      * The full resource name of the immediate parent of the resource. See:
      * https://cloud.google.com/apis/design/resource_names#full_resource_name
      * 
* * string resource_parent = 3; - * * @return The bytes for resourceParent. */ @java.lang.Override - public com.google.protobuf.ByteString getResourceParentBytes() { + public com.google.protobuf.ByteString + getResourceParentBytes() { java.lang.Object ref = resourceParent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); resourceParent_ = b; return b; } else { @@ -611,15 +526,12 @@ public com.google.protobuf.ByteString getResourceParentBytes() { public static final int RESOURCE_PROJECT_FIELD_NUMBER = 4; private volatile java.lang.Object resourceProject_; /** - * - * *
      * The full resource name of the project the resource belongs to. See:
      * https://cloud.google.com/apis/design/resource_names#full_resource_name
      * 
* * string resource_project = 4; - * * @return The resourceProject. */ @java.lang.Override @@ -628,30 +540,30 @@ public java.lang.String getResourceProject() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceProject_ = s; return s; } } /** - * - * *
      * The full resource name of the project the resource belongs to. See:
      * https://cloud.google.com/apis/design/resource_names#full_resource_name
      * 
* * string resource_project = 4; - * * @return The bytes for resourceProject. */ @java.lang.Override - public com.google.protobuf.ByteString getResourceProjectBytes() { + public com.google.protobuf.ByteString + getResourceProjectBytes() { java.lang.Object ref = resourceProject_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); resourceProject_ = b; return b; } else { @@ -662,42 +574,34 @@ public com.google.protobuf.ByteString getResourceProjectBytes() { public static final int RESOURCE_OWNERS_FIELD_NUMBER = 5; private com.google.protobuf.LazyStringList resourceOwners_; /** - * - * *
      * Owners of the Google Cloud resource.
      * 
* * repeated string resource_owners = 5; - * * @return A list containing the resourceOwners. */ - public com.google.protobuf.ProtocolStringList getResourceOwnersList() { + public com.google.protobuf.ProtocolStringList + getResourceOwnersList() { return resourceOwners_; } /** - * - * *
      * Owners of the Google Cloud resource.
      * 
* * repeated string resource_owners = 5; - * * @return The count of resourceOwners. */ public int getResourceOwnersCount() { return resourceOwners_.size(); } /** - * - * *
      * Owners of the Google Cloud resource.
      * 
* * repeated string resource_owners = 5; - * * @param index The index of the element to return. * @return The resourceOwners at the given index. */ @@ -705,32 +609,27 @@ public java.lang.String getResourceOwners(int index) { return resourceOwners_.get(index); } /** - * - * *
      * Owners of the Google Cloud resource.
      * 
* * repeated string resource_owners = 5; - * * @param index The index of the value to return. * @return The bytes of the resourceOwners at the given index. */ - public com.google.protobuf.ByteString getResourceOwnersBytes(int index) { + public com.google.protobuf.ByteString + getResourceOwnersBytes(int index) { return resourceOwners_.getByteString(index); } public static final int RESOURCE_DISPLAY_NAME_FIELD_NUMBER = 6; private volatile java.lang.Object resourceDisplayName_; /** - * - * *
      * The user defined display name for this resource.
      * 
* * string resource_display_name = 6; - * * @return The resourceDisplayName. */ @java.lang.Override @@ -739,29 +638,29 @@ public java.lang.String getResourceDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceDisplayName_ = s; return s; } } /** - * - * *
      * The user defined display name for this resource.
      * 
* * string resource_display_name = 6; - * * @return The bytes for resourceDisplayName. */ @java.lang.Override - public com.google.protobuf.ByteString getResourceDisplayNameBytes() { + public com.google.protobuf.ByteString + getResourceDisplayNameBytes() { java.lang.Object ref = resourceDisplayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); resourceDisplayName_ = b; return b; } else { @@ -772,14 +671,11 @@ public com.google.protobuf.ByteString getResourceDisplayNameBytes() { public static final int RESOURCE_PARENT_DISPLAY_NAME_FIELD_NUMBER = 7; private volatile java.lang.Object resourceParentDisplayName_; /** - * - * *
      * The user defined display name for the parent of this resource.
      * 
* * string resource_parent_display_name = 7; - * * @return The resourceParentDisplayName. */ @java.lang.Override @@ -788,29 +684,29 @@ public java.lang.String getResourceParentDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceParentDisplayName_ = s; return s; } } /** - * - * *
      * The user defined display name for the parent of this resource.
      * 
* * string resource_parent_display_name = 7; - * * @return The bytes for resourceParentDisplayName. */ @java.lang.Override - public com.google.protobuf.ByteString getResourceParentDisplayNameBytes() { + public com.google.protobuf.ByteString + getResourceParentDisplayNameBytes() { java.lang.Object ref = resourceParentDisplayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); resourceParentDisplayName_ = b; return b; } else { @@ -821,14 +717,11 @@ public com.google.protobuf.ByteString getResourceParentDisplayNameBytes() { public static final int RESOURCE_PROJECT_DISPLAY_NAME_FIELD_NUMBER = 8; private volatile java.lang.Object resourceProjectDisplayName_; /** - * - * *
      * The user defined display name for the project of this resource.
      * 
* * string resource_project_display_name = 8; - * * @return The resourceProjectDisplayName. */ @java.lang.Override @@ -837,29 +730,29 @@ public java.lang.String getResourceProjectDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceProjectDisplayName_ = s; return s; } } /** - * - * *
      * The user defined display name for the project of this resource.
      * 
* * string resource_project_display_name = 8; - * * @return The bytes for resourceProjectDisplayName. */ @java.lang.Override - public com.google.protobuf.ByteString getResourceProjectDisplayNameBytes() { + public com.google.protobuf.ByteString + getResourceProjectDisplayNameBytes() { java.lang.Object ref = resourceProjectDisplayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); resourceProjectDisplayName_ = b; return b; } else { @@ -870,8 +763,6 @@ public com.google.protobuf.ByteString getResourceProjectDisplayNameBytes() { public static final int FOLDERS_FIELD_NUMBER = 10; private java.util.List folders_; /** - * - * *
      * Contains a Folder message for each folder in the assets ancestry.
      * The first folder is the deepest nested folder, and the last folder is the
@@ -885,8 +776,6 @@ public java.util.List getFoldersList(
       return folders_;
     }
     /**
-     *
-     *
      * 
      * Contains a Folder message for each folder in the assets ancestry.
      * The first folder is the deepest nested folder, and the last folder is the
@@ -896,13 +785,11 @@ public java.util.List getFoldersList(
      * repeated .google.cloud.securitycenter.v1.Folder folders = 10;
      */
     @java.lang.Override
-    public java.util.List
+    public java.util.List 
         getFoldersOrBuilderList() {
       return folders_;
     }
     /**
-     *
-     *
      * 
      * Contains a Folder message for each folder in the assets ancestry.
      * The first folder is the deepest nested folder, and the last folder is the
@@ -916,8 +803,6 @@ public int getFoldersCount() {
       return folders_.size();
     }
     /**
-     *
-     *
      * 
      * Contains a Folder message for each folder in the assets ancestry.
      * The first folder is the deepest nested folder, and the last folder is the
@@ -931,8 +816,6 @@ public com.google.cloud.securitycenter.v1.Folder getFolders(int index) {
       return folders_.get(index);
     }
     /**
-     *
-     *
      * 
      * Contains a Folder message for each folder in the assets ancestry.
      * The first folder is the deepest nested folder, and the last folder is the
@@ -942,12 +825,12 @@ public com.google.cloud.securitycenter.v1.Folder getFolders(int index) {
      * repeated .google.cloud.securitycenter.v1.Folder folders = 10;
      */
     @java.lang.Override
-    public com.google.cloud.securitycenter.v1.FolderOrBuilder getFoldersOrBuilder(int index) {
+    public com.google.cloud.securitycenter.v1.FolderOrBuilder getFoldersOrBuilder(
+        int index) {
       return folders_.get(index);
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -959,7 +842,8 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output)
+                        throws java.io.IOException {
       if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resourceName_)) {
         com.google.protobuf.GeneratedMessageV3.writeString(output, 1, resourceName_);
       }
@@ -1020,16 +904,14 @@ public int getSerializedSize() {
         size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, resourceDisplayName_);
       }
       if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resourceParentDisplayName_)) {
-        size +=
-            com.google.protobuf.GeneratedMessageV3.computeStringSize(7, resourceParentDisplayName_);
+        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, resourceParentDisplayName_);
       }
       if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resourceProjectDisplayName_)) {
-        size +=
-            com.google.protobuf.GeneratedMessageV3.computeStringSize(
-                8, resourceProjectDisplayName_);
+        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, resourceProjectDisplayName_);
       }
       for (int i = 0; i < folders_.size(); i++) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, folders_.get(i));
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(10, folders_.get(i));
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -1039,25 +921,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.securitycenter.v1.Asset.SecurityCenterProperties)) {
         return super.equals(obj);
       }
-      com.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties other =
-          (com.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties) obj;
-
-      if (!getResourceName().equals(other.getResourceName())) return false;
-      if (!getResourceType().equals(other.getResourceType())) return false;
-      if (!getResourceParent().equals(other.getResourceParent())) return false;
-      if (!getResourceProject().equals(other.getResourceProject())) return false;
-      if (!getResourceOwnersList().equals(other.getResourceOwnersList())) return false;
-      if (!getResourceDisplayName().equals(other.getResourceDisplayName())) return false;
-      if (!getResourceParentDisplayName().equals(other.getResourceParentDisplayName()))
-        return false;
-      if (!getResourceProjectDisplayName().equals(other.getResourceProjectDisplayName()))
-        return false;
-      if (!getFoldersList().equals(other.getFoldersList())) return false;
+      com.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties other = (com.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties) obj;
+
+      if (!getResourceName()
+          .equals(other.getResourceName())) return false;
+      if (!getResourceType()
+          .equals(other.getResourceType())) return false;
+      if (!getResourceParent()
+          .equals(other.getResourceParent())) return false;
+      if (!getResourceProject()
+          .equals(other.getResourceProject())) return false;
+      if (!getResourceOwnersList()
+          .equals(other.getResourceOwnersList())) return false;
+      if (!getResourceDisplayName()
+          .equals(other.getResourceDisplayName())) return false;
+      if (!getResourceParentDisplayName()
+          .equals(other.getResourceParentDisplayName())) return false;
+      if (!getResourceProjectDisplayName()
+          .equals(other.getResourceProjectDisplayName())) return false;
+      if (!getFoldersList()
+          .equals(other.getFoldersList())) return false;
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
     }
@@ -1097,95 +985,87 @@ public int hashCode() {
     }
 
     public static com.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties parseFrom(
-        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties parseFrom(
-        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties parseFrom(
-        byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+    public static com.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties parseFrom(byte[] data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties parseFrom(
-        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties parseFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    public static com.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties parseFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
-
-    public static com.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties
-        parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
-
-    public static com.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties
-        parseDelimitedFrom(
-            java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-          PARSER, input, extensionRegistry);
+    public static com.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties parseDelimitedFrom(
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-
     public static com.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties parseFrom(
-        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() {
-      return newBuilder();
-    }
-
+    public Builder newBuilderForType() { return newBuilder(); }
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-
-    public static Builder newBuilder(
-        com.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties prototype) {
+    public static Builder newBuilder(com.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -1195,8 +1075,6 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * Security Command Center managed properties. These properties are managed by
      * Security Command Center and cannot be modified by the user.
@@ -1204,34 +1082,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.securitycenter.v1.Asset.SecurityCenterProperties}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.securitycenter.v1.Asset.SecurityCenterProperties)
         com.google.cloud.securitycenter.v1.Asset.SecurityCenterPropertiesOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.securitycenter.v1.AssetOuterClass
-            .internal_static_google_cloud_securitycenter_v1_Asset_SecurityCenterProperties_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.securitycenter.v1.AssetOuterClass.internal_static_google_cloud_securitycenter_v1_Asset_SecurityCenterProperties_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.securitycenter.v1.AssetOuterClass
-            .internal_static_google_cloud_securitycenter_v1_Asset_SecurityCenterProperties_fieldAccessorTable
+        return com.google.cloud.securitycenter.v1.AssetOuterClass.internal_static_google_cloud_securitycenter_v1_Asset_SecurityCenterProperties_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties.class,
-                com.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties.Builder.class);
+                com.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties.class, com.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties.Builder.class);
       }
 
-      // Construct using
-      // com.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties.newBuilder()
-      private Builder() {}
+      // Construct using com.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties.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();
@@ -1262,16 +1139,14 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.securitycenter.v1.AssetOuterClass
-            .internal_static_google_cloud_securitycenter_v1_Asset_SecurityCenterProperties_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.securitycenter.v1.AssetOuterClass.internal_static_google_cloud_securitycenter_v1_Asset_SecurityCenterProperties_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties
-          getDefaultInstanceForType() {
-        return com.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties
-            .getDefaultInstance();
+      public com.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties getDefaultInstanceForType() {
+        return com.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties.getDefaultInstance();
       }
 
       @java.lang.Override
@@ -1285,8 +1160,7 @@ public com.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties build()
 
       @java.lang.Override
       public com.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties buildPartial() {
-        com.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties result =
-            new com.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties(this);
+        com.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties result = new com.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties(this);
         int from_bitField0_ = bitField0_;
         result.resourceName_ = resourceName_;
         result.resourceType_ = resourceType_;
@@ -1317,53 +1191,46 @@ public com.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties buildPa
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties) {
-          return mergeFrom(
-              (com.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties) other);
+          return mergeFrom((com.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties)other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(
-          com.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties other) {
-        if (other
-            == com.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties
-                .getDefaultInstance()) return this;
+      public Builder mergeFrom(com.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties other) {
+        if (other == com.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties.getDefaultInstance()) return this;
         if (!other.getResourceName().isEmpty()) {
           resourceName_ = other.resourceName_;
           onChanged();
@@ -1420,10 +1287,9 @@ public Builder mergeFrom(
               foldersBuilder_ = null;
               folders_ = other.folders_;
               bitField0_ = (bitField0_ & ~0x00000002);
-              foldersBuilder_ =
-                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                      ? getFoldersFieldBuilder()
-                      : null;
+              foldersBuilder_ = 
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                   getFoldersFieldBuilder() : null;
             } else {
               foldersBuilder_.addAllMessages(other.folders_);
             }
@@ -1455,75 +1321,66 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10:
-                {
-                  resourceName_ = input.readStringRequireUtf8();
-
-                  break;
-                } // case 10
-              case 18:
-                {
-                  resourceType_ = input.readStringRequireUtf8();
-
-                  break;
-                } // case 18
-              case 26:
-                {
-                  resourceParent_ = input.readStringRequireUtf8();
-
-                  break;
-                } // case 26
-              case 34:
-                {
-                  resourceProject_ = input.readStringRequireUtf8();
-
-                  break;
-                } // case 34
-              case 42:
-                {
-                  java.lang.String s = input.readStringRequireUtf8();
-                  ensureResourceOwnersIsMutable();
-                  resourceOwners_.add(s);
-                  break;
-                } // case 42
-              case 50:
-                {
-                  resourceDisplayName_ = input.readStringRequireUtf8();
-
-                  break;
-                } // case 50
-              case 58:
-                {
-                  resourceParentDisplayName_ = input.readStringRequireUtf8();
-
-                  break;
-                } // case 58
-              case 66:
-                {
-                  resourceProjectDisplayName_ = input.readStringRequireUtf8();
-
-                  break;
-                } // case 66
-              case 82:
-                {
-                  com.google.cloud.securitycenter.v1.Folder m =
-                      input.readMessage(
-                          com.google.cloud.securitycenter.v1.Folder.parser(), extensionRegistry);
-                  if (foldersBuilder_ == null) {
-                    ensureFoldersIsMutable();
-                    folders_.add(m);
-                  } else {
-                    foldersBuilder_.addMessage(m);
-                  }
-                  break;
-                } // case 82
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+              case 10: {
+                resourceName_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+              case 18: {
+                resourceType_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 18
+              case 26: {
+                resourceParent_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 26
+              case 34: {
+                resourceProject_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 34
+              case 42: {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureResourceOwnersIsMutable();
+                resourceOwners_.add(s);
+                break;
+              } // case 42
+              case 50: {
+                resourceDisplayName_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 50
+              case 58: {
+                resourceParentDisplayName_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 58
+              case 66: {
+                resourceProjectDisplayName_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 66
+              case 82: {
+                com.google.cloud.securitycenter.v1.Folder m =
+                    input.readMessage(
+                        com.google.cloud.securitycenter.v1.Folder.parser(),
+                        extensionRegistry);
+                if (foldersBuilder_ == null) {
+                  ensureFoldersIsMutable();
+                  folders_.add(m);
+                } else {
+                  foldersBuilder_.addMessage(m);
+                }
+                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) {
@@ -1533,13 +1390,10 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
-
       private int bitField0_;
 
       private java.lang.Object resourceName_ = "";
       /**
-       *
-       *
        * 
        * The full resource name of the Google Cloud resource this asset
        * represents. This field is immutable after create time. See:
@@ -1547,13 +1401,13 @@ public Builder mergeFrom(
        * 
* * string resource_name = 1; - * * @return The resourceName. */ public java.lang.String getResourceName() { java.lang.Object ref = resourceName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceName_ = s; return s; @@ -1562,8 +1416,6 @@ public java.lang.String getResourceName() { } } /** - * - * *
        * The full resource name of the Google Cloud resource this asset
        * represents. This field is immutable after create time. See:
@@ -1571,14 +1423,15 @@ public java.lang.String getResourceName() {
        * 
* * string resource_name = 1; - * * @return The bytes for resourceName. */ - public com.google.protobuf.ByteString getResourceNameBytes() { + public com.google.protobuf.ByteString + getResourceNameBytes() { java.lang.Object ref = resourceName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); resourceName_ = b; return b; } else { @@ -1586,8 +1439,6 @@ public com.google.protobuf.ByteString getResourceNameBytes() { } } /** - * - * *
        * The full resource name of the Google Cloud resource this asset
        * represents. This field is immutable after create time. See:
@@ -1595,22 +1446,20 @@ public com.google.protobuf.ByteString getResourceNameBytes() {
        * 
* * string resource_name = 1; - * * @param value The resourceName to set. * @return This builder for chaining. */ - public Builder setResourceName(java.lang.String value) { + public Builder setResourceName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + resourceName_ = value; onChanged(); return this; } /** - * - * *
        * The full resource name of the Google Cloud resource this asset
        * represents. This field is immutable after create time. See:
@@ -1618,18 +1467,15 @@ public Builder setResourceName(java.lang.String value) {
        * 
* * string resource_name = 1; - * * @return This builder for chaining. */ public Builder clearResourceName() { - + resourceName_ = getDefaultInstance().getResourceName(); onChanged(); return this; } /** - * - * *
        * The full resource name of the Google Cloud resource this asset
        * represents. This field is immutable after create time. See:
@@ -1637,16 +1483,16 @@ public Builder clearResourceName() {
        * 
* * string resource_name = 1; - * * @param value The bytes for resourceName to set. * @return This builder for chaining. */ - public Builder setResourceNameBytes(com.google.protobuf.ByteString value) { + public Builder setResourceNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + resourceName_ = value; onChanged(); return this; @@ -1654,8 +1500,6 @@ public Builder setResourceNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object resourceType_ = ""; /** - * - * *
        * The type of the Google Cloud resource. Examples include: APPLICATION,
        * PROJECT, and ORGANIZATION. This is a case insensitive field defined by
@@ -1664,13 +1508,13 @@ public Builder setResourceNameBytes(com.google.protobuf.ByteString value) {
        * 
* * string resource_type = 2; - * * @return The resourceType. */ public java.lang.String getResourceType() { java.lang.Object ref = resourceType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceType_ = s; return s; @@ -1679,8 +1523,6 @@ public java.lang.String getResourceType() { } } /** - * - * *
        * The type of the Google Cloud resource. Examples include: APPLICATION,
        * PROJECT, and ORGANIZATION. This is a case insensitive field defined by
@@ -1689,14 +1531,15 @@ public java.lang.String getResourceType() {
        * 
* * string resource_type = 2; - * * @return The bytes for resourceType. */ - public com.google.protobuf.ByteString getResourceTypeBytes() { + public com.google.protobuf.ByteString + getResourceTypeBytes() { java.lang.Object ref = resourceType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); resourceType_ = b; return b; } else { @@ -1704,8 +1547,6 @@ public com.google.protobuf.ByteString getResourceTypeBytes() { } } /** - * - * *
        * The type of the Google Cloud resource. Examples include: APPLICATION,
        * PROJECT, and ORGANIZATION. This is a case insensitive field defined by
@@ -1714,22 +1555,20 @@ public com.google.protobuf.ByteString getResourceTypeBytes() {
        * 
* * string resource_type = 2; - * * @param value The resourceType to set. * @return This builder for chaining. */ - public Builder setResourceType(java.lang.String value) { + public Builder setResourceType( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + resourceType_ = value; onChanged(); return this; } /** - * - * *
        * The type of the Google Cloud resource. Examples include: APPLICATION,
        * PROJECT, and ORGANIZATION. This is a case insensitive field defined by
@@ -1738,18 +1577,15 @@ public Builder setResourceType(java.lang.String value) {
        * 
* * string resource_type = 2; - * * @return This builder for chaining. */ public Builder clearResourceType() { - + resourceType_ = getDefaultInstance().getResourceType(); onChanged(); return this; } /** - * - * *
        * The type of the Google Cloud resource. Examples include: APPLICATION,
        * PROJECT, and ORGANIZATION. This is a case insensitive field defined by
@@ -1758,16 +1594,16 @@ public Builder clearResourceType() {
        * 
* * string resource_type = 2; - * * @param value The bytes for resourceType to set. * @return This builder for chaining. */ - public Builder setResourceTypeBytes(com.google.protobuf.ByteString value) { + public Builder setResourceTypeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + resourceType_ = value; onChanged(); return this; @@ -1775,21 +1611,19 @@ public Builder setResourceTypeBytes(com.google.protobuf.ByteString value) { private java.lang.Object resourceParent_ = ""; /** - * - * *
        * The full resource name of the immediate parent of the resource. See:
        * https://cloud.google.com/apis/design/resource_names#full_resource_name
        * 
* * string resource_parent = 3; - * * @return The resourceParent. */ public java.lang.String getResourceParent() { java.lang.Object ref = resourceParent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceParent_ = s; return s; @@ -1798,22 +1632,21 @@ public java.lang.String getResourceParent() { } } /** - * - * *
        * The full resource name of the immediate parent of the resource. See:
        * https://cloud.google.com/apis/design/resource_names#full_resource_name
        * 
* * string resource_parent = 3; - * * @return The bytes for resourceParent. */ - public com.google.protobuf.ByteString getResourceParentBytes() { + public com.google.protobuf.ByteString + getResourceParentBytes() { java.lang.Object ref = resourceParent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); resourceParent_ = b; return b; } else { @@ -1821,64 +1654,57 @@ public com.google.protobuf.ByteString getResourceParentBytes() { } } /** - * - * *
        * The full resource name of the immediate parent of the resource. See:
        * https://cloud.google.com/apis/design/resource_names#full_resource_name
        * 
* * string resource_parent = 3; - * * @param value The resourceParent to set. * @return This builder for chaining. */ - public Builder setResourceParent(java.lang.String value) { + public Builder setResourceParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + resourceParent_ = value; onChanged(); return this; } /** - * - * *
        * The full resource name of the immediate parent of the resource. See:
        * https://cloud.google.com/apis/design/resource_names#full_resource_name
        * 
* * string resource_parent = 3; - * * @return This builder for chaining. */ public Builder clearResourceParent() { - + resourceParent_ = getDefaultInstance().getResourceParent(); onChanged(); return this; } /** - * - * *
        * The full resource name of the immediate parent of the resource. See:
        * https://cloud.google.com/apis/design/resource_names#full_resource_name
        * 
* * string resource_parent = 3; - * * @param value The bytes for resourceParent to set. * @return This builder for chaining. */ - public Builder setResourceParentBytes(com.google.protobuf.ByteString value) { + public Builder setResourceParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + resourceParent_ = value; onChanged(); return this; @@ -1886,21 +1712,19 @@ public Builder setResourceParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object resourceProject_ = ""; /** - * - * *
        * The full resource name of the project the resource belongs to. See:
        * https://cloud.google.com/apis/design/resource_names#full_resource_name
        * 
* * string resource_project = 4; - * * @return The resourceProject. */ public java.lang.String getResourceProject() { java.lang.Object ref = resourceProject_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceProject_ = s; return s; @@ -1909,22 +1733,21 @@ public java.lang.String getResourceProject() { } } /** - * - * *
        * The full resource name of the project the resource belongs to. See:
        * https://cloud.google.com/apis/design/resource_names#full_resource_name
        * 
* * string resource_project = 4; - * * @return The bytes for resourceProject. */ - public com.google.protobuf.ByteString getResourceProjectBytes() { + public com.google.protobuf.ByteString + getResourceProjectBytes() { java.lang.Object ref = resourceProject_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); resourceProject_ = b; return b; } else { @@ -1932,115 +1755,98 @@ public com.google.protobuf.ByteString getResourceProjectBytes() { } } /** - * - * *
        * The full resource name of the project the resource belongs to. See:
        * https://cloud.google.com/apis/design/resource_names#full_resource_name
        * 
* * string resource_project = 4; - * * @param value The resourceProject to set. * @return This builder for chaining. */ - public Builder setResourceProject(java.lang.String value) { + public Builder setResourceProject( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + resourceProject_ = value; onChanged(); return this; } /** - * - * *
        * The full resource name of the project the resource belongs to. See:
        * https://cloud.google.com/apis/design/resource_names#full_resource_name
        * 
* * string resource_project = 4; - * * @return This builder for chaining. */ public Builder clearResourceProject() { - + resourceProject_ = getDefaultInstance().getResourceProject(); onChanged(); return this; } /** - * - * *
        * The full resource name of the project the resource belongs to. See:
        * https://cloud.google.com/apis/design/resource_names#full_resource_name
        * 
* * string resource_project = 4; - * * @param value The bytes for resourceProject to set. * @return This builder for chaining. */ - public Builder setResourceProjectBytes(com.google.protobuf.ByteString value) { + public Builder setResourceProjectBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + resourceProject_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList resourceOwners_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList resourceOwners_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureResourceOwnersIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { resourceOwners_ = new com.google.protobuf.LazyStringArrayList(resourceOwners_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
        * Owners of the Google Cloud resource.
        * 
* * repeated string resource_owners = 5; - * * @return A list containing the resourceOwners. */ - public com.google.protobuf.ProtocolStringList getResourceOwnersList() { + public com.google.protobuf.ProtocolStringList + getResourceOwnersList() { return resourceOwners_.getUnmodifiableView(); } /** - * - * *
        * Owners of the Google Cloud resource.
        * 
* * repeated string resource_owners = 5; - * * @return The count of resourceOwners. */ public int getResourceOwnersCount() { return resourceOwners_.size(); } /** - * - * *
        * Owners of the Google Cloud resource.
        * 
* * repeated string resource_owners = 5; - * * @param index The index of the element to return. * @return The resourceOwners at the given index. */ @@ -2048,90 +1854,80 @@ public java.lang.String getResourceOwners(int index) { return resourceOwners_.get(index); } /** - * - * *
        * Owners of the Google Cloud resource.
        * 
* * repeated string resource_owners = 5; - * * @param index The index of the value to return. * @return The bytes of the resourceOwners at the given index. */ - public com.google.protobuf.ByteString getResourceOwnersBytes(int index) { + public com.google.protobuf.ByteString + getResourceOwnersBytes(int index) { return resourceOwners_.getByteString(index); } /** - * - * *
        * Owners of the Google Cloud resource.
        * 
* * repeated string resource_owners = 5; - * * @param index The index to set the value at. * @param value The resourceOwners to set. * @return This builder for chaining. */ - public Builder setResourceOwners(int index, java.lang.String value) { + public Builder setResourceOwners( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureResourceOwnersIsMutable(); + throw new NullPointerException(); + } + ensureResourceOwnersIsMutable(); resourceOwners_.set(index, value); onChanged(); return this; } /** - * - * *
        * Owners of the Google Cloud resource.
        * 
* * repeated string resource_owners = 5; - * * @param value The resourceOwners to add. * @return This builder for chaining. */ - public Builder addResourceOwners(java.lang.String value) { + public Builder addResourceOwners( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureResourceOwnersIsMutable(); + throw new NullPointerException(); + } + ensureResourceOwnersIsMutable(); resourceOwners_.add(value); onChanged(); return this; } /** - * - * *
        * Owners of the Google Cloud resource.
        * 
* * repeated string resource_owners = 5; - * * @param values The resourceOwners to add. * @return This builder for chaining. */ - public Builder addAllResourceOwners(java.lang.Iterable values) { + public Builder addAllResourceOwners( + java.lang.Iterable values) { ensureResourceOwnersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, resourceOwners_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, resourceOwners_); onChanged(); return this; } /** - * - * *
        * Owners of the Google Cloud resource.
        * 
* * repeated string resource_owners = 5; - * * @return This builder for chaining. */ public Builder clearResourceOwners() { @@ -2141,22 +1937,20 @@ public Builder clearResourceOwners() { return this; } /** - * - * *
        * Owners of the Google Cloud resource.
        * 
* * repeated string resource_owners = 5; - * * @param value The bytes of the resourceOwners to add. * @return This builder for chaining. */ - public Builder addResourceOwnersBytes(com.google.protobuf.ByteString value) { + public Builder addResourceOwnersBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureResourceOwnersIsMutable(); resourceOwners_.add(value); onChanged(); @@ -2165,20 +1959,18 @@ public Builder addResourceOwnersBytes(com.google.protobuf.ByteString value) { private java.lang.Object resourceDisplayName_ = ""; /** - * - * *
        * The user defined display name for this resource.
        * 
* * string resource_display_name = 6; - * * @return The resourceDisplayName. */ public java.lang.String getResourceDisplayName() { java.lang.Object ref = resourceDisplayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceDisplayName_ = s; return s; @@ -2187,21 +1979,20 @@ public java.lang.String getResourceDisplayName() { } } /** - * - * *
        * The user defined display name for this resource.
        * 
* * string resource_display_name = 6; - * * @return The bytes for resourceDisplayName. */ - public com.google.protobuf.ByteString getResourceDisplayNameBytes() { + public com.google.protobuf.ByteString + getResourceDisplayNameBytes() { java.lang.Object ref = resourceDisplayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); resourceDisplayName_ = b; return b; } else { @@ -2209,61 +2000,54 @@ public com.google.protobuf.ByteString getResourceDisplayNameBytes() { } } /** - * - * *
        * The user defined display name for this resource.
        * 
* * string resource_display_name = 6; - * * @param value The resourceDisplayName to set. * @return This builder for chaining. */ - public Builder setResourceDisplayName(java.lang.String value) { + public Builder setResourceDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + resourceDisplayName_ = value; onChanged(); return this; } /** - * - * *
        * The user defined display name for this resource.
        * 
* * string resource_display_name = 6; - * * @return This builder for chaining. */ public Builder clearResourceDisplayName() { - + resourceDisplayName_ = getDefaultInstance().getResourceDisplayName(); onChanged(); return this; } /** - * - * *
        * The user defined display name for this resource.
        * 
* * string resource_display_name = 6; - * * @param value The bytes for resourceDisplayName to set. * @return This builder for chaining. */ - public Builder setResourceDisplayNameBytes(com.google.protobuf.ByteString value) { + public Builder setResourceDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + resourceDisplayName_ = value; onChanged(); return this; @@ -2271,20 +2055,18 @@ public Builder setResourceDisplayNameBytes(com.google.protobuf.ByteString value) private java.lang.Object resourceParentDisplayName_ = ""; /** - * - * *
        * The user defined display name for the parent of this resource.
        * 
* * string resource_parent_display_name = 7; - * * @return The resourceParentDisplayName. */ public java.lang.String getResourceParentDisplayName() { java.lang.Object ref = resourceParentDisplayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceParentDisplayName_ = s; return s; @@ -2293,21 +2075,20 @@ public java.lang.String getResourceParentDisplayName() { } } /** - * - * *
        * The user defined display name for the parent of this resource.
        * 
* * string resource_parent_display_name = 7; - * * @return The bytes for resourceParentDisplayName. */ - public com.google.protobuf.ByteString getResourceParentDisplayNameBytes() { + public com.google.protobuf.ByteString + getResourceParentDisplayNameBytes() { java.lang.Object ref = resourceParentDisplayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); resourceParentDisplayName_ = b; return b; } else { @@ -2315,61 +2096,54 @@ public com.google.protobuf.ByteString getResourceParentDisplayNameBytes() { } } /** - * - * *
        * The user defined display name for the parent of this resource.
        * 
* * string resource_parent_display_name = 7; - * * @param value The resourceParentDisplayName to set. * @return This builder for chaining. */ - public Builder setResourceParentDisplayName(java.lang.String value) { + public Builder setResourceParentDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + resourceParentDisplayName_ = value; onChanged(); return this; } /** - * - * *
        * The user defined display name for the parent of this resource.
        * 
* * string resource_parent_display_name = 7; - * * @return This builder for chaining. */ public Builder clearResourceParentDisplayName() { - + resourceParentDisplayName_ = getDefaultInstance().getResourceParentDisplayName(); onChanged(); return this; } /** - * - * *
        * The user defined display name for the parent of this resource.
        * 
* * string resource_parent_display_name = 7; - * * @param value The bytes for resourceParentDisplayName to set. * @return This builder for chaining. */ - public Builder setResourceParentDisplayNameBytes(com.google.protobuf.ByteString value) { + public Builder setResourceParentDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + resourceParentDisplayName_ = value; onChanged(); return this; @@ -2377,20 +2151,18 @@ public Builder setResourceParentDisplayNameBytes(com.google.protobuf.ByteString private java.lang.Object resourceProjectDisplayName_ = ""; /** - * - * *
        * The user defined display name for the project of this resource.
        * 
* * string resource_project_display_name = 8; - * * @return The resourceProjectDisplayName. */ public java.lang.String getResourceProjectDisplayName() { java.lang.Object ref = resourceProjectDisplayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceProjectDisplayName_ = s; return s; @@ -2399,21 +2171,20 @@ public java.lang.String getResourceProjectDisplayName() { } } /** - * - * *
        * The user defined display name for the project of this resource.
        * 
* * string resource_project_display_name = 8; - * * @return The bytes for resourceProjectDisplayName. */ - public com.google.protobuf.ByteString getResourceProjectDisplayNameBytes() { + public com.google.protobuf.ByteString + getResourceProjectDisplayNameBytes() { java.lang.Object ref = resourceProjectDisplayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); resourceProjectDisplayName_ = b; return b; } else { @@ -2421,85 +2192,72 @@ public com.google.protobuf.ByteString getResourceProjectDisplayNameBytes() { } } /** - * - * *
        * The user defined display name for the project of this resource.
        * 
* * string resource_project_display_name = 8; - * * @param value The resourceProjectDisplayName to set. * @return This builder for chaining. */ - public Builder setResourceProjectDisplayName(java.lang.String value) { + public Builder setResourceProjectDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + resourceProjectDisplayName_ = value; onChanged(); return this; } /** - * - * *
        * The user defined display name for the project of this resource.
        * 
* * string resource_project_display_name = 8; - * * @return This builder for chaining. */ public Builder clearResourceProjectDisplayName() { - + resourceProjectDisplayName_ = getDefaultInstance().getResourceProjectDisplayName(); onChanged(); return this; } /** - * - * *
        * The user defined display name for the project of this resource.
        * 
* * string resource_project_display_name = 8; - * * @param value The bytes for resourceProjectDisplayName to set. * @return This builder for chaining. - */ - public Builder setResourceProjectDisplayNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + */ + public Builder setResourceProjectDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + resourceProjectDisplayName_ = value; onChanged(); return this; } private java.util.List folders_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureFoldersIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { folders_ = new java.util.ArrayList(folders_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.securitycenter.v1.Folder, - com.google.cloud.securitycenter.v1.Folder.Builder, - com.google.cloud.securitycenter.v1.FolderOrBuilder> - foldersBuilder_; + com.google.cloud.securitycenter.v1.Folder, com.google.cloud.securitycenter.v1.Folder.Builder, com.google.cloud.securitycenter.v1.FolderOrBuilder> foldersBuilder_; /** - * - * *
        * Contains a Folder message for each folder in the assets ancestry.
        * The first folder is the deepest nested folder, and the last folder is the
@@ -2516,8 +2274,6 @@ public java.util.List getFoldersList(
         }
       }
       /**
-       *
-       *
        * 
        * Contains a Folder message for each folder in the assets ancestry.
        * The first folder is the deepest nested folder, and the last folder is the
@@ -2534,8 +2290,6 @@ public int getFoldersCount() {
         }
       }
       /**
-       *
-       *
        * 
        * Contains a Folder message for each folder in the assets ancestry.
        * The first folder is the deepest nested folder, and the last folder is the
@@ -2552,8 +2306,6 @@ public com.google.cloud.securitycenter.v1.Folder getFolders(int index) {
         }
       }
       /**
-       *
-       *
        * 
        * Contains a Folder message for each folder in the assets ancestry.
        * The first folder is the deepest nested folder, and the last folder is the
@@ -2562,7 +2314,8 @@ public com.google.cloud.securitycenter.v1.Folder getFolders(int index) {
        *
        * repeated .google.cloud.securitycenter.v1.Folder folders = 10;
        */
-      public Builder setFolders(int index, com.google.cloud.securitycenter.v1.Folder value) {
+      public Builder setFolders(
+          int index, com.google.cloud.securitycenter.v1.Folder value) {
         if (foldersBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -2576,8 +2329,6 @@ public Builder setFolders(int index, com.google.cloud.securitycenter.v1.Folder v
         return this;
       }
       /**
-       *
-       *
        * 
        * Contains a Folder message for each folder in the assets ancestry.
        * The first folder is the deepest nested folder, and the last folder is the
@@ -2598,8 +2349,6 @@ public Builder setFolders(
         return this;
       }
       /**
-       *
-       *
        * 
        * Contains a Folder message for each folder in the assets ancestry.
        * The first folder is the deepest nested folder, and the last folder is the
@@ -2622,8 +2371,6 @@ public Builder addFolders(com.google.cloud.securitycenter.v1.Folder value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Contains a Folder message for each folder in the assets ancestry.
        * The first folder is the deepest nested folder, and the last folder is the
@@ -2632,7 +2379,8 @@ public Builder addFolders(com.google.cloud.securitycenter.v1.Folder value) {
        *
        * repeated .google.cloud.securitycenter.v1.Folder folders = 10;
        */
-      public Builder addFolders(int index, com.google.cloud.securitycenter.v1.Folder value) {
+      public Builder addFolders(
+          int index, com.google.cloud.securitycenter.v1.Folder value) {
         if (foldersBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -2646,8 +2394,6 @@ public Builder addFolders(int index, com.google.cloud.securitycenter.v1.Folder v
         return this;
       }
       /**
-       *
-       *
        * 
        * Contains a Folder message for each folder in the assets ancestry.
        * The first folder is the deepest nested folder, and the last folder is the
@@ -2656,7 +2402,8 @@ public Builder addFolders(int index, com.google.cloud.securitycenter.v1.Folder v
        *
        * repeated .google.cloud.securitycenter.v1.Folder folders = 10;
        */
-      public Builder addFolders(com.google.cloud.securitycenter.v1.Folder.Builder builderForValue) {
+      public Builder addFolders(
+          com.google.cloud.securitycenter.v1.Folder.Builder builderForValue) {
         if (foldersBuilder_ == null) {
           ensureFoldersIsMutable();
           folders_.add(builderForValue.build());
@@ -2667,8 +2414,6 @@ public Builder addFolders(com.google.cloud.securitycenter.v1.Folder.Builder buil
         return this;
       }
       /**
-       *
-       *
        * 
        * Contains a Folder message for each folder in the assets ancestry.
        * The first folder is the deepest nested folder, and the last folder is the
@@ -2689,8 +2434,6 @@ public Builder addFolders(
         return this;
       }
       /**
-       *
-       *
        * 
        * Contains a Folder message for each folder in the assets ancestry.
        * The first folder is the deepest nested folder, and the last folder is the
@@ -2703,7 +2446,8 @@ public Builder addAllFolders(
           java.lang.Iterable values) {
         if (foldersBuilder_ == null) {
           ensureFoldersIsMutable();
-          com.google.protobuf.AbstractMessageLite.Builder.addAll(values, folders_);
+          com.google.protobuf.AbstractMessageLite.Builder.addAll(
+              values, folders_);
           onChanged();
         } else {
           foldersBuilder_.addAllMessages(values);
@@ -2711,8 +2455,6 @@ public Builder addAllFolders(
         return this;
       }
       /**
-       *
-       *
        * 
        * Contains a Folder message for each folder in the assets ancestry.
        * The first folder is the deepest nested folder, and the last folder is the
@@ -2732,8 +2474,6 @@ public Builder clearFolders() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Contains a Folder message for each folder in the assets ancestry.
        * The first folder is the deepest nested folder, and the last folder is the
@@ -2753,8 +2493,6 @@ public Builder removeFolders(int index) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Contains a Folder message for each folder in the assets ancestry.
        * The first folder is the deepest nested folder, and the last folder is the
@@ -2763,12 +2501,11 @@ public Builder removeFolders(int index) {
        *
        * repeated .google.cloud.securitycenter.v1.Folder folders = 10;
        */
-      public com.google.cloud.securitycenter.v1.Folder.Builder getFoldersBuilder(int index) {
+      public com.google.cloud.securitycenter.v1.Folder.Builder getFoldersBuilder(
+          int index) {
         return getFoldersFieldBuilder().getBuilder(index);
       }
       /**
-       *
-       *
        * 
        * Contains a Folder message for each folder in the assets ancestry.
        * The first folder is the deepest nested folder, and the last folder is the
@@ -2777,16 +2514,14 @@ public com.google.cloud.securitycenter.v1.Folder.Builder getFoldersBuilder(int i
        *
        * repeated .google.cloud.securitycenter.v1.Folder folders = 10;
        */
-      public com.google.cloud.securitycenter.v1.FolderOrBuilder getFoldersOrBuilder(int index) {
+      public com.google.cloud.securitycenter.v1.FolderOrBuilder getFoldersOrBuilder(
+          int index) {
         if (foldersBuilder_ == null) {
-          return folders_.get(index);
-        } else {
+          return folders_.get(index);  } else {
           return foldersBuilder_.getMessageOrBuilder(index);
         }
       }
       /**
-       *
-       *
        * 
        * Contains a Folder message for each folder in the assets ancestry.
        * The first folder is the deepest nested folder, and the last folder is the
@@ -2795,8 +2530,8 @@ public com.google.cloud.securitycenter.v1.FolderOrBuilder getFoldersOrBuilder(in
        *
        * repeated .google.cloud.securitycenter.v1.Folder folders = 10;
        */
-      public java.util.List
-          getFoldersOrBuilderList() {
+      public java.util.List 
+           getFoldersOrBuilderList() {
         if (foldersBuilder_ != null) {
           return foldersBuilder_.getMessageOrBuilderList();
         } else {
@@ -2804,8 +2539,6 @@ public com.google.cloud.securitycenter.v1.FolderOrBuilder getFoldersOrBuilder(in
         }
       }
       /**
-       *
-       *
        * 
        * Contains a Folder message for each folder in the assets ancestry.
        * The first folder is the deepest nested folder, and the last folder is the
@@ -2815,12 +2548,10 @@ public com.google.cloud.securitycenter.v1.FolderOrBuilder getFoldersOrBuilder(in
        * repeated .google.cloud.securitycenter.v1.Folder folders = 10;
        */
       public com.google.cloud.securitycenter.v1.Folder.Builder addFoldersBuilder() {
-        return getFoldersFieldBuilder()
-            .addBuilder(com.google.cloud.securitycenter.v1.Folder.getDefaultInstance());
+        return getFoldersFieldBuilder().addBuilder(
+            com.google.cloud.securitycenter.v1.Folder.getDefaultInstance());
       }
       /**
-       *
-       *
        * 
        * Contains a Folder message for each folder in the assets ancestry.
        * The first folder is the deepest nested folder, and the last folder is the
@@ -2829,13 +2560,12 @@ public com.google.cloud.securitycenter.v1.Folder.Builder addFoldersBuilder() {
        *
        * repeated .google.cloud.securitycenter.v1.Folder folders = 10;
        */
-      public com.google.cloud.securitycenter.v1.Folder.Builder addFoldersBuilder(int index) {
-        return getFoldersFieldBuilder()
-            .addBuilder(index, com.google.cloud.securitycenter.v1.Folder.getDefaultInstance());
+      public com.google.cloud.securitycenter.v1.Folder.Builder addFoldersBuilder(
+          int index) {
+        return getFoldersFieldBuilder().addBuilder(
+            index, com.google.cloud.securitycenter.v1.Folder.getDefaultInstance());
       }
       /**
-       *
-       *
        * 
        * Contains a Folder message for each folder in the assets ancestry.
        * The first folder is the deepest nested folder, and the last folder is the
@@ -2844,28 +2574,24 @@ public com.google.cloud.securitycenter.v1.Folder.Builder addFoldersBuilder(int i
        *
        * repeated .google.cloud.securitycenter.v1.Folder folders = 10;
        */
-      public java.util.List
-          getFoldersBuilderList() {
+      public java.util.List 
+           getFoldersBuilderList() {
         return getFoldersFieldBuilder().getBuilderList();
       }
-
       private com.google.protobuf.RepeatedFieldBuilderV3<
-              com.google.cloud.securitycenter.v1.Folder,
-              com.google.cloud.securitycenter.v1.Folder.Builder,
-              com.google.cloud.securitycenter.v1.FolderOrBuilder>
+          com.google.cloud.securitycenter.v1.Folder, com.google.cloud.securitycenter.v1.Folder.Builder, com.google.cloud.securitycenter.v1.FolderOrBuilder> 
           getFoldersFieldBuilder() {
         if (foldersBuilder_ == null) {
-          foldersBuilder_ =
-              new com.google.protobuf.RepeatedFieldBuilderV3<
-                  com.google.cloud.securitycenter.v1.Folder,
-                  com.google.cloud.securitycenter.v1.Folder.Builder,
-                  com.google.cloud.securitycenter.v1.FolderOrBuilder>(
-                  folders_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean());
+          foldersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+              com.google.cloud.securitycenter.v1.Folder, com.google.cloud.securitycenter.v1.Folder.Builder, com.google.cloud.securitycenter.v1.FolderOrBuilder>(
+                  folders_,
+                  ((bitField0_ & 0x00000002) != 0),
+                  getParentForChildren(),
+                  isClean());
           folders_ = null;
         }
         return foldersBuilder_;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -2878,44 +2604,41 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.cloud.securitycenter.v1.Asset.SecurityCenterProperties)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1.Asset.SecurityCenterProperties)
-    private static final com.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties
-        DEFAULT_INSTANCE;
-
+    private static final com.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties DEFAULT_INSTANCE;
     static {
       DEFAULT_INSTANCE = new com.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties();
     }
 
-    public static com.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties
-        getDefaultInstance() {
+    public static com.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public SecurityCenterProperties parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            Builder builder = newBuilder();
-            try {
-              builder.mergeFrom(input, extensionRegistry);
-            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-              throw e.setUnfinishedMessage(builder.buildPartial());
-            } catch (com.google.protobuf.UninitializedMessageException e) {
-              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 SecurityCenterProperties parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        Builder builder = newBuilder();
+        try {
+          builder.mergeFrom(input, extensionRegistry);
+        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+          throw e.setUnfinishedMessage(builder.buildPartial());
+        } catch (com.google.protobuf.UninitializedMessageException e) {
+          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;
@@ -2927,20 +2650,17 @@ public com.google.protobuf.Parser getParserForType() {
     }
 
     @java.lang.Override
-    public com.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties
-        getDefaultInstanceForType() {
+    public com.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
-  public interface IamPolicyOrBuilder
-      extends
+  public interface IamPolicyOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.cloud.securitycenter.v1.Asset.IamPolicy)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * The JSON representation of the Policy associated with the asset.
      * See https://cloud.google.com/iam/reference/rest/v1/Policy for format
@@ -2948,13 +2668,10 @@ public interface IamPolicyOrBuilder
      * 
* * string policy_blob = 1; - * * @return The policyBlob. */ java.lang.String getPolicyBlob(); /** - * - * *
      * The JSON representation of the Policy associated with the asset.
      * See https://cloud.google.com/iam/reference/rest/v1/Policy for format
@@ -2962,14 +2679,12 @@ public interface IamPolicyOrBuilder
      * 
* * string policy_blob = 1; - * * @return The bytes for policyBlob. */ - com.google.protobuf.ByteString getPolicyBlobBytes(); + com.google.protobuf.ByteString + getPolicyBlobBytes(); } /** - * - * *
    * Cloud IAM Policy information associated with the Google Cloud resource
    * described by the Security Command Center asset. This information is managed
@@ -2979,51 +2694,47 @@ public interface IamPolicyOrBuilder
    *
    * Protobuf type {@code google.cloud.securitycenter.v1.Asset.IamPolicy}
    */
-  public static final class IamPolicy extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class IamPolicy extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.securitycenter.v1.Asset.IamPolicy)
       IamPolicyOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use IamPolicy.newBuilder() to construct.
     private IamPolicy(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private IamPolicy() {
       policyBlob_ = "";
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new IamPolicy();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.securitycenter.v1.AssetOuterClass
-          .internal_static_google_cloud_securitycenter_v1_Asset_IamPolicy_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.securitycenter.v1.AssetOuterClass.internal_static_google_cloud_securitycenter_v1_Asset_IamPolicy_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.securitycenter.v1.AssetOuterClass
-          .internal_static_google_cloud_securitycenter_v1_Asset_IamPolicy_fieldAccessorTable
+      return com.google.cloud.securitycenter.v1.AssetOuterClass.internal_static_google_cloud_securitycenter_v1_Asset_IamPolicy_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.securitycenter.v1.Asset.IamPolicy.class,
-              com.google.cloud.securitycenter.v1.Asset.IamPolicy.Builder.class);
+              com.google.cloud.securitycenter.v1.Asset.IamPolicy.class, com.google.cloud.securitycenter.v1.Asset.IamPolicy.Builder.class);
     }
 
     public static final int POLICY_BLOB_FIELD_NUMBER = 1;
     private volatile java.lang.Object policyBlob_;
     /**
-     *
-     *
      * 
      * The JSON representation of the Policy associated with the asset.
      * See https://cloud.google.com/iam/reference/rest/v1/Policy for format
@@ -3031,7 +2742,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * string policy_blob = 1; - * * @return The policyBlob. */ @java.lang.Override @@ -3040,15 +2750,14 @@ public java.lang.String getPolicyBlob() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); policyBlob_ = s; return s; } } /** - * - * *
      * The JSON representation of the Policy associated with the asset.
      * See https://cloud.google.com/iam/reference/rest/v1/Policy for format
@@ -3056,15 +2765,16 @@ public java.lang.String getPolicyBlob() {
      * 
* * string policy_blob = 1; - * * @return The bytes for policyBlob. */ @java.lang.Override - public com.google.protobuf.ByteString getPolicyBlobBytes() { + public com.google.protobuf.ByteString + getPolicyBlobBytes() { java.lang.Object ref = policyBlob_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); policyBlob_ = b; return b; } else { @@ -3073,7 +2783,6 @@ public com.google.protobuf.ByteString getPolicyBlobBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3085,7 +2794,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(policyBlob_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, policyBlob_); } @@ -3109,15 +2819,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.securitycenter.v1.Asset.IamPolicy)) { return super.equals(obj); } - com.google.cloud.securitycenter.v1.Asset.IamPolicy other = - (com.google.cloud.securitycenter.v1.Asset.IamPolicy) obj; + com.google.cloud.securitycenter.v1.Asset.IamPolicy other = (com.google.cloud.securitycenter.v1.Asset.IamPolicy) obj; - if (!getPolicyBlob().equals(other.getPolicyBlob())) return false; + if (!getPolicyBlob() + .equals(other.getPolicyBlob())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -3137,93 +2847,87 @@ public int hashCode() { } public static com.google.cloud.securitycenter.v1.Asset.IamPolicy parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.Asset.IamPolicy parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.Asset.IamPolicy parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.Asset.IamPolicy parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.Asset.IamPolicy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.Asset.IamPolicy parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.securitycenter.v1.Asset.IamPolicy parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.securitycenter.v1.Asset.IamPolicy parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.Asset.IamPolicy parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.securitycenter.v1.Asset.IamPolicy parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.securitycenter.v1.Asset.IamPolicy parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.Asset.IamPolicy parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.Asset.IamPolicy parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.Asset.IamPolicy parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.securitycenter.v1.Asset.IamPolicy prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -3233,8 +2937,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Cloud IAM Policy information associated with the Google Cloud resource
      * described by the Security Command Center asset. This information is managed
@@ -3244,33 +2946,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.securitycenter.v1.Asset.IamPolicy}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.securitycenter.v1.Asset.IamPolicy)
         com.google.cloud.securitycenter.v1.Asset.IamPolicyOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.securitycenter.v1.AssetOuterClass
-            .internal_static_google_cloud_securitycenter_v1_Asset_IamPolicy_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.securitycenter.v1.AssetOuterClass.internal_static_google_cloud_securitycenter_v1_Asset_IamPolicy_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.securitycenter.v1.AssetOuterClass
-            .internal_static_google_cloud_securitycenter_v1_Asset_IamPolicy_fieldAccessorTable
+        return com.google.cloud.securitycenter.v1.AssetOuterClass.internal_static_google_cloud_securitycenter_v1_Asset_IamPolicy_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.securitycenter.v1.Asset.IamPolicy.class,
-                com.google.cloud.securitycenter.v1.Asset.IamPolicy.Builder.class);
+                com.google.cloud.securitycenter.v1.Asset.IamPolicy.class, com.google.cloud.securitycenter.v1.Asset.IamPolicy.Builder.class);
       }
 
       // Construct using com.google.cloud.securitycenter.v1.Asset.IamPolicy.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();
@@ -3280,9 +2982,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.securitycenter.v1.AssetOuterClass
-            .internal_static_google_cloud_securitycenter_v1_Asset_IamPolicy_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.securitycenter.v1.AssetOuterClass.internal_static_google_cloud_securitycenter_v1_Asset_IamPolicy_descriptor;
       }
 
       @java.lang.Override
@@ -3301,8 +3003,7 @@ public com.google.cloud.securitycenter.v1.Asset.IamPolicy build() {
 
       @java.lang.Override
       public com.google.cloud.securitycenter.v1.Asset.IamPolicy buildPartial() {
-        com.google.cloud.securitycenter.v1.Asset.IamPolicy result =
-            new com.google.cloud.securitycenter.v1.Asset.IamPolicy(this);
+        com.google.cloud.securitycenter.v1.Asset.IamPolicy result = new com.google.cloud.securitycenter.v1.Asset.IamPolicy(this);
         result.policyBlob_ = policyBlob_;
         onBuilt();
         return result;
@@ -3312,41 +3013,38 @@ public com.google.cloud.securitycenter.v1.Asset.IamPolicy buildPartial() {
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.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.securitycenter.v1.Asset.IamPolicy) {
-          return mergeFrom((com.google.cloud.securitycenter.v1.Asset.IamPolicy) other);
+          return mergeFrom((com.google.cloud.securitycenter.v1.Asset.IamPolicy)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -3354,8 +3052,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.securitycenter.v1.Asset.IamPolicy other) {
-        if (other == com.google.cloud.securitycenter.v1.Asset.IamPolicy.getDefaultInstance())
-          return this;
+        if (other == com.google.cloud.securitycenter.v1.Asset.IamPolicy.getDefaultInstance()) return this;
         if (!other.getPolicyBlob().isEmpty()) {
           policyBlob_ = other.policyBlob_;
           onChanged();
@@ -3386,19 +3083,17 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10:
-                {
-                  policyBlob_ = input.readStringRequireUtf8();
-
-                  break;
-                } // case 10
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+              case 10: {
+                policyBlob_ = input.readStringRequireUtf8();
+
+                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) {
@@ -3411,8 +3106,6 @@ public Builder mergeFrom(
 
       private java.lang.Object policyBlob_ = "";
       /**
-       *
-       *
        * 
        * The JSON representation of the Policy associated with the asset.
        * See https://cloud.google.com/iam/reference/rest/v1/Policy for format
@@ -3420,13 +3113,13 @@ public Builder mergeFrom(
        * 
* * string policy_blob = 1; - * * @return The policyBlob. */ public java.lang.String getPolicyBlob() { java.lang.Object ref = policyBlob_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); policyBlob_ = s; return s; @@ -3435,8 +3128,6 @@ public java.lang.String getPolicyBlob() { } } /** - * - * *
        * The JSON representation of the Policy associated with the asset.
        * See https://cloud.google.com/iam/reference/rest/v1/Policy for format
@@ -3444,14 +3135,15 @@ public java.lang.String getPolicyBlob() {
        * 
* * string policy_blob = 1; - * * @return The bytes for policyBlob. */ - public com.google.protobuf.ByteString getPolicyBlobBytes() { + public com.google.protobuf.ByteString + getPolicyBlobBytes() { java.lang.Object ref = policyBlob_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); policyBlob_ = b; return b; } else { @@ -3459,8 +3151,6 @@ public com.google.protobuf.ByteString getPolicyBlobBytes() { } } /** - * - * *
        * The JSON representation of the Policy associated with the asset.
        * See https://cloud.google.com/iam/reference/rest/v1/Policy for format
@@ -3468,22 +3158,20 @@ public com.google.protobuf.ByteString getPolicyBlobBytes() {
        * 
* * string policy_blob = 1; - * * @param value The policyBlob to set. * @return This builder for chaining. */ - public Builder setPolicyBlob(java.lang.String value) { + public Builder setPolicyBlob( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + policyBlob_ = value; onChanged(); return this; } /** - * - * *
        * The JSON representation of the Policy associated with the asset.
        * See https://cloud.google.com/iam/reference/rest/v1/Policy for format
@@ -3491,18 +3179,15 @@ public Builder setPolicyBlob(java.lang.String value) {
        * 
* * string policy_blob = 1; - * * @return This builder for chaining. */ public Builder clearPolicyBlob() { - + policyBlob_ = getDefaultInstance().getPolicyBlob(); onChanged(); return this; } /** - * - * *
        * The JSON representation of the Policy associated with the asset.
        * See https://cloud.google.com/iam/reference/rest/v1/Policy for format
@@ -3510,21 +3195,20 @@ public Builder clearPolicyBlob() {
        * 
* * string policy_blob = 1; - * * @param value The bytes for policyBlob to set. * @return This builder for chaining. */ - public Builder setPolicyBlobBytes(com.google.protobuf.ByteString value) { + public Builder setPolicyBlobBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + policyBlob_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3537,12 +3221,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.securitycenter.v1.Asset.IamPolicy) } // @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1.Asset.IamPolicy) private static final com.google.cloud.securitycenter.v1.Asset.IamPolicy DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.securitycenter.v1.Asset.IamPolicy(); } @@ -3551,28 +3235,27 @@ public static com.google.cloud.securitycenter.v1.Asset.IamPolicy getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IamPolicy parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - 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 IamPolicy parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + 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; @@ -3587,13 +3270,12 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.securitycenter.v1.Asset.IamPolicy getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * The relative resource name of this asset. See:
    * https://cloud.google.com/apis/design/resource_names#relative_resource_name
@@ -3602,7 +3284,6 @@ public com.google.cloud.securitycenter.v1.Asset.IamPolicy getDefaultInstanceForT
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -3611,15 +3292,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The relative resource name of this asset. See:
    * https://cloud.google.com/apis/design/resource_names#relative_resource_name
@@ -3628,15 +3308,16 @@ public java.lang.String getName() {
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -3645,20 +3326,14 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int SECURITY_CENTER_PROPERTIES_FIELD_NUMBER = 2; - private com.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties - securityCenterProperties_; + private com.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties securityCenterProperties_; /** - * - * *
    * Security Command Center managed properties. These properties are managed by
    * Security Command Center and cannot be modified by the user.
    * 
* - * - * .google.cloud.securitycenter.v1.Asset.SecurityCenterProperties security_center_properties = 2; - * - * + * .google.cloud.securitycenter.v1.Asset.SecurityCenterProperties security_center_properties = 2; * @return Whether the securityCenterProperties field is set. */ @java.lang.Override @@ -3666,64 +3341,47 @@ public boolean hasSecurityCenterProperties() { return securityCenterProperties_ != null; } /** - * - * *
    * Security Command Center managed properties. These properties are managed by
    * Security Command Center and cannot be modified by the user.
    * 
* - * - * .google.cloud.securitycenter.v1.Asset.SecurityCenterProperties security_center_properties = 2; - * - * + * .google.cloud.securitycenter.v1.Asset.SecurityCenterProperties security_center_properties = 2; * @return The securityCenterProperties. */ @java.lang.Override - public com.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties - getSecurityCenterProperties() { - return securityCenterProperties_ == null - ? com.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties.getDefaultInstance() - : securityCenterProperties_; + public com.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties getSecurityCenterProperties() { + return securityCenterProperties_ == null ? com.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties.getDefaultInstance() : securityCenterProperties_; } /** - * - * *
    * Security Command Center managed properties. These properties are managed by
    * Security Command Center and cannot be modified by the user.
    * 
* - * - * .google.cloud.securitycenter.v1.Asset.SecurityCenterProperties security_center_properties = 2; - * + * .google.cloud.securitycenter.v1.Asset.SecurityCenterProperties security_center_properties = 2; */ @java.lang.Override - public com.google.cloud.securitycenter.v1.Asset.SecurityCenterPropertiesOrBuilder - getSecurityCenterPropertiesOrBuilder() { + public com.google.cloud.securitycenter.v1.Asset.SecurityCenterPropertiesOrBuilder getSecurityCenterPropertiesOrBuilder() { return getSecurityCenterProperties(); } public static final int RESOURCE_PROPERTIES_FIELD_NUMBER = 7; - private static final class ResourcePropertiesDefaultEntryHolder { - static final com.google.protobuf.MapEntry - defaultEntry = + static final com.google.protobuf.MapEntry< + java.lang.String, com.google.protobuf.Value> defaultEntry = com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.securitycenter.v1.AssetOuterClass - .internal_static_google_cloud_securitycenter_v1_Asset_ResourcePropertiesEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - com.google.protobuf.Value.getDefaultInstance()); + .newDefaultInstance( + com.google.cloud.securitycenter.v1.AssetOuterClass.internal_static_google_cloud_securitycenter_v1_Asset_ResourcePropertiesEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.protobuf.Value.getDefaultInstance()); } - - private com.google.protobuf.MapField - resourceProperties_; - + private com.google.protobuf.MapField< + java.lang.String, com.google.protobuf.Value> resourceProperties_; private com.google.protobuf.MapField - internalGetResourceProperties() { + internalGetResourceProperties() { if (resourceProperties_ == null) { return com.google.protobuf.MapField.emptyMapField( ResourcePropertiesDefaultEntryHolder.defaultEntry); @@ -3735,8 +3393,6 @@ public int getResourcePropertiesCount() { return internalGetResourceProperties().getMap().size(); } /** - * - * *
    * Resource managed properties. These properties are managed and defined by
    * the Google Cloud resource and cannot be modified by the user.
@@ -3744,22 +3400,22 @@ public int getResourcePropertiesCount() {
    *
    * map<string, .google.protobuf.Value> resource_properties = 7;
    */
+
   @java.lang.Override
-  public boolean containsResourceProperties(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsResourceProperties(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetResourceProperties().getMap().containsKey(key);
   }
-  /** Use {@link #getResourcePropertiesMap()} instead. */
+  /**
+   * Use {@link #getResourcePropertiesMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getResourceProperties() {
     return getResourcePropertiesMap();
   }
   /**
-   *
-   *
    * 
    * Resource managed properties. These properties are managed and defined by
    * the Google Cloud resource and cannot be modified by the user.
@@ -3768,12 +3424,11 @@ public java.util.Map getResourcePro
    * map<string, .google.protobuf.Value> resource_properties = 7;
    */
   @java.lang.Override
+
   public java.util.Map getResourcePropertiesMap() {
     return internalGetResourceProperties().getMap();
   }
   /**
-   *
-   *
    * 
    * Resource managed properties. These properties are managed and defined by
    * the Google Cloud resource and cannot be modified by the user.
@@ -3782,18 +3437,16 @@ public java.util.Map getResourcePro
    * map<string, .google.protobuf.Value> resource_properties = 7;
    */
   @java.lang.Override
+
   public com.google.protobuf.Value getResourcePropertiesOrDefault(
-      java.lang.String key, com.google.protobuf.Value defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+      java.lang.String key,
+      com.google.protobuf.Value defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
     java.util.Map map =
         internalGetResourceProperties().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * Resource managed properties. These properties are managed and defined by
    * the Google Cloud resource and cannot be modified by the user.
@@ -3802,10 +3455,10 @@ public com.google.protobuf.Value getResourcePropertiesOrDefault(
    * map<string, .google.protobuf.Value> resource_properties = 7;
    */
   @java.lang.Override
-  public com.google.protobuf.Value getResourcePropertiesOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+
+  public com.google.protobuf.Value getResourcePropertiesOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     java.util.Map map =
         internalGetResourceProperties().getMap();
     if (!map.containsKey(key)) {
@@ -3817,15 +3470,12 @@ public com.google.protobuf.Value getResourcePropertiesOrThrow(java.lang.String k
   public static final int SECURITY_MARKS_FIELD_NUMBER = 8;
   private com.google.cloud.securitycenter.v1.SecurityMarks securityMarks_;
   /**
-   *
-   *
    * 
    * User specified security marks. These marks are entirely managed by the user
    * and come from the SecurityMarks resource that belongs to the asset.
    * 
* * .google.cloud.securitycenter.v1.SecurityMarks security_marks = 8; - * * @return Whether the securityMarks field is set. */ @java.lang.Override @@ -3833,26 +3483,19 @@ public boolean hasSecurityMarks() { return securityMarks_ != null; } /** - * - * *
    * User specified security marks. These marks are entirely managed by the user
    * and come from the SecurityMarks resource that belongs to the asset.
    * 
* * .google.cloud.securitycenter.v1.SecurityMarks security_marks = 8; - * * @return The securityMarks. */ @java.lang.Override public com.google.cloud.securitycenter.v1.SecurityMarks getSecurityMarks() { - return securityMarks_ == null - ? com.google.cloud.securitycenter.v1.SecurityMarks.getDefaultInstance() - : securityMarks_; + return securityMarks_ == null ? com.google.cloud.securitycenter.v1.SecurityMarks.getDefaultInstance() : securityMarks_; } /** - * - * *
    * User specified security marks. These marks are entirely managed by the user
    * and come from the SecurityMarks resource that belongs to the asset.
@@ -3868,14 +3511,11 @@ public com.google.cloud.securitycenter.v1.SecurityMarksOrBuilder getSecurityMark
   public static final int CREATE_TIME_FIELD_NUMBER = 9;
   private com.google.protobuf.Timestamp createTime_;
   /**
-   *
-   *
    * 
    * The time at which the asset was created in Security Command Center.
    * 
* * .google.protobuf.Timestamp create_time = 9; - * * @return Whether the createTime field is set. */ @java.lang.Override @@ -3883,14 +3523,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * The time at which the asset was created in Security Command Center.
    * 
* * .google.protobuf.Timestamp create_time = 9; - * * @return The createTime. */ @java.lang.Override @@ -3898,8 +3535,6 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * The time at which the asset was created in Security Command Center.
    * 
@@ -3914,14 +3549,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 10; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * The time at which the asset was last updated or added in Cloud SCC.
    * 
* * .google.protobuf.Timestamp update_time = 10; - * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -3929,14 +3561,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * The time at which the asset was last updated or added in Cloud SCC.
    * 
* * .google.protobuf.Timestamp update_time = 10; - * * @return The updateTime. */ @java.lang.Override @@ -3944,8 +3573,6 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * The time at which the asset was last updated or added in Cloud SCC.
    * 
@@ -3960,8 +3587,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int IAM_POLICY_FIELD_NUMBER = 11; private com.google.cloud.securitycenter.v1.Asset.IamPolicy iamPolicy_; /** - * - * *
    * Cloud IAM Policy information associated with the Google Cloud resource
    * described by the Security Command Center asset. This information is managed
@@ -3970,7 +3595,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
    * 
* * .google.cloud.securitycenter.v1.Asset.IamPolicy iam_policy = 11; - * * @return Whether the iamPolicy field is set. */ @java.lang.Override @@ -3978,8 +3602,6 @@ public boolean hasIamPolicy() { return iamPolicy_ != null; } /** - * - * *
    * Cloud IAM Policy information associated with the Google Cloud resource
    * described by the Security Command Center asset. This information is managed
@@ -3988,18 +3610,13 @@ public boolean hasIamPolicy() {
    * 
* * .google.cloud.securitycenter.v1.Asset.IamPolicy iam_policy = 11; - * * @return The iamPolicy. */ @java.lang.Override public com.google.cloud.securitycenter.v1.Asset.IamPolicy getIamPolicy() { - return iamPolicy_ == null - ? com.google.cloud.securitycenter.v1.Asset.IamPolicy.getDefaultInstance() - : iamPolicy_; + return iamPolicy_ == null ? com.google.cloud.securitycenter.v1.Asset.IamPolicy.getDefaultInstance() : iamPolicy_; } /** - * - * *
    * Cloud IAM Policy information associated with the Google Cloud resource
    * described by the Security Command Center asset. This information is managed
@@ -4017,8 +3634,6 @@ public com.google.cloud.securitycenter.v1.Asset.IamPolicyOrBuilder getIamPolicyO
   public static final int CANONICAL_NAME_FIELD_NUMBER = 13;
   private volatile java.lang.Object canonicalName_;
   /**
-   *
-   *
    * 
    * The canonical name of the resource. It's either
    * "organizations/{organization_id}/assets/{asset_id}",
@@ -4028,7 +3643,6 @@ public com.google.cloud.securitycenter.v1.Asset.IamPolicyOrBuilder getIamPolicyO
    * 
* * string canonical_name = 13; - * * @return The canonicalName. */ @java.lang.Override @@ -4037,15 +3651,14 @@ public java.lang.String getCanonicalName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); canonicalName_ = s; return s; } } /** - * - * *
    * The canonical name of the resource. It's either
    * "organizations/{organization_id}/assets/{asset_id}",
@@ -4055,15 +3668,16 @@ public java.lang.String getCanonicalName() {
    * 
* * string canonical_name = 13; - * * @return The bytes for canonicalName. */ @java.lang.Override - public com.google.protobuf.ByteString getCanonicalNameBytes() { + public com.google.protobuf.ByteString + getCanonicalNameBytes() { java.lang.Object ref = canonicalName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); canonicalName_ = b; return b; } else { @@ -4072,7 +3686,6 @@ public com.google.protobuf.ByteString getCanonicalNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -4084,14 +3697,16 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } if (securityCenterProperties_ != null) { output.writeMessage(2, getSecurityCenterProperties()); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( output, internalGetResourceProperties(), ResourcePropertiesDefaultEntryHolder.defaultEntry, @@ -4124,32 +3739,34 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (securityCenterProperties_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, getSecurityCenterProperties()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getSecurityCenterProperties()); } - for (java.util.Map.Entry entry : - internalGetResourceProperties().getMap().entrySet()) { + for (java.util.Map.Entry entry + : internalGetResourceProperties().getMap().entrySet()) { com.google.protobuf.MapEntry - resourceProperties__ = - ResourcePropertiesDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, resourceProperties__); + resourceProperties__ = ResourcePropertiesDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, resourceProperties__); } if (securityMarks_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getSecurityMarks()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, getSecurityMarks()); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(10, getUpdateTime()); } if (iamPolicy_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, getIamPolicy()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(11, getIamPolicy()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(canonicalName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, canonicalName_); @@ -4162,37 +3779,44 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.securitycenter.v1.Asset)) { return super.equals(obj); } com.google.cloud.securitycenter.v1.Asset other = (com.google.cloud.securitycenter.v1.Asset) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasSecurityCenterProperties() != other.hasSecurityCenterProperties()) return false; if (hasSecurityCenterProperties()) { - if (!getSecurityCenterProperties().equals(other.getSecurityCenterProperties())) return false; + if (!getSecurityCenterProperties() + .equals(other.getSecurityCenterProperties())) return false; } - if (!internalGetResourceProperties().equals(other.internalGetResourceProperties())) - return false; + if (!internalGetResourceProperties().equals( + other.internalGetResourceProperties())) return false; if (hasSecurityMarks() != other.hasSecurityMarks()) return false; if (hasSecurityMarks()) { - if (!getSecurityMarks().equals(other.getSecurityMarks())) return false; + if (!getSecurityMarks() + .equals(other.getSecurityMarks())) return false; } if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime().equals(other.getUpdateTime())) return false; + if (!getUpdateTime() + .equals(other.getUpdateTime())) return false; } if (hasIamPolicy() != other.hasIamPolicy()) return false; if (hasIamPolicy()) { - if (!getIamPolicy().equals(other.getIamPolicy())) return false; + if (!getIamPolicy() + .equals(other.getIamPolicy())) return false; } - if (!getCanonicalName().equals(other.getCanonicalName())) return false; + if (!getCanonicalName() + .equals(other.getCanonicalName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -4237,104 +3861,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.securitycenter.v1.Asset parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.securitycenter.v1.Asset parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.Asset parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.Asset parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.Asset parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.Asset parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.Asset parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.Asset parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.Asset parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.securitycenter.v1.Asset parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.securitycenter.v1.Asset parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.Asset parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.Asset parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.Asset parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.securitycenter.v1.Asset prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Security Command Center representation of a Google Cloud
    * resource.
@@ -4346,52 +3963,55 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.securitycenter.v1.Asset}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.securitycenter.v1.Asset)
       com.google.cloud.securitycenter.v1.AssetOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.securitycenter.v1.AssetOuterClass
-          .internal_static_google_cloud_securitycenter_v1_Asset_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.securitycenter.v1.AssetOuterClass.internal_static_google_cloud_securitycenter_v1_Asset_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMapField(
+        int number) {
       switch (number) {
         case 7:
           return internalGetResourceProperties();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(
+        int number) {
       switch (number) {
         case 7:
           return internalGetMutableResourceProperties();
         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.securitycenter.v1.AssetOuterClass
-          .internal_static_google_cloud_securitycenter_v1_Asset_fieldAccessorTable
+      return com.google.cloud.securitycenter.v1.AssetOuterClass.internal_static_google_cloud_securitycenter_v1_Asset_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.securitycenter.v1.Asset.class,
-              com.google.cloud.securitycenter.v1.Asset.Builder.class);
+              com.google.cloud.securitycenter.v1.Asset.class, com.google.cloud.securitycenter.v1.Asset.Builder.class);
     }
 
     // Construct using com.google.cloud.securitycenter.v1.Asset.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();
@@ -4434,9 +4054,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.securitycenter.v1.AssetOuterClass
-          .internal_static_google_cloud_securitycenter_v1_Asset_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.securitycenter.v1.AssetOuterClass.internal_static_google_cloud_securitycenter_v1_Asset_descriptor;
     }
 
     @java.lang.Override
@@ -4455,8 +4075,7 @@ public com.google.cloud.securitycenter.v1.Asset build() {
 
     @java.lang.Override
     public com.google.cloud.securitycenter.v1.Asset buildPartial() {
-      com.google.cloud.securitycenter.v1.Asset result =
-          new com.google.cloud.securitycenter.v1.Asset(this);
+      com.google.cloud.securitycenter.v1.Asset result = new com.google.cloud.securitycenter.v1.Asset(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       if (securityCenterPropertiesBuilder_ == null) {
@@ -4495,39 +4114,38 @@ public com.google.cloud.securitycenter.v1.Asset buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.securitycenter.v1.Asset) {
-        return mergeFrom((com.google.cloud.securitycenter.v1.Asset) other);
+        return mergeFrom((com.google.cloud.securitycenter.v1.Asset)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -4543,7 +4161,8 @@ public Builder mergeFrom(com.google.cloud.securitycenter.v1.Asset other) {
       if (other.hasSecurityCenterProperties()) {
         mergeSecurityCenterProperties(other.getSecurityCenterProperties());
       }
-      internalGetMutableResourceProperties().mergeFrom(other.internalGetResourceProperties());
+      internalGetMutableResourceProperties().mergeFrom(
+          other.internalGetResourceProperties());
       if (other.hasSecurityMarks()) {
         mergeSecurityMarks(other.getSecurityMarks());
       }
@@ -4586,68 +4205,65 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
+            case 10: {
+              name_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(
-                    getSecurityCenterPropertiesFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getSecurityCenterPropertiesFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 18
-            case 58:
-              {
-                com.google.protobuf.MapEntry
-                    resourceProperties__ =
-                        input.readMessage(
-                            ResourcePropertiesDefaultEntryHolder.defaultEntry.getParserForType(),
-                            extensionRegistry);
-                internalGetMutableResourceProperties()
-                    .getMutableMap()
-                    .put(resourceProperties__.getKey(), resourceProperties__.getValue());
-                break;
-              } // case 58
-            case 66:
-              {
-                input.readMessage(getSecurityMarksFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 18
+            case 58: {
+              com.google.protobuf.MapEntry
+              resourceProperties__ = input.readMessage(
+                  ResourcePropertiesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              internalGetMutableResourceProperties().getMutableMap().put(
+                  resourceProperties__.getKey(), resourceProperties__.getValue());
+              break;
+            } // case 58
+            case 66: {
+              input.readMessage(
+                  getSecurityMarksFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 66
-            case 74:
-              {
-                input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 66
+            case 74: {
+              input.readMessage(
+                  getCreateTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 74
-            case 82:
-              {
-                input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 74
+            case 82: {
+              input.readMessage(
+                  getUpdateTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 82
-            case 90:
-              {
-                input.readMessage(getIamPolicyFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 82
+            case 90: {
+              input.readMessage(
+                  getIamPolicyFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 90
-            case 106:
-              {
-                canonicalName_ = input.readStringRequireUtf8();
+              break;
+            } // case 90
+            case 106: {
+              canonicalName_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 106
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              break;
+            } // case 106
+            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) {
@@ -4657,13 +4273,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * The relative resource name of this asset. See:
      * https://cloud.google.com/apis/design/resource_names#relative_resource_name
@@ -4672,13 +4285,13 @@ public Builder mergeFrom(
      * 
* * string name = 1; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -4687,8 +4300,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The relative resource name of this asset. See:
      * https://cloud.google.com/apis/design/resource_names#relative_resource_name
@@ -4697,14 +4308,15 @@ public java.lang.String getName() {
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -4712,8 +4324,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The relative resource name of this asset. See:
      * https://cloud.google.com/apis/design/resource_names#relative_resource_name
@@ -4722,22 +4332,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The relative resource name of this asset. See:
      * https://cloud.google.com/apis/design/resource_names#relative_resource_name
@@ -4746,18 +4354,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The relative resource name of this asset. See:
      * https://cloud.google.com/apis/design/resource_names#relative_resource_name
@@ -4766,83 +4371,61 @@ public Builder clearName() {
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - private com.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties - securityCenterProperties_; + private com.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties securityCenterProperties_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties, - com.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties.Builder, - com.google.cloud.securitycenter.v1.Asset.SecurityCenterPropertiesOrBuilder> - securityCenterPropertiesBuilder_; + com.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties, com.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties.Builder, com.google.cloud.securitycenter.v1.Asset.SecurityCenterPropertiesOrBuilder> securityCenterPropertiesBuilder_; /** - * - * *
      * Security Command Center managed properties. These properties are managed by
      * Security Command Center and cannot be modified by the user.
      * 
* - * - * .google.cloud.securitycenter.v1.Asset.SecurityCenterProperties security_center_properties = 2; - * - * + * .google.cloud.securitycenter.v1.Asset.SecurityCenterProperties security_center_properties = 2; * @return Whether the securityCenterProperties field is set. */ public boolean hasSecurityCenterProperties() { return securityCenterPropertiesBuilder_ != null || securityCenterProperties_ != null; } /** - * - * *
      * Security Command Center managed properties. These properties are managed by
      * Security Command Center and cannot be modified by the user.
      * 
* - * - * .google.cloud.securitycenter.v1.Asset.SecurityCenterProperties security_center_properties = 2; - * - * + * .google.cloud.securitycenter.v1.Asset.SecurityCenterProperties security_center_properties = 2; * @return The securityCenterProperties. */ - public com.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties - getSecurityCenterProperties() { + public com.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties getSecurityCenterProperties() { if (securityCenterPropertiesBuilder_ == null) { - return securityCenterProperties_ == null - ? com.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties.getDefaultInstance() - : securityCenterProperties_; + return securityCenterProperties_ == null ? com.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties.getDefaultInstance() : securityCenterProperties_; } else { return securityCenterPropertiesBuilder_.getMessage(); } } /** - * - * *
      * Security Command Center managed properties. These properties are managed by
      * Security Command Center and cannot be modified by the user.
      * 
* - * - * .google.cloud.securitycenter.v1.Asset.SecurityCenterProperties security_center_properties = 2; - * + * .google.cloud.securitycenter.v1.Asset.SecurityCenterProperties security_center_properties = 2; */ - public Builder setSecurityCenterProperties( - com.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties value) { + public Builder setSecurityCenterProperties(com.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties value) { if (securityCenterPropertiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4856,16 +4439,12 @@ public Builder setSecurityCenterProperties( return this; } /** - * - * *
      * Security Command Center managed properties. These properties are managed by
      * Security Command Center and cannot be modified by the user.
      * 
* - * - * .google.cloud.securitycenter.v1.Asset.SecurityCenterProperties security_center_properties = 2; - * + * .google.cloud.securitycenter.v1.Asset.SecurityCenterProperties security_center_properties = 2; */ public Builder setSecurityCenterProperties( com.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties.Builder builderForValue) { @@ -4879,26 +4458,18 @@ public Builder setSecurityCenterProperties( return this; } /** - * - * *
      * Security Command Center managed properties. These properties are managed by
      * Security Command Center and cannot be modified by the user.
      * 
* - * - * .google.cloud.securitycenter.v1.Asset.SecurityCenterProperties security_center_properties = 2; - * + * .google.cloud.securitycenter.v1.Asset.SecurityCenterProperties security_center_properties = 2; */ - public Builder mergeSecurityCenterProperties( - com.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties value) { + public Builder mergeSecurityCenterProperties(com.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties value) { if (securityCenterPropertiesBuilder_ == null) { if (securityCenterProperties_ != null) { securityCenterProperties_ = - com.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties.newBuilder( - securityCenterProperties_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties.newBuilder(securityCenterProperties_).mergeFrom(value).buildPartial(); } else { securityCenterProperties_ = value; } @@ -4910,16 +4481,12 @@ public Builder mergeSecurityCenterProperties( return this; } /** - * - * *
      * Security Command Center managed properties. These properties are managed by
      * Security Command Center and cannot be modified by the user.
      * 
* - * - * .google.cloud.securitycenter.v1.Asset.SecurityCenterProperties security_center_properties = 2; - * + * .google.cloud.securitycenter.v1.Asset.SecurityCenterProperties security_center_properties = 2; */ public Builder clearSecurityCenterProperties() { if (securityCenterPropertiesBuilder_ == null) { @@ -4933,94 +4500,72 @@ public Builder clearSecurityCenterProperties() { return this; } /** - * - * *
      * Security Command Center managed properties. These properties are managed by
      * Security Command Center and cannot be modified by the user.
      * 
* - * - * .google.cloud.securitycenter.v1.Asset.SecurityCenterProperties security_center_properties = 2; - * + * .google.cloud.securitycenter.v1.Asset.SecurityCenterProperties security_center_properties = 2; */ - public com.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties.Builder - getSecurityCenterPropertiesBuilder() { - + public com.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties.Builder getSecurityCenterPropertiesBuilder() { + onChanged(); return getSecurityCenterPropertiesFieldBuilder().getBuilder(); } /** - * - * *
      * Security Command Center managed properties. These properties are managed by
      * Security Command Center and cannot be modified by the user.
      * 
* - * - * .google.cloud.securitycenter.v1.Asset.SecurityCenterProperties security_center_properties = 2; - * + * .google.cloud.securitycenter.v1.Asset.SecurityCenterProperties security_center_properties = 2; */ - public com.google.cloud.securitycenter.v1.Asset.SecurityCenterPropertiesOrBuilder - getSecurityCenterPropertiesOrBuilder() { + public com.google.cloud.securitycenter.v1.Asset.SecurityCenterPropertiesOrBuilder getSecurityCenterPropertiesOrBuilder() { if (securityCenterPropertiesBuilder_ != null) { return securityCenterPropertiesBuilder_.getMessageOrBuilder(); } else { - return securityCenterProperties_ == null - ? com.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties.getDefaultInstance() - : securityCenterProperties_; + return securityCenterProperties_ == null ? + com.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties.getDefaultInstance() : securityCenterProperties_; } } /** - * - * *
      * Security Command Center managed properties. These properties are managed by
      * Security Command Center and cannot be modified by the user.
      * 
* - * - * .google.cloud.securitycenter.v1.Asset.SecurityCenterProperties security_center_properties = 2; - * + * .google.cloud.securitycenter.v1.Asset.SecurityCenterProperties security_center_properties = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties, - com.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties.Builder, - com.google.cloud.securitycenter.v1.Asset.SecurityCenterPropertiesOrBuilder> + com.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties, com.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties.Builder, com.google.cloud.securitycenter.v1.Asset.SecurityCenterPropertiesOrBuilder> getSecurityCenterPropertiesFieldBuilder() { if (securityCenterPropertiesBuilder_ == null) { - securityCenterPropertiesBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties, - com.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties.Builder, - com.google.cloud.securitycenter.v1.Asset.SecurityCenterPropertiesOrBuilder>( - getSecurityCenterProperties(), getParentForChildren(), isClean()); + securityCenterPropertiesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties, com.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties.Builder, com.google.cloud.securitycenter.v1.Asset.SecurityCenterPropertiesOrBuilder>( + getSecurityCenterProperties(), + getParentForChildren(), + isClean()); securityCenterProperties_ = null; } return securityCenterPropertiesBuilder_; } + private com.google.protobuf.MapField< + java.lang.String, com.google.protobuf.Value> resourceProperties_; private com.google.protobuf.MapField - resourceProperties_; - - private com.google.protobuf.MapField - internalGetResourceProperties() { + internalGetResourceProperties() { if (resourceProperties_ == null) { return com.google.protobuf.MapField.emptyMapField( ResourcePropertiesDefaultEntryHolder.defaultEntry); } return resourceProperties_; } - private com.google.protobuf.MapField - internalGetMutableResourceProperties() { - onChanged(); - ; + internalGetMutableResourceProperties() { + onChanged();; if (resourceProperties_ == null) { - resourceProperties_ = - com.google.protobuf.MapField.newMapField( - ResourcePropertiesDefaultEntryHolder.defaultEntry); + resourceProperties_ = com.google.protobuf.MapField.newMapField( + ResourcePropertiesDefaultEntryHolder.defaultEntry); } if (!resourceProperties_.isMutable()) { resourceProperties_ = resourceProperties_.copy(); @@ -5032,8 +4577,6 @@ public int getResourcePropertiesCount() { return internalGetResourceProperties().getMap().size(); } /** - * - * *
      * Resource managed properties. These properties are managed and defined by
      * the Google Cloud resource and cannot be modified by the user.
@@ -5041,22 +4584,22 @@ public int getResourcePropertiesCount() {
      *
      * map<string, .google.protobuf.Value> resource_properties = 7;
      */
+
     @java.lang.Override
-    public boolean containsResourceProperties(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsResourceProperties(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetResourceProperties().getMap().containsKey(key);
     }
-    /** Use {@link #getResourcePropertiesMap()} instead. */
+    /**
+     * Use {@link #getResourcePropertiesMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getResourceProperties() {
       return getResourcePropertiesMap();
     }
     /**
-     *
-     *
      * 
      * Resource managed properties. These properties are managed and defined by
      * the Google Cloud resource and cannot be modified by the user.
@@ -5065,12 +4608,11 @@ public java.util.Map getResourcePro
      * map<string, .google.protobuf.Value> resource_properties = 7;
      */
     @java.lang.Override
+
     public java.util.Map getResourcePropertiesMap() {
       return internalGetResourceProperties().getMap();
     }
     /**
-     *
-     *
      * 
      * Resource managed properties. These properties are managed and defined by
      * the Google Cloud resource and cannot be modified by the user.
@@ -5079,18 +4621,16 @@ public java.util.Map getResourcePro
      * map<string, .google.protobuf.Value> resource_properties = 7;
      */
     @java.lang.Override
+
     public com.google.protobuf.Value getResourcePropertiesOrDefault(
-        java.lang.String key, com.google.protobuf.Value defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+        java.lang.String key,
+        com.google.protobuf.Value defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
       java.util.Map map =
           internalGetResourceProperties().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * Resource managed properties. These properties are managed and defined by
      * the Google Cloud resource and cannot be modified by the user.
@@ -5099,10 +4639,10 @@ public com.google.protobuf.Value getResourcePropertiesOrDefault(
      * map<string, .google.protobuf.Value> resource_properties = 7;
      */
     @java.lang.Override
-    public com.google.protobuf.Value getResourcePropertiesOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+
+    public com.google.protobuf.Value getResourcePropertiesOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       java.util.Map map =
           internalGetResourceProperties().getMap();
       if (!map.containsKey(key)) {
@@ -5112,12 +4652,11 @@ public com.google.protobuf.Value getResourcePropertiesOrThrow(java.lang.String k
     }
 
     public Builder clearResourceProperties() {
-      internalGetMutableResourceProperties().getMutableMap().clear();
+      internalGetMutableResourceProperties().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * Resource managed properties. These properties are managed and defined by
      * the Google Cloud resource and cannot be modified by the user.
@@ -5125,22 +4664,23 @@ public Builder clearResourceProperties() {
      *
      * map<string, .google.protobuf.Value> resource_properties = 7;
      */
-    public Builder removeResourceProperties(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableResourceProperties().getMutableMap().remove(key);
+
+    public Builder removeResourceProperties(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableResourceProperties().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
     public java.util.Map
-        getMutableResourceProperties() {
+    getMutableResourceProperties() {
       return internalGetMutableResourceProperties().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * Resource managed properties. These properties are managed and defined by
      * the Google Cloud resource and cannot be modified by the user.
@@ -5148,20 +4688,19 @@ public Builder removeResourceProperties(java.lang.String key) {
      *
      * map<string, .google.protobuf.Value> resource_properties = 7;
      */
-    public Builder putResourceProperties(java.lang.String key, com.google.protobuf.Value value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public Builder putResourceProperties(
+        java.lang.String key,
+        com.google.protobuf.Value value) {
+      if (key == null) { throw new NullPointerException("map key"); }
       if (value == null) {
-        throw new NullPointerException("map value");
-      }
+  throw new NullPointerException("map value");
+}
 
-      internalGetMutableResourceProperties().getMutableMap().put(key, value);
+      internalGetMutableResourceProperties().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * Resource managed properties. These properties are managed and defined by
      * the Google Cloud resource and cannot be modified by the user.
@@ -5169,57 +4708,46 @@ public Builder putResourceProperties(java.lang.String key, com.google.protobuf.V
      *
      * map<string, .google.protobuf.Value> resource_properties = 7;
      */
+
     public Builder putAllResourceProperties(
         java.util.Map values) {
-      internalGetMutableResourceProperties().getMutableMap().putAll(values);
+      internalGetMutableResourceProperties().getMutableMap()
+          .putAll(values);
       return this;
     }
 
     private com.google.cloud.securitycenter.v1.SecurityMarks securityMarks_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.securitycenter.v1.SecurityMarks,
-            com.google.cloud.securitycenter.v1.SecurityMarks.Builder,
-            com.google.cloud.securitycenter.v1.SecurityMarksOrBuilder>
-        securityMarksBuilder_;
+        com.google.cloud.securitycenter.v1.SecurityMarks, com.google.cloud.securitycenter.v1.SecurityMarks.Builder, com.google.cloud.securitycenter.v1.SecurityMarksOrBuilder> securityMarksBuilder_;
     /**
-     *
-     *
      * 
      * User specified security marks. These marks are entirely managed by the user
      * and come from the SecurityMarks resource that belongs to the asset.
      * 
* * .google.cloud.securitycenter.v1.SecurityMarks security_marks = 8; - * * @return Whether the securityMarks field is set. */ public boolean hasSecurityMarks() { return securityMarksBuilder_ != null || securityMarks_ != null; } /** - * - * *
      * User specified security marks. These marks are entirely managed by the user
      * and come from the SecurityMarks resource that belongs to the asset.
      * 
* * .google.cloud.securitycenter.v1.SecurityMarks security_marks = 8; - * * @return The securityMarks. */ public com.google.cloud.securitycenter.v1.SecurityMarks getSecurityMarks() { if (securityMarksBuilder_ == null) { - return securityMarks_ == null - ? com.google.cloud.securitycenter.v1.SecurityMarks.getDefaultInstance() - : securityMarks_; + return securityMarks_ == null ? com.google.cloud.securitycenter.v1.SecurityMarks.getDefaultInstance() : securityMarks_; } else { return securityMarksBuilder_.getMessage(); } } /** - * - * *
      * User specified security marks. These marks are entirely managed by the user
      * and come from the SecurityMarks resource that belongs to the asset.
@@ -5241,8 +4769,6 @@ public Builder setSecurityMarks(com.google.cloud.securitycenter.v1.SecurityMarks
       return this;
     }
     /**
-     *
-     *
      * 
      * User specified security marks. These marks are entirely managed by the user
      * and come from the SecurityMarks resource that belongs to the asset.
@@ -5262,8 +4788,6 @@ public Builder setSecurityMarks(
       return this;
     }
     /**
-     *
-     *
      * 
      * User specified security marks. These marks are entirely managed by the user
      * and come from the SecurityMarks resource that belongs to the asset.
@@ -5275,9 +4799,7 @@ public Builder mergeSecurityMarks(com.google.cloud.securitycenter.v1.SecurityMar
       if (securityMarksBuilder_ == null) {
         if (securityMarks_ != null) {
           securityMarks_ =
-              com.google.cloud.securitycenter.v1.SecurityMarks.newBuilder(securityMarks_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.securitycenter.v1.SecurityMarks.newBuilder(securityMarks_).mergeFrom(value).buildPartial();
         } else {
           securityMarks_ = value;
         }
@@ -5289,8 +4811,6 @@ public Builder mergeSecurityMarks(com.google.cloud.securitycenter.v1.SecurityMar
       return this;
     }
     /**
-     *
-     *
      * 
      * User specified security marks. These marks are entirely managed by the user
      * and come from the SecurityMarks resource that belongs to the asset.
@@ -5310,8 +4830,6 @@ public Builder clearSecurityMarks() {
       return this;
     }
     /**
-     *
-     *
      * 
      * User specified security marks. These marks are entirely managed by the user
      * and come from the SecurityMarks resource that belongs to the asset.
@@ -5320,13 +4838,11 @@ public Builder clearSecurityMarks() {
      * .google.cloud.securitycenter.v1.SecurityMarks security_marks = 8;
      */
     public com.google.cloud.securitycenter.v1.SecurityMarks.Builder getSecurityMarksBuilder() {
-
+      
       onChanged();
       return getSecurityMarksFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * User specified security marks. These marks are entirely managed by the user
      * and come from the SecurityMarks resource that belongs to the asset.
@@ -5338,14 +4854,11 @@ public com.google.cloud.securitycenter.v1.SecurityMarksOrBuilder getSecurityMark
       if (securityMarksBuilder_ != null) {
         return securityMarksBuilder_.getMessageOrBuilder();
       } else {
-        return securityMarks_ == null
-            ? com.google.cloud.securitycenter.v1.SecurityMarks.getDefaultInstance()
-            : securityMarks_;
+        return securityMarks_ == null ?
+            com.google.cloud.securitycenter.v1.SecurityMarks.getDefaultInstance() : securityMarks_;
       }
     }
     /**
-     *
-     *
      * 
      * User specified security marks. These marks are entirely managed by the user
      * and come from the SecurityMarks resource that belongs to the asset.
@@ -5354,17 +4867,14 @@ public com.google.cloud.securitycenter.v1.SecurityMarksOrBuilder getSecurityMark
      * .google.cloud.securitycenter.v1.SecurityMarks security_marks = 8;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.securitycenter.v1.SecurityMarks,
-            com.google.cloud.securitycenter.v1.SecurityMarks.Builder,
-            com.google.cloud.securitycenter.v1.SecurityMarksOrBuilder>
+        com.google.cloud.securitycenter.v1.SecurityMarks, com.google.cloud.securitycenter.v1.SecurityMarks.Builder, com.google.cloud.securitycenter.v1.SecurityMarksOrBuilder> 
         getSecurityMarksFieldBuilder() {
       if (securityMarksBuilder_ == null) {
-        securityMarksBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.securitycenter.v1.SecurityMarks,
-                com.google.cloud.securitycenter.v1.SecurityMarks.Builder,
-                com.google.cloud.securitycenter.v1.SecurityMarksOrBuilder>(
-                getSecurityMarks(), getParentForChildren(), isClean());
+        securityMarksBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.securitycenter.v1.SecurityMarks, com.google.cloud.securitycenter.v1.SecurityMarks.Builder, com.google.cloud.securitycenter.v1.SecurityMarksOrBuilder>(
+                getSecurityMarks(),
+                getParentForChildren(),
+                isClean());
         securityMarks_ = null;
       }
       return securityMarksBuilder_;
@@ -5372,47 +4882,34 @@ public com.google.cloud.securitycenter.v1.SecurityMarksOrBuilder getSecurityMark
 
     private com.google.protobuf.Timestamp createTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        createTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_;
     /**
-     *
-     *
      * 
      * The time at which the asset was created in Security Command Center.
      * 
* * .google.protobuf.Timestamp create_time = 9; - * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * The time at which the asset was created in Security Command Center.
      * 
* * .google.protobuf.Timestamp create_time = 9; - * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * The time at which the asset was created in Security Command Center.
      * 
@@ -5433,15 +4930,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the asset was created in Security Command Center.
      * 
* * .google.protobuf.Timestamp create_time = 9; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -5452,8 +4948,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time at which the asset was created in Security Command Center.
      * 
@@ -5464,7 +4958,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -5476,8 +4970,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the asset was created in Security Command Center.
      * 
@@ -5496,8 +4988,6 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * The time at which the asset was created in Security Command Center.
      * 
@@ -5505,13 +4995,11 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 9; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time at which the asset was created in Security Command Center.
      * 
@@ -5522,14 +5010,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * The time at which the asset was created in Security Command Center.
      * 
@@ -5537,17 +5022,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 9; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; @@ -5555,47 +5037,34 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - updateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; /** - * - * *
      * The time at which the asset was last updated or added in Cloud SCC.
      * 
* * .google.protobuf.Timestamp update_time = 10; - * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** - * - * *
      * The time at which the asset was last updated or added in Cloud SCC.
      * 
* * .google.protobuf.Timestamp update_time = 10; - * * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** - * - * *
      * The time at which the asset was last updated or added in Cloud SCC.
      * 
@@ -5616,15 +5085,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the asset was last updated or added in Cloud SCC.
      * 
* * .google.protobuf.Timestamp update_time = 10; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -5635,8 +5103,6 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time at which the asset was last updated or added in Cloud SCC.
      * 
@@ -5647,7 +5113,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -5659,8 +5125,6 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the asset was last updated or added in Cloud SCC.
      * 
@@ -5679,8 +5143,6 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * The time at which the asset was last updated or added in Cloud SCC.
      * 
@@ -5688,13 +5150,11 @@ public Builder clearUpdateTime() { * .google.protobuf.Timestamp update_time = 10; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time at which the asset was last updated or added in Cloud SCC.
      * 
@@ -5705,14 +5165,11 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } } /** - * - * *
      * The time at which the asset was last updated or added in Cloud SCC.
      * 
@@ -5720,17 +5177,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * .google.protobuf.Timestamp update_time = 10; */ 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_; @@ -5738,13 +5192,8 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private com.google.cloud.securitycenter.v1.Asset.IamPolicy iamPolicy_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.securitycenter.v1.Asset.IamPolicy, - com.google.cloud.securitycenter.v1.Asset.IamPolicy.Builder, - com.google.cloud.securitycenter.v1.Asset.IamPolicyOrBuilder> - iamPolicyBuilder_; + com.google.cloud.securitycenter.v1.Asset.IamPolicy, com.google.cloud.securitycenter.v1.Asset.IamPolicy.Builder, com.google.cloud.securitycenter.v1.Asset.IamPolicyOrBuilder> iamPolicyBuilder_; /** - * - * *
      * Cloud IAM Policy information associated with the Google Cloud resource
      * described by the Security Command Center asset. This information is managed
@@ -5753,15 +5202,12 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * 
* * .google.cloud.securitycenter.v1.Asset.IamPolicy iam_policy = 11; - * * @return Whether the iamPolicy field is set. */ public boolean hasIamPolicy() { return iamPolicyBuilder_ != null || iamPolicy_ != null; } /** - * - * *
      * Cloud IAM Policy information associated with the Google Cloud resource
      * described by the Security Command Center asset. This information is managed
@@ -5770,21 +5216,16 @@ public boolean hasIamPolicy() {
      * 
* * .google.cloud.securitycenter.v1.Asset.IamPolicy iam_policy = 11; - * * @return The iamPolicy. */ public com.google.cloud.securitycenter.v1.Asset.IamPolicy getIamPolicy() { if (iamPolicyBuilder_ == null) { - return iamPolicy_ == null - ? com.google.cloud.securitycenter.v1.Asset.IamPolicy.getDefaultInstance() - : iamPolicy_; + return iamPolicy_ == null ? com.google.cloud.securitycenter.v1.Asset.IamPolicy.getDefaultInstance() : iamPolicy_; } else { return iamPolicyBuilder_.getMessage(); } } /** - * - * *
      * Cloud IAM Policy information associated with the Google Cloud resource
      * described by the Security Command Center asset. This information is managed
@@ -5808,8 +5249,6 @@ public Builder setIamPolicy(com.google.cloud.securitycenter.v1.Asset.IamPolicy v
       return this;
     }
     /**
-     *
-     *
      * 
      * Cloud IAM Policy information associated with the Google Cloud resource
      * described by the Security Command Center asset. This information is managed
@@ -5831,8 +5270,6 @@ public Builder setIamPolicy(
       return this;
     }
     /**
-     *
-     *
      * 
      * Cloud IAM Policy information associated with the Google Cloud resource
      * described by the Security Command Center asset. This information is managed
@@ -5846,9 +5283,7 @@ public Builder mergeIamPolicy(com.google.cloud.securitycenter.v1.Asset.IamPolicy
       if (iamPolicyBuilder_ == null) {
         if (iamPolicy_ != null) {
           iamPolicy_ =
-              com.google.cloud.securitycenter.v1.Asset.IamPolicy.newBuilder(iamPolicy_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.securitycenter.v1.Asset.IamPolicy.newBuilder(iamPolicy_).mergeFrom(value).buildPartial();
         } else {
           iamPolicy_ = value;
         }
@@ -5860,8 +5295,6 @@ public Builder mergeIamPolicy(com.google.cloud.securitycenter.v1.Asset.IamPolicy
       return this;
     }
     /**
-     *
-     *
      * 
      * Cloud IAM Policy information associated with the Google Cloud resource
      * described by the Security Command Center asset. This information is managed
@@ -5883,8 +5316,6 @@ public Builder clearIamPolicy() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Cloud IAM Policy information associated with the Google Cloud resource
      * described by the Security Command Center asset. This information is managed
@@ -5895,13 +5326,11 @@ public Builder clearIamPolicy() {
      * .google.cloud.securitycenter.v1.Asset.IamPolicy iam_policy = 11;
      */
     public com.google.cloud.securitycenter.v1.Asset.IamPolicy.Builder getIamPolicyBuilder() {
-
+      
       onChanged();
       return getIamPolicyFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Cloud IAM Policy information associated with the Google Cloud resource
      * described by the Security Command Center asset. This information is managed
@@ -5915,14 +5344,11 @@ public com.google.cloud.securitycenter.v1.Asset.IamPolicyOrBuilder getIamPolicyO
       if (iamPolicyBuilder_ != null) {
         return iamPolicyBuilder_.getMessageOrBuilder();
       } else {
-        return iamPolicy_ == null
-            ? com.google.cloud.securitycenter.v1.Asset.IamPolicy.getDefaultInstance()
-            : iamPolicy_;
+        return iamPolicy_ == null ?
+            com.google.cloud.securitycenter.v1.Asset.IamPolicy.getDefaultInstance() : iamPolicy_;
       }
     }
     /**
-     *
-     *
      * 
      * Cloud IAM Policy information associated with the Google Cloud resource
      * described by the Security Command Center asset. This information is managed
@@ -5933,17 +5359,14 @@ public com.google.cloud.securitycenter.v1.Asset.IamPolicyOrBuilder getIamPolicyO
      * .google.cloud.securitycenter.v1.Asset.IamPolicy iam_policy = 11;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.securitycenter.v1.Asset.IamPolicy,
-            com.google.cloud.securitycenter.v1.Asset.IamPolicy.Builder,
-            com.google.cloud.securitycenter.v1.Asset.IamPolicyOrBuilder>
+        com.google.cloud.securitycenter.v1.Asset.IamPolicy, com.google.cloud.securitycenter.v1.Asset.IamPolicy.Builder, com.google.cloud.securitycenter.v1.Asset.IamPolicyOrBuilder> 
         getIamPolicyFieldBuilder() {
       if (iamPolicyBuilder_ == null) {
-        iamPolicyBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.securitycenter.v1.Asset.IamPolicy,
-                com.google.cloud.securitycenter.v1.Asset.IamPolicy.Builder,
-                com.google.cloud.securitycenter.v1.Asset.IamPolicyOrBuilder>(
-                getIamPolicy(), getParentForChildren(), isClean());
+        iamPolicyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.securitycenter.v1.Asset.IamPolicy, com.google.cloud.securitycenter.v1.Asset.IamPolicy.Builder, com.google.cloud.securitycenter.v1.Asset.IamPolicyOrBuilder>(
+                getIamPolicy(),
+                getParentForChildren(),
+                isClean());
         iamPolicy_ = null;
       }
       return iamPolicyBuilder_;
@@ -5951,8 +5374,6 @@ public com.google.cloud.securitycenter.v1.Asset.IamPolicyOrBuilder getIamPolicyO
 
     private java.lang.Object canonicalName_ = "";
     /**
-     *
-     *
      * 
      * The canonical name of the resource. It's either
      * "organizations/{organization_id}/assets/{asset_id}",
@@ -5962,13 +5383,13 @@ public com.google.cloud.securitycenter.v1.Asset.IamPolicyOrBuilder getIamPolicyO
      * 
* * string canonical_name = 13; - * * @return The canonicalName. */ public java.lang.String getCanonicalName() { java.lang.Object ref = canonicalName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); canonicalName_ = s; return s; @@ -5977,8 +5398,6 @@ public java.lang.String getCanonicalName() { } } /** - * - * *
      * The canonical name of the resource. It's either
      * "organizations/{organization_id}/assets/{asset_id}",
@@ -5988,14 +5407,15 @@ public java.lang.String getCanonicalName() {
      * 
* * string canonical_name = 13; - * * @return The bytes for canonicalName. */ - public com.google.protobuf.ByteString getCanonicalNameBytes() { + public com.google.protobuf.ByteString + getCanonicalNameBytes() { java.lang.Object ref = canonicalName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); canonicalName_ = b; return b; } else { @@ -6003,8 +5423,6 @@ public com.google.protobuf.ByteString getCanonicalNameBytes() { } } /** - * - * *
      * The canonical name of the resource. It's either
      * "organizations/{organization_id}/assets/{asset_id}",
@@ -6014,22 +5432,20 @@ public com.google.protobuf.ByteString getCanonicalNameBytes() {
      * 
* * string canonical_name = 13; - * * @param value The canonicalName to set. * @return This builder for chaining. */ - public Builder setCanonicalName(java.lang.String value) { + public Builder setCanonicalName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + canonicalName_ = value; onChanged(); return this; } /** - * - * *
      * The canonical name of the resource. It's either
      * "organizations/{organization_id}/assets/{asset_id}",
@@ -6039,18 +5455,15 @@ public Builder setCanonicalName(java.lang.String value) {
      * 
* * string canonical_name = 13; - * * @return This builder for chaining. */ public Builder clearCanonicalName() { - + canonicalName_ = getDefaultInstance().getCanonicalName(); onChanged(); return this; } /** - * - * *
      * The canonical name of the resource. It's either
      * "organizations/{organization_id}/assets/{asset_id}",
@@ -6060,23 +5473,23 @@ public Builder clearCanonicalName() {
      * 
* * string canonical_name = 13; - * * @param value The bytes for canonicalName to set. * @return This builder for chaining. */ - public Builder setCanonicalNameBytes(com.google.protobuf.ByteString value) { + public Builder setCanonicalNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + canonicalName_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -6086,12 +5499,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.securitycenter.v1.Asset) } // @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1.Asset) private static final com.google.cloud.securitycenter.v1.Asset DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.securitycenter.v1.Asset(); } @@ -6100,27 +5513,27 @@ public static com.google.cloud.securitycenter.v1.Asset getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Asset parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - 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 Asset parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + 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; @@ -6135,4 +5548,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.securitycenter.v1.Asset getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/AssetName.java b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/AssetName.java similarity index 100% rename from java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/AssetName.java rename to owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/AssetName.java diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/AssetOrBuilder.java b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/AssetOrBuilder.java similarity index 80% rename from java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/AssetOrBuilder.java rename to owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/AssetOrBuilder.java index 87023bd82ec7..44eb8b021349 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/AssetOrBuilder.java +++ b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/AssetOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/securitycenter/v1/asset.proto package com.google.cloud.securitycenter.v1; -public interface AssetOrBuilder - extends +public interface AssetOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.securitycenter.v1.Asset) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The relative resource name of this asset. See:
    * https://cloud.google.com/apis/design/resource_names#relative_resource_name
@@ -34,13 +16,10 @@ public interface AssetOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The relative resource name of this asset. See:
    * https://cloud.google.com/apis/design/resource_names#relative_resource_name
@@ -49,59 +28,42 @@ public interface AssetOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Security Command Center managed properties. These properties are managed by
    * Security Command Center and cannot be modified by the user.
    * 
* - * - * .google.cloud.securitycenter.v1.Asset.SecurityCenterProperties security_center_properties = 2; - * - * + * .google.cloud.securitycenter.v1.Asset.SecurityCenterProperties security_center_properties = 2; * @return Whether the securityCenterProperties field is set. */ boolean hasSecurityCenterProperties(); /** - * - * *
    * Security Command Center managed properties. These properties are managed by
    * Security Command Center and cannot be modified by the user.
    * 
* - * - * .google.cloud.securitycenter.v1.Asset.SecurityCenterProperties security_center_properties = 2; - * - * + * .google.cloud.securitycenter.v1.Asset.SecurityCenterProperties security_center_properties = 2; * @return The securityCenterProperties. */ com.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties getSecurityCenterProperties(); /** - * - * *
    * Security Command Center managed properties. These properties are managed by
    * Security Command Center and cannot be modified by the user.
    * 
* - * - * .google.cloud.securitycenter.v1.Asset.SecurityCenterProperties security_center_properties = 2; - * + * .google.cloud.securitycenter.v1.Asset.SecurityCenterProperties security_center_properties = 2; */ - com.google.cloud.securitycenter.v1.Asset.SecurityCenterPropertiesOrBuilder - getSecurityCenterPropertiesOrBuilder(); + com.google.cloud.securitycenter.v1.Asset.SecurityCenterPropertiesOrBuilder getSecurityCenterPropertiesOrBuilder(); /** - * - * *
    * Resource managed properties. These properties are managed and defined by
    * the Google Cloud resource and cannot be modified by the user.
@@ -111,8 +73,6 @@ public interface AssetOrBuilder
    */
   int getResourcePropertiesCount();
   /**
-   *
-   *
    * 
    * Resource managed properties. These properties are managed and defined by
    * the Google Cloud resource and cannot be modified by the user.
@@ -120,13 +80,15 @@ public interface AssetOrBuilder
    *
    * map<string, .google.protobuf.Value> resource_properties = 7;
    */
-  boolean containsResourceProperties(java.lang.String key);
-  /** Use {@link #getResourcePropertiesMap()} instead. */
+  boolean containsResourceProperties(
+      java.lang.String key);
+  /**
+   * Use {@link #getResourcePropertiesMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getResourceProperties();
+  java.util.Map
+  getResourceProperties();
   /**
-   *
-   *
    * 
    * Resource managed properties. These properties are managed and defined by
    * the Google Cloud resource and cannot be modified by the user.
@@ -134,10 +96,9 @@ public interface AssetOrBuilder
    *
    * map<string, .google.protobuf.Value> resource_properties = 7;
    */
-  java.util.Map getResourcePropertiesMap();
+  java.util.Map
+  getResourcePropertiesMap();
   /**
-   *
-   *
    * 
    * Resource managed properties. These properties are managed and defined by
    * the Google Cloud resource and cannot be modified by the user.
@@ -147,13 +108,11 @@ public interface AssetOrBuilder
    */
 
   /* nullable */
-  com.google.protobuf.Value getResourcePropertiesOrDefault(
+com.google.protobuf.Value getResourcePropertiesOrDefault(
       java.lang.String key,
       /* nullable */
-      com.google.protobuf.Value defaultValue);
+com.google.protobuf.Value defaultValue);
   /**
-   *
-   *
    * 
    * Resource managed properties. These properties are managed and defined by
    * the Google Cloud resource and cannot be modified by the user.
@@ -161,37 +120,31 @@ com.google.protobuf.Value getResourcePropertiesOrDefault(
    *
    * map<string, .google.protobuf.Value> resource_properties = 7;
    */
-  com.google.protobuf.Value getResourcePropertiesOrThrow(java.lang.String key);
+
+  com.google.protobuf.Value getResourcePropertiesOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * User specified security marks. These marks are entirely managed by the user
    * and come from the SecurityMarks resource that belongs to the asset.
    * 
* * .google.cloud.securitycenter.v1.SecurityMarks security_marks = 8; - * * @return Whether the securityMarks field is set. */ boolean hasSecurityMarks(); /** - * - * *
    * User specified security marks. These marks are entirely managed by the user
    * and come from the SecurityMarks resource that belongs to the asset.
    * 
* * .google.cloud.securitycenter.v1.SecurityMarks security_marks = 8; - * * @return The securityMarks. */ com.google.cloud.securitycenter.v1.SecurityMarks getSecurityMarks(); /** - * - * *
    * User specified security marks. These marks are entirely managed by the user
    * and come from the SecurityMarks resource that belongs to the asset.
@@ -202,32 +155,24 @@ com.google.protobuf.Value getResourcePropertiesOrDefault(
   com.google.cloud.securitycenter.v1.SecurityMarksOrBuilder getSecurityMarksOrBuilder();
 
   /**
-   *
-   *
    * 
    * The time at which the asset was created in Security Command Center.
    * 
* * .google.protobuf.Timestamp create_time = 9; - * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * The time at which the asset was created in Security Command Center.
    * 
* * .google.protobuf.Timestamp create_time = 9; - * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * The time at which the asset was created in Security Command Center.
    * 
@@ -237,32 +182,24 @@ com.google.protobuf.Value getResourcePropertiesOrDefault( com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * The time at which the asset was last updated or added in Cloud SCC.
    * 
* * .google.protobuf.Timestamp update_time = 10; - * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * The time at which the asset was last updated or added in Cloud SCC.
    * 
* * .google.protobuf.Timestamp update_time = 10; - * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * The time at which the asset was last updated or added in Cloud SCC.
    * 
@@ -272,8 +209,6 @@ com.google.protobuf.Value getResourcePropertiesOrDefault( com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
    * Cloud IAM Policy information associated with the Google Cloud resource
    * described by the Security Command Center asset. This information is managed
@@ -282,13 +217,10 @@ com.google.protobuf.Value getResourcePropertiesOrDefault(
    * 
* * .google.cloud.securitycenter.v1.Asset.IamPolicy iam_policy = 11; - * * @return Whether the iamPolicy field is set. */ boolean hasIamPolicy(); /** - * - * *
    * Cloud IAM Policy information associated with the Google Cloud resource
    * described by the Security Command Center asset. This information is managed
@@ -297,13 +229,10 @@ com.google.protobuf.Value getResourcePropertiesOrDefault(
    * 
* * .google.cloud.securitycenter.v1.Asset.IamPolicy iam_policy = 11; - * * @return The iamPolicy. */ com.google.cloud.securitycenter.v1.Asset.IamPolicy getIamPolicy(); /** - * - * *
    * Cloud IAM Policy information associated with the Google Cloud resource
    * described by the Security Command Center asset. This information is managed
@@ -316,8 +245,6 @@ com.google.protobuf.Value getResourcePropertiesOrDefault(
   com.google.cloud.securitycenter.v1.Asset.IamPolicyOrBuilder getIamPolicyOrBuilder();
 
   /**
-   *
-   *
    * 
    * The canonical name of the resource. It's either
    * "organizations/{organization_id}/assets/{asset_id}",
@@ -327,13 +254,10 @@ com.google.protobuf.Value getResourcePropertiesOrDefault(
    * 
* * string canonical_name = 13; - * * @return The canonicalName. */ java.lang.String getCanonicalName(); /** - * - * *
    * The canonical name of the resource. It's either
    * "organizations/{organization_id}/assets/{asset_id}",
@@ -343,8 +267,8 @@ com.google.protobuf.Value getResourcePropertiesOrDefault(
    * 
* * string canonical_name = 13; - * * @return The bytes for canonicalName. */ - com.google.protobuf.ByteString getCanonicalNameBytes(); + com.google.protobuf.ByteString + getCanonicalNameBytes(); } diff --git a/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/AssetOuterClass.java b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/AssetOuterClass.java new file mode 100644 index 000000000000..8a04ca03c74a --- /dev/null +++ b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/AssetOuterClass.java @@ -0,0 +1,133 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/securitycenter/v1/asset.proto + +package com.google.cloud.securitycenter.v1; + +public final class AssetOuterClass { + private AssetOuterClass() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public 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_securitycenter_v1_Asset_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_securitycenter_v1_Asset_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_securitycenter_v1_Asset_SecurityCenterProperties_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_securitycenter_v1_Asset_SecurityCenterProperties_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_securitycenter_v1_Asset_IamPolicy_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_securitycenter_v1_Asset_IamPolicy_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_securitycenter_v1_Asset_ResourcePropertiesEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_securitycenter_v1_Asset_ResourcePropertiesEntry_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n*google/cloud/securitycenter/v1/asset.p" + + "roto\022\036google.cloud.securitycenter.v1\032\031go" + + "ogle/api/resource.proto\032+google/cloud/se" + + "curitycenter/v1/folder.proto\0323google/clo" + + "ud/securitycenter/v1/security_marks.prot" + + "o\032\034google/protobuf/struct.proto\032\037google/" + + "protobuf/timestamp.proto\"\251\010\n\005Asset\022\014\n\004na" + + "me\030\001 \001(\t\022b\n\032security_center_properties\030\002" + + " \001(\0132>.google.cloud.securitycenter.v1.As" + + "set.SecurityCenterProperties\022Z\n\023resource" + + "_properties\030\007 \003(\0132=.google.cloud.securit" + + "ycenter.v1.Asset.ResourcePropertiesEntry" + + "\022E\n\016security_marks\030\010 \001(\0132-.google.cloud." + + "securitycenter.v1.SecurityMarks\022/\n\013creat" + + "e_time\030\t \001(\0132\032.google.protobuf.Timestamp" + + "\022/\n\013update_time\030\n \001(\0132\032.google.protobuf." + + "Timestamp\022C\n\niam_policy\030\013 \001(\0132/.google.c" + + "loud.securitycenter.v1.Asset.IamPolicy\022\026" + + "\n\016canonical_name\030\r \001(\t\032\271\002\n\030SecurityCente" + + "rProperties\022\025\n\rresource_name\030\001 \001(\t\022\025\n\rre" + + "source_type\030\002 \001(\t\022\027\n\017resource_parent\030\003 \001" + + "(\t\022\030\n\020resource_project\030\004 \001(\t\022\027\n\017resource" + + "_owners\030\005 \003(\t\022\035\n\025resource_display_name\030\006" + + " \001(\t\022$\n\034resource_parent_display_name\030\007 \001" + + "(\t\022%\n\035resource_project_display_name\030\010 \001(" + + "\t\0227\n\007folders\030\n \003(\0132&.google.cloud.securi" + + "tycenter.v1.Folder\032 \n\tIamPolicy\022\023\n\013polic" + + "y_blob\030\001 \001(\t\032Q\n\027ResourcePropertiesEntry\022" + + "\013\n\003key\030\001 \001(\t\022%\n\005value\030\002 \001(\0132\026.google.pro" + + "tobuf.Value:\0028\001:\232\001\352A\226\001\n#securitycenter.g" + + "oogleapis.com/Asset\022+organizations/{orga" + + "nization}/assets/{asset}\022\037folders/{folde" + + "r}/assets/{asset}\022!projects/{project}/as" + + "sets/{asset}B\332\001\n\"com.google.cloud.securi" + + "tycenter.v1P\001ZLgoogle.golang.org/genprot" + + "o/googleapis/cloud/securitycenter/v1;sec" + + "uritycenter\252\002\036Google.Cloud.SecurityCente" + + "r.V1\312\002\036Google\\Cloud\\SecurityCenter\\V1\352\002!" + + "Google::Cloud::SecurityCenter::V1b\006proto" + + "3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.securitycenter.v1.FolderProto.getDescriptor(), + com.google.cloud.securitycenter.v1.SecurityMarksOuterClass.getDescriptor(), + com.google.protobuf.StructProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_cloud_securitycenter_v1_Asset_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_securitycenter_v1_Asset_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_securitycenter_v1_Asset_descriptor, + new java.lang.String[] { "Name", "SecurityCenterProperties", "ResourceProperties", "SecurityMarks", "CreateTime", "UpdateTime", "IamPolicy", "CanonicalName", }); + internal_static_google_cloud_securitycenter_v1_Asset_SecurityCenterProperties_descriptor = + internal_static_google_cloud_securitycenter_v1_Asset_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_securitycenter_v1_Asset_SecurityCenterProperties_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_securitycenter_v1_Asset_SecurityCenterProperties_descriptor, + new java.lang.String[] { "ResourceName", "ResourceType", "ResourceParent", "ResourceProject", "ResourceOwners", "ResourceDisplayName", "ResourceParentDisplayName", "ResourceProjectDisplayName", "Folders", }); + internal_static_google_cloud_securitycenter_v1_Asset_IamPolicy_descriptor = + internal_static_google_cloud_securitycenter_v1_Asset_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_securitycenter_v1_Asset_IamPolicy_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_securitycenter_v1_Asset_IamPolicy_descriptor, + new java.lang.String[] { "PolicyBlob", }); + internal_static_google_cloud_securitycenter_v1_Asset_ResourcePropertiesEntry_descriptor = + internal_static_google_cloud_securitycenter_v1_Asset_descriptor.getNestedTypes().get(2); + internal_static_google_cloud_securitycenter_v1_Asset_ResourcePropertiesEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_securitycenter_v1_Asset_ResourcePropertiesEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.securitycenter.v1.FolderProto.getDescriptor(); + com.google.cloud.securitycenter.v1.SecurityMarksOuterClass.getDescriptor(); + com.google.protobuf.StructProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/BigQueryExport.java b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/BigQueryExport.java similarity index 75% rename from java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/BigQueryExport.java rename to owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/BigQueryExport.java index 079f6f42a8b9..40aaedf6fa2e 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/BigQueryExport.java +++ b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/BigQueryExport.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/securitycenter/v1/bigquery_export.proto package com.google.cloud.securitycenter.v1; /** - * - * *
  * Configures how to deliver Findings to BigQuery Instance.
  * 
* * Protobuf type {@code google.cloud.securitycenter.v1.BigQueryExport} */ -public final class BigQueryExport extends com.google.protobuf.GeneratedMessageV3 - implements +public final class BigQueryExport extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.securitycenter.v1.BigQueryExport) BigQueryExportOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use BigQueryExport.newBuilder() to construct. private BigQueryExport(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private BigQueryExport() { name_ = ""; description_ = ""; @@ -48,35 +30,32 @@ private BigQueryExport() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BigQueryExport(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.securitycenter.v1.BigQueryExportProto - .internal_static_google_cloud_securitycenter_v1_BigQueryExport_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.securitycenter.v1.BigQueryExportProto.internal_static_google_cloud_securitycenter_v1_BigQueryExport_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.securitycenter.v1.BigQueryExportProto - .internal_static_google_cloud_securitycenter_v1_BigQueryExport_fieldAccessorTable + return com.google.cloud.securitycenter.v1.BigQueryExportProto.internal_static_google_cloud_securitycenter_v1_BigQueryExport_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.securitycenter.v1.BigQueryExport.class, - com.google.cloud.securitycenter.v1.BigQueryExport.Builder.class); + com.google.cloud.securitycenter.v1.BigQueryExport.class, com.google.cloud.securitycenter.v1.BigQueryExport.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * The relative resource name of this export. See:
    * https://cloud.google.com/apis/design/resource_names#relative_resource_name.
@@ -89,7 +68,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -98,15 +76,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The relative resource name of this export. See:
    * https://cloud.google.com/apis/design/resource_names#relative_resource_name.
@@ -119,15 +96,16 @@ public java.lang.String getName() {
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -138,14 +116,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int DESCRIPTION_FIELD_NUMBER = 2; private volatile java.lang.Object description_; /** - * - * *
    * The description of the export (max of 1024 characters).
    * 
* * string description = 2; - * * @return The description. */ @java.lang.Override @@ -154,29 +129,29 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** - * - * *
    * The description of the export (max of 1024 characters).
    * 
* * string description = 2; - * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -187,8 +162,6 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int FILTER_FIELD_NUMBER = 3; private volatile java.lang.Object filter_; /** - * - * *
    * Expression that defines the filter to apply across create/update events
    * of findings. The expression is a list of zero or more restrictions combined
@@ -208,7 +181,6 @@ public com.google.protobuf.ByteString getDescriptionBytes() {
    * 
* * string filter = 3; - * * @return The filter. */ @java.lang.Override @@ -217,15 +189,14 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** - * - * *
    * Expression that defines the filter to apply across create/update events
    * of findings. The expression is a list of zero or more restrictions combined
@@ -245,15 +216,16 @@ public java.lang.String getFilter() {
    * 
* * string filter = 3; - * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -264,8 +236,6 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int DATASET_FIELD_NUMBER = 4; private volatile java.lang.Object dataset_; /** - * - * *
    * The dataset to write findings' updates to. Its format is
    * "projects/[project_id]/datasets/[bigquery_dataset_id]".
@@ -274,7 +244,6 @@ public com.google.protobuf.ByteString getFilterBytes() {
    * 
* * string dataset = 4; - * * @return The dataset. */ @java.lang.Override @@ -283,15 +252,14 @@ public java.lang.String getDataset() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dataset_ = s; return s; } } /** - * - * *
    * The dataset to write findings' updates to. Its format is
    * "projects/[project_id]/datasets/[bigquery_dataset_id]".
@@ -300,15 +268,16 @@ public java.lang.String getDataset() {
    * 
* * string dataset = 4; - * * @return The bytes for dataset. */ @java.lang.Override - public com.google.protobuf.ByteString getDatasetBytes() { + public com.google.protobuf.ByteString + getDatasetBytes() { java.lang.Object ref = dataset_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); dataset_ = b; return b; } else { @@ -319,17 +288,13 @@ public com.google.protobuf.ByteString getDatasetBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Output only. The time at which the big query export was created.
    * This field is set by the server and will be ignored if provided on export
    * on creation.
    * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -337,17 +302,13 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. The time at which the big query export was created.
    * This field is set by the server and will be ignored if provided on export
    * on creation.
    * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ @java.lang.Override @@ -355,16 +316,13 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. The time at which the big query export was created.
    * This field is set by the server and will be ignored if provided on export
    * on creation.
    * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -374,17 +332,13 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * Output only. The most recent time at which the big export was updated.
    * This field is set by the server and will be ignored if provided on export
    * creation or update.
    * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ @java.lang.Override @@ -392,17 +346,13 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * Output only. The most recent time at which the big export was updated.
    * This field is set by the server and will be ignored if provided on export
    * creation or update.
    * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ @java.lang.Override @@ -410,16 +360,13 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * Output only. The most recent time at which the big export was updated.
    * This field is set by the server and will be ignored if provided on export
    * creation or update.
    * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -429,8 +376,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int MOST_RECENT_EDITOR_FIELD_NUMBER = 7; private volatile java.lang.Object mostRecentEditor_; /** - * - * *
    * Output only. Email address of the user who last edited the big query export.
    * This field is set by the server and will be ignored if provided on export
@@ -438,7 +383,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
    * 
* * string most_recent_editor = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The mostRecentEditor. */ @java.lang.Override @@ -447,15 +391,14 @@ public java.lang.String getMostRecentEditor() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); mostRecentEditor_ = s; return s; } } /** - * - * *
    * Output only. Email address of the user who last edited the big query export.
    * This field is set by the server and will be ignored if provided on export
@@ -463,15 +406,16 @@ public java.lang.String getMostRecentEditor() {
    * 
* * string most_recent_editor = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for mostRecentEditor. */ @java.lang.Override - public com.google.protobuf.ByteString getMostRecentEditorBytes() { + public com.google.protobuf.ByteString + getMostRecentEditorBytes() { java.lang.Object ref = mostRecentEditor_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); mostRecentEditor_ = b; return b; } else { @@ -482,15 +426,12 @@ public com.google.protobuf.ByteString getMostRecentEditorBytes() { public static final int PRINCIPAL_FIELD_NUMBER = 8; private volatile java.lang.Object principal_; /** - * - * *
    * Output only. The service account that needs permission to create table, upload data to
    * the big query dataset.
    * 
* * string principal = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The principal. */ @java.lang.Override @@ -499,30 +440,30 @@ public java.lang.String getPrincipal() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); principal_ = s; return s; } } /** - * - * *
    * Output only. The service account that needs permission to create table, upload data to
    * the big query dataset.
    * 
* * string principal = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for principal. */ @java.lang.Override - public com.google.protobuf.ByteString getPrincipalBytes() { + public com.google.protobuf.ByteString + getPrincipalBytes() { java.lang.Object ref = principal_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); principal_ = b; return b; } else { @@ -531,7 +472,6 @@ public com.google.protobuf.ByteString getPrincipalBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -543,7 +483,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -590,10 +531,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, dataset_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(mostRecentEditor_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, mostRecentEditor_); @@ -609,28 +552,35 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.securitycenter.v1.BigQueryExport)) { return super.equals(obj); } - com.google.cloud.securitycenter.v1.BigQueryExport other = - (com.google.cloud.securitycenter.v1.BigQueryExport) obj; + com.google.cloud.securitycenter.v1.BigQueryExport other = (com.google.cloud.securitycenter.v1.BigQueryExport) obj; - if (!getName().equals(other.getName())) return false; - if (!getDescription().equals(other.getDescription())) return false; - if (!getFilter().equals(other.getFilter())) return false; - if (!getDataset().equals(other.getDataset())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; + if (!getDataset() + .equals(other.getDataset())) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime().equals(other.getUpdateTime())) return false; + if (!getUpdateTime() + .equals(other.getUpdateTime())) return false; } - if (!getMostRecentEditor().equals(other.getMostRecentEditor())) return false; - if (!getPrincipal().equals(other.getPrincipal())) return false; + if (!getMostRecentEditor() + .equals(other.getMostRecentEditor())) return false; + if (!getPrincipal() + .equals(other.getPrincipal())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -668,135 +618,129 @@ public int hashCode() { } public static com.google.cloud.securitycenter.v1.BigQueryExport parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.BigQueryExport parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.BigQueryExport parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.BigQueryExport parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.BigQueryExport parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.BigQueryExport parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.securitycenter.v1.BigQueryExport parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.securitycenter.v1.BigQueryExport parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.BigQueryExport parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.securitycenter.v1.BigQueryExport parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.securitycenter.v1.BigQueryExport parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.BigQueryExport parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.BigQueryExport parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.BigQueryExport parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.securitycenter.v1.BigQueryExport prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Configures how to deliver Findings to BigQuery Instance.
    * 
* * Protobuf type {@code google.cloud.securitycenter.v1.BigQueryExport} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.securitycenter.v1.BigQueryExport) com.google.cloud.securitycenter.v1.BigQueryExportOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.securitycenter.v1.BigQueryExportProto - .internal_static_google_cloud_securitycenter_v1_BigQueryExport_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.securitycenter.v1.BigQueryExportProto.internal_static_google_cloud_securitycenter_v1_BigQueryExport_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.securitycenter.v1.BigQueryExportProto - .internal_static_google_cloud_securitycenter_v1_BigQueryExport_fieldAccessorTable + return com.google.cloud.securitycenter.v1.BigQueryExportProto.internal_static_google_cloud_securitycenter_v1_BigQueryExport_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.securitycenter.v1.BigQueryExport.class, - com.google.cloud.securitycenter.v1.BigQueryExport.Builder.class); + com.google.cloud.securitycenter.v1.BigQueryExport.class, com.google.cloud.securitycenter.v1.BigQueryExport.Builder.class); } // Construct using com.google.cloud.securitycenter.v1.BigQueryExport.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(); @@ -828,9 +772,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.securitycenter.v1.BigQueryExportProto - .internal_static_google_cloud_securitycenter_v1_BigQueryExport_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.securitycenter.v1.BigQueryExportProto.internal_static_google_cloud_securitycenter_v1_BigQueryExport_descriptor; } @java.lang.Override @@ -849,8 +793,7 @@ public com.google.cloud.securitycenter.v1.BigQueryExport build() { @java.lang.Override public com.google.cloud.securitycenter.v1.BigQueryExport buildPartial() { - com.google.cloud.securitycenter.v1.BigQueryExport result = - new com.google.cloud.securitycenter.v1.BigQueryExport(this); + com.google.cloud.securitycenter.v1.BigQueryExport result = new com.google.cloud.securitycenter.v1.BigQueryExport(this); result.name_ = name_; result.description_ = description_; result.filter_ = filter_; @@ -875,39 +818,38 @@ public com.google.cloud.securitycenter.v1.BigQueryExport buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.securitycenter.v1.BigQueryExport) { - return mergeFrom((com.google.cloud.securitycenter.v1.BigQueryExport) other); + return mergeFrom((com.google.cloud.securitycenter.v1.BigQueryExport)other); } else { super.mergeFrom(other); return this; @@ -915,8 +857,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.securitycenter.v1.BigQueryExport other) { - if (other == com.google.cloud.securitycenter.v1.BigQueryExport.getDefaultInstance()) - return this; + if (other == com.google.cloud.securitycenter.v1.BigQueryExport.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -973,61 +914,56 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - description_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 26: - { - filter_ = input.readStringRequireUtf8(); - - break; - } // case 26 - case 34: - { - dataset_ = input.readStringRequireUtf8(); - - break; - } // case 34 - case 42: - { - input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 42 - case 50: - { - input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 50 - case 58: - { - mostRecentEditor_ = input.readStringRequireUtf8(); - - break; - } // case 58 - case 66: - { - principal_ = input.readStringRequireUtf8(); - - break; - } // case 66 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + description_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 26: { + filter_ = input.readStringRequireUtf8(); + + break; + } // case 26 + case 34: { + dataset_ = input.readStringRequireUtf8(); + + break; + } // case 34 + case 42: { + input.readMessage( + getCreateTimeFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 42 + case 50: { + input.readMessage( + getUpdateTimeFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 50 + case 58: { + mostRecentEditor_ = input.readStringRequireUtf8(); + + break; + } // case 58 + case 66: { + principal_ = input.readStringRequireUtf8(); + + 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) { @@ -1040,8 +976,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * The relative resource name of this export. See:
      * https://cloud.google.com/apis/design/resource_names#relative_resource_name.
@@ -1054,13 +988,13 @@ public Builder mergeFrom(
      * 
* * string name = 1; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1069,8 +1003,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The relative resource name of this export. See:
      * https://cloud.google.com/apis/design/resource_names#relative_resource_name.
@@ -1083,14 +1015,15 @@ public java.lang.String getName() {
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1098,8 +1031,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The relative resource name of this export. See:
      * https://cloud.google.com/apis/design/resource_names#relative_resource_name.
@@ -1112,22 +1043,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The relative resource name of this export. See:
      * https://cloud.google.com/apis/design/resource_names#relative_resource_name.
@@ -1140,18 +1069,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The relative resource name of this export. See:
      * https://cloud.google.com/apis/design/resource_names#relative_resource_name.
@@ -1164,16 +1090,16 @@ public Builder clearName() {
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1181,20 +1107,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object description_ = ""; /** - * - * *
      * The description of the export (max of 1024 characters).
      * 
* * string description = 2; - * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -1203,21 +1127,20 @@ public java.lang.String getDescription() { } } /** - * - * *
      * The description of the export (max of 1024 characters).
      * 
* * string description = 2; - * * @return The bytes for description. */ - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -1225,61 +1148,54 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * The description of the export (max of 1024 characters).
      * 
* * string description = 2; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { + public Builder setDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** - * - * *
      * The description of the export (max of 1024 characters).
      * 
* * string description = 2; - * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** - * - * *
      * The description of the export (max of 1024 characters).
      * 
* * string description = 2; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; @@ -1287,8 +1203,6 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * Expression that defines the filter to apply across create/update events
      * of findings. The expression is a list of zero or more restrictions combined
@@ -1308,13 +1222,13 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) {
      * 
* * string filter = 3; - * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -1323,8 +1237,6 @@ public java.lang.String getFilter() { } } /** - * - * *
      * Expression that defines the filter to apply across create/update events
      * of findings. The expression is a list of zero or more restrictions combined
@@ -1344,14 +1256,15 @@ public java.lang.String getFilter() {
      * 
* * string filter = 3; - * * @return The bytes for filter. */ - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -1359,8 +1272,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * Expression that defines the filter to apply across create/update events
      * of findings. The expression is a list of zero or more restrictions combined
@@ -1380,22 +1291,20 @@ public com.google.protobuf.ByteString getFilterBytes() {
      * 
* * string filter = 3; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** - * - * *
      * Expression that defines the filter to apply across create/update events
      * of findings. The expression is a list of zero or more restrictions combined
@@ -1415,18 +1324,15 @@ public Builder setFilter(java.lang.String value) {
      * 
* * string filter = 3; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * Expression that defines the filter to apply across create/update events
      * of findings. The expression is a list of zero or more restrictions combined
@@ -1446,16 +1352,16 @@ public Builder clearFilter() {
      * 
* * string filter = 3; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; @@ -1463,8 +1369,6 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { private java.lang.Object dataset_ = ""; /** - * - * *
      * The dataset to write findings' updates to. Its format is
      * "projects/[project_id]/datasets/[bigquery_dataset_id]".
@@ -1473,13 +1377,13 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) {
      * 
* * string dataset = 4; - * * @return The dataset. */ public java.lang.String getDataset() { java.lang.Object ref = dataset_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dataset_ = s; return s; @@ -1488,8 +1392,6 @@ public java.lang.String getDataset() { } } /** - * - * *
      * The dataset to write findings' updates to. Its format is
      * "projects/[project_id]/datasets/[bigquery_dataset_id]".
@@ -1498,14 +1400,15 @@ public java.lang.String getDataset() {
      * 
* * string dataset = 4; - * * @return The bytes for dataset. */ - public com.google.protobuf.ByteString getDatasetBytes() { + public com.google.protobuf.ByteString + getDatasetBytes() { java.lang.Object ref = dataset_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); dataset_ = b; return b; } else { @@ -1513,8 +1416,6 @@ public com.google.protobuf.ByteString getDatasetBytes() { } } /** - * - * *
      * The dataset to write findings' updates to. Its format is
      * "projects/[project_id]/datasets/[bigquery_dataset_id]".
@@ -1523,22 +1424,20 @@ public com.google.protobuf.ByteString getDatasetBytes() {
      * 
* * string dataset = 4; - * * @param value The dataset to set. * @return This builder for chaining. */ - public Builder setDataset(java.lang.String value) { + public Builder setDataset( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + dataset_ = value; onChanged(); return this; } /** - * - * *
      * The dataset to write findings' updates to. Its format is
      * "projects/[project_id]/datasets/[bigquery_dataset_id]".
@@ -1547,18 +1446,15 @@ public Builder setDataset(java.lang.String value) {
      * 
* * string dataset = 4; - * * @return This builder for chaining. */ public Builder clearDataset() { - + dataset_ = getDefaultInstance().getDataset(); onChanged(); return this; } /** - * - * *
      * The dataset to write findings' updates to. Its format is
      * "projects/[project_id]/datasets/[bigquery_dataset_id]".
@@ -1567,16 +1463,16 @@ public Builder clearDataset() {
      * 
* * string dataset = 4; - * * @param value The bytes for dataset to set. * @return This builder for chaining. */ - public Builder setDatasetBytes(com.google.protobuf.ByteString value) { + public Builder setDatasetBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + dataset_ = value; onChanged(); return this; @@ -1584,64 +1480,45 @@ public Builder setDatasetBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
      * Output only. The time at which the big query export was created.
      * This field is set by the server and will be ignored if provided on export
      * on creation.
      * 
* - * - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * Output only. The time at which the big query export was created.
      * This field is set by the server and will be ignored if provided on export
      * on creation.
      * 
* - * - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The time at which the big query export was created.
      * This field is set by the server and will be ignored if provided on export
      * on creation.
      * 
* - * - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -1657,19 +1534,16 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time at which the big query export was created.
      * This field is set by the server and will be ignored if provided on export
      * on creation.
      * 
* - * - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -1680,23 +1554,19 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The time at which the big query export was created.
      * This field is set by the server and will be ignored if provided on export
      * on creation.
      * 
* - * - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1708,17 +1578,13 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time at which the big query export was created.
      * This field is set by the server and will be ignored if provided on export
      * on creation.
      * 
* - * - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -1732,70 +1598,54 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. The time at which the big query export was created.
      * This field is set by the server and will be ignored if provided on export
      * on creation.
      * 
* - * - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time at which the big query export was created.
      * This field is set by the server and will be ignored if provided on export
      * on creation.
      * 
* - * - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * Output only. The time at which the big query export was created.
      * This field is set by the server and will be ignored if provided on export
      * on creation.
      * 
* - * - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; @@ -1803,64 +1653,45 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - updateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; /** - * - * *
      * Output only. The most recent time at which the big export was updated.
      * This field is set by the server and will be ignored if provided on export
      * creation or update.
      * 
* - * - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** - * - * *
      * Output only. The most recent time at which the big export was updated.
      * This field is set by the server and will be ignored if provided on export
      * creation or update.
      * 
* - * - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 6 [(.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. The most recent time at which the big export was updated.
      * This field is set by the server and will be ignored if provided on export
      * creation or update.
      * 
* - * - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -1876,19 +1707,16 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The most recent time at which the big export was updated.
      * This field is set by the server and will be ignored if provided on export
      * creation or update.
      * 
* - * - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -1899,23 +1727,19 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The most recent time at which the big export was updated.
      * This field is set by the server and will be ignored if provided on export
      * creation or update.
      * 
* - * - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -1927,17 +1751,13 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The most recent time at which the big export was updated.
      * This field is set by the server and will be ignored if provided on export
      * creation or update.
      * 
* - * - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearUpdateTime() { if (updateTimeBuilder_ == null) { @@ -1951,70 +1771,54 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * Output only. The most recent time at which the big export was updated.
      * This field is set by the server and will be ignored if provided on export
      * creation or update.
      * 
* - * - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The most recent time at which the big export was updated.
      * This field is set by the server and will be ignored if provided on export
      * creation or update.
      * 
* - * - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 6 [(.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. The most recent time at which the big export was updated.
      * This field is set by the server and will be ignored if provided on export
      * creation or update.
      * 
* - * - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 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_; @@ -2022,8 +1826,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object mostRecentEditor_ = ""; /** - * - * *
      * Output only. Email address of the user who last edited the big query export.
      * This field is set by the server and will be ignored if provided on export
@@ -2031,13 +1833,13 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * 
* * string most_recent_editor = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The mostRecentEditor. */ public java.lang.String getMostRecentEditor() { java.lang.Object ref = mostRecentEditor_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); mostRecentEditor_ = s; return s; @@ -2046,8 +1848,6 @@ public java.lang.String getMostRecentEditor() { } } /** - * - * *
      * Output only. Email address of the user who last edited the big query export.
      * This field is set by the server and will be ignored if provided on export
@@ -2055,14 +1855,15 @@ public java.lang.String getMostRecentEditor() {
      * 
* * string most_recent_editor = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for mostRecentEditor. */ - public com.google.protobuf.ByteString getMostRecentEditorBytes() { + public com.google.protobuf.ByteString + getMostRecentEditorBytes() { java.lang.Object ref = mostRecentEditor_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); mostRecentEditor_ = b; return b; } else { @@ -2070,8 +1871,6 @@ public com.google.protobuf.ByteString getMostRecentEditorBytes() { } } /** - * - * *
      * Output only. Email address of the user who last edited the big query export.
      * This field is set by the server and will be ignored if provided on export
@@ -2079,22 +1878,20 @@ public com.google.protobuf.ByteString getMostRecentEditorBytes() {
      * 
* * string most_recent_editor = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The mostRecentEditor to set. * @return This builder for chaining. */ - public Builder setMostRecentEditor(java.lang.String value) { + public Builder setMostRecentEditor( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + mostRecentEditor_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Email address of the user who last edited the big query export.
      * This field is set by the server and will be ignored if provided on export
@@ -2102,18 +1899,15 @@ public Builder setMostRecentEditor(java.lang.String value) {
      * 
* * string most_recent_editor = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearMostRecentEditor() { - + mostRecentEditor_ = getDefaultInstance().getMostRecentEditor(); onChanged(); return this; } /** - * - * *
      * Output only. Email address of the user who last edited the big query export.
      * This field is set by the server and will be ignored if provided on export
@@ -2121,16 +1915,16 @@ public Builder clearMostRecentEditor() {
      * 
* * string most_recent_editor = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for mostRecentEditor to set. * @return This builder for chaining. */ - public Builder setMostRecentEditorBytes(com.google.protobuf.ByteString value) { + public Builder setMostRecentEditorBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + mostRecentEditor_ = value; onChanged(); return this; @@ -2138,21 +1932,19 @@ public Builder setMostRecentEditorBytes(com.google.protobuf.ByteString value) { private java.lang.Object principal_ = ""; /** - * - * *
      * Output only. The service account that needs permission to create table, upload data to
      * the big query dataset.
      * 
* * string principal = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The principal. */ public java.lang.String getPrincipal() { java.lang.Object ref = principal_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); principal_ = s; return s; @@ -2161,22 +1953,21 @@ public java.lang.String getPrincipal() { } } /** - * - * *
      * Output only. The service account that needs permission to create table, upload data to
      * the big query dataset.
      * 
* * string principal = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for principal. */ - public com.google.protobuf.ByteString getPrincipalBytes() { + public com.google.protobuf.ByteString + getPrincipalBytes() { java.lang.Object ref = principal_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); principal_ = b; return b; } else { @@ -2184,71 +1975,64 @@ public com.google.protobuf.ByteString getPrincipalBytes() { } } /** - * - * *
      * Output only. The service account that needs permission to create table, upload data to
      * the big query dataset.
      * 
* * string principal = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The principal to set. * @return This builder for chaining. */ - public Builder setPrincipal(java.lang.String value) { + public Builder setPrincipal( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + principal_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The service account that needs permission to create table, upload data to
      * the big query dataset.
      * 
* * string principal = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearPrincipal() { - + principal_ = getDefaultInstance().getPrincipal(); onChanged(); return this; } /** - * - * *
      * Output only. The service account that needs permission to create table, upload data to
      * the big query dataset.
      * 
* * string principal = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for principal to set. * @return This builder for chaining. */ - public Builder setPrincipalBytes(com.google.protobuf.ByteString value) { + public Builder setPrincipalBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + principal_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2258,12 +2042,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.securitycenter.v1.BigQueryExport) } // @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1.BigQueryExport) private static final com.google.cloud.securitycenter.v1.BigQueryExport DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.securitycenter.v1.BigQueryExport(); } @@ -2272,27 +2056,27 @@ public static com.google.cloud.securitycenter.v1.BigQueryExport getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BigQueryExport parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - 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 BigQueryExport parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + 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; @@ -2307,4 +2091,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.securitycenter.v1.BigQueryExport getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/BigQueryExportName.java b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/BigQueryExportName.java similarity index 100% rename from java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/BigQueryExportName.java rename to owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/BigQueryExportName.java diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/BigQueryExportOrBuilder.java b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/BigQueryExportOrBuilder.java similarity index 83% rename from java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/BigQueryExportOrBuilder.java rename to owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/BigQueryExportOrBuilder.java index 913eaddea7a9..e24d90ab0197 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/BigQueryExportOrBuilder.java +++ b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/BigQueryExportOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/securitycenter/v1/bigquery_export.proto package com.google.cloud.securitycenter.v1; -public interface BigQueryExportOrBuilder - extends +public interface BigQueryExportOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.securitycenter.v1.BigQueryExport) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The relative resource name of this export. See:
    * https://cloud.google.com/apis/design/resource_names#relative_resource_name.
@@ -38,13 +20,10 @@ public interface BigQueryExportOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The relative resource name of this export. See:
    * https://cloud.google.com/apis/design/resource_names#relative_resource_name.
@@ -57,39 +36,32 @@ public interface BigQueryExportOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The description of the export (max of 1024 characters).
    * 
* * string description = 2; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * The description of the export (max of 1024 characters).
    * 
* * string description = 2; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * Expression that defines the filter to apply across create/update events
    * of findings. The expression is a list of zero or more restrictions combined
@@ -109,13 +81,10 @@ public interface BigQueryExportOrBuilder
    * 
* * string filter = 3; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * Expression that defines the filter to apply across create/update events
    * of findings. The expression is a list of zero or more restrictions combined
@@ -135,14 +104,12 @@ public interface BigQueryExportOrBuilder
    * 
* * string filter = 3; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * The dataset to write findings' updates to. Its format is
    * "projects/[project_id]/datasets/[bigquery_dataset_id]".
@@ -151,13 +118,10 @@ public interface BigQueryExportOrBuilder
    * 
* * string dataset = 4; - * * @return The dataset. */ java.lang.String getDataset(); /** - * - * *
    * The dataset to write findings' updates to. Its format is
    * "projects/[project_id]/datasets/[bigquery_dataset_id]".
@@ -166,102 +130,78 @@ public interface BigQueryExportOrBuilder
    * 
* * string dataset = 4; - * * @return The bytes for dataset. */ - com.google.protobuf.ByteString getDatasetBytes(); + com.google.protobuf.ByteString + getDatasetBytes(); /** - * - * *
    * Output only. The time at which the big query export was created.
    * This field is set by the server and will be ignored if provided on export
    * on creation.
    * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Output only. The time at which the big query export was created.
    * This field is set by the server and will be ignored if provided on export
    * on creation.
    * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Output only. The time at which the big query export was created.
    * This field is set by the server and will be ignored if provided on export
    * on creation.
    * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * Output only. The most recent time at which the big export was updated.
    * This field is set by the server and will be ignored if provided on export
    * creation or update.
    * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * Output only. The most recent time at which the big export was updated.
    * This field is set by the server and will be ignored if provided on export
    * creation or update.
    * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * Output only. The most recent time at which the big export was updated.
    * This field is set by the server and will be ignored if provided on export
    * creation or update.
    * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
    * Output only. Email address of the user who last edited the big query export.
    * This field is set by the server and will be ignored if provided on export
@@ -269,13 +209,10 @@ public interface BigQueryExportOrBuilder
    * 
* * string most_recent_editor = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The mostRecentEditor. */ java.lang.String getMostRecentEditor(); /** - * - * *
    * Output only. Email address of the user who last edited the big query export.
    * This field is set by the server and will be ignored if provided on export
@@ -283,35 +220,30 @@ public interface BigQueryExportOrBuilder
    * 
* * string most_recent_editor = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for mostRecentEditor. */ - com.google.protobuf.ByteString getMostRecentEditorBytes(); + com.google.protobuf.ByteString + getMostRecentEditorBytes(); /** - * - * *
    * Output only. The service account that needs permission to create table, upload data to
    * the big query dataset.
    * 
* * string principal = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The principal. */ java.lang.String getPrincipal(); /** - * - * *
    * Output only. The service account that needs permission to create table, upload data to
    * the big query dataset.
    * 
* * string principal = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for principal. */ - com.google.protobuf.ByteString getPrincipalBytes(); + com.google.protobuf.ByteString + getPrincipalBytes(); } diff --git a/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/BigQueryExportProto.java b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/BigQueryExportProto.java new file mode 100644 index 000000000000..59f6d78ac8a1 --- /dev/null +++ b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/BigQueryExportProto.java @@ -0,0 +1,79 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/securitycenter/v1/bigquery_export.proto + +package com.google.cloud.securitycenter.v1; + +public final class BigQueryExportProto { + private BigQueryExportProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public 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_securitycenter_v1_BigQueryExport_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_securitycenter_v1_BigQueryExport_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n4google/cloud/securitycenter/v1/bigquer" + + "y_export.proto\022\036google.cloud.securitycen" + + "ter.v1\032\037google/api/field_behavior.proto\032" + + "\031google/api/resource.proto\032\037google/proto" + + "buf/timestamp.proto\"\275\003\n\016BigQueryExport\022\014" + + "\n\004name\030\001 \001(\t\022\023\n\013description\030\002 \001(\t\022\016\n\006fil" + + "ter\030\003 \001(\t\022\017\n\007dataset\030\004 \001(\t\0224\n\013create_tim" + + "e\030\005 \001(\0132\032.google.protobuf.TimestampB\003\340A\003" + + "\0224\n\013update_time\030\006 \001(\0132\032.google.protobuf." + + "TimestampB\003\340A\003\022\037\n\022most_recent_editor\030\007 \001" + + "(\tB\003\340A\003\022\026\n\tprincipal\030\010 \001(\tB\003\340A\003:\301\001\352A\275\001\n," + + "securitycenter.googleapis.com/BigQueryEx" + + "port\0225organizations/{organization}/bigQu" + + "eryExports/{export}\022)folders/{folder}/bi" + + "gQueryExports/{export}\022+projects/{projec" + + "t}/bigQueryExports/{export}B\357\001\n\"com.goog" + + "le.cloud.securitycenter.v1B\023BigQueryExpo" + + "rtProtoP\001ZLgoogle.golang.org/genproto/go" + + "ogleapis/cloud/securitycenter/v1;securit" + + "ycenter\252\002\036Google.Cloud.SecurityCenter.V1" + + "\312\002\036Google\\Cloud\\SecurityCenter\\V1\352\002!Goog" + + "le::Cloud::SecurityCenter::V1b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_cloud_securitycenter_v1_BigQueryExport_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_securitycenter_v1_BigQueryExport_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_securitycenter_v1_BigQueryExport_descriptor, + new java.lang.String[] { "Name", "Description", "Filter", "Dataset", "CreateTime", "UpdateTime", "MostRecentEditor", "Principal", }); + 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-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/BulkMuteFindingsRequest.java b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/BulkMuteFindingsRequest.java similarity index 71% rename from java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/BulkMuteFindingsRequest.java rename to owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/BulkMuteFindingsRequest.java index a6d8cc223d6d..1181fcad4ef3 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/BulkMuteFindingsRequest.java +++ b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/BulkMuteFindingsRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/securitycenter/v1/securitycenter_service.proto package com.google.cloud.securitycenter.v1; /** - * - * *
  * Request message for bulk findings update.
  * Note:
@@ -31,16 +14,15 @@
  *
  * Protobuf type {@code google.cloud.securitycenter.v1.BulkMuteFindingsRequest}
  */
-public final class BulkMuteFindingsRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class BulkMuteFindingsRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.securitycenter.v1.BulkMuteFindingsRequest)
     BulkMuteFindingsRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use BulkMuteFindingsRequest.newBuilder() to construct.
   private BulkMuteFindingsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private BulkMuteFindingsRequest() {
     parent_ = "";
     filter_ = "";
@@ -49,45 +31,39 @@ private BulkMuteFindingsRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new BulkMuteFindingsRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.securitycenter.v1.SecuritycenterService
-        .internal_static_google_cloud_securitycenter_v1_BulkMuteFindingsRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.securitycenter.v1.SecuritycenterService.internal_static_google_cloud_securitycenter_v1_BulkMuteFindingsRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.securitycenter.v1.SecuritycenterService
-        .internal_static_google_cloud_securitycenter_v1_BulkMuteFindingsRequest_fieldAccessorTable
+    return com.google.cloud.securitycenter.v1.SecuritycenterService.internal_static_google_cloud_securitycenter_v1_BulkMuteFindingsRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.securitycenter.v1.BulkMuteFindingsRequest.class,
-            com.google.cloud.securitycenter.v1.BulkMuteFindingsRequest.Builder.class);
+            com.google.cloud.securitycenter.v1.BulkMuteFindingsRequest.class, com.google.cloud.securitycenter.v1.BulkMuteFindingsRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
   private volatile java.lang.Object parent_;
   /**
-   *
-   *
    * 
    * Required. The parent, at which bulk action needs to be applied. Its format
    * is "organizations/[organization_id]", "folders/[folder_id]",
    * "projects/[project_id]".
    * 
* - * - * string parent = 1 [(.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 @@ -96,33 +72,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, at which bulk action needs to be applied. Its format
    * is "organizations/[organization_id]", "folders/[folder_id]",
    * "projects/[project_id]".
    * 
* - * - * string parent = 1 [(.google.api.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 { @@ -133,8 +107,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int FILTER_FIELD_NUMBER = 2; private volatile java.lang.Object filter_; /** - * - * *
    * Expression that identifies findings that should be updated.
    * The expression is a list of zero or more restrictions combined
@@ -154,7 +126,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string filter = 2; - * * @return The filter. */ @java.lang.Override @@ -163,15 +134,14 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** - * - * *
    * Expression that identifies findings that should be updated.
    * The expression is a list of zero or more restrictions combined
@@ -191,15 +161,16 @@ public java.lang.String getFilter() {
    * 
* * string filter = 2; - * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -210,53 +181,48 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int MUTE_ANNOTATION_FIELD_NUMBER = 3; private volatile java.lang.Object muteAnnotation_; /** - * - * *
    * This can be a mute configuration name or any identifier for mute/unmute
    * of findings based on the filter.
    * 
* * string mute_annotation = 3 [deprecated = true]; - * - * @deprecated google.cloud.securitycenter.v1.BulkMuteFindingsRequest.mute_annotation is - * deprecated. See google/cloud/securitycenter/v1/securitycenter_service.proto;l=612 + * @deprecated google.cloud.securitycenter.v1.BulkMuteFindingsRequest.mute_annotation is deprecated. + * See google/cloud/securitycenter/v1/securitycenter_service.proto;l=612 * @return The muteAnnotation. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getMuteAnnotation() { + @java.lang.Deprecated public java.lang.String getMuteAnnotation() { java.lang.Object ref = muteAnnotation_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); muteAnnotation_ = s; return s; } } /** - * - * *
    * This can be a mute configuration name or any identifier for mute/unmute
    * of findings based on the filter.
    * 
* * string mute_annotation = 3 [deprecated = true]; - * - * @deprecated google.cloud.securitycenter.v1.BulkMuteFindingsRequest.mute_annotation is - * deprecated. See google/cloud/securitycenter/v1/securitycenter_service.proto;l=612 + * @deprecated google.cloud.securitycenter.v1.BulkMuteFindingsRequest.mute_annotation is deprecated. + * See google/cloud/securitycenter/v1/securitycenter_service.proto;l=612 * @return The bytes for muteAnnotation. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getMuteAnnotationBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getMuteAnnotationBytes() { java.lang.Object ref = muteAnnotation_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); muteAnnotation_ = b; return b; } else { @@ -265,7 +231,6 @@ public com.google.protobuf.ByteString getMuteAnnotationBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -277,7 +242,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -313,17 +279,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.securitycenter.v1.BulkMuteFindingsRequest)) { return super.equals(obj); } - com.google.cloud.securitycenter.v1.BulkMuteFindingsRequest other = - (com.google.cloud.securitycenter.v1.BulkMuteFindingsRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (!getFilter().equals(other.getFilter())) return false; - if (!getMuteAnnotation().equals(other.getMuteAnnotation())) return false; + com.google.cloud.securitycenter.v1.BulkMuteFindingsRequest other = (com.google.cloud.securitycenter.v1.BulkMuteFindingsRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; + if (!getMuteAnnotation() + .equals(other.getMuteAnnotation())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -347,104 +315,96 @@ public int hashCode() { } public static com.google.cloud.securitycenter.v1.BulkMuteFindingsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.BulkMuteFindingsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.BulkMuteFindingsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.BulkMuteFindingsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.BulkMuteFindingsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.BulkMuteFindingsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.securitycenter.v1.BulkMuteFindingsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.securitycenter.v1.BulkMuteFindingsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.BulkMuteFindingsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.securitycenter.v1.BulkMuteFindingsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.securitycenter.v1.BulkMuteFindingsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.BulkMuteFindingsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.BulkMuteFindingsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.BulkMuteFindingsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.securitycenter.v1.BulkMuteFindingsRequest prototype) { + public static Builder newBuilder(com.google.cloud.securitycenter.v1.BulkMuteFindingsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 bulk findings update.
    * Note:
@@ -455,32 +415,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.securitycenter.v1.BulkMuteFindingsRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.securitycenter.v1.BulkMuteFindingsRequest)
       com.google.cloud.securitycenter.v1.BulkMuteFindingsRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.securitycenter.v1.SecuritycenterService
-          .internal_static_google_cloud_securitycenter_v1_BulkMuteFindingsRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.securitycenter.v1.SecuritycenterService.internal_static_google_cloud_securitycenter_v1_BulkMuteFindingsRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.securitycenter.v1.SecuritycenterService
-          .internal_static_google_cloud_securitycenter_v1_BulkMuteFindingsRequest_fieldAccessorTable
+      return com.google.cloud.securitycenter.v1.SecuritycenterService.internal_static_google_cloud_securitycenter_v1_BulkMuteFindingsRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.securitycenter.v1.BulkMuteFindingsRequest.class,
-              com.google.cloud.securitycenter.v1.BulkMuteFindingsRequest.Builder.class);
+              com.google.cloud.securitycenter.v1.BulkMuteFindingsRequest.class, com.google.cloud.securitycenter.v1.BulkMuteFindingsRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.securitycenter.v1.BulkMuteFindingsRequest.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();
@@ -494,9 +455,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.securitycenter.v1.SecuritycenterService
-          .internal_static_google_cloud_securitycenter_v1_BulkMuteFindingsRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.securitycenter.v1.SecuritycenterService.internal_static_google_cloud_securitycenter_v1_BulkMuteFindingsRequest_descriptor;
     }
 
     @java.lang.Override
@@ -515,8 +476,7 @@ public com.google.cloud.securitycenter.v1.BulkMuteFindingsRequest build() {
 
     @java.lang.Override
     public com.google.cloud.securitycenter.v1.BulkMuteFindingsRequest buildPartial() {
-      com.google.cloud.securitycenter.v1.BulkMuteFindingsRequest result =
-          new com.google.cloud.securitycenter.v1.BulkMuteFindingsRequest(this);
+      com.google.cloud.securitycenter.v1.BulkMuteFindingsRequest result = new com.google.cloud.securitycenter.v1.BulkMuteFindingsRequest(this);
       result.parent_ = parent_;
       result.filter_ = filter_;
       result.muteAnnotation_ = muteAnnotation_;
@@ -528,39 +488,38 @@ public com.google.cloud.securitycenter.v1.BulkMuteFindingsRequest buildPartial()
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.securitycenter.v1.BulkMuteFindingsRequest) {
-        return mergeFrom((com.google.cloud.securitycenter.v1.BulkMuteFindingsRequest) other);
+        return mergeFrom((com.google.cloud.securitycenter.v1.BulkMuteFindingsRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -568,8 +527,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.securitycenter.v1.BulkMuteFindingsRequest other) {
-      if (other == com.google.cloud.securitycenter.v1.BulkMuteFindingsRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.securitycenter.v1.BulkMuteFindingsRequest.getDefaultInstance()) return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         onChanged();
@@ -608,31 +566,27 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 10
-            case 18:
-              {
-                filter_ = input.readStringRequireUtf8();
+              break;
+            } // case 10
+            case 18: {
+              filter_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 18
-            case 26:
-              {
-                muteAnnotation_ = input.readStringRequireUtf8();
+              break;
+            } // case 18
+            case 26: {
+              muteAnnotation_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              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) {
@@ -645,24 +599,20 @@ public Builder mergeFrom(
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
      * Required. The parent, at which bulk action needs to be applied. Its format
      * is "organizations/[organization_id]", "folders/[folder_id]",
      * "projects/[project_id]".
      * 
* - * - * string parent = 1 [(.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; @@ -671,25 +621,22 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent, at which bulk action needs to be applied. Its format
      * is "organizations/[organization_id]", "folders/[folder_id]",
      * "projects/[project_id]".
      * 
* - * - * string parent = 1 [(.google.api.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 { @@ -697,73 +644,60 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent, at which bulk action needs to be applied. Its format
      * is "organizations/[organization_id]", "folders/[folder_id]",
      * "projects/[project_id]".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The parent, at which bulk action needs to be applied. Its format
      * is "organizations/[organization_id]", "folders/[folder_id]",
      * "projects/[project_id]".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The parent, at which bulk action needs to be applied. Its format
      * is "organizations/[organization_id]", "folders/[folder_id]",
      * "projects/[project_id]".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -771,8 +705,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * Expression that identifies findings that should be updated.
      * The expression is a list of zero or more restrictions combined
@@ -792,13 +724,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * string filter = 2; - * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -807,8 +739,6 @@ public java.lang.String getFilter() { } } /** - * - * *
      * Expression that identifies findings that should be updated.
      * The expression is a list of zero or more restrictions combined
@@ -828,14 +758,15 @@ public java.lang.String getFilter() {
      * 
* * string filter = 2; - * * @return The bytes for filter. */ - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -843,8 +774,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * Expression that identifies findings that should be updated.
      * The expression is a list of zero or more restrictions combined
@@ -864,22 +793,20 @@ public com.google.protobuf.ByteString getFilterBytes() {
      * 
* * string filter = 2; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** - * - * *
      * Expression that identifies findings that should be updated.
      * The expression is a list of zero or more restrictions combined
@@ -899,18 +826,15 @@ public Builder setFilter(java.lang.String value) {
      * 
* * string filter = 2; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * Expression that identifies findings that should be updated.
      * The expression is a list of zero or more restrictions combined
@@ -930,16 +854,16 @@ public Builder clearFilter() {
      * 
* * string filter = 2; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; @@ -947,24 +871,21 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { private java.lang.Object muteAnnotation_ = ""; /** - * - * *
      * This can be a mute configuration name or any identifier for mute/unmute
      * of findings based on the filter.
      * 
* * string mute_annotation = 3 [deprecated = true]; - * - * @deprecated google.cloud.securitycenter.v1.BulkMuteFindingsRequest.mute_annotation is - * deprecated. See google/cloud/securitycenter/v1/securitycenter_service.proto;l=612 + * @deprecated google.cloud.securitycenter.v1.BulkMuteFindingsRequest.mute_annotation is deprecated. + * See google/cloud/securitycenter/v1/securitycenter_service.proto;l=612 * @return The muteAnnotation. */ - @java.lang.Deprecated - public java.lang.String getMuteAnnotation() { + @java.lang.Deprecated public java.lang.String getMuteAnnotation() { java.lang.Object ref = muteAnnotation_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); muteAnnotation_ = s; return s; @@ -973,25 +894,23 @@ public java.lang.String getMuteAnnotation() { } } /** - * - * *
      * This can be a mute configuration name or any identifier for mute/unmute
      * of findings based on the filter.
      * 
* * string mute_annotation = 3 [deprecated = true]; - * - * @deprecated google.cloud.securitycenter.v1.BulkMuteFindingsRequest.mute_annotation is - * deprecated. See google/cloud/securitycenter/v1/securitycenter_service.proto;l=612 + * @deprecated google.cloud.securitycenter.v1.BulkMuteFindingsRequest.mute_annotation is deprecated. + * See google/cloud/securitycenter/v1/securitycenter_service.proto;l=612 * @return The bytes for muteAnnotation. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getMuteAnnotationBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getMuteAnnotationBytes() { java.lang.Object ref = muteAnnotation_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); muteAnnotation_ = b; return b; } else { @@ -999,80 +918,70 @@ public com.google.protobuf.ByteString getMuteAnnotationBytes() { } } /** - * - * *
      * This can be a mute configuration name or any identifier for mute/unmute
      * of findings based on the filter.
      * 
* * string mute_annotation = 3 [deprecated = true]; - * - * @deprecated google.cloud.securitycenter.v1.BulkMuteFindingsRequest.mute_annotation is - * deprecated. See google/cloud/securitycenter/v1/securitycenter_service.proto;l=612 + * @deprecated google.cloud.securitycenter.v1.BulkMuteFindingsRequest.mute_annotation is deprecated. + * See google/cloud/securitycenter/v1/securitycenter_service.proto;l=612 * @param value The muteAnnotation to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setMuteAnnotation(java.lang.String value) { + @java.lang.Deprecated public Builder setMuteAnnotation( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + muteAnnotation_ = value; onChanged(); return this; } /** - * - * *
      * This can be a mute configuration name or any identifier for mute/unmute
      * of findings based on the filter.
      * 
* * string mute_annotation = 3 [deprecated = true]; - * - * @deprecated google.cloud.securitycenter.v1.BulkMuteFindingsRequest.mute_annotation is - * deprecated. See google/cloud/securitycenter/v1/securitycenter_service.proto;l=612 + * @deprecated google.cloud.securitycenter.v1.BulkMuteFindingsRequest.mute_annotation is deprecated. + * See google/cloud/securitycenter/v1/securitycenter_service.proto;l=612 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearMuteAnnotation() { - + @java.lang.Deprecated public Builder clearMuteAnnotation() { + muteAnnotation_ = getDefaultInstance().getMuteAnnotation(); onChanged(); return this; } /** - * - * *
      * This can be a mute configuration name or any identifier for mute/unmute
      * of findings based on the filter.
      * 
* * string mute_annotation = 3 [deprecated = true]; - * - * @deprecated google.cloud.securitycenter.v1.BulkMuteFindingsRequest.mute_annotation is - * deprecated. See google/cloud/securitycenter/v1/securitycenter_service.proto;l=612 + * @deprecated google.cloud.securitycenter.v1.BulkMuteFindingsRequest.mute_annotation is deprecated. + * See google/cloud/securitycenter/v1/securitycenter_service.proto;l=612 * @param value The bytes for muteAnnotation to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setMuteAnnotationBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setMuteAnnotationBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + muteAnnotation_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1082,12 +991,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.securitycenter.v1.BulkMuteFindingsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1.BulkMuteFindingsRequest) private static final com.google.cloud.securitycenter.v1.BulkMuteFindingsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.securitycenter.v1.BulkMuteFindingsRequest(); } @@ -1096,27 +1005,27 @@ public static com.google.cloud.securitycenter.v1.BulkMuteFindingsRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BulkMuteFindingsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - 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 BulkMuteFindingsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + 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; @@ -1131,4 +1040,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.securitycenter.v1.BulkMuteFindingsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/BulkMuteFindingsRequestOrBuilder.java b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/BulkMuteFindingsRequestOrBuilder.java similarity index 69% rename from java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/BulkMuteFindingsRequestOrBuilder.java rename to owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/BulkMuteFindingsRequestOrBuilder.java index 7e24e17d5b6d..46d1c6850917 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/BulkMuteFindingsRequestOrBuilder.java +++ b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/BulkMuteFindingsRequestOrBuilder.java @@ -1,64 +1,37 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/securitycenter/v1/securitycenter_service.proto package com.google.cloud.securitycenter.v1; -public interface BulkMuteFindingsRequestOrBuilder - extends +public interface BulkMuteFindingsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.securitycenter.v1.BulkMuteFindingsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The parent, at which bulk action needs to be applied. Its format
    * is "organizations/[organization_id]", "folders/[folder_id]",
    * "projects/[project_id]".
    * 
* - * - * string parent = 1 [(.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, at which bulk action needs to be applied. Its format
    * is "organizations/[organization_id]", "folders/[folder_id]",
    * "projects/[project_id]".
    * 
* - * - * string parent = 1 [(.google.api.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(); /** - * - * *
    * Expression that identifies findings that should be updated.
    * The expression is a list of zero or more restrictions combined
@@ -78,13 +51,10 @@ public interface BulkMuteFindingsRequestOrBuilder
    * 
* * string filter = 2; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * Expression that identifies findings that should be updated.
    * The expression is a list of zero or more restrictions combined
@@ -104,41 +74,34 @@ public interface BulkMuteFindingsRequestOrBuilder
    * 
* * string filter = 2; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * This can be a mute configuration name or any identifier for mute/unmute
    * of findings based on the filter.
    * 
* * string mute_annotation = 3 [deprecated = true]; - * - * @deprecated google.cloud.securitycenter.v1.BulkMuteFindingsRequest.mute_annotation is - * deprecated. See google/cloud/securitycenter/v1/securitycenter_service.proto;l=612 + * @deprecated google.cloud.securitycenter.v1.BulkMuteFindingsRequest.mute_annotation is deprecated. + * See google/cloud/securitycenter/v1/securitycenter_service.proto;l=612 * @return The muteAnnotation. */ - @java.lang.Deprecated - java.lang.String getMuteAnnotation(); + @java.lang.Deprecated java.lang.String getMuteAnnotation(); /** - * - * *
    * This can be a mute configuration name or any identifier for mute/unmute
    * of findings based on the filter.
    * 
* * string mute_annotation = 3 [deprecated = true]; - * - * @deprecated google.cloud.securitycenter.v1.BulkMuteFindingsRequest.mute_annotation is - * deprecated. See google/cloud/securitycenter/v1/securitycenter_service.proto;l=612 + * @deprecated google.cloud.securitycenter.v1.BulkMuteFindingsRequest.mute_annotation is deprecated. + * See google/cloud/securitycenter/v1/securitycenter_service.proto;l=612 * @return The bytes for muteAnnotation. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getMuteAnnotationBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getMuteAnnotationBytes(); } diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/BulkMuteFindingsResponse.java b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/BulkMuteFindingsResponse.java similarity index 63% rename from java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/BulkMuteFindingsResponse.java rename to owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/BulkMuteFindingsResponse.java index 05b967ea2bc2..14b8d305081f 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/BulkMuteFindingsResponse.java +++ b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/BulkMuteFindingsResponse.java @@ -1,72 +1,53 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/securitycenter/v1/securitycenter_service.proto package com.google.cloud.securitycenter.v1; /** - * - * *
  * The response to a BulkMute request. Contains the LRO information.
  * 
* * Protobuf type {@code google.cloud.securitycenter.v1.BulkMuteFindingsResponse} */ -public final class BulkMuteFindingsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class BulkMuteFindingsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.securitycenter.v1.BulkMuteFindingsResponse) BulkMuteFindingsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use BulkMuteFindingsResponse.newBuilder() to construct. private BulkMuteFindingsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private BulkMuteFindingsResponse() {} + private BulkMuteFindingsResponse() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BulkMuteFindingsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.securitycenter.v1.SecuritycenterService - .internal_static_google_cloud_securitycenter_v1_BulkMuteFindingsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.securitycenter.v1.SecuritycenterService.internal_static_google_cloud_securitycenter_v1_BulkMuteFindingsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.securitycenter.v1.SecuritycenterService - .internal_static_google_cloud_securitycenter_v1_BulkMuteFindingsResponse_fieldAccessorTable + return com.google.cloud.securitycenter.v1.SecuritycenterService.internal_static_google_cloud_securitycenter_v1_BulkMuteFindingsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.securitycenter.v1.BulkMuteFindingsResponse.class, - com.google.cloud.securitycenter.v1.BulkMuteFindingsResponse.Builder.class); + com.google.cloud.securitycenter.v1.BulkMuteFindingsResponse.class, com.google.cloud.securitycenter.v1.BulkMuteFindingsResponse.Builder.class); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -78,7 +59,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { getUnknownFields().writeTo(output); } @@ -96,13 +78,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.securitycenter.v1.BulkMuteFindingsResponse)) { return super.equals(obj); } - com.google.cloud.securitycenter.v1.BulkMuteFindingsResponse other = - (com.google.cloud.securitycenter.v1.BulkMuteFindingsResponse) obj; + com.google.cloud.securitycenter.v1.BulkMuteFindingsResponse other = (com.google.cloud.securitycenter.v1.BulkMuteFindingsResponse) obj; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -121,136 +102,129 @@ public int hashCode() { } public static com.google.cloud.securitycenter.v1.BulkMuteFindingsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.BulkMuteFindingsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.BulkMuteFindingsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.BulkMuteFindingsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.BulkMuteFindingsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.BulkMuteFindingsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.securitycenter.v1.BulkMuteFindingsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.securitycenter.v1.BulkMuteFindingsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.BulkMuteFindingsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.securitycenter.v1.BulkMuteFindingsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.securitycenter.v1.BulkMuteFindingsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.BulkMuteFindingsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.BulkMuteFindingsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.BulkMuteFindingsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.securitycenter.v1.BulkMuteFindingsResponse prototype) { + public static Builder newBuilder(com.google.cloud.securitycenter.v1.BulkMuteFindingsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The response to a BulkMute request. Contains the LRO information.
    * 
* * Protobuf type {@code google.cloud.securitycenter.v1.BulkMuteFindingsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.securitycenter.v1.BulkMuteFindingsResponse) com.google.cloud.securitycenter.v1.BulkMuteFindingsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.securitycenter.v1.SecuritycenterService - .internal_static_google_cloud_securitycenter_v1_BulkMuteFindingsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.securitycenter.v1.SecuritycenterService.internal_static_google_cloud_securitycenter_v1_BulkMuteFindingsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.securitycenter.v1.SecuritycenterService - .internal_static_google_cloud_securitycenter_v1_BulkMuteFindingsResponse_fieldAccessorTable + return com.google.cloud.securitycenter.v1.SecuritycenterService.internal_static_google_cloud_securitycenter_v1_BulkMuteFindingsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.securitycenter.v1.BulkMuteFindingsResponse.class, - com.google.cloud.securitycenter.v1.BulkMuteFindingsResponse.Builder.class); + com.google.cloud.securitycenter.v1.BulkMuteFindingsResponse.class, com.google.cloud.securitycenter.v1.BulkMuteFindingsResponse.Builder.class); } // Construct using com.google.cloud.securitycenter.v1.BulkMuteFindingsResponse.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(); @@ -258,9 +232,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.securitycenter.v1.SecuritycenterService - .internal_static_google_cloud_securitycenter_v1_BulkMuteFindingsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.securitycenter.v1.SecuritycenterService.internal_static_google_cloud_securitycenter_v1_BulkMuteFindingsResponse_descriptor; } @java.lang.Override @@ -279,8 +253,7 @@ public com.google.cloud.securitycenter.v1.BulkMuteFindingsResponse build() { @java.lang.Override public com.google.cloud.securitycenter.v1.BulkMuteFindingsResponse buildPartial() { - com.google.cloud.securitycenter.v1.BulkMuteFindingsResponse result = - new com.google.cloud.securitycenter.v1.BulkMuteFindingsResponse(this); + com.google.cloud.securitycenter.v1.BulkMuteFindingsResponse result = new com.google.cloud.securitycenter.v1.BulkMuteFindingsResponse(this); onBuilt(); return result; } @@ -289,39 +262,38 @@ public com.google.cloud.securitycenter.v1.BulkMuteFindingsResponse buildPartial( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.securitycenter.v1.BulkMuteFindingsResponse) { - return mergeFrom((com.google.cloud.securitycenter.v1.BulkMuteFindingsResponse) other); + return mergeFrom((com.google.cloud.securitycenter.v1.BulkMuteFindingsResponse)other); } else { super.mergeFrom(other); return this; @@ -329,8 +301,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.securitycenter.v1.BulkMuteFindingsResponse other) { - if (other == com.google.cloud.securitycenter.v1.BulkMuteFindingsResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.securitycenter.v1.BulkMuteFindingsResponse.getDefaultInstance()) return this; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -357,13 +328,12 @@ public Builder mergeFrom( case 0: done = true; break; - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -373,9 +343,9 @@ public Builder mergeFrom( } // finally return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -385,12 +355,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.securitycenter.v1.BulkMuteFindingsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1.BulkMuteFindingsResponse) private static final com.google.cloud.securitycenter.v1.BulkMuteFindingsResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.securitycenter.v1.BulkMuteFindingsResponse(); } @@ -399,27 +369,27 @@ public static com.google.cloud.securitycenter.v1.BulkMuteFindingsResponse getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BulkMuteFindingsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - 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 BulkMuteFindingsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + 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; @@ -434,4 +404,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.securitycenter.v1.BulkMuteFindingsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/BulkMuteFindingsResponseOrBuilder.java b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/BulkMuteFindingsResponseOrBuilder.java new file mode 100644 index 000000000000..28f11160970f --- /dev/null +++ b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/BulkMuteFindingsResponseOrBuilder.java @@ -0,0 +1,9 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/securitycenter/v1/securitycenter_service.proto + +package com.google.cloud.securitycenter.v1; + +public interface BulkMuteFindingsResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.securitycenter.v1.BulkMuteFindingsResponse) + com.google.protobuf.MessageOrBuilder { +} diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Compliance.java b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Compliance.java similarity index 70% rename from java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Compliance.java rename to owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Compliance.java index 5c008f031396..579c0d97e0d0 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Compliance.java +++ b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Compliance.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/securitycenter/v1/compliance.proto package com.google.cloud.securitycenter.v1; /** - * - * *
  * Contains compliance information about a security standard indicating unmet
  * recommendations.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.securitycenter.v1.Compliance}
  */
-public final class Compliance extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Compliance extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.securitycenter.v1.Compliance)
     ComplianceOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Compliance.newBuilder() to construct.
   private Compliance(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Compliance() {
     standard_ = "";
     version_ = "";
@@ -46,42 +28,38 @@ private Compliance() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Compliance();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.securitycenter.v1.ComplianceProto
-        .internal_static_google_cloud_securitycenter_v1_Compliance_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.securitycenter.v1.ComplianceProto.internal_static_google_cloud_securitycenter_v1_Compliance_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.securitycenter.v1.ComplianceProto
-        .internal_static_google_cloud_securitycenter_v1_Compliance_fieldAccessorTable
+    return com.google.cloud.securitycenter.v1.ComplianceProto.internal_static_google_cloud_securitycenter_v1_Compliance_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.securitycenter.v1.Compliance.class,
-            com.google.cloud.securitycenter.v1.Compliance.Builder.class);
+            com.google.cloud.securitycenter.v1.Compliance.class, com.google.cloud.securitycenter.v1.Compliance.Builder.class);
   }
 
   public static final int STANDARD_FIELD_NUMBER = 1;
   private volatile java.lang.Object standard_;
   /**
-   *
-   *
    * 
    * Refers to industry wide standards or benchmarks e.g. "cis", "pci", "owasp",
    * etc.
    * 
* * string standard = 1; - * * @return The standard. */ @java.lang.Override @@ -90,30 +68,30 @@ public java.lang.String getStandard() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); standard_ = s; return s; } } /** - * - * *
    * Refers to industry wide standards or benchmarks e.g. "cis", "pci", "owasp",
    * etc.
    * 
* * string standard = 1; - * * @return The bytes for standard. */ @java.lang.Override - public com.google.protobuf.ByteString getStandardBytes() { + public com.google.protobuf.ByteString + getStandardBytes() { java.lang.Object ref = standard_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); standard_ = b; return b; } else { @@ -124,14 +102,11 @@ public com.google.protobuf.ByteString getStandardBytes() { public static final int VERSION_FIELD_NUMBER = 2; private volatile java.lang.Object version_; /** - * - * *
    * Version of the standard/benchmark e.g. 1.1
    * 
* * string version = 2; - * * @return The version. */ @java.lang.Override @@ -140,29 +115,29 @@ public java.lang.String getVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; } } /** - * - * *
    * Version of the standard/benchmark e.g. 1.1
    * 
* * string version = 2; - * * @return The bytes for version. */ @java.lang.Override - public com.google.protobuf.ByteString getVersionBytes() { + public com.google.protobuf.ByteString + getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); version_ = b; return b; } else { @@ -173,42 +148,34 @@ public com.google.protobuf.ByteString getVersionBytes() { public static final int IDS_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList ids_; /** - * - * *
    * Policies within the standard/benchmark e.g. A.12.4.1
    * 
* * repeated string ids = 3; - * * @return A list containing the ids. */ - public com.google.protobuf.ProtocolStringList getIdsList() { + public com.google.protobuf.ProtocolStringList + getIdsList() { return ids_; } /** - * - * *
    * Policies within the standard/benchmark e.g. A.12.4.1
    * 
* * repeated string ids = 3; - * * @return The count of ids. */ public int getIdsCount() { return ids_.size(); } /** - * - * *
    * Policies within the standard/benchmark e.g. A.12.4.1
    * 
* * repeated string ids = 3; - * * @param index The index of the element to return. * @return The ids at the given index. */ @@ -216,23 +183,20 @@ public java.lang.String getIds(int index) { return ids_.get(index); } /** - * - * *
    * Policies within the standard/benchmark e.g. A.12.4.1
    * 
* * repeated string ids = 3; - * * @param index The index of the value to return. * @return The bytes of the ids at the given index. */ - public com.google.protobuf.ByteString getIdsBytes(int index) { + public com.google.protobuf.ByteString + getIdsBytes(int index) { return ids_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -244,7 +208,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(standard_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, standard_); } @@ -285,17 +250,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.securitycenter.v1.Compliance)) { return super.equals(obj); } - com.google.cloud.securitycenter.v1.Compliance other = - (com.google.cloud.securitycenter.v1.Compliance) obj; + com.google.cloud.securitycenter.v1.Compliance other = (com.google.cloud.securitycenter.v1.Compliance) obj; - if (!getStandard().equals(other.getStandard())) return false; - if (!getVersion().equals(other.getVersion())) return false; - if (!getIdsList().equals(other.getIdsList())) return false; + if (!getStandard() + .equals(other.getStandard())) return false; + if (!getVersion() + .equals(other.getVersion())) return false; + if (!getIdsList() + .equals(other.getIdsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -320,104 +287,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.securitycenter.v1.Compliance parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.securitycenter.v1.Compliance parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.Compliance parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.Compliance parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.Compliance parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.Compliance parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.Compliance parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.Compliance parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.Compliance parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.securitycenter.v1.Compliance parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.securitycenter.v1.Compliance parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.Compliance parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.Compliance parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.Compliance parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.securitycenter.v1.Compliance prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Contains compliance information about a security standard indicating unmet
    * recommendations.
@@ -425,32 +385,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.securitycenter.v1.Compliance}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.securitycenter.v1.Compliance)
       com.google.cloud.securitycenter.v1.ComplianceOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.securitycenter.v1.ComplianceProto
-          .internal_static_google_cloud_securitycenter_v1_Compliance_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.securitycenter.v1.ComplianceProto.internal_static_google_cloud_securitycenter_v1_Compliance_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.securitycenter.v1.ComplianceProto
-          .internal_static_google_cloud_securitycenter_v1_Compliance_fieldAccessorTable
+      return com.google.cloud.securitycenter.v1.ComplianceProto.internal_static_google_cloud_securitycenter_v1_Compliance_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.securitycenter.v1.Compliance.class,
-              com.google.cloud.securitycenter.v1.Compliance.Builder.class);
+              com.google.cloud.securitycenter.v1.Compliance.class, com.google.cloud.securitycenter.v1.Compliance.Builder.class);
     }
 
     // Construct using com.google.cloud.securitycenter.v1.Compliance.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();
@@ -464,9 +425,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.securitycenter.v1.ComplianceProto
-          .internal_static_google_cloud_securitycenter_v1_Compliance_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.securitycenter.v1.ComplianceProto.internal_static_google_cloud_securitycenter_v1_Compliance_descriptor;
     }
 
     @java.lang.Override
@@ -485,8 +446,7 @@ public com.google.cloud.securitycenter.v1.Compliance build() {
 
     @java.lang.Override
     public com.google.cloud.securitycenter.v1.Compliance buildPartial() {
-      com.google.cloud.securitycenter.v1.Compliance result =
-          new com.google.cloud.securitycenter.v1.Compliance(this);
+      com.google.cloud.securitycenter.v1.Compliance result = new com.google.cloud.securitycenter.v1.Compliance(this);
       int from_bitField0_ = bitField0_;
       result.standard_ = standard_;
       result.version_ = version_;
@@ -503,39 +463,38 @@ public com.google.cloud.securitycenter.v1.Compliance buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.securitycenter.v1.Compliance) {
-        return mergeFrom((com.google.cloud.securitycenter.v1.Compliance) other);
+        return mergeFrom((com.google.cloud.securitycenter.v1.Compliance)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -588,32 +547,28 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                standard_ = input.readStringRequireUtf8();
+            case 10: {
+              standard_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 10
-            case 18:
-              {
-                version_ = input.readStringRequireUtf8();
+              break;
+            } // case 10
+            case 18: {
+              version_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 18
-            case 26:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureIdsIsMutable();
-                ids_.add(s);
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              break;
+            } // case 18
+            case 26: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureIdsIsMutable();
+              ids_.add(s);
+              break;
+            } // case 26
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -623,26 +578,23 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object standard_ = "";
     /**
-     *
-     *
      * 
      * Refers to industry wide standards or benchmarks e.g. "cis", "pci", "owasp",
      * etc.
      * 
* * string standard = 1; - * * @return The standard. */ public java.lang.String getStandard() { java.lang.Object ref = standard_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); standard_ = s; return s; @@ -651,22 +603,21 @@ public java.lang.String getStandard() { } } /** - * - * *
      * Refers to industry wide standards or benchmarks e.g. "cis", "pci", "owasp",
      * etc.
      * 
* * string standard = 1; - * * @return The bytes for standard. */ - public com.google.protobuf.ByteString getStandardBytes() { + public com.google.protobuf.ByteString + getStandardBytes() { java.lang.Object ref = standard_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); standard_ = b; return b; } else { @@ -674,64 +625,57 @@ public com.google.protobuf.ByteString getStandardBytes() { } } /** - * - * *
      * Refers to industry wide standards or benchmarks e.g. "cis", "pci", "owasp",
      * etc.
      * 
* * string standard = 1; - * * @param value The standard to set. * @return This builder for chaining. */ - public Builder setStandard(java.lang.String value) { + public Builder setStandard( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + standard_ = value; onChanged(); return this; } /** - * - * *
      * Refers to industry wide standards or benchmarks e.g. "cis", "pci", "owasp",
      * etc.
      * 
* * string standard = 1; - * * @return This builder for chaining. */ public Builder clearStandard() { - + standard_ = getDefaultInstance().getStandard(); onChanged(); return this; } /** - * - * *
      * Refers to industry wide standards or benchmarks e.g. "cis", "pci", "owasp",
      * etc.
      * 
* * string standard = 1; - * * @param value The bytes for standard to set. * @return This builder for chaining. */ - public Builder setStandardBytes(com.google.protobuf.ByteString value) { + public Builder setStandardBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + standard_ = value; onChanged(); return this; @@ -739,20 +683,18 @@ public Builder setStandardBytes(com.google.protobuf.ByteString value) { private java.lang.Object version_ = ""; /** - * - * *
      * Version of the standard/benchmark e.g. 1.1
      * 
* * string version = 2; - * * @return The version. */ public java.lang.String getVersion() { java.lang.Object ref = version_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; @@ -761,21 +703,20 @@ public java.lang.String getVersion() { } } /** - * - * *
      * Version of the standard/benchmark e.g. 1.1
      * 
* * string version = 2; - * * @return The bytes for version. */ - public com.google.protobuf.ByteString getVersionBytes() { + public com.google.protobuf.ByteString + getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); version_ = b; return b; } else { @@ -783,111 +724,95 @@ public com.google.protobuf.ByteString getVersionBytes() { } } /** - * - * *
      * Version of the standard/benchmark e.g. 1.1
      * 
* * string version = 2; - * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion(java.lang.String value) { + public Builder setVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + version_ = value; onChanged(); return this; } /** - * - * *
      * Version of the standard/benchmark e.g. 1.1
      * 
* * string version = 2; - * * @return This builder for chaining. */ public Builder clearVersion() { - + version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** - * - * *
      * Version of the standard/benchmark e.g. 1.1
      * 
* * string version = 2; - * * @param value The bytes for version to set. * @return This builder for chaining. */ - public Builder setVersionBytes(com.google.protobuf.ByteString value) { + public Builder setVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + version_ = value; onChanged(); return this; } private com.google.protobuf.LazyStringList ids_ = com.google.protobuf.LazyStringArrayList.EMPTY; - private void ensureIdsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { ids_ = new com.google.protobuf.LazyStringArrayList(ids_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * Policies within the standard/benchmark e.g. A.12.4.1
      * 
* * repeated string ids = 3; - * * @return A list containing the ids. */ - public com.google.protobuf.ProtocolStringList getIdsList() { + public com.google.protobuf.ProtocolStringList + getIdsList() { return ids_.getUnmodifiableView(); } /** - * - * *
      * Policies within the standard/benchmark e.g. A.12.4.1
      * 
* * repeated string ids = 3; - * * @return The count of ids. */ public int getIdsCount() { return ids_.size(); } /** - * - * *
      * Policies within the standard/benchmark e.g. A.12.4.1
      * 
* * repeated string ids = 3; - * * @param index The index of the element to return. * @return The ids at the given index. */ @@ -895,90 +820,80 @@ public java.lang.String getIds(int index) { return ids_.get(index); } /** - * - * *
      * Policies within the standard/benchmark e.g. A.12.4.1
      * 
* * repeated string ids = 3; - * * @param index The index of the value to return. * @return The bytes of the ids at the given index. */ - public com.google.protobuf.ByteString getIdsBytes(int index) { + public com.google.protobuf.ByteString + getIdsBytes(int index) { return ids_.getByteString(index); } /** - * - * *
      * Policies within the standard/benchmark e.g. A.12.4.1
      * 
* * repeated string ids = 3; - * * @param index The index to set the value at. * @param value The ids to set. * @return This builder for chaining. */ - public Builder setIds(int index, java.lang.String value) { + public Builder setIds( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureIdsIsMutable(); + throw new NullPointerException(); + } + ensureIdsIsMutable(); ids_.set(index, value); onChanged(); return this; } /** - * - * *
      * Policies within the standard/benchmark e.g. A.12.4.1
      * 
* * repeated string ids = 3; - * * @param value The ids to add. * @return This builder for chaining. */ - public Builder addIds(java.lang.String value) { + public Builder addIds( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureIdsIsMutable(); + throw new NullPointerException(); + } + ensureIdsIsMutable(); ids_.add(value); onChanged(); return this; } /** - * - * *
      * Policies within the standard/benchmark e.g. A.12.4.1
      * 
* * repeated string ids = 3; - * * @param values The ids to add. * @return This builder for chaining. */ - public Builder addAllIds(java.lang.Iterable values) { + public Builder addAllIds( + java.lang.Iterable values) { ensureIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, ids_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, ids_); onChanged(); return this; } /** - * - * *
      * Policies within the standard/benchmark e.g. A.12.4.1
      * 
* * repeated string ids = 3; - * * @return This builder for chaining. */ public Builder clearIds() { @@ -988,30 +903,28 @@ public Builder clearIds() { return this; } /** - * - * *
      * Policies within the standard/benchmark e.g. A.12.4.1
      * 
* * repeated string ids = 3; - * * @param value The bytes of the ids to add. * @return This builder for chaining. */ - public Builder addIdsBytes(com.google.protobuf.ByteString value) { + public Builder addIdsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureIdsIsMutable(); ids_.add(value); onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1021,12 +934,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.securitycenter.v1.Compliance) } // @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1.Compliance) private static final com.google.cloud.securitycenter.v1.Compliance DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.securitycenter.v1.Compliance(); } @@ -1035,27 +948,27 @@ public static com.google.cloud.securitycenter.v1.Compliance getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Compliance parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - 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 Compliance parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + 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; @@ -1070,4 +983,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.securitycenter.v1.Compliance getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ComplianceOrBuilder.java b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ComplianceOrBuilder.java similarity index 67% rename from java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ComplianceOrBuilder.java rename to owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ComplianceOrBuilder.java index 5c95e93b53db..f4fca6affadd 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ComplianceOrBuilder.java +++ b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ComplianceOrBuilder.java @@ -1,128 +1,92 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/securitycenter/v1/compliance.proto package com.google.cloud.securitycenter.v1; -public interface ComplianceOrBuilder - extends +public interface ComplianceOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.securitycenter.v1.Compliance) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Refers to industry wide standards or benchmarks e.g. "cis", "pci", "owasp",
    * etc.
    * 
* * string standard = 1; - * * @return The standard. */ java.lang.String getStandard(); /** - * - * *
    * Refers to industry wide standards or benchmarks e.g. "cis", "pci", "owasp",
    * etc.
    * 
* * string standard = 1; - * * @return The bytes for standard. */ - com.google.protobuf.ByteString getStandardBytes(); + com.google.protobuf.ByteString + getStandardBytes(); /** - * - * *
    * Version of the standard/benchmark e.g. 1.1
    * 
* * string version = 2; - * * @return The version. */ java.lang.String getVersion(); /** - * - * *
    * Version of the standard/benchmark e.g. 1.1
    * 
* * string version = 2; - * * @return The bytes for version. */ - com.google.protobuf.ByteString getVersionBytes(); + com.google.protobuf.ByteString + getVersionBytes(); /** - * - * *
    * Policies within the standard/benchmark e.g. A.12.4.1
    * 
* * repeated string ids = 3; - * * @return A list containing the ids. */ - java.util.List getIdsList(); + java.util.List + getIdsList(); /** - * - * *
    * Policies within the standard/benchmark e.g. A.12.4.1
    * 
* * repeated string ids = 3; - * * @return The count of ids. */ int getIdsCount(); /** - * - * *
    * Policies within the standard/benchmark e.g. A.12.4.1
    * 
* * repeated string ids = 3; - * * @param index The index of the element to return. * @return The ids at the given index. */ java.lang.String getIds(int index); /** - * - * *
    * Policies within the standard/benchmark e.g. A.12.4.1
    * 
* * repeated string ids = 3; - * * @param index The index of the value to return. * @return The bytes of the ids at the given index. */ - com.google.protobuf.ByteString getIdsBytes(int index); + com.google.protobuf.ByteString + getIdsBytes(int index); } diff --git a/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ComplianceProto.java b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ComplianceProto.java new file mode 100644 index 000000000000..009724a6c1b9 --- /dev/null +++ b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ComplianceProto.java @@ -0,0 +1,55 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/securitycenter/v1/compliance.proto + +package com.google.cloud.securitycenter.v1; + +public final class ComplianceProto { + private ComplianceProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public 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_securitycenter_v1_Compliance_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_securitycenter_v1_Compliance_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n/google/cloud/securitycenter/v1/complia" + + "nce.proto\022\036google.cloud.securitycenter.v" + + "1\"<\n\nCompliance\022\020\n\010standard\030\001 \001(\t\022\017\n\007ver" + + "sion\030\002 \001(\t\022\013\n\003ids\030\003 \003(\tB\353\001\n\"com.google.c" + + "loud.securitycenter.v1B\017ComplianceProtoP" + + "\001ZLgoogle.golang.org/genproto/googleapis" + + "/cloud/securitycenter/v1;securitycenter\252" + + "\002\036Google.Cloud.SecurityCenter.V1\312\002\036Googl" + + "e\\Cloud\\SecurityCenter\\V1\352\002!Google::Clou" + + "d::SecurityCenter::V1b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + }); + internal_static_google_cloud_securitycenter_v1_Compliance_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_securitycenter_v1_Compliance_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_securitycenter_v1_Compliance_descriptor, + new java.lang.String[] { "Standard", "Version", "Ids", }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Connection.java b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Connection.java similarity index 70% rename from java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Connection.java rename to owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Connection.java index c1c13056e3ce..03517acfbfcd 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Connection.java +++ b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Connection.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/securitycenter/v1/connection.proto package com.google.cloud.securitycenter.v1; /** - * - * *
  * Contains information about the IP connection associated with the finding.
  * 
* * Protobuf type {@code google.cloud.securitycenter.v1.Connection} */ -public final class Connection extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Connection extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.securitycenter.v1.Connection) ConnectionOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Connection.newBuilder() to construct. private Connection(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Connection() { destinationIp_ = ""; sourceIp_ = ""; @@ -45,43 +27,39 @@ private Connection() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Connection(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.securitycenter.v1.ConnectionProto - .internal_static_google_cloud_securitycenter_v1_Connection_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.securitycenter.v1.ConnectionProto.internal_static_google_cloud_securitycenter_v1_Connection_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.securitycenter.v1.ConnectionProto - .internal_static_google_cloud_securitycenter_v1_Connection_fieldAccessorTable + return com.google.cloud.securitycenter.v1.ConnectionProto.internal_static_google_cloud_securitycenter_v1_Connection_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.securitycenter.v1.Connection.class, - com.google.cloud.securitycenter.v1.Connection.Builder.class); + com.google.cloud.securitycenter.v1.Connection.class, com.google.cloud.securitycenter.v1.Connection.Builder.class); } /** - * - * *
    * IANA Internet Protocol Number such as TCP(6) and UDP(17).
    * 
* * Protobuf enum {@code google.cloud.securitycenter.v1.Connection.Protocol} */ - public enum Protocol implements com.google.protobuf.ProtocolMessageEnum { + public enum Protocol + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Unspecified protocol (not HOPOPT).
      * 
@@ -90,8 +68,6 @@ public enum Protocol implements com.google.protobuf.ProtocolMessageEnum { */ PROTOCOL_UNSPECIFIED(0), /** - * - * *
      * Internet Control Message Protocol.
      * 
@@ -100,8 +76,6 @@ public enum Protocol implements com.google.protobuf.ProtocolMessageEnum { */ ICMP(1), /** - * - * *
      * Transmission Control Protocol.
      * 
@@ -110,8 +84,6 @@ public enum Protocol implements com.google.protobuf.ProtocolMessageEnum { */ TCP(6), /** - * - * *
      * User Datagram Protocol.
      * 
@@ -120,8 +92,6 @@ public enum Protocol implements com.google.protobuf.ProtocolMessageEnum { */ UDP(17), /** - * - * *
      * Generic Routing Encapsulation.
      * 
@@ -130,8 +100,6 @@ public enum Protocol implements com.google.protobuf.ProtocolMessageEnum { */ GRE(47), /** - * - * *
      * Encap Security Payload.
      * 
@@ -143,8 +111,6 @@ public enum Protocol implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Unspecified protocol (not HOPOPT).
      * 
@@ -153,8 +119,6 @@ public enum Protocol implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PROTOCOL_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Internet Control Message Protocol.
      * 
@@ -163,8 +127,6 @@ public enum Protocol implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ICMP_VALUE = 1; /** - * - * *
      * Transmission Control Protocol.
      * 
@@ -173,8 +135,6 @@ public enum Protocol implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TCP_VALUE = 6; /** - * - * *
      * User Datagram Protocol.
      * 
@@ -183,8 +143,6 @@ public enum Protocol implements com.google.protobuf.ProtocolMessageEnum { */ public static final int UDP_VALUE = 17; /** - * - * *
      * Generic Routing Encapsulation.
      * 
@@ -193,8 +151,6 @@ public enum Protocol implements com.google.protobuf.ProtocolMessageEnum { */ public static final int GRE_VALUE = 47; /** - * - * *
      * Encap Security Payload.
      * 
@@ -203,6 +159,7 @@ public enum Protocol implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ESP_VALUE = 50; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -227,55 +184,52 @@ public static Protocol valueOf(int value) { */ public static Protocol forNumber(int value) { switch (value) { - case 0: - return PROTOCOL_UNSPECIFIED; - case 1: - return ICMP; - case 6: - return TCP; - case 17: - return UDP; - case 47: - return GRE; - case 50: - return ESP; - default: - return null; + case 0: return PROTOCOL_UNSPECIFIED; + case 1: return ICMP; + case 6: return TCP; + case 17: return UDP; + case 47: return GRE; + case 50: return ESP; + 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< + Protocol> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Protocol findValueByNumber(int number) { + return Protocol.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Protocol findValueByNumber(int number) { - return Protocol.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.securitycenter.v1.Connection.getDescriptor().getEnumTypes().get(0); } private static final Protocol[] VALUES = values(); - public static Protocol valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Protocol 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; @@ -295,15 +249,12 @@ private Protocol(int value) { public static final int DESTINATION_IP_FIELD_NUMBER = 1; private volatile java.lang.Object destinationIp_; /** - * - * *
    * Destination IP address. Not present for sockets that are listening and not
    * connected.
    * 
* * string destination_ip = 1; - * * @return The destinationIp. */ @java.lang.Override @@ -312,30 +263,30 @@ public java.lang.String getDestinationIp() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); destinationIp_ = s; return s; } } /** - * - * *
    * Destination IP address. Not present for sockets that are listening and not
    * connected.
    * 
* * string destination_ip = 1; - * * @return The bytes for destinationIp. */ @java.lang.Override - public com.google.protobuf.ByteString getDestinationIpBytes() { + public com.google.protobuf.ByteString + getDestinationIpBytes() { java.lang.Object ref = destinationIp_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); destinationIp_ = b; return b; } else { @@ -346,15 +297,12 @@ public com.google.protobuf.ByteString getDestinationIpBytes() { public static final int DESTINATION_PORT_FIELD_NUMBER = 2; private int destinationPort_; /** - * - * *
    * Destination port. Not present for sockets that are listening and not
    * connected.
    * 
* * int32 destination_port = 2; - * * @return The destinationPort. */ @java.lang.Override @@ -365,14 +313,11 @@ public int getDestinationPort() { public static final int SOURCE_IP_FIELD_NUMBER = 3; private volatile java.lang.Object sourceIp_; /** - * - * *
    * Source IP address.
    * 
* * string source_ip = 3; - * * @return The sourceIp. */ @java.lang.Override @@ -381,29 +326,29 @@ public java.lang.String getSourceIp() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceIp_ = s; return s; } } /** - * - * *
    * Source IP address.
    * 
* * string source_ip = 3; - * * @return The bytes for sourceIp. */ @java.lang.Override - public com.google.protobuf.ByteString getSourceIpBytes() { + public com.google.protobuf.ByteString + getSourceIpBytes() { java.lang.Object ref = sourceIp_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sourceIp_ = b; return b; } else { @@ -414,14 +359,11 @@ public com.google.protobuf.ByteString getSourceIpBytes() { public static final int SOURCE_PORT_FIELD_NUMBER = 4; private int sourcePort_; /** - * - * *
    * Source port.
    * 
* * int32 source_port = 4; - * * @return The sourcePort. */ @java.lang.Override @@ -432,43 +374,31 @@ public int getSourcePort() { public static final int PROTOCOL_FIELD_NUMBER = 5; private int protocol_; /** - * - * *
    * IANA Internet Protocol Number such as TCP(6) and UDP(17).
    * 
* * .google.cloud.securitycenter.v1.Connection.Protocol protocol = 5; - * * @return The enum numeric value on the wire for protocol. */ - @java.lang.Override - public int getProtocolValue() { + @java.lang.Override public int getProtocolValue() { return protocol_; } /** - * - * *
    * IANA Internet Protocol Number such as TCP(6) and UDP(17).
    * 
* * .google.cloud.securitycenter.v1.Connection.Protocol protocol = 5; - * * @return The protocol. */ - @java.lang.Override - public com.google.cloud.securitycenter.v1.Connection.Protocol getProtocol() { + @java.lang.Override public com.google.cloud.securitycenter.v1.Connection.Protocol getProtocol() { @SuppressWarnings("deprecation") - com.google.cloud.securitycenter.v1.Connection.Protocol result = - com.google.cloud.securitycenter.v1.Connection.Protocol.valueOf(protocol_); - return result == null - ? com.google.cloud.securitycenter.v1.Connection.Protocol.UNRECOGNIZED - : result; + com.google.cloud.securitycenter.v1.Connection.Protocol result = com.google.cloud.securitycenter.v1.Connection.Protocol.valueOf(protocol_); + return result == null ? com.google.cloud.securitycenter.v1.Connection.Protocol.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -480,7 +410,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(destinationIp_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, destinationIp_); } @@ -493,9 +424,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (sourcePort_ != 0) { output.writeInt32(4, sourcePort_); } - if (protocol_ - != com.google.cloud.securitycenter.v1.Connection.Protocol.PROTOCOL_UNSPECIFIED - .getNumber()) { + if (protocol_ != com.google.cloud.securitycenter.v1.Connection.Protocol.PROTOCOL_UNSPECIFIED.getNumber()) { output.writeEnum(5, protocol_); } getUnknownFields().writeTo(output); @@ -511,18 +440,19 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, destinationIp_); } if (destinationPort_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, destinationPort_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, destinationPort_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sourceIp_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, sourceIp_); } if (sourcePort_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, sourcePort_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(4, sourcePort_); } - if (protocol_ - != com.google.cloud.securitycenter.v1.Connection.Protocol.PROTOCOL_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, protocol_); + if (protocol_ != com.google.cloud.securitycenter.v1.Connection.Protocol.PROTOCOL_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(5, protocol_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -532,18 +462,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.securitycenter.v1.Connection)) { return super.equals(obj); } - com.google.cloud.securitycenter.v1.Connection other = - (com.google.cloud.securitycenter.v1.Connection) obj; + com.google.cloud.securitycenter.v1.Connection other = (com.google.cloud.securitycenter.v1.Connection) obj; - if (!getDestinationIp().equals(other.getDestinationIp())) return false; - if (getDestinationPort() != other.getDestinationPort()) return false; - if (!getSourceIp().equals(other.getSourceIp())) return false; - if (getSourcePort() != other.getSourcePort()) return false; + if (!getDestinationIp() + .equals(other.getDestinationIp())) return false; + if (getDestinationPort() + != other.getDestinationPort()) return false; + if (!getSourceIp() + .equals(other.getSourceIp())) return false; + if (getSourcePort() + != other.getSourcePort()) return false; if (protocol_ != other.protocol_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -571,136 +504,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.securitycenter.v1.Connection parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.securitycenter.v1.Connection parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.Connection parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.Connection parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.Connection parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.Connection parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.Connection parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.Connection parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.Connection parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.securitycenter.v1.Connection parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.securitycenter.v1.Connection parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.Connection parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.Connection parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.Connection parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.securitycenter.v1.Connection prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Contains information about the IP connection associated with the finding.
    * 
* * Protobuf type {@code google.cloud.securitycenter.v1.Connection} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.securitycenter.v1.Connection) com.google.cloud.securitycenter.v1.ConnectionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.securitycenter.v1.ConnectionProto - .internal_static_google_cloud_securitycenter_v1_Connection_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.securitycenter.v1.ConnectionProto.internal_static_google_cloud_securitycenter_v1_Connection_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.securitycenter.v1.ConnectionProto - .internal_static_google_cloud_securitycenter_v1_Connection_fieldAccessorTable + return com.google.cloud.securitycenter.v1.ConnectionProto.internal_static_google_cloud_securitycenter_v1_Connection_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.securitycenter.v1.Connection.class, - com.google.cloud.securitycenter.v1.Connection.Builder.class); + com.google.cloud.securitycenter.v1.Connection.class, com.google.cloud.securitycenter.v1.Connection.Builder.class); } // Construct using com.google.cloud.securitycenter.v1.Connection.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(); @@ -718,9 +645,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.securitycenter.v1.ConnectionProto - .internal_static_google_cloud_securitycenter_v1_Connection_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.securitycenter.v1.ConnectionProto.internal_static_google_cloud_securitycenter_v1_Connection_descriptor; } @java.lang.Override @@ -739,8 +666,7 @@ public com.google.cloud.securitycenter.v1.Connection build() { @java.lang.Override public com.google.cloud.securitycenter.v1.Connection buildPartial() { - com.google.cloud.securitycenter.v1.Connection result = - new com.google.cloud.securitycenter.v1.Connection(this); + com.google.cloud.securitycenter.v1.Connection result = new com.google.cloud.securitycenter.v1.Connection(this); result.destinationIp_ = destinationIp_; result.destinationPort_ = destinationPort_; result.sourceIp_ = sourceIp_; @@ -754,39 +680,38 @@ public com.google.cloud.securitycenter.v1.Connection buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.securitycenter.v1.Connection) { - return mergeFrom((com.google.cloud.securitycenter.v1.Connection) other); + return mergeFrom((com.google.cloud.securitycenter.v1.Connection)other); } else { super.mergeFrom(other); return this; @@ -838,43 +763,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - destinationIp_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 16: - { - destinationPort_ = input.readInt32(); - - break; - } // case 16 - case 26: - { - sourceIp_ = input.readStringRequireUtf8(); - - break; - } // case 26 - case 32: - { - sourcePort_ = input.readInt32(); - - break; - } // case 32 - case 40: - { - protocol_ = input.readEnum(); - - break; - } // case 40 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + destinationIp_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 16: { + destinationPort_ = input.readInt32(); + + break; + } // case 16 + case 26: { + sourceIp_ = input.readStringRequireUtf8(); + + break; + } // case 26 + case 32: { + sourcePort_ = input.readInt32(); + + break; + } // case 32 + case 40: { + protocol_ = input.readEnum(); + + break; + } // case 40 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -887,21 +806,19 @@ public Builder mergeFrom( private java.lang.Object destinationIp_ = ""; /** - * - * *
      * Destination IP address. Not present for sockets that are listening and not
      * connected.
      * 
* * string destination_ip = 1; - * * @return The destinationIp. */ public java.lang.String getDestinationIp() { java.lang.Object ref = destinationIp_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); destinationIp_ = s; return s; @@ -910,22 +827,21 @@ public java.lang.String getDestinationIp() { } } /** - * - * *
      * Destination IP address. Not present for sockets that are listening and not
      * connected.
      * 
* * string destination_ip = 1; - * * @return The bytes for destinationIp. */ - public com.google.protobuf.ByteString getDestinationIpBytes() { + public com.google.protobuf.ByteString + getDestinationIpBytes() { java.lang.Object ref = destinationIp_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); destinationIp_ = b; return b; } else { @@ -933,80 +849,70 @@ public com.google.protobuf.ByteString getDestinationIpBytes() { } } /** - * - * *
      * Destination IP address. Not present for sockets that are listening and not
      * connected.
      * 
* * string destination_ip = 1; - * * @param value The destinationIp to set. * @return This builder for chaining. */ - public Builder setDestinationIp(java.lang.String value) { + public Builder setDestinationIp( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + destinationIp_ = value; onChanged(); return this; } /** - * - * *
      * Destination IP address. Not present for sockets that are listening and not
      * connected.
      * 
* * string destination_ip = 1; - * * @return This builder for chaining. */ public Builder clearDestinationIp() { - + destinationIp_ = getDefaultInstance().getDestinationIp(); onChanged(); return this; } /** - * - * *
      * Destination IP address. Not present for sockets that are listening and not
      * connected.
      * 
* * string destination_ip = 1; - * * @param value The bytes for destinationIp to set. * @return This builder for chaining. */ - public Builder setDestinationIpBytes(com.google.protobuf.ByteString value) { + public Builder setDestinationIpBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + destinationIp_ = value; onChanged(); return this; } - private int destinationPort_; + private int destinationPort_ ; /** - * - * *
      * Destination port. Not present for sockets that are listening and not
      * connected.
      * 
* * int32 destination_port = 2; - * * @return The destinationPort. */ @java.lang.Override @@ -1014,38 +920,32 @@ public int getDestinationPort() { return destinationPort_; } /** - * - * *
      * Destination port. Not present for sockets that are listening and not
      * connected.
      * 
* * int32 destination_port = 2; - * * @param value The destinationPort to set. * @return This builder for chaining. */ public Builder setDestinationPort(int value) { - + destinationPort_ = value; onChanged(); return this; } /** - * - * *
      * Destination port. Not present for sockets that are listening and not
      * connected.
      * 
* * int32 destination_port = 2; - * * @return This builder for chaining. */ public Builder clearDestinationPort() { - + destinationPort_ = 0; onChanged(); return this; @@ -1053,20 +953,18 @@ public Builder clearDestinationPort() { private java.lang.Object sourceIp_ = ""; /** - * - * *
      * Source IP address.
      * 
* * string source_ip = 3; - * * @return The sourceIp. */ public java.lang.String getSourceIp() { java.lang.Object ref = sourceIp_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceIp_ = s; return s; @@ -1075,21 +973,20 @@ public java.lang.String getSourceIp() { } } /** - * - * *
      * Source IP address.
      * 
* * string source_ip = 3; - * * @return The bytes for sourceIp. */ - public com.google.protobuf.ByteString getSourceIpBytes() { + public com.google.protobuf.ByteString + getSourceIpBytes() { java.lang.Object ref = sourceIp_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sourceIp_ = b; return b; } else { @@ -1097,76 +994,66 @@ public com.google.protobuf.ByteString getSourceIpBytes() { } } /** - * - * *
      * Source IP address.
      * 
* * string source_ip = 3; - * * @param value The sourceIp to set. * @return This builder for chaining. */ - public Builder setSourceIp(java.lang.String value) { + public Builder setSourceIp( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + sourceIp_ = value; onChanged(); return this; } /** - * - * *
      * Source IP address.
      * 
* * string source_ip = 3; - * * @return This builder for chaining. */ public Builder clearSourceIp() { - + sourceIp_ = getDefaultInstance().getSourceIp(); onChanged(); return this; } /** - * - * *
      * Source IP address.
      * 
* * string source_ip = 3; - * * @param value The bytes for sourceIp to set. * @return This builder for chaining. */ - public Builder setSourceIpBytes(com.google.protobuf.ByteString value) { + public Builder setSourceIpBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + sourceIp_ = value; onChanged(); return this; } - private int sourcePort_; + private int sourcePort_ ; /** - * - * *
      * Source port.
      * 
* * int32 source_port = 4; - * * @return The sourcePort. */ @java.lang.Override @@ -1174,36 +1061,30 @@ public int getSourcePort() { return sourcePort_; } /** - * - * *
      * Source port.
      * 
* * int32 source_port = 4; - * * @param value The sourcePort to set. * @return This builder for chaining. */ public Builder setSourcePort(int value) { - + sourcePort_ = value; onChanged(); return this; } /** - * - * *
      * Source port.
      * 
* * int32 source_port = 4; - * * @return This builder for chaining. */ public Builder clearSourcePort() { - + sourcePort_ = 0; onChanged(); return this; @@ -1211,67 +1092,51 @@ public Builder clearSourcePort() { private int protocol_ = 0; /** - * - * *
      * IANA Internet Protocol Number such as TCP(6) and UDP(17).
      * 
* * .google.cloud.securitycenter.v1.Connection.Protocol protocol = 5; - * * @return The enum numeric value on the wire for protocol. */ - @java.lang.Override - public int getProtocolValue() { + @java.lang.Override public int getProtocolValue() { return protocol_; } /** - * - * *
      * IANA Internet Protocol Number such as TCP(6) and UDP(17).
      * 
* * .google.cloud.securitycenter.v1.Connection.Protocol protocol = 5; - * * @param value The enum numeric value on the wire for protocol to set. * @return This builder for chaining. */ public Builder setProtocolValue(int value) { - + protocol_ = value; onChanged(); return this; } /** - * - * *
      * IANA Internet Protocol Number such as TCP(6) and UDP(17).
      * 
* * .google.cloud.securitycenter.v1.Connection.Protocol protocol = 5; - * * @return The protocol. */ @java.lang.Override public com.google.cloud.securitycenter.v1.Connection.Protocol getProtocol() { @SuppressWarnings("deprecation") - com.google.cloud.securitycenter.v1.Connection.Protocol result = - com.google.cloud.securitycenter.v1.Connection.Protocol.valueOf(protocol_); - return result == null - ? com.google.cloud.securitycenter.v1.Connection.Protocol.UNRECOGNIZED - : result; + com.google.cloud.securitycenter.v1.Connection.Protocol result = com.google.cloud.securitycenter.v1.Connection.Protocol.valueOf(protocol_); + return result == null ? com.google.cloud.securitycenter.v1.Connection.Protocol.UNRECOGNIZED : result; } /** - * - * *
      * IANA Internet Protocol Number such as TCP(6) and UDP(17).
      * 
* * .google.cloud.securitycenter.v1.Connection.Protocol protocol = 5; - * * @param value The protocol to set. * @return This builder for chaining. */ @@ -1279,31 +1144,28 @@ public Builder setProtocol(com.google.cloud.securitycenter.v1.Connection.Protoco if (value == null) { throw new NullPointerException(); } - + protocol_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * IANA Internet Protocol Number such as TCP(6) and UDP(17).
      * 
* * .google.cloud.securitycenter.v1.Connection.Protocol protocol = 5; - * * @return This builder for chaining. */ public Builder clearProtocol() { - + protocol_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1313,12 +1175,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.securitycenter.v1.Connection) } // @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1.Connection) private static final com.google.cloud.securitycenter.v1.Connection DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.securitycenter.v1.Connection(); } @@ -1327,27 +1189,27 @@ public static com.google.cloud.securitycenter.v1.Connection getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Connection parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - 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 Connection parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + 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; @@ -1362,4 +1224,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.securitycenter.v1.Connection getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ConnectionOrBuilder.java b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ConnectionOrBuilder.java similarity index 69% rename from java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ConnectionOrBuilder.java rename to owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ConnectionOrBuilder.java index 0122fb2f95e6..b4767499bfd3 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ConnectionOrBuilder.java +++ b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ConnectionOrBuilder.java @@ -1,128 +1,90 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/securitycenter/v1/connection.proto package com.google.cloud.securitycenter.v1; -public interface ConnectionOrBuilder - extends +public interface ConnectionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.securitycenter.v1.Connection) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Destination IP address. Not present for sockets that are listening and not
    * connected.
    * 
* * string destination_ip = 1; - * * @return The destinationIp. */ java.lang.String getDestinationIp(); /** - * - * *
    * Destination IP address. Not present for sockets that are listening and not
    * connected.
    * 
* * string destination_ip = 1; - * * @return The bytes for destinationIp. */ - com.google.protobuf.ByteString getDestinationIpBytes(); + com.google.protobuf.ByteString + getDestinationIpBytes(); /** - * - * *
    * Destination port. Not present for sockets that are listening and not
    * connected.
    * 
* * int32 destination_port = 2; - * * @return The destinationPort. */ int getDestinationPort(); /** - * - * *
    * Source IP address.
    * 
* * string source_ip = 3; - * * @return The sourceIp. */ java.lang.String getSourceIp(); /** - * - * *
    * Source IP address.
    * 
* * string source_ip = 3; - * * @return The bytes for sourceIp. */ - com.google.protobuf.ByteString getSourceIpBytes(); + com.google.protobuf.ByteString + getSourceIpBytes(); /** - * - * *
    * Source port.
    * 
* * int32 source_port = 4; - * * @return The sourcePort. */ int getSourcePort(); /** - * - * *
    * IANA Internet Protocol Number such as TCP(6) and UDP(17).
    * 
* * .google.cloud.securitycenter.v1.Connection.Protocol protocol = 5; - * * @return The enum numeric value on the wire for protocol. */ int getProtocolValue(); /** - * - * *
    * IANA Internet Protocol Number such as TCP(6) and UDP(17).
    * 
* * .google.cloud.securitycenter.v1.Connection.Protocol protocol = 5; - * * @return The protocol. */ com.google.cloud.securitycenter.v1.Connection.Protocol getProtocol(); diff --git a/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ConnectionProto.java b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ConnectionProto.java new file mode 100644 index 000000000000..5e2059a76d4d --- /dev/null +++ b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ConnectionProto.java @@ -0,0 +1,60 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/securitycenter/v1/connection.proto + +package com.google.cloud.securitycenter.v1; + +public final class ConnectionProto { + private ConnectionProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public 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_securitycenter_v1_Connection_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_securitycenter_v1_Connection_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n/google/cloud/securitycenter/v1/connect" + + "ion.proto\022\036google.cloud.securitycenter.v" + + "1\"\201\002\n\nConnection\022\026\n\016destination_ip\030\001 \001(\t" + + "\022\030\n\020destination_port\030\002 \001(\005\022\021\n\tsource_ip\030" + + "\003 \001(\t\022\023\n\013source_port\030\004 \001(\005\022E\n\010protocol\030\005" + + " \001(\01623.google.cloud.securitycenter.v1.Co" + + "nnection.Protocol\"R\n\010Protocol\022\030\n\024PROTOCO" + + "L_UNSPECIFIED\020\000\022\010\n\004ICMP\020\001\022\007\n\003TCP\020\006\022\007\n\003UD" + + "P\020\021\022\007\n\003GRE\020/\022\007\n\003ESP\0202B\353\001\n\"com.google.clo" + + "ud.securitycenter.v1B\017ConnectionProtoP\001Z" + + "Lgoogle.golang.org/genproto/googleapis/c" + + "loud/securitycenter/v1;securitycenter\252\002\036" + + "Google.Cloud.SecurityCenter.V1\312\002\036Google\\" + + "Cloud\\SecurityCenter\\V1\352\002!Google::Cloud:" + + ":SecurityCenter::V1b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + }); + internal_static_google_cloud_securitycenter_v1_Connection_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_securitycenter_v1_Connection_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_securitycenter_v1_Connection_descriptor, + new java.lang.String[] { "DestinationIp", "DestinationPort", "SourceIp", "SourcePort", "Protocol", }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Contact.java b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Contact.java similarity index 65% rename from java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Contact.java rename to owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Contact.java index 21781b55cd2e..80bbb7ee7f9a 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Contact.java +++ b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Contact.java @@ -1,83 +1,61 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/securitycenter/v1/contact_details.proto package com.google.cloud.securitycenter.v1; /** - * - * *
  * Representa a single contact's email address
  * 
* * Protobuf type {@code google.cloud.securitycenter.v1.Contact} */ -public final class Contact extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Contact extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.securitycenter.v1.Contact) ContactOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Contact.newBuilder() to construct. private Contact(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Contact() { email_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Contact(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.securitycenter.v1.ContactDetailsProto - .internal_static_google_cloud_securitycenter_v1_Contact_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.securitycenter.v1.ContactDetailsProto.internal_static_google_cloud_securitycenter_v1_Contact_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.securitycenter.v1.ContactDetailsProto - .internal_static_google_cloud_securitycenter_v1_Contact_fieldAccessorTable + return com.google.cloud.securitycenter.v1.ContactDetailsProto.internal_static_google_cloud_securitycenter_v1_Contact_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.securitycenter.v1.Contact.class, - com.google.cloud.securitycenter.v1.Contact.Builder.class); + com.google.cloud.securitycenter.v1.Contact.class, com.google.cloud.securitycenter.v1.Contact.Builder.class); } public static final int EMAIL_FIELD_NUMBER = 1; private volatile java.lang.Object email_; /** - * - * *
    * An email address e.g. "person123@company.com"
    * 
* * string email = 1; - * * @return The email. */ @java.lang.Override @@ -86,29 +64,29 @@ public java.lang.String getEmail() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); email_ = s; return s; } } /** - * - * *
    * An email address e.g. "person123@company.com"
    * 
* * string email = 1; - * * @return The bytes for email. */ @java.lang.Override - public com.google.protobuf.ByteString getEmailBytes() { + public com.google.protobuf.ByteString + getEmailBytes() { java.lang.Object ref = email_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); email_ = b; return b; } else { @@ -117,7 +95,6 @@ public com.google.protobuf.ByteString getEmailBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -129,7 +106,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(email_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, email_); } @@ -153,15 +131,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.securitycenter.v1.Contact)) { return super.equals(obj); } - com.google.cloud.securitycenter.v1.Contact other = - (com.google.cloud.securitycenter.v1.Contact) obj; + com.google.cloud.securitycenter.v1.Contact other = (com.google.cloud.securitycenter.v1.Contact) obj; - if (!getEmail().equals(other.getEmail())) return false; + if (!getEmail() + .equals(other.getEmail())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -180,136 +158,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.securitycenter.v1.Contact parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.securitycenter.v1.Contact parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.Contact parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.Contact parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.Contact parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.Contact parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.Contact parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.Contact parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.Contact parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.securitycenter.v1.Contact parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.securitycenter.v1.Contact parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.Contact parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.Contact parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.Contact parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.securitycenter.v1.Contact prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Representa a single contact's email address
    * 
* * Protobuf type {@code google.cloud.securitycenter.v1.Contact} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.securitycenter.v1.Contact) com.google.cloud.securitycenter.v1.ContactOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.securitycenter.v1.ContactDetailsProto - .internal_static_google_cloud_securitycenter_v1_Contact_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.securitycenter.v1.ContactDetailsProto.internal_static_google_cloud_securitycenter_v1_Contact_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.securitycenter.v1.ContactDetailsProto - .internal_static_google_cloud_securitycenter_v1_Contact_fieldAccessorTable + return com.google.cloud.securitycenter.v1.ContactDetailsProto.internal_static_google_cloud_securitycenter_v1_Contact_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.securitycenter.v1.Contact.class, - com.google.cloud.securitycenter.v1.Contact.Builder.class); + com.google.cloud.securitycenter.v1.Contact.class, com.google.cloud.securitycenter.v1.Contact.Builder.class); } // Construct using com.google.cloud.securitycenter.v1.Contact.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(); @@ -319,9 +291,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.securitycenter.v1.ContactDetailsProto - .internal_static_google_cloud_securitycenter_v1_Contact_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.securitycenter.v1.ContactDetailsProto.internal_static_google_cloud_securitycenter_v1_Contact_descriptor; } @java.lang.Override @@ -340,8 +312,7 @@ public com.google.cloud.securitycenter.v1.Contact build() { @java.lang.Override public com.google.cloud.securitycenter.v1.Contact buildPartial() { - com.google.cloud.securitycenter.v1.Contact result = - new com.google.cloud.securitycenter.v1.Contact(this); + com.google.cloud.securitycenter.v1.Contact result = new com.google.cloud.securitycenter.v1.Contact(this); result.email_ = email_; onBuilt(); return result; @@ -351,39 +322,38 @@ public com.google.cloud.securitycenter.v1.Contact buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.securitycenter.v1.Contact) { - return mergeFrom((com.google.cloud.securitycenter.v1.Contact) other); + return mergeFrom((com.google.cloud.securitycenter.v1.Contact)other); } else { super.mergeFrom(other); return this; @@ -422,19 +392,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - email_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + email_ = input.readStringRequireUtf8(); + + 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) { @@ -447,20 +415,18 @@ public Builder mergeFrom( private java.lang.Object email_ = ""; /** - * - * *
      * An email address e.g. "person123@company.com"
      * 
* * string email = 1; - * * @return The email. */ public java.lang.String getEmail() { java.lang.Object ref = email_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); email_ = s; return s; @@ -469,21 +435,20 @@ public java.lang.String getEmail() { } } /** - * - * *
      * An email address e.g. "person123@company.com"
      * 
* * string email = 1; - * * @return The bytes for email. */ - public com.google.protobuf.ByteString getEmailBytes() { + public com.google.protobuf.ByteString + getEmailBytes() { java.lang.Object ref = email_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); email_ = b; return b; } else { @@ -491,68 +456,61 @@ public com.google.protobuf.ByteString getEmailBytes() { } } /** - * - * *
      * An email address e.g. "person123@company.com"
      * 
* * string email = 1; - * * @param value The email to set. * @return This builder for chaining. */ - public Builder setEmail(java.lang.String value) { + public Builder setEmail( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + email_ = value; onChanged(); return this; } /** - * - * *
      * An email address e.g. "person123@company.com"
      * 
* * string email = 1; - * * @return This builder for chaining. */ public Builder clearEmail() { - + email_ = getDefaultInstance().getEmail(); onChanged(); return this; } /** - * - * *
      * An email address e.g. "person123@company.com"
      * 
* * string email = 1; - * * @param value The bytes for email to set. * @return This builder for chaining. */ - public Builder setEmailBytes(com.google.protobuf.ByteString value) { + public Builder setEmailBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + email_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -562,12 +520,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.securitycenter.v1.Contact) } // @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1.Contact) private static final com.google.cloud.securitycenter.v1.Contact DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.securitycenter.v1.Contact(); } @@ -576,27 +534,27 @@ public static com.google.cloud.securitycenter.v1.Contact getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Contact parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - 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 Contact parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + 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; @@ -611,4 +569,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.securitycenter.v1.Contact getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ContactDetails.java b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ContactDetails.java similarity index 71% rename from java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ContactDetails.java rename to owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ContactDetails.java index e78c6dd256a0..5a72693a3b0a 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ContactDetails.java +++ b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ContactDetails.java @@ -1,77 +1,56 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/securitycenter/v1/contact_details.proto package com.google.cloud.securitycenter.v1; /** - * - * *
  * The details pertaining to specific contacts
  * 
* * Protobuf type {@code google.cloud.securitycenter.v1.ContactDetails} */ -public final class ContactDetails extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ContactDetails extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.securitycenter.v1.ContactDetails) ContactDetailsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ContactDetails.newBuilder() to construct. private ContactDetails(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ContactDetails() { contacts_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ContactDetails(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.securitycenter.v1.ContactDetailsProto - .internal_static_google_cloud_securitycenter_v1_ContactDetails_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.securitycenter.v1.ContactDetailsProto.internal_static_google_cloud_securitycenter_v1_ContactDetails_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.securitycenter.v1.ContactDetailsProto - .internal_static_google_cloud_securitycenter_v1_ContactDetails_fieldAccessorTable + return com.google.cloud.securitycenter.v1.ContactDetailsProto.internal_static_google_cloud_securitycenter_v1_ContactDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.securitycenter.v1.ContactDetails.class, - com.google.cloud.securitycenter.v1.ContactDetails.Builder.class); + com.google.cloud.securitycenter.v1.ContactDetails.class, com.google.cloud.securitycenter.v1.ContactDetails.Builder.class); } public static final int CONTACTS_FIELD_NUMBER = 1; private java.util.List contacts_; /** - * - * *
    * A list of contacts
    * 
@@ -83,8 +62,6 @@ public java.util.List getContactsLis return contacts_; } /** - * - * *
    * A list of contacts
    * 
@@ -92,13 +69,11 @@ public java.util.List getContactsLis * repeated .google.cloud.securitycenter.v1.Contact contacts = 1; */ @java.lang.Override - public java.util.List + public java.util.List getContactsOrBuilderList() { return contacts_; } /** - * - * *
    * A list of contacts
    * 
@@ -110,8 +85,6 @@ public int getContactsCount() { return contacts_.size(); } /** - * - * *
    * A list of contacts
    * 
@@ -123,8 +96,6 @@ public com.google.cloud.securitycenter.v1.Contact getContacts(int index) { return contacts_.get(index); } /** - * - * *
    * A list of contacts
    * 
@@ -132,12 +103,12 @@ public com.google.cloud.securitycenter.v1.Contact getContacts(int index) { * repeated .google.cloud.securitycenter.v1.Contact contacts = 1; */ @java.lang.Override - public com.google.cloud.securitycenter.v1.ContactOrBuilder getContactsOrBuilder(int index) { + public com.google.cloud.securitycenter.v1.ContactOrBuilder getContactsOrBuilder( + int index) { return contacts_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -149,7 +120,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < contacts_.size(); i++) { output.writeMessage(1, contacts_.get(i)); } @@ -163,7 +135,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < contacts_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, contacts_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, contacts_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -173,15 +146,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.securitycenter.v1.ContactDetails)) { return super.equals(obj); } - com.google.cloud.securitycenter.v1.ContactDetails other = - (com.google.cloud.securitycenter.v1.ContactDetails) obj; + com.google.cloud.securitycenter.v1.ContactDetails other = (com.google.cloud.securitycenter.v1.ContactDetails) obj; - if (!getContactsList().equals(other.getContactsList())) return false; + if (!getContactsList() + .equals(other.getContactsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -203,135 +176,129 @@ public int hashCode() { } public static com.google.cloud.securitycenter.v1.ContactDetails parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.ContactDetails parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.ContactDetails parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.ContactDetails parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.ContactDetails parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.ContactDetails parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.securitycenter.v1.ContactDetails parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.securitycenter.v1.ContactDetails parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.ContactDetails parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.securitycenter.v1.ContactDetails parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.securitycenter.v1.ContactDetails parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.ContactDetails parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.ContactDetails parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.ContactDetails parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.securitycenter.v1.ContactDetails prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The details pertaining to specific contacts
    * 
* * Protobuf type {@code google.cloud.securitycenter.v1.ContactDetails} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.securitycenter.v1.ContactDetails) com.google.cloud.securitycenter.v1.ContactDetailsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.securitycenter.v1.ContactDetailsProto - .internal_static_google_cloud_securitycenter_v1_ContactDetails_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.securitycenter.v1.ContactDetailsProto.internal_static_google_cloud_securitycenter_v1_ContactDetails_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.securitycenter.v1.ContactDetailsProto - .internal_static_google_cloud_securitycenter_v1_ContactDetails_fieldAccessorTable + return com.google.cloud.securitycenter.v1.ContactDetailsProto.internal_static_google_cloud_securitycenter_v1_ContactDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.securitycenter.v1.ContactDetails.class, - com.google.cloud.securitycenter.v1.ContactDetails.Builder.class); + com.google.cloud.securitycenter.v1.ContactDetails.class, com.google.cloud.securitycenter.v1.ContactDetails.Builder.class); } // Construct using com.google.cloud.securitycenter.v1.ContactDetails.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(); @@ -346,9 +313,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.securitycenter.v1.ContactDetailsProto - .internal_static_google_cloud_securitycenter_v1_ContactDetails_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.securitycenter.v1.ContactDetailsProto.internal_static_google_cloud_securitycenter_v1_ContactDetails_descriptor; } @java.lang.Override @@ -367,8 +334,7 @@ public com.google.cloud.securitycenter.v1.ContactDetails build() { @java.lang.Override public com.google.cloud.securitycenter.v1.ContactDetails buildPartial() { - com.google.cloud.securitycenter.v1.ContactDetails result = - new com.google.cloud.securitycenter.v1.ContactDetails(this); + com.google.cloud.securitycenter.v1.ContactDetails result = new com.google.cloud.securitycenter.v1.ContactDetails(this); int from_bitField0_ = bitField0_; if (contactsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -387,39 +353,38 @@ public com.google.cloud.securitycenter.v1.ContactDetails buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.securitycenter.v1.ContactDetails) { - return mergeFrom((com.google.cloud.securitycenter.v1.ContactDetails) other); + return mergeFrom((com.google.cloud.securitycenter.v1.ContactDetails)other); } else { super.mergeFrom(other); return this; @@ -427,8 +392,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.securitycenter.v1.ContactDetails other) { - if (other == com.google.cloud.securitycenter.v1.ContactDetails.getDefaultInstance()) - return this; + if (other == com.google.cloud.securitycenter.v1.ContactDetails.getDefaultInstance()) return this; if (contactsBuilder_ == null) { if (!other.contacts_.isEmpty()) { if (contacts_.isEmpty()) { @@ -447,10 +411,9 @@ public Builder mergeFrom(com.google.cloud.securitycenter.v1.ContactDetails other contactsBuilder_ = null; contacts_ = other.contacts_; bitField0_ = (bitField0_ & ~0x00000001); - contactsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getContactsFieldBuilder() - : null; + contactsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getContactsFieldBuilder() : null; } else { contactsBuilder_.addAllMessages(other.contacts_); } @@ -482,26 +445,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.securitycenter.v1.Contact m = - input.readMessage( - com.google.cloud.securitycenter.v1.Contact.parser(), extensionRegistry); - if (contactsBuilder_ == null) { - ensureContactsIsMutable(); - contacts_.add(m); - } else { - contactsBuilder_.addMessage(m); - } - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.cloud.securitycenter.v1.Contact m = + input.readMessage( + com.google.cloud.securitycenter.v1.Contact.parser(), + extensionRegistry); + if (contactsBuilder_ == null) { + ensureContactsIsMutable(); + contacts_.add(m); + } else { + contactsBuilder_.addMessage(m); + } + 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) { @@ -511,28 +473,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List contacts_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureContactsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { contacts_ = new java.util.ArrayList(contacts_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.securitycenter.v1.Contact, - com.google.cloud.securitycenter.v1.Contact.Builder, - com.google.cloud.securitycenter.v1.ContactOrBuilder> - contactsBuilder_; + com.google.cloud.securitycenter.v1.Contact, com.google.cloud.securitycenter.v1.Contact.Builder, com.google.cloud.securitycenter.v1.ContactOrBuilder> contactsBuilder_; /** - * - * *
      * A list of contacts
      * 
@@ -547,8 +502,6 @@ public java.util.List getContactsLis } } /** - * - * *
      * A list of contacts
      * 
@@ -563,8 +516,6 @@ public int getContactsCount() { } } /** - * - * *
      * A list of contacts
      * 
@@ -579,15 +530,14 @@ public com.google.cloud.securitycenter.v1.Contact getContacts(int index) { } } /** - * - * *
      * A list of contacts
      * 
* * repeated .google.cloud.securitycenter.v1.Contact contacts = 1; */ - public Builder setContacts(int index, com.google.cloud.securitycenter.v1.Contact value) { + public Builder setContacts( + int index, com.google.cloud.securitycenter.v1.Contact value) { if (contactsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -601,8 +551,6 @@ public Builder setContacts(int index, com.google.cloud.securitycenter.v1.Contact return this; } /** - * - * *
      * A list of contacts
      * 
@@ -621,8 +569,6 @@ public Builder setContacts( return this; } /** - * - * *
      * A list of contacts
      * 
@@ -643,15 +589,14 @@ public Builder addContacts(com.google.cloud.securitycenter.v1.Contact value) { return this; } /** - * - * *
      * A list of contacts
      * 
* * repeated .google.cloud.securitycenter.v1.Contact contacts = 1; */ - public Builder addContacts(int index, com.google.cloud.securitycenter.v1.Contact value) { + public Builder addContacts( + int index, com.google.cloud.securitycenter.v1.Contact value) { if (contactsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -665,15 +610,14 @@ public Builder addContacts(int index, com.google.cloud.securitycenter.v1.Contact return this; } /** - * - * *
      * A list of contacts
      * 
* * repeated .google.cloud.securitycenter.v1.Contact contacts = 1; */ - public Builder addContacts(com.google.cloud.securitycenter.v1.Contact.Builder builderForValue) { + public Builder addContacts( + com.google.cloud.securitycenter.v1.Contact.Builder builderForValue) { if (contactsBuilder_ == null) { ensureContactsIsMutable(); contacts_.add(builderForValue.build()); @@ -684,8 +628,6 @@ public Builder addContacts(com.google.cloud.securitycenter.v1.Contact.Builder bu return this; } /** - * - * *
      * A list of contacts
      * 
@@ -704,8 +646,6 @@ public Builder addContacts( return this; } /** - * - * *
      * A list of contacts
      * 
@@ -716,7 +656,8 @@ public Builder addAllContacts( java.lang.Iterable values) { if (contactsBuilder_ == null) { ensureContactsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, contacts_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, contacts_); onChanged(); } else { contactsBuilder_.addAllMessages(values); @@ -724,8 +665,6 @@ public Builder addAllContacts( return this; } /** - * - * *
      * A list of contacts
      * 
@@ -743,8 +682,6 @@ public Builder clearContacts() { return this; } /** - * - * *
      * A list of contacts
      * 
@@ -762,44 +699,39 @@ public Builder removeContacts(int index) { return this; } /** - * - * *
      * A list of contacts
      * 
* * repeated .google.cloud.securitycenter.v1.Contact contacts = 1; */ - public com.google.cloud.securitycenter.v1.Contact.Builder getContactsBuilder(int index) { + public com.google.cloud.securitycenter.v1.Contact.Builder getContactsBuilder( + int index) { return getContactsFieldBuilder().getBuilder(index); } /** - * - * *
      * A list of contacts
      * 
* * repeated .google.cloud.securitycenter.v1.Contact contacts = 1; */ - public com.google.cloud.securitycenter.v1.ContactOrBuilder getContactsOrBuilder(int index) { + public com.google.cloud.securitycenter.v1.ContactOrBuilder getContactsOrBuilder( + int index) { if (contactsBuilder_ == null) { - return contacts_.get(index); - } else { + return contacts_.get(index); } else { return contactsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * A list of contacts
      * 
* * repeated .google.cloud.securitycenter.v1.Contact contacts = 1; */ - public java.util.List - getContactsOrBuilderList() { + public java.util.List + getContactsOrBuilderList() { if (contactsBuilder_ != null) { return contactsBuilder_.getMessageOrBuilderList(); } else { @@ -807,8 +739,6 @@ public com.google.cloud.securitycenter.v1.ContactOrBuilder getContactsOrBuilder( } } /** - * - * *
      * A list of contacts
      * 
@@ -816,55 +746,49 @@ public com.google.cloud.securitycenter.v1.ContactOrBuilder getContactsOrBuilder( * repeated .google.cloud.securitycenter.v1.Contact contacts = 1; */ public com.google.cloud.securitycenter.v1.Contact.Builder addContactsBuilder() { - return getContactsFieldBuilder() - .addBuilder(com.google.cloud.securitycenter.v1.Contact.getDefaultInstance()); + return getContactsFieldBuilder().addBuilder( + com.google.cloud.securitycenter.v1.Contact.getDefaultInstance()); } /** - * - * *
      * A list of contacts
      * 
* * repeated .google.cloud.securitycenter.v1.Contact contacts = 1; */ - public com.google.cloud.securitycenter.v1.Contact.Builder addContactsBuilder(int index) { - return getContactsFieldBuilder() - .addBuilder(index, com.google.cloud.securitycenter.v1.Contact.getDefaultInstance()); + public com.google.cloud.securitycenter.v1.Contact.Builder addContactsBuilder( + int index) { + return getContactsFieldBuilder().addBuilder( + index, com.google.cloud.securitycenter.v1.Contact.getDefaultInstance()); } /** - * - * *
      * A list of contacts
      * 
* * repeated .google.cloud.securitycenter.v1.Contact contacts = 1; */ - public java.util.List - getContactsBuilderList() { + public java.util.List + getContactsBuilderList() { return getContactsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.securitycenter.v1.Contact, - com.google.cloud.securitycenter.v1.Contact.Builder, - com.google.cloud.securitycenter.v1.ContactOrBuilder> + com.google.cloud.securitycenter.v1.Contact, com.google.cloud.securitycenter.v1.Contact.Builder, com.google.cloud.securitycenter.v1.ContactOrBuilder> getContactsFieldBuilder() { if (contactsBuilder_ == null) { - contactsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.securitycenter.v1.Contact, - com.google.cloud.securitycenter.v1.Contact.Builder, - com.google.cloud.securitycenter.v1.ContactOrBuilder>( - contacts_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + contactsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.securitycenter.v1.Contact, com.google.cloud.securitycenter.v1.Contact.Builder, com.google.cloud.securitycenter.v1.ContactOrBuilder>( + contacts_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); contacts_ = null; } return contactsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -874,12 +798,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.securitycenter.v1.ContactDetails) } // @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1.ContactDetails) private static final com.google.cloud.securitycenter.v1.ContactDetails DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.securitycenter.v1.ContactDetails(); } @@ -888,27 +812,27 @@ public static com.google.cloud.securitycenter.v1.ContactDetails getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ContactDetails parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - 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 ContactDetails parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + 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; @@ -923,4 +847,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.securitycenter.v1.ContactDetails getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ContactDetailsOrBuilder.java b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ContactDetailsOrBuilder.java similarity index 61% rename from java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ContactDetailsOrBuilder.java rename to owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ContactDetailsOrBuilder.java index 3f02f5f44689..a8758c422820 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ContactDetailsOrBuilder.java +++ b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ContactDetailsOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/securitycenter/v1/contact_details.proto package com.google.cloud.securitycenter.v1; -public interface ContactDetailsOrBuilder - extends +public interface ContactDetailsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.securitycenter.v1.ContactDetails) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A list of contacts
    * 
* * repeated .google.cloud.securitycenter.v1.Contact contacts = 1; */ - java.util.List getContactsList(); + java.util.List + getContactsList(); /** - * - * *
    * A list of contacts
    * 
@@ -44,8 +25,6 @@ public interface ContactDetailsOrBuilder */ com.google.cloud.securitycenter.v1.Contact getContacts(int index); /** - * - * *
    * A list of contacts
    * 
@@ -54,24 +33,21 @@ public interface ContactDetailsOrBuilder */ int getContactsCount(); /** - * - * *
    * A list of contacts
    * 
* * repeated .google.cloud.securitycenter.v1.Contact contacts = 1; */ - java.util.List + java.util.List getContactsOrBuilderList(); /** - * - * *
    * A list of contacts
    * 
* * repeated .google.cloud.securitycenter.v1.Contact contacts = 1; */ - com.google.cloud.securitycenter.v1.ContactOrBuilder getContactsOrBuilder(int index); + com.google.cloud.securitycenter.v1.ContactOrBuilder getContactsOrBuilder( + int index); } diff --git a/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ContactDetailsProto.java b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ContactDetailsProto.java new file mode 100644 index 000000000000..05974b13cd0b --- /dev/null +++ b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ContactDetailsProto.java @@ -0,0 +1,67 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/securitycenter/v1/contact_details.proto + +package com.google.cloud.securitycenter.v1; + +public final class ContactDetailsProto { + private ContactDetailsProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public 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_securitycenter_v1_ContactDetails_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_securitycenter_v1_ContactDetails_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_securitycenter_v1_Contact_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_securitycenter_v1_Contact_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n4google/cloud/securitycenter/v1/contact" + + "_details.proto\022\036google.cloud.securitycen" + + "ter.v1\"K\n\016ContactDetails\0229\n\010contacts\030\001 \003" + + "(\0132\'.google.cloud.securitycenter.v1.Cont" + + "act\"\030\n\007Contact\022\r\n\005email\030\001 \001(\tB\357\001\n\"com.go" + + "ogle.cloud.securitycenter.v1B\023ContactDet" + + "ailsProtoP\001ZLgoogle.golang.org/genproto/" + + "googleapis/cloud/securitycenter/v1;secur" + + "itycenter\252\002\036Google.Cloud.SecurityCenter." + + "V1\312\002\036Google\\Cloud\\SecurityCenter\\V1\352\002!Go" + + "ogle::Cloud::SecurityCenter::V1b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + }); + internal_static_google_cloud_securitycenter_v1_ContactDetails_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_securitycenter_v1_ContactDetails_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_securitycenter_v1_ContactDetails_descriptor, + new java.lang.String[] { "Contacts", }); + internal_static_google_cloud_securitycenter_v1_Contact_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_securitycenter_v1_Contact_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_securitycenter_v1_Contact_descriptor, + new java.lang.String[] { "Email", }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ContactOrBuilder.java b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ContactOrBuilder.java new file mode 100644 index 000000000000..fab422a72568 --- /dev/null +++ b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ContactOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/securitycenter/v1/contact_details.proto + +package com.google.cloud.securitycenter.v1; + +public interface ContactOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.securitycenter.v1.Contact) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * An email address e.g. "person123@company.com"
+   * 
+ * + * string email = 1; + * @return The email. + */ + java.lang.String getEmail(); + /** + *
+   * An email address e.g. "person123@company.com"
+   * 
+ * + * string email = 1; + * @return The bytes for email. + */ + com.google.protobuf.ByteString + getEmailBytes(); +} diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Container.java b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Container.java similarity index 72% rename from java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Container.java rename to owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Container.java index ee4c8bfc0ba4..024be955f89d 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Container.java +++ b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Container.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/securitycenter/v1/container.proto package com.google.cloud.securitycenter.v1; /** - * - * *
  * Container associated with the finding.
  * 
* * Protobuf type {@code google.cloud.securitycenter.v1.Container} */ -public final class Container extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Container extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.securitycenter.v1.Container) ContainerOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Container.newBuilder() to construct. private Container(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Container() { name_ = ""; uri_ = ""; @@ -46,41 +28,37 @@ private Container() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Container(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.securitycenter.v1.ContainerProto - .internal_static_google_cloud_securitycenter_v1_Container_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.securitycenter.v1.ContainerProto.internal_static_google_cloud_securitycenter_v1_Container_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.securitycenter.v1.ContainerProto - .internal_static_google_cloud_securitycenter_v1_Container_fieldAccessorTable + return com.google.cloud.securitycenter.v1.ContainerProto.internal_static_google_cloud_securitycenter_v1_Container_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.securitycenter.v1.Container.class, - com.google.cloud.securitycenter.v1.Container.Builder.class); + com.google.cloud.securitycenter.v1.Container.class, com.google.cloud.securitycenter.v1.Container.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Container name.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -89,29 +67,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Container name.
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -122,15 +100,12 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int URI_FIELD_NUMBER = 2; private volatile java.lang.Object uri_; /** - * - * *
    * Container image URI provided when configuring a pod/container.
    * May identify a container image version using mutable tags.
    * 
* * string uri = 2; - * * @return The uri. */ @java.lang.Override @@ -139,30 +114,30 @@ public java.lang.String getUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; } } /** - * - * *
    * Container image URI provided when configuring a pod/container.
    * May identify a container image version using mutable tags.
    * 
* * string uri = 2; - * * @return The bytes for uri. */ @java.lang.Override - public com.google.protobuf.ByteString getUriBytes() { + public com.google.protobuf.ByteString + getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uri_ = b; return b; } else { @@ -173,8 +148,6 @@ public com.google.protobuf.ByteString getUriBytes() { public static final int IMAGE_ID_FIELD_NUMBER = 3; private volatile java.lang.Object imageId_; /** - * - * *
    * Optional container image id, when provided by the container runtime.
    * Uniquely identifies the container image launched using a container image
@@ -182,7 +155,6 @@ public com.google.protobuf.ByteString getUriBytes() {
    * 
* * string image_id = 3; - * * @return The imageId. */ @java.lang.Override @@ -191,15 +163,14 @@ public java.lang.String getImageId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); imageId_ = s; return s; } } /** - * - * *
    * Optional container image id, when provided by the container runtime.
    * Uniquely identifies the container image launched using a container image
@@ -207,15 +178,16 @@ public java.lang.String getImageId() {
    * 
* * string image_id = 3; - * * @return The bytes for imageId. */ @java.lang.Override - public com.google.protobuf.ByteString getImageIdBytes() { + public com.google.protobuf.ByteString + getImageIdBytes() { java.lang.Object ref = imageId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); imageId_ = b; return b; } else { @@ -226,8 +198,6 @@ public com.google.protobuf.ByteString getImageIdBytes() { public static final int LABELS_FIELD_NUMBER = 4; private java.util.List labels_; /** - * - * *
    * Container labels, as provided by the container runtime.
    * 
@@ -239,8 +209,6 @@ public java.util.List getLabelsList() return labels_; } /** - * - * *
    * Container labels, as provided by the container runtime.
    * 
@@ -248,13 +216,11 @@ public java.util.List getLabelsList() * repeated .google.cloud.securitycenter.v1.Label labels = 4; */ @java.lang.Override - public java.util.List + public java.util.List getLabelsOrBuilderList() { return labels_; } /** - * - * *
    * Container labels, as provided by the container runtime.
    * 
@@ -266,8 +232,6 @@ public int getLabelsCount() { return labels_.size(); } /** - * - * *
    * Container labels, as provided by the container runtime.
    * 
@@ -279,8 +243,6 @@ public com.google.cloud.securitycenter.v1.Label getLabels(int index) { return labels_.get(index); } /** - * - * *
    * Container labels, as provided by the container runtime.
    * 
@@ -288,12 +250,12 @@ public com.google.cloud.securitycenter.v1.Label getLabels(int index) { * repeated .google.cloud.securitycenter.v1.Label labels = 4; */ @java.lang.Override - public com.google.cloud.securitycenter.v1.LabelOrBuilder getLabelsOrBuilder(int index) { + public com.google.cloud.securitycenter.v1.LabelOrBuilder getLabelsOrBuilder( + int index) { return labels_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -305,7 +267,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -337,7 +300,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, imageId_); } for (int i = 0; i < labels_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, labels_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, labels_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -347,18 +311,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.securitycenter.v1.Container)) { return super.equals(obj); } - com.google.cloud.securitycenter.v1.Container other = - (com.google.cloud.securitycenter.v1.Container) obj; + com.google.cloud.securitycenter.v1.Container other = (com.google.cloud.securitycenter.v1.Container) obj; - if (!getName().equals(other.getName())) return false; - if (!getUri().equals(other.getUri())) return false; - if (!getImageId().equals(other.getImageId())) return false; - if (!getLabelsList().equals(other.getLabelsList())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getUri() + .equals(other.getUri())) return false; + if (!getImageId() + .equals(other.getImageId())) return false; + if (!getLabelsList() + .equals(other.getLabelsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -385,136 +352,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.securitycenter.v1.Container parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.securitycenter.v1.Container parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.Container parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.Container parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.Container parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.Container parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.Container parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.Container parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.Container parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.securitycenter.v1.Container parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.securitycenter.v1.Container parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.Container parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.Container parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.Container parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.securitycenter.v1.Container prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Container associated with the finding.
    * 
* * Protobuf type {@code google.cloud.securitycenter.v1.Container} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.securitycenter.v1.Container) com.google.cloud.securitycenter.v1.ContainerOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.securitycenter.v1.ContainerProto - .internal_static_google_cloud_securitycenter_v1_Container_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.securitycenter.v1.ContainerProto.internal_static_google_cloud_securitycenter_v1_Container_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.securitycenter.v1.ContainerProto - .internal_static_google_cloud_securitycenter_v1_Container_fieldAccessorTable + return com.google.cloud.securitycenter.v1.ContainerProto.internal_static_google_cloud_securitycenter_v1_Container_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.securitycenter.v1.Container.class, - com.google.cloud.securitycenter.v1.Container.Builder.class); + com.google.cloud.securitycenter.v1.Container.class, com.google.cloud.securitycenter.v1.Container.Builder.class); } // Construct using com.google.cloud.securitycenter.v1.Container.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(); @@ -535,9 +496,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.securitycenter.v1.ContainerProto - .internal_static_google_cloud_securitycenter_v1_Container_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.securitycenter.v1.ContainerProto.internal_static_google_cloud_securitycenter_v1_Container_descriptor; } @java.lang.Override @@ -556,8 +517,7 @@ public com.google.cloud.securitycenter.v1.Container build() { @java.lang.Override public com.google.cloud.securitycenter.v1.Container buildPartial() { - com.google.cloud.securitycenter.v1.Container result = - new com.google.cloud.securitycenter.v1.Container(this); + com.google.cloud.securitycenter.v1.Container result = new com.google.cloud.securitycenter.v1.Container(this); int from_bitField0_ = bitField0_; result.name_ = name_; result.uri_ = uri_; @@ -579,39 +539,38 @@ public com.google.cloud.securitycenter.v1.Container buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.securitycenter.v1.Container) { - return mergeFrom((com.google.cloud.securitycenter.v1.Container) other); + return mergeFrom((com.google.cloud.securitycenter.v1.Container)other); } else { super.mergeFrom(other); return this; @@ -650,10 +609,9 @@ public Builder mergeFrom(com.google.cloud.securitycenter.v1.Container other) { labelsBuilder_ = null; labels_ = other.labels_; bitField0_ = (bitField0_ & ~0x00000001); - labelsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getLabelsFieldBuilder() - : null; + labelsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getLabelsFieldBuilder() : null; } else { labelsBuilder_.addAllMessages(other.labels_); } @@ -685,44 +643,40 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); + case 10: { + name_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: - { - uri_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: { + uri_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: - { - imageId_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 26: { + imageId_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 34: - { - com.google.cloud.securitycenter.v1.Label m = - input.readMessage( - com.google.cloud.securitycenter.v1.Label.parser(), extensionRegistry); - if (labelsBuilder_ == null) { - ensureLabelsIsMutable(); - labels_.add(m); - } else { - labelsBuilder_.addMessage(m); - } - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 26 + case 34: { + com.google.cloud.securitycenter.v1.Label m = + input.readMessage( + com.google.cloud.securitycenter.v1.Label.parser(), + extensionRegistry); + if (labelsBuilder_ == null) { + ensureLabelsIsMutable(); + labels_.add(m); + } else { + labelsBuilder_.addMessage(m); + } + 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) { @@ -732,25 +686,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Container name.
      * 
* * string name = 1; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -759,21 +710,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Container name.
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -781,61 +731,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Container name.
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Container name.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Container name.
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -843,21 +786,19 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object uri_ = ""; /** - * - * *
      * Container image URI provided when configuring a pod/container.
      * May identify a container image version using mutable tags.
      * 
* * string uri = 2; - * * @return The uri. */ public java.lang.String getUri() { java.lang.Object ref = uri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; @@ -866,22 +807,21 @@ public java.lang.String getUri() { } } /** - * - * *
      * Container image URI provided when configuring a pod/container.
      * May identify a container image version using mutable tags.
      * 
* * string uri = 2; - * * @return The bytes for uri. */ - public com.google.protobuf.ByteString getUriBytes() { + public com.google.protobuf.ByteString + getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uri_ = b; return b; } else { @@ -889,64 +829,57 @@ public com.google.protobuf.ByteString getUriBytes() { } } /** - * - * *
      * Container image URI provided when configuring a pod/container.
      * May identify a container image version using mutable tags.
      * 
* * string uri = 2; - * * @param value The uri to set. * @return This builder for chaining. */ - public Builder setUri(java.lang.String value) { + public Builder setUri( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + uri_ = value; onChanged(); return this; } /** - * - * *
      * Container image URI provided when configuring a pod/container.
      * May identify a container image version using mutable tags.
      * 
* * string uri = 2; - * * @return This builder for chaining. */ public Builder clearUri() { - + uri_ = getDefaultInstance().getUri(); onChanged(); return this; } /** - * - * *
      * Container image URI provided when configuring a pod/container.
      * May identify a container image version using mutable tags.
      * 
* * string uri = 2; - * * @param value The bytes for uri to set. * @return This builder for chaining. */ - public Builder setUriBytes(com.google.protobuf.ByteString value) { + public Builder setUriBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + uri_ = value; onChanged(); return this; @@ -954,8 +887,6 @@ public Builder setUriBytes(com.google.protobuf.ByteString value) { private java.lang.Object imageId_ = ""; /** - * - * *
      * Optional container image id, when provided by the container runtime.
      * Uniquely identifies the container image launched using a container image
@@ -963,13 +894,13 @@ public Builder setUriBytes(com.google.protobuf.ByteString value) {
      * 
* * string image_id = 3; - * * @return The imageId. */ public java.lang.String getImageId() { java.lang.Object ref = imageId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); imageId_ = s; return s; @@ -978,8 +909,6 @@ public java.lang.String getImageId() { } } /** - * - * *
      * Optional container image id, when provided by the container runtime.
      * Uniquely identifies the container image launched using a container image
@@ -987,14 +916,15 @@ public java.lang.String getImageId() {
      * 
* * string image_id = 3; - * * @return The bytes for imageId. */ - public com.google.protobuf.ByteString getImageIdBytes() { + public com.google.protobuf.ByteString + getImageIdBytes() { java.lang.Object ref = imageId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); imageId_ = b; return b; } else { @@ -1002,8 +932,6 @@ public com.google.protobuf.ByteString getImageIdBytes() { } } /** - * - * *
      * Optional container image id, when provided by the container runtime.
      * Uniquely identifies the container image launched using a container image
@@ -1011,22 +939,20 @@ public com.google.protobuf.ByteString getImageIdBytes() {
      * 
* * string image_id = 3; - * * @param value The imageId to set. * @return This builder for chaining. */ - public Builder setImageId(java.lang.String value) { + public Builder setImageId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + imageId_ = value; onChanged(); return this; } /** - * - * *
      * Optional container image id, when provided by the container runtime.
      * Uniquely identifies the container image launched using a container image
@@ -1034,18 +960,15 @@ public Builder setImageId(java.lang.String value) {
      * 
* * string image_id = 3; - * * @return This builder for chaining. */ public Builder clearImageId() { - + imageId_ = getDefaultInstance().getImageId(); onChanged(); return this; } /** - * - * *
      * Optional container image id, when provided by the container runtime.
      * Uniquely identifies the container image launched using a container image
@@ -1053,40 +976,34 @@ public Builder clearImageId() {
      * 
* * string image_id = 3; - * * @param value The bytes for imageId to set. * @return This builder for chaining. */ - public Builder setImageIdBytes(com.google.protobuf.ByteString value) { + public Builder setImageIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + imageId_ = value; onChanged(); return this; } private java.util.List labels_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureLabelsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { labels_ = new java.util.ArrayList(labels_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.securitycenter.v1.Label, - com.google.cloud.securitycenter.v1.Label.Builder, - com.google.cloud.securitycenter.v1.LabelOrBuilder> - labelsBuilder_; + com.google.cloud.securitycenter.v1.Label, com.google.cloud.securitycenter.v1.Label.Builder, com.google.cloud.securitycenter.v1.LabelOrBuilder> labelsBuilder_; /** - * - * *
      * Container labels, as provided by the container runtime.
      * 
@@ -1101,8 +1018,6 @@ public java.util.List getLabelsList() } } /** - * - * *
      * Container labels, as provided by the container runtime.
      * 
@@ -1117,8 +1032,6 @@ public int getLabelsCount() { } } /** - * - * *
      * Container labels, as provided by the container runtime.
      * 
@@ -1133,15 +1046,14 @@ public com.google.cloud.securitycenter.v1.Label getLabels(int index) { } } /** - * - * *
      * Container labels, as provided by the container runtime.
      * 
* * repeated .google.cloud.securitycenter.v1.Label labels = 4; */ - public Builder setLabels(int index, com.google.cloud.securitycenter.v1.Label value) { + public Builder setLabels( + int index, com.google.cloud.securitycenter.v1.Label value) { if (labelsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1155,8 +1067,6 @@ public Builder setLabels(int index, com.google.cloud.securitycenter.v1.Label val return this; } /** - * - * *
      * Container labels, as provided by the container runtime.
      * 
@@ -1175,8 +1085,6 @@ public Builder setLabels( return this; } /** - * - * *
      * Container labels, as provided by the container runtime.
      * 
@@ -1197,15 +1105,14 @@ public Builder addLabels(com.google.cloud.securitycenter.v1.Label value) { return this; } /** - * - * *
      * Container labels, as provided by the container runtime.
      * 
* * repeated .google.cloud.securitycenter.v1.Label labels = 4; */ - public Builder addLabels(int index, com.google.cloud.securitycenter.v1.Label value) { + public Builder addLabels( + int index, com.google.cloud.securitycenter.v1.Label value) { if (labelsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1219,15 +1126,14 @@ public Builder addLabels(int index, com.google.cloud.securitycenter.v1.Label val return this; } /** - * - * *
      * Container labels, as provided by the container runtime.
      * 
* * repeated .google.cloud.securitycenter.v1.Label labels = 4; */ - public Builder addLabels(com.google.cloud.securitycenter.v1.Label.Builder builderForValue) { + public Builder addLabels( + com.google.cloud.securitycenter.v1.Label.Builder builderForValue) { if (labelsBuilder_ == null) { ensureLabelsIsMutable(); labels_.add(builderForValue.build()); @@ -1238,8 +1144,6 @@ public Builder addLabels(com.google.cloud.securitycenter.v1.Label.Builder builde return this; } /** - * - * *
      * Container labels, as provided by the container runtime.
      * 
@@ -1258,8 +1162,6 @@ public Builder addLabels( return this; } /** - * - * *
      * Container labels, as provided by the container runtime.
      * 
@@ -1270,7 +1172,8 @@ public Builder addAllLabels( java.lang.Iterable values) { if (labelsBuilder_ == null) { ensureLabelsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, labels_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, labels_); onChanged(); } else { labelsBuilder_.addAllMessages(values); @@ -1278,8 +1181,6 @@ public Builder addAllLabels( return this; } /** - * - * *
      * Container labels, as provided by the container runtime.
      * 
@@ -1297,8 +1198,6 @@ public Builder clearLabels() { return this; } /** - * - * *
      * Container labels, as provided by the container runtime.
      * 
@@ -1316,44 +1215,39 @@ public Builder removeLabels(int index) { return this; } /** - * - * *
      * Container labels, as provided by the container runtime.
      * 
* * repeated .google.cloud.securitycenter.v1.Label labels = 4; */ - public com.google.cloud.securitycenter.v1.Label.Builder getLabelsBuilder(int index) { + public com.google.cloud.securitycenter.v1.Label.Builder getLabelsBuilder( + int index) { return getLabelsFieldBuilder().getBuilder(index); } /** - * - * *
      * Container labels, as provided by the container runtime.
      * 
* * repeated .google.cloud.securitycenter.v1.Label labels = 4; */ - public com.google.cloud.securitycenter.v1.LabelOrBuilder getLabelsOrBuilder(int index) { + public com.google.cloud.securitycenter.v1.LabelOrBuilder getLabelsOrBuilder( + int index) { if (labelsBuilder_ == null) { - return labels_.get(index); - } else { + return labels_.get(index); } else { return labelsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Container labels, as provided by the container runtime.
      * 
* * repeated .google.cloud.securitycenter.v1.Label labels = 4; */ - public java.util.List - getLabelsOrBuilderList() { + public java.util.List + getLabelsOrBuilderList() { if (labelsBuilder_ != null) { return labelsBuilder_.getMessageOrBuilderList(); } else { @@ -1361,8 +1255,6 @@ public com.google.cloud.securitycenter.v1.LabelOrBuilder getLabelsOrBuilder(int } } /** - * - * *
      * Container labels, as provided by the container runtime.
      * 
@@ -1370,54 +1262,49 @@ public com.google.cloud.securitycenter.v1.LabelOrBuilder getLabelsOrBuilder(int * repeated .google.cloud.securitycenter.v1.Label labels = 4; */ public com.google.cloud.securitycenter.v1.Label.Builder addLabelsBuilder() { - return getLabelsFieldBuilder() - .addBuilder(com.google.cloud.securitycenter.v1.Label.getDefaultInstance()); + return getLabelsFieldBuilder().addBuilder( + com.google.cloud.securitycenter.v1.Label.getDefaultInstance()); } /** - * - * *
      * Container labels, as provided by the container runtime.
      * 
* * repeated .google.cloud.securitycenter.v1.Label labels = 4; */ - public com.google.cloud.securitycenter.v1.Label.Builder addLabelsBuilder(int index) { - return getLabelsFieldBuilder() - .addBuilder(index, com.google.cloud.securitycenter.v1.Label.getDefaultInstance()); + public com.google.cloud.securitycenter.v1.Label.Builder addLabelsBuilder( + int index) { + return getLabelsFieldBuilder().addBuilder( + index, com.google.cloud.securitycenter.v1.Label.getDefaultInstance()); } /** - * - * *
      * Container labels, as provided by the container runtime.
      * 
* * repeated .google.cloud.securitycenter.v1.Label labels = 4; */ - public java.util.List getLabelsBuilderList() { + public java.util.List + getLabelsBuilderList() { return getLabelsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.securitycenter.v1.Label, - com.google.cloud.securitycenter.v1.Label.Builder, - com.google.cloud.securitycenter.v1.LabelOrBuilder> + com.google.cloud.securitycenter.v1.Label, com.google.cloud.securitycenter.v1.Label.Builder, com.google.cloud.securitycenter.v1.LabelOrBuilder> getLabelsFieldBuilder() { if (labelsBuilder_ == null) { - labelsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.securitycenter.v1.Label, - com.google.cloud.securitycenter.v1.Label.Builder, - com.google.cloud.securitycenter.v1.LabelOrBuilder>( - labels_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + labelsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.securitycenter.v1.Label, com.google.cloud.securitycenter.v1.Label.Builder, com.google.cloud.securitycenter.v1.LabelOrBuilder>( + labels_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); labels_ = null; } return labelsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1427,12 +1314,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.securitycenter.v1.Container) } // @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1.Container) private static final com.google.cloud.securitycenter.v1.Container DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.securitycenter.v1.Container(); } @@ -1441,27 +1328,27 @@ public static com.google.cloud.securitycenter.v1.Container getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Container parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - 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 Container parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + 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; @@ -1476,4 +1363,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.securitycenter.v1.Container getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ContainerOrBuilder.java b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ContainerOrBuilder.java similarity index 72% rename from java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ContainerOrBuilder.java rename to owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ContainerOrBuilder.java index 4543b2effe22..496b571fdc8e 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ContainerOrBuilder.java +++ b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ContainerOrBuilder.java @@ -1,83 +1,55 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/securitycenter/v1/container.proto package com.google.cloud.securitycenter.v1; -public interface ContainerOrBuilder - extends +public interface ContainerOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.securitycenter.v1.Container) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Container name.
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Container name.
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Container image URI provided when configuring a pod/container.
    * May identify a container image version using mutable tags.
    * 
* * string uri = 2; - * * @return The uri. */ java.lang.String getUri(); /** - * - * *
    * Container image URI provided when configuring a pod/container.
    * May identify a container image version using mutable tags.
    * 
* * string uri = 2; - * * @return The bytes for uri. */ - com.google.protobuf.ByteString getUriBytes(); + com.google.protobuf.ByteString + getUriBytes(); /** - * - * *
    * Optional container image id, when provided by the container runtime.
    * Uniquely identifies the container image launched using a container image
@@ -85,13 +57,10 @@ public interface ContainerOrBuilder
    * 
* * string image_id = 3; - * * @return The imageId. */ java.lang.String getImageId(); /** - * - * *
    * Optional container image id, when provided by the container runtime.
    * Uniquely identifies the container image launched using a container image
@@ -99,24 +68,21 @@ public interface ContainerOrBuilder
    * 
* * string image_id = 3; - * * @return The bytes for imageId. */ - com.google.protobuf.ByteString getImageIdBytes(); + com.google.protobuf.ByteString + getImageIdBytes(); /** - * - * *
    * Container labels, as provided by the container runtime.
    * 
* * repeated .google.cloud.securitycenter.v1.Label labels = 4; */ - java.util.List getLabelsList(); + java.util.List + getLabelsList(); /** - * - * *
    * Container labels, as provided by the container runtime.
    * 
@@ -125,8 +91,6 @@ public interface ContainerOrBuilder */ com.google.cloud.securitycenter.v1.Label getLabels(int index); /** - * - * *
    * Container labels, as provided by the container runtime.
    * 
@@ -135,24 +99,21 @@ public interface ContainerOrBuilder */ int getLabelsCount(); /** - * - * *
    * Container labels, as provided by the container runtime.
    * 
* * repeated .google.cloud.securitycenter.v1.Label labels = 4; */ - java.util.List + java.util.List getLabelsOrBuilderList(); /** - * - * *
    * Container labels, as provided by the container runtime.
    * 
* * repeated .google.cloud.securitycenter.v1.Label labels = 4; */ - com.google.cloud.securitycenter.v1.LabelOrBuilder getLabelsOrBuilder(int index); + com.google.cloud.securitycenter.v1.LabelOrBuilder getLabelsOrBuilder( + int index); } diff --git a/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ContainerProto.java b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ContainerProto.java new file mode 100644 index 000000000000..223e319f3e0d --- /dev/null +++ b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ContainerProto.java @@ -0,0 +1,60 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/securitycenter/v1/container.proto + +package com.google.cloud.securitycenter.v1; + +public final class ContainerProto { + private ContainerProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public 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_securitycenter_v1_Container_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_securitycenter_v1_Container_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n.google/cloud/securitycenter/v1/contain" + + "er.proto\022\036google.cloud.securitycenter.v1" + + "\032*google/cloud/securitycenter/v1/label.p" + + "roto\"o\n\tContainer\022\014\n\004name\030\001 \001(\t\022\013\n\003uri\030\002" + + " \001(\t\022\020\n\010image_id\030\003 \001(\t\0225\n\006labels\030\004 \003(\0132%" + + ".google.cloud.securitycenter.v1.LabelB\352\001" + + "\n\"com.google.cloud.securitycenter.v1B\016Co" + + "ntainerProtoP\001ZLgoogle.golang.org/genpro" + + "to/googleapis/cloud/securitycenter/v1;se" + + "curitycenter\252\002\036Google.Cloud.SecurityCent" + + "er.V1\312\002\036Google\\Cloud\\SecurityCenter\\V1\352\002" + + "!Google::Cloud::SecurityCenter::V1b\006prot" + + "o3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.cloud.securitycenter.v1.LabelProto.getDescriptor(), + }); + internal_static_google_cloud_securitycenter_v1_Container_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_securitycenter_v1_Container_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_securitycenter_v1_Container_descriptor, + new java.lang.String[] { "Name", "Uri", "ImageId", "Labels", }); + com.google.cloud.securitycenter.v1.LabelProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateBigQueryExportRequest.java b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateBigQueryExportRequest.java similarity index 64% rename from java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateBigQueryExportRequest.java rename to owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateBigQueryExportRequest.java index 0066cf26697d..3ce54cd3a115 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateBigQueryExportRequest.java +++ b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateBigQueryExportRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/securitycenter/v1/securitycenter_service.proto package com.google.cloud.securitycenter.v1; /** - * - * *
  * Request message for creating a big query export.
  * 
* * Protobuf type {@code google.cloud.securitycenter.v1.CreateBigQueryExportRequest} */ -public final class CreateBigQueryExportRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateBigQueryExportRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.securitycenter.v1.CreateBigQueryExportRequest) CreateBigQueryExportRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateBigQueryExportRequest.newBuilder() to construct. private CreateBigQueryExportRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateBigQueryExportRequest() { parent_ = ""; bigQueryExportId_ = ""; @@ -44,45 +26,39 @@ private CreateBigQueryExportRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateBigQueryExportRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.securitycenter.v1.SecuritycenterService - .internal_static_google_cloud_securitycenter_v1_CreateBigQueryExportRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.securitycenter.v1.SecuritycenterService.internal_static_google_cloud_securitycenter_v1_CreateBigQueryExportRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.securitycenter.v1.SecuritycenterService - .internal_static_google_cloud_securitycenter_v1_CreateBigQueryExportRequest_fieldAccessorTable + return com.google.cloud.securitycenter.v1.SecuritycenterService.internal_static_google_cloud_securitycenter_v1_CreateBigQueryExportRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.securitycenter.v1.CreateBigQueryExportRequest.class, - com.google.cloud.securitycenter.v1.CreateBigQueryExportRequest.Builder.class); + com.google.cloud.securitycenter.v1.CreateBigQueryExportRequest.class, com.google.cloud.securitycenter.v1.CreateBigQueryExportRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. Resource name of the new big query export's parent. Its format is
    * "organizations/[organization_id]", "folders/[folder_id]", or
    * "projects/[project_id]".
    * 
* - * - * string parent = 1 [(.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 @@ -91,33 +67,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. Resource name of the new big query export's parent. Its format is
    * "organizations/[organization_id]", "folders/[folder_id]", or
    * "projects/[project_id]".
    * 
* - * - * string parent = 1 [(.google.api.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 { @@ -128,16 +102,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int BIG_QUERY_EXPORT_FIELD_NUMBER = 2; private com.google.cloud.securitycenter.v1.BigQueryExport bigQueryExport_; /** - * - * *
    * Required. The big query export being created.
    * 
* - * - * .google.cloud.securitycenter.v1.BigQueryExport big_query_export = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.securitycenter.v1.BigQueryExport big_query_export = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the bigQueryExport field is set. */ @java.lang.Override @@ -145,34 +114,23 @@ public boolean hasBigQueryExport() { return bigQueryExport_ != null; } /** - * - * *
    * Required. The big query export being created.
    * 
* - * - * .google.cloud.securitycenter.v1.BigQueryExport big_query_export = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.securitycenter.v1.BigQueryExport big_query_export = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The bigQueryExport. */ @java.lang.Override public com.google.cloud.securitycenter.v1.BigQueryExport getBigQueryExport() { - return bigQueryExport_ == null - ? com.google.cloud.securitycenter.v1.BigQueryExport.getDefaultInstance() - : bigQueryExport_; + return bigQueryExport_ == null ? com.google.cloud.securitycenter.v1.BigQueryExport.getDefaultInstance() : bigQueryExport_; } /** - * - * *
    * Required. The big query export being created.
    * 
* - * - * .google.cloud.securitycenter.v1.BigQueryExport big_query_export = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.securitycenter.v1.BigQueryExport big_query_export = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.securitycenter.v1.BigQueryExportOrBuilder getBigQueryExportOrBuilder() { @@ -182,8 +140,6 @@ public com.google.cloud.securitycenter.v1.BigQueryExportOrBuilder getBigQueryExp public static final int BIG_QUERY_EXPORT_ID_FIELD_NUMBER = 3; private volatile java.lang.Object bigQueryExportId_; /** - * - * *
    * Required. Unique identifier provided by the client within the parent scope.
    * It must consist of lower case letters, numbers, and hyphen, with the first
@@ -192,7 +148,6 @@ public com.google.cloud.securitycenter.v1.BigQueryExportOrBuilder getBigQueryExp
    * 
* * string big_query_export_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bigQueryExportId. */ @java.lang.Override @@ -201,15 +156,14 @@ public java.lang.String getBigQueryExportId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); bigQueryExportId_ = s; return s; } } /** - * - * *
    * Required. Unique identifier provided by the client within the parent scope.
    * It must consist of lower case letters, numbers, and hyphen, with the first
@@ -218,15 +172,16 @@ public java.lang.String getBigQueryExportId() {
    * 
* * string big_query_export_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for bigQueryExportId. */ @java.lang.Override - public com.google.protobuf.ByteString getBigQueryExportIdBytes() { + public com.google.protobuf.ByteString + getBigQueryExportIdBytes() { java.lang.Object ref = bigQueryExportId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); bigQueryExportId_ = b; return b; } else { @@ -235,7 +190,6 @@ public com.google.protobuf.ByteString getBigQueryExportIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -247,7 +201,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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 +225,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (bigQueryExport_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getBigQueryExport()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getBigQueryExport()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(bigQueryExportId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, bigQueryExportId_); @@ -283,20 +239,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.securitycenter.v1.CreateBigQueryExportRequest)) { return super.equals(obj); } - com.google.cloud.securitycenter.v1.CreateBigQueryExportRequest other = - (com.google.cloud.securitycenter.v1.CreateBigQueryExportRequest) obj; + com.google.cloud.securitycenter.v1.CreateBigQueryExportRequest other = (com.google.cloud.securitycenter.v1.CreateBigQueryExportRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasBigQueryExport() != other.hasBigQueryExport()) return false; if (hasBigQueryExport()) { - if (!getBigQueryExport().equals(other.getBigQueryExport())) return false; + if (!getBigQueryExport() + .equals(other.getBigQueryExport())) return false; } - if (!getBigQueryExportId().equals(other.getBigQueryExportId())) return false; + if (!getBigQueryExportId() + .equals(other.getBigQueryExportId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -322,136 +280,129 @@ public int hashCode() { } public static com.google.cloud.securitycenter.v1.CreateBigQueryExportRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.CreateBigQueryExportRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.CreateBigQueryExportRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.CreateBigQueryExportRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.securitycenter.v1.CreateBigQueryExportRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.securitycenter.v1.CreateBigQueryExportRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.CreateBigQueryExportRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.securitycenter.v1.CreateBigQueryExportRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.securitycenter.v1.CreateBigQueryExportRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.CreateBigQueryExportRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.securitycenter.v1.CreateBigQueryExportRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.securitycenter.v1.CreateBigQueryExportRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.CreateBigQueryExportRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.CreateBigQueryExportRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.CreateBigQueryExportRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.securitycenter.v1.CreateBigQueryExportRequest prototype) { + public static Builder newBuilder(com.google.cloud.securitycenter.v1.CreateBigQueryExportRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 creating a big query export.
    * 
* * Protobuf type {@code google.cloud.securitycenter.v1.CreateBigQueryExportRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.securitycenter.v1.CreateBigQueryExportRequest) com.google.cloud.securitycenter.v1.CreateBigQueryExportRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.securitycenter.v1.SecuritycenterService - .internal_static_google_cloud_securitycenter_v1_CreateBigQueryExportRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.securitycenter.v1.SecuritycenterService.internal_static_google_cloud_securitycenter_v1_CreateBigQueryExportRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.securitycenter.v1.SecuritycenterService - .internal_static_google_cloud_securitycenter_v1_CreateBigQueryExportRequest_fieldAccessorTable + return com.google.cloud.securitycenter.v1.SecuritycenterService.internal_static_google_cloud_securitycenter_v1_CreateBigQueryExportRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.securitycenter.v1.CreateBigQueryExportRequest.class, - com.google.cloud.securitycenter.v1.CreateBigQueryExportRequest.Builder.class); + com.google.cloud.securitycenter.v1.CreateBigQueryExportRequest.class, com.google.cloud.securitycenter.v1.CreateBigQueryExportRequest.Builder.class); } // Construct using com.google.cloud.securitycenter.v1.CreateBigQueryExportRequest.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(); @@ -469,14 +420,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.securitycenter.v1.SecuritycenterService - .internal_static_google_cloud_securitycenter_v1_CreateBigQueryExportRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.securitycenter.v1.SecuritycenterService.internal_static_google_cloud_securitycenter_v1_CreateBigQueryExportRequest_descriptor; } @java.lang.Override - public com.google.cloud.securitycenter.v1.CreateBigQueryExportRequest - getDefaultInstanceForType() { + public com.google.cloud.securitycenter.v1.CreateBigQueryExportRequest getDefaultInstanceForType() { return com.google.cloud.securitycenter.v1.CreateBigQueryExportRequest.getDefaultInstance(); } @@ -491,8 +441,7 @@ public com.google.cloud.securitycenter.v1.CreateBigQueryExportRequest build() { @java.lang.Override public com.google.cloud.securitycenter.v1.CreateBigQueryExportRequest buildPartial() { - com.google.cloud.securitycenter.v1.CreateBigQueryExportRequest result = - new com.google.cloud.securitycenter.v1.CreateBigQueryExportRequest(this); + com.google.cloud.securitycenter.v1.CreateBigQueryExportRequest result = new com.google.cloud.securitycenter.v1.CreateBigQueryExportRequest(this); result.parent_ = parent_; if (bigQueryExportBuilder_ == null) { result.bigQueryExport_ = bigQueryExport_; @@ -508,39 +457,38 @@ public com.google.cloud.securitycenter.v1.CreateBigQueryExportRequest buildParti public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.securitycenter.v1.CreateBigQueryExportRequest) { - return mergeFrom((com.google.cloud.securitycenter.v1.CreateBigQueryExportRequest) other); + return mergeFrom((com.google.cloud.securitycenter.v1.CreateBigQueryExportRequest)other); } else { super.mergeFrom(other); return this; @@ -548,9 +496,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.securitycenter.v1.CreateBigQueryExportRequest other) { - if (other - == com.google.cloud.securitycenter.v1.CreateBigQueryExportRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.securitycenter.v1.CreateBigQueryExportRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -588,31 +534,29 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); + case 10: { + parent_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: - { - input.readMessage(getBigQueryExportFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 10 + case 18: { + input.readMessage( + getBigQueryExportFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 18 - case 26: - { - bigQueryExportId_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 26: { + bigQueryExportId_ = input.readStringRequireUtf8(); - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -625,24 +569,20 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. Resource name of the new big query export's parent. Its format is
      * "organizations/[organization_id]", "folders/[folder_id]", or
      * "projects/[project_id]".
      * 
* - * - * string parent = 1 [(.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; @@ -651,25 +591,22 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Resource name of the new big query export's parent. Its format is
      * "organizations/[organization_id]", "folders/[folder_id]", or
      * "projects/[project_id]".
      * 
* - * - * string parent = 1 [(.google.api.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 { @@ -677,73 +614,60 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Resource name of the new big query export's parent. Its format is
      * "organizations/[organization_id]", "folders/[folder_id]", or
      * "projects/[project_id]".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. Resource name of the new big query export's parent. Its format is
      * "organizations/[organization_id]", "folders/[folder_id]", or
      * "projects/[project_id]".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. Resource name of the new big query export's parent. Its format is
      * "organizations/[organization_id]", "folders/[folder_id]", or
      * "projects/[project_id]".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -751,58 +675,39 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.cloud.securitycenter.v1.BigQueryExport bigQueryExport_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.securitycenter.v1.BigQueryExport, - com.google.cloud.securitycenter.v1.BigQueryExport.Builder, - com.google.cloud.securitycenter.v1.BigQueryExportOrBuilder> - bigQueryExportBuilder_; + com.google.cloud.securitycenter.v1.BigQueryExport, com.google.cloud.securitycenter.v1.BigQueryExport.Builder, com.google.cloud.securitycenter.v1.BigQueryExportOrBuilder> bigQueryExportBuilder_; /** - * - * *
      * Required. The big query export being created.
      * 
* - * - * .google.cloud.securitycenter.v1.BigQueryExport big_query_export = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.securitycenter.v1.BigQueryExport big_query_export = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the bigQueryExport field is set. */ public boolean hasBigQueryExport() { return bigQueryExportBuilder_ != null || bigQueryExport_ != null; } /** - * - * *
      * Required. The big query export being created.
      * 
* - * - * .google.cloud.securitycenter.v1.BigQueryExport big_query_export = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.securitycenter.v1.BigQueryExport big_query_export = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The bigQueryExport. */ public com.google.cloud.securitycenter.v1.BigQueryExport getBigQueryExport() { if (bigQueryExportBuilder_ == null) { - return bigQueryExport_ == null - ? com.google.cloud.securitycenter.v1.BigQueryExport.getDefaultInstance() - : bigQueryExport_; + return bigQueryExport_ == null ? com.google.cloud.securitycenter.v1.BigQueryExport.getDefaultInstance() : bigQueryExport_; } else { return bigQueryExportBuilder_.getMessage(); } } /** - * - * *
      * Required. The big query export being created.
      * 
* - * - * .google.cloud.securitycenter.v1.BigQueryExport big_query_export = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.securitycenter.v1.BigQueryExport big_query_export = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setBigQueryExport(com.google.cloud.securitycenter.v1.BigQueryExport value) { if (bigQueryExportBuilder_ == null) { @@ -818,15 +723,11 @@ public Builder setBigQueryExport(com.google.cloud.securitycenter.v1.BigQueryExpo return this; } /** - * - * *
      * Required. The big query export being created.
      * 
* - * - * .google.cloud.securitycenter.v1.BigQueryExport big_query_export = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.securitycenter.v1.BigQueryExport big_query_export = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setBigQueryExport( com.google.cloud.securitycenter.v1.BigQueryExport.Builder builderForValue) { @@ -840,23 +741,17 @@ public Builder setBigQueryExport( return this; } /** - * - * *
      * Required. The big query export being created.
      * 
* - * - * .google.cloud.securitycenter.v1.BigQueryExport big_query_export = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.securitycenter.v1.BigQueryExport big_query_export = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeBigQueryExport(com.google.cloud.securitycenter.v1.BigQueryExport value) { if (bigQueryExportBuilder_ == null) { if (bigQueryExport_ != null) { bigQueryExport_ = - com.google.cloud.securitycenter.v1.BigQueryExport.newBuilder(bigQueryExport_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.securitycenter.v1.BigQueryExport.newBuilder(bigQueryExport_).mergeFrom(value).buildPartial(); } else { bigQueryExport_ = value; } @@ -868,15 +763,11 @@ public Builder mergeBigQueryExport(com.google.cloud.securitycenter.v1.BigQueryEx return this; } /** - * - * *
      * Required. The big query export being created.
      * 
* - * - * .google.cloud.securitycenter.v1.BigQueryExport big_query_export = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.securitycenter.v1.BigQueryExport big_query_export = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearBigQueryExport() { if (bigQueryExportBuilder_ == null) { @@ -890,64 +781,48 @@ public Builder clearBigQueryExport() { return this; } /** - * - * *
      * Required. The big query export being created.
      * 
* - * - * .google.cloud.securitycenter.v1.BigQueryExport big_query_export = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.securitycenter.v1.BigQueryExport big_query_export = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.securitycenter.v1.BigQueryExport.Builder getBigQueryExportBuilder() { - + onChanged(); return getBigQueryExportFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The big query export being created.
      * 
* - * - * .google.cloud.securitycenter.v1.BigQueryExport big_query_export = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.securitycenter.v1.BigQueryExport big_query_export = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.securitycenter.v1.BigQueryExportOrBuilder getBigQueryExportOrBuilder() { if (bigQueryExportBuilder_ != null) { return bigQueryExportBuilder_.getMessageOrBuilder(); } else { - return bigQueryExport_ == null - ? com.google.cloud.securitycenter.v1.BigQueryExport.getDefaultInstance() - : bigQueryExport_; + return bigQueryExport_ == null ? + com.google.cloud.securitycenter.v1.BigQueryExport.getDefaultInstance() : bigQueryExport_; } } /** - * - * *
      * Required. The big query export being created.
      * 
* - * - * .google.cloud.securitycenter.v1.BigQueryExport big_query_export = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.securitycenter.v1.BigQueryExport big_query_export = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.securitycenter.v1.BigQueryExport, - com.google.cloud.securitycenter.v1.BigQueryExport.Builder, - com.google.cloud.securitycenter.v1.BigQueryExportOrBuilder> + com.google.cloud.securitycenter.v1.BigQueryExport, com.google.cloud.securitycenter.v1.BigQueryExport.Builder, com.google.cloud.securitycenter.v1.BigQueryExportOrBuilder> getBigQueryExportFieldBuilder() { if (bigQueryExportBuilder_ == null) { - bigQueryExportBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.securitycenter.v1.BigQueryExport, - com.google.cloud.securitycenter.v1.BigQueryExport.Builder, - com.google.cloud.securitycenter.v1.BigQueryExportOrBuilder>( - getBigQueryExport(), getParentForChildren(), isClean()); + bigQueryExportBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.securitycenter.v1.BigQueryExport, com.google.cloud.securitycenter.v1.BigQueryExport.Builder, com.google.cloud.securitycenter.v1.BigQueryExportOrBuilder>( + getBigQueryExport(), + getParentForChildren(), + isClean()); bigQueryExport_ = null; } return bigQueryExportBuilder_; @@ -955,8 +830,6 @@ public com.google.cloud.securitycenter.v1.BigQueryExportOrBuilder getBigQueryExp private java.lang.Object bigQueryExportId_ = ""; /** - * - * *
      * Required. Unique identifier provided by the client within the parent scope.
      * It must consist of lower case letters, numbers, and hyphen, with the first
@@ -965,13 +838,13 @@ public com.google.cloud.securitycenter.v1.BigQueryExportOrBuilder getBigQueryExp
      * 
* * string big_query_export_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bigQueryExportId. */ public java.lang.String getBigQueryExportId() { java.lang.Object ref = bigQueryExportId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); bigQueryExportId_ = s; return s; @@ -980,8 +853,6 @@ public java.lang.String getBigQueryExportId() { } } /** - * - * *
      * Required. Unique identifier provided by the client within the parent scope.
      * It must consist of lower case letters, numbers, and hyphen, with the first
@@ -990,14 +861,15 @@ public java.lang.String getBigQueryExportId() {
      * 
* * string big_query_export_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for bigQueryExportId. */ - public com.google.protobuf.ByteString getBigQueryExportIdBytes() { + public com.google.protobuf.ByteString + getBigQueryExportIdBytes() { java.lang.Object ref = bigQueryExportId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); bigQueryExportId_ = b; return b; } else { @@ -1005,8 +877,6 @@ public com.google.protobuf.ByteString getBigQueryExportIdBytes() { } } /** - * - * *
      * Required. Unique identifier provided by the client within the parent scope.
      * It must consist of lower case letters, numbers, and hyphen, with the first
@@ -1015,22 +885,20 @@ public com.google.protobuf.ByteString getBigQueryExportIdBytes() {
      * 
* * string big_query_export_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bigQueryExportId to set. * @return This builder for chaining. */ - public Builder setBigQueryExportId(java.lang.String value) { + public Builder setBigQueryExportId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + bigQueryExportId_ = value; onChanged(); return this; } /** - * - * *
      * Required. Unique identifier provided by the client within the parent scope.
      * It must consist of lower case letters, numbers, and hyphen, with the first
@@ -1039,18 +907,15 @@ public Builder setBigQueryExportId(java.lang.String value) {
      * 
* * string big_query_export_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearBigQueryExportId() { - + bigQueryExportId_ = getDefaultInstance().getBigQueryExportId(); onChanged(); return this; } /** - * - * *
      * Required. Unique identifier provided by the client within the parent scope.
      * It must consist of lower case letters, numbers, and hyphen, with the first
@@ -1059,23 +924,23 @@ public Builder clearBigQueryExportId() {
      * 
* * string big_query_export_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for bigQueryExportId to set. * @return This builder for chaining. */ - public Builder setBigQueryExportIdBytes(com.google.protobuf.ByteString value) { + public Builder setBigQueryExportIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + bigQueryExportId_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1085,43 +950,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.securitycenter.v1.CreateBigQueryExportRequest) } // @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1.CreateBigQueryExportRequest) - private static final com.google.cloud.securitycenter.v1.CreateBigQueryExportRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.securitycenter.v1.CreateBigQueryExportRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.securitycenter.v1.CreateBigQueryExportRequest(); } - public static com.google.cloud.securitycenter.v1.CreateBigQueryExportRequest - getDefaultInstance() { + public static com.google.cloud.securitycenter.v1.CreateBigQueryExportRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateBigQueryExportRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - 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 CreateBigQueryExportRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + 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; @@ -1133,8 +996,9 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.cloud.securitycenter.v1.CreateBigQueryExportRequest - getDefaultInstanceForType() { + public com.google.cloud.securitycenter.v1.CreateBigQueryExportRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateBigQueryExportRequestOrBuilder.java b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateBigQueryExportRequestOrBuilder.java similarity index 59% rename from java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateBigQueryExportRequestOrBuilder.java rename to owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateBigQueryExportRequestOrBuilder.java index 353f15853581..3f272247cea1 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateBigQueryExportRequestOrBuilder.java +++ b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateBigQueryExportRequestOrBuilder.java @@ -1,105 +1,64 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/securitycenter/v1/securitycenter_service.proto package com.google.cloud.securitycenter.v1; -public interface CreateBigQueryExportRequestOrBuilder - extends +public interface CreateBigQueryExportRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.securitycenter.v1.CreateBigQueryExportRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Resource name of the new big query export's parent. Its format is
    * "organizations/[organization_id]", "folders/[folder_id]", or
    * "projects/[project_id]".
    * 
* - * - * string parent = 1 [(.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. Resource name of the new big query export's parent. Its format is
    * "organizations/[organization_id]", "folders/[folder_id]", or
    * "projects/[project_id]".
    * 
* - * - * string parent = 1 [(.google.api.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 big query export being created.
    * 
* - * - * .google.cloud.securitycenter.v1.BigQueryExport big_query_export = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.securitycenter.v1.BigQueryExport big_query_export = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the bigQueryExport field is set. */ boolean hasBigQueryExport(); /** - * - * *
    * Required. The big query export being created.
    * 
* - * - * .google.cloud.securitycenter.v1.BigQueryExport big_query_export = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.securitycenter.v1.BigQueryExport big_query_export = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The bigQueryExport. */ com.google.cloud.securitycenter.v1.BigQueryExport getBigQueryExport(); /** - * - * *
    * Required. The big query export being created.
    * 
* - * - * .google.cloud.securitycenter.v1.BigQueryExport big_query_export = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.securitycenter.v1.BigQueryExport big_query_export = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.securitycenter.v1.BigQueryExportOrBuilder getBigQueryExportOrBuilder(); /** - * - * *
    * Required. Unique identifier provided by the client within the parent scope.
    * It must consist of lower case letters, numbers, and hyphen, with the first
@@ -108,13 +67,10 @@ public interface CreateBigQueryExportRequestOrBuilder
    * 
* * string big_query_export_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bigQueryExportId. */ java.lang.String getBigQueryExportId(); /** - * - * *
    * Required. Unique identifier provided by the client within the parent scope.
    * It must consist of lower case letters, numbers, and hyphen, with the first
@@ -123,8 +79,8 @@ public interface CreateBigQueryExportRequestOrBuilder
    * 
* * string big_query_export_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for bigQueryExportId. */ - com.google.protobuf.ByteString getBigQueryExportIdBytes(); + com.google.protobuf.ByteString + getBigQueryExportIdBytes(); } diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateFindingRequest.java b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateFindingRequest.java similarity index 66% rename from java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateFindingRequest.java rename to owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateFindingRequest.java index 29cdebf8cb5b..e948cca12c1e 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateFindingRequest.java +++ b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateFindingRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/securitycenter/v1/securitycenter_service.proto package com.google.cloud.securitycenter.v1; /** - * - * *
  * Request message for creating a finding.
  * 
* * Protobuf type {@code google.cloud.securitycenter.v1.CreateFindingRequest} */ -public final class CreateFindingRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateFindingRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.securitycenter.v1.CreateFindingRequest) CreateFindingRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateFindingRequest.newBuilder() to construct. private CreateFindingRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateFindingRequest() { parent_ = ""; findingId_ = ""; @@ -44,44 +26,38 @@ private CreateFindingRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateFindingRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.securitycenter.v1.SecuritycenterService - .internal_static_google_cloud_securitycenter_v1_CreateFindingRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.securitycenter.v1.SecuritycenterService.internal_static_google_cloud_securitycenter_v1_CreateFindingRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.securitycenter.v1.SecuritycenterService - .internal_static_google_cloud_securitycenter_v1_CreateFindingRequest_fieldAccessorTable + return com.google.cloud.securitycenter.v1.SecuritycenterService.internal_static_google_cloud_securitycenter_v1_CreateFindingRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.securitycenter.v1.CreateFindingRequest.class, - com.google.cloud.securitycenter.v1.CreateFindingRequest.Builder.class); + com.google.cloud.securitycenter.v1.CreateFindingRequest.class, com.google.cloud.securitycenter.v1.CreateFindingRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. Resource name of the new finding's parent. Its format should be
    * "organizations/[organization_id]/sources/[source_id]".
    * 
* - * - * string parent = 1 [(.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 @@ -90,32 +66,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. Resource name of the new finding's parent. Its format should be
    * "organizations/[organization_id]/sources/[source_id]".
    * 
* - * - * string parent = 1 [(.google.api.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 { @@ -126,8 +100,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int FINDING_ID_FIELD_NUMBER = 2; private volatile java.lang.Object findingId_; /** - * - * *
    * Required. Unique identifier provided by the client within the parent scope.
    * It must be alphanumeric and less than or equal to 32 characters and
@@ -135,7 +107,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string finding_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The findingId. */ @java.lang.Override @@ -144,15 +115,14 @@ public java.lang.String getFindingId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); findingId_ = s; return s; } } /** - * - * *
    * Required. Unique identifier provided by the client within the parent scope.
    * It must be alphanumeric and less than or equal to 32 characters and
@@ -160,15 +130,16 @@ public java.lang.String getFindingId() {
    * 
* * string finding_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for findingId. */ @java.lang.Override - public com.google.protobuf.ByteString getFindingIdBytes() { + public com.google.protobuf.ByteString + getFindingIdBytes() { java.lang.Object ref = findingId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); findingId_ = b; return b; } else { @@ -179,17 +150,12 @@ public com.google.protobuf.ByteString getFindingIdBytes() { public static final int FINDING_FIELD_NUMBER = 3; private com.google.cloud.securitycenter.v1.Finding finding_; /** - * - * *
    * Required. The Finding being created. The name and security_marks will be
    * ignored as they are both output only fields on this resource.
    * 
* - * - * .google.cloud.securitycenter.v1.Finding finding = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.securitycenter.v1.Finding finding = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the finding field is set. */ @java.lang.Override @@ -197,36 +163,25 @@ public boolean hasFinding() { return finding_ != null; } /** - * - * *
    * Required. The Finding being created. The name and security_marks will be
    * ignored as they are both output only fields on this resource.
    * 
* - * - * .google.cloud.securitycenter.v1.Finding finding = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.securitycenter.v1.Finding finding = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The finding. */ @java.lang.Override public com.google.cloud.securitycenter.v1.Finding getFinding() { - return finding_ == null - ? com.google.cloud.securitycenter.v1.Finding.getDefaultInstance() - : finding_; + return finding_ == null ? com.google.cloud.securitycenter.v1.Finding.getDefaultInstance() : finding_; } /** - * - * *
    * Required. The Finding being created. The name and security_marks will be
    * ignored as they are both output only fields on this resource.
    * 
* - * - * .google.cloud.securitycenter.v1.Finding finding = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.securitycenter.v1.Finding finding = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.securitycenter.v1.FindingOrBuilder getFindingOrBuilder() { @@ -234,7 +189,6 @@ public com.google.cloud.securitycenter.v1.FindingOrBuilder getFindingOrBuilder() } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -246,7 +200,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -272,7 +227,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, findingId_); } if (finding_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getFinding()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getFinding()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -282,19 +238,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.securitycenter.v1.CreateFindingRequest)) { return super.equals(obj); } - com.google.cloud.securitycenter.v1.CreateFindingRequest other = - (com.google.cloud.securitycenter.v1.CreateFindingRequest) obj; + com.google.cloud.securitycenter.v1.CreateFindingRequest other = (com.google.cloud.securitycenter.v1.CreateFindingRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getFindingId().equals(other.getFindingId())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getFindingId() + .equals(other.getFindingId())) return false; if (hasFinding() != other.hasFinding()) return false; if (hasFinding()) { - if (!getFinding().equals(other.getFinding())) return false; + if (!getFinding() + .equals(other.getFinding())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -321,136 +279,129 @@ public int hashCode() { } public static com.google.cloud.securitycenter.v1.CreateFindingRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.CreateFindingRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.CreateFindingRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.CreateFindingRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.CreateFindingRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.CreateFindingRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.securitycenter.v1.CreateFindingRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.securitycenter.v1.CreateFindingRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.CreateFindingRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.securitycenter.v1.CreateFindingRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.securitycenter.v1.CreateFindingRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.CreateFindingRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.CreateFindingRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.CreateFindingRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.securitycenter.v1.CreateFindingRequest prototype) { + public static Builder newBuilder(com.google.cloud.securitycenter.v1.CreateFindingRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 creating a finding.
    * 
* * Protobuf type {@code google.cloud.securitycenter.v1.CreateFindingRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.securitycenter.v1.CreateFindingRequest) com.google.cloud.securitycenter.v1.CreateFindingRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.securitycenter.v1.SecuritycenterService - .internal_static_google_cloud_securitycenter_v1_CreateFindingRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.securitycenter.v1.SecuritycenterService.internal_static_google_cloud_securitycenter_v1_CreateFindingRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.securitycenter.v1.SecuritycenterService - .internal_static_google_cloud_securitycenter_v1_CreateFindingRequest_fieldAccessorTable + return com.google.cloud.securitycenter.v1.SecuritycenterService.internal_static_google_cloud_securitycenter_v1_CreateFindingRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.securitycenter.v1.CreateFindingRequest.class, - com.google.cloud.securitycenter.v1.CreateFindingRequest.Builder.class); + com.google.cloud.securitycenter.v1.CreateFindingRequest.class, com.google.cloud.securitycenter.v1.CreateFindingRequest.Builder.class); } // Construct using com.google.cloud.securitycenter.v1.CreateFindingRequest.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(); @@ -468,9 +419,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.securitycenter.v1.SecuritycenterService - .internal_static_google_cloud_securitycenter_v1_CreateFindingRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.securitycenter.v1.SecuritycenterService.internal_static_google_cloud_securitycenter_v1_CreateFindingRequest_descriptor; } @java.lang.Override @@ -489,8 +440,7 @@ public com.google.cloud.securitycenter.v1.CreateFindingRequest build() { @java.lang.Override public com.google.cloud.securitycenter.v1.CreateFindingRequest buildPartial() { - com.google.cloud.securitycenter.v1.CreateFindingRequest result = - new com.google.cloud.securitycenter.v1.CreateFindingRequest(this); + com.google.cloud.securitycenter.v1.CreateFindingRequest result = new com.google.cloud.securitycenter.v1.CreateFindingRequest(this); result.parent_ = parent_; result.findingId_ = findingId_; if (findingBuilder_ == null) { @@ -506,39 +456,38 @@ public com.google.cloud.securitycenter.v1.CreateFindingRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.securitycenter.v1.CreateFindingRequest) { - return mergeFrom((com.google.cloud.securitycenter.v1.CreateFindingRequest) other); + return mergeFrom((com.google.cloud.securitycenter.v1.CreateFindingRequest)other); } else { super.mergeFrom(other); return this; @@ -546,8 +495,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.securitycenter.v1.CreateFindingRequest other) { - if (other == com.google.cloud.securitycenter.v1.CreateFindingRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.securitycenter.v1.CreateFindingRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -585,31 +533,29 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); + case 10: { + parent_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: - { - findingId_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: { + findingId_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: - { - input.readMessage(getFindingFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 18 + case 26: { + input.readMessage( + getFindingFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -622,23 +568,19 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. Resource name of the new finding's parent. Its format should be
      * "organizations/[organization_id]/sources/[source_id]".
      * 
* - * - * string parent = 1 [(.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; @@ -647,24 +589,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Resource name of the new finding's parent. Its format should be
      * "organizations/[organization_id]/sources/[source_id]".
      * 
* - * - * string parent = 1 [(.google.api.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 { @@ -672,70 +611,57 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Resource name of the new finding's parent. Its format should be
      * "organizations/[organization_id]/sources/[source_id]".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. Resource name of the new finding's parent. Its format should be
      * "organizations/[organization_id]/sources/[source_id]".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. Resource name of the new finding's parent. Its format should be
      * "organizations/[organization_id]/sources/[source_id]".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -743,8 +669,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object findingId_ = ""; /** - * - * *
      * Required. Unique identifier provided by the client within the parent scope.
      * It must be alphanumeric and less than or equal to 32 characters and
@@ -752,13 +676,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * string finding_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The findingId. */ public java.lang.String getFindingId() { java.lang.Object ref = findingId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); findingId_ = s; return s; @@ -767,8 +691,6 @@ public java.lang.String getFindingId() { } } /** - * - * *
      * Required. Unique identifier provided by the client within the parent scope.
      * It must be alphanumeric and less than or equal to 32 characters and
@@ -776,14 +698,15 @@ public java.lang.String getFindingId() {
      * 
* * string finding_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for findingId. */ - public com.google.protobuf.ByteString getFindingIdBytes() { + public com.google.protobuf.ByteString + getFindingIdBytes() { java.lang.Object ref = findingId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); findingId_ = b; return b; } else { @@ -791,8 +714,6 @@ public com.google.protobuf.ByteString getFindingIdBytes() { } } /** - * - * *
      * Required. Unique identifier provided by the client within the parent scope.
      * It must be alphanumeric and less than or equal to 32 characters and
@@ -800,22 +721,20 @@ public com.google.protobuf.ByteString getFindingIdBytes() {
      * 
* * string finding_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The findingId to set. * @return This builder for chaining. */ - public Builder setFindingId(java.lang.String value) { + public Builder setFindingId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + findingId_ = value; onChanged(); return this; } /** - * - * *
      * Required. Unique identifier provided by the client within the parent scope.
      * It must be alphanumeric and less than or equal to 32 characters and
@@ -823,18 +742,15 @@ public Builder setFindingId(java.lang.String value) {
      * 
* * string finding_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearFindingId() { - + findingId_ = getDefaultInstance().getFindingId(); onChanged(); return this; } /** - * - * *
      * Required. Unique identifier provided by the client within the parent scope.
      * It must be alphanumeric and less than or equal to 32 characters and
@@ -842,16 +758,16 @@ public Builder clearFindingId() {
      * 
* * string finding_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for findingId to set. * @return This builder for chaining. */ - public Builder setFindingIdBytes(com.google.protobuf.ByteString value) { + public Builder setFindingIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + findingId_ = value; onChanged(); return this; @@ -859,61 +775,42 @@ public Builder setFindingIdBytes(com.google.protobuf.ByteString value) { private com.google.cloud.securitycenter.v1.Finding finding_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.securitycenter.v1.Finding, - com.google.cloud.securitycenter.v1.Finding.Builder, - com.google.cloud.securitycenter.v1.FindingOrBuilder> - findingBuilder_; + com.google.cloud.securitycenter.v1.Finding, com.google.cloud.securitycenter.v1.Finding.Builder, com.google.cloud.securitycenter.v1.FindingOrBuilder> findingBuilder_; /** - * - * *
      * Required. The Finding being created. The name and security_marks will be
      * ignored as they are both output only fields on this resource.
      * 
* - * - * .google.cloud.securitycenter.v1.Finding finding = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.securitycenter.v1.Finding finding = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the finding field is set. */ public boolean hasFinding() { return findingBuilder_ != null || finding_ != null; } /** - * - * *
      * Required. The Finding being created. The name and security_marks will be
      * ignored as they are both output only fields on this resource.
      * 
* - * - * .google.cloud.securitycenter.v1.Finding finding = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.securitycenter.v1.Finding finding = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The finding. */ public com.google.cloud.securitycenter.v1.Finding getFinding() { if (findingBuilder_ == null) { - return finding_ == null - ? com.google.cloud.securitycenter.v1.Finding.getDefaultInstance() - : finding_; + return finding_ == null ? com.google.cloud.securitycenter.v1.Finding.getDefaultInstance() : finding_; } else { return findingBuilder_.getMessage(); } } /** - * - * *
      * Required. The Finding being created. The name and security_marks will be
      * ignored as they are both output only fields on this resource.
      * 
* - * - * .google.cloud.securitycenter.v1.Finding finding = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.securitycenter.v1.Finding finding = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setFinding(com.google.cloud.securitycenter.v1.Finding value) { if (findingBuilder_ == null) { @@ -929,18 +826,15 @@ public Builder setFinding(com.google.cloud.securitycenter.v1.Finding value) { return this; } /** - * - * *
      * Required. The Finding being created. The name and security_marks will be
      * ignored as they are both output only fields on this resource.
      * 
* - * - * .google.cloud.securitycenter.v1.Finding finding = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.securitycenter.v1.Finding finding = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setFinding(com.google.cloud.securitycenter.v1.Finding.Builder builderForValue) { + public Builder setFinding( + com.google.cloud.securitycenter.v1.Finding.Builder builderForValue) { if (findingBuilder_ == null) { finding_ = builderForValue.build(); onChanged(); @@ -951,24 +845,18 @@ public Builder setFinding(com.google.cloud.securitycenter.v1.Finding.Builder bui return this; } /** - * - * *
      * Required. The Finding being created. The name and security_marks will be
      * ignored as they are both output only fields on this resource.
      * 
* - * - * .google.cloud.securitycenter.v1.Finding finding = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.securitycenter.v1.Finding finding = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeFinding(com.google.cloud.securitycenter.v1.Finding value) { if (findingBuilder_ == null) { if (finding_ != null) { finding_ = - com.google.cloud.securitycenter.v1.Finding.newBuilder(finding_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.securitycenter.v1.Finding.newBuilder(finding_).mergeFrom(value).buildPartial(); } else { finding_ = value; } @@ -980,16 +868,12 @@ public Builder mergeFinding(com.google.cloud.securitycenter.v1.Finding value) { return this; } /** - * - * *
      * Required. The Finding being created. The name and security_marks will be
      * ignored as they are both output only fields on this resource.
      * 
* - * - * .google.cloud.securitycenter.v1.Finding finding = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.securitycenter.v1.Finding finding = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearFinding() { if (findingBuilder_ == null) { @@ -1003,74 +887,58 @@ public Builder clearFinding() { return this; } /** - * - * *
      * Required. The Finding being created. The name and security_marks will be
      * ignored as they are both output only fields on this resource.
      * 
* - * - * .google.cloud.securitycenter.v1.Finding finding = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.securitycenter.v1.Finding finding = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.securitycenter.v1.Finding.Builder getFindingBuilder() { - + onChanged(); return getFindingFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The Finding being created. The name and security_marks will be
      * ignored as they are both output only fields on this resource.
      * 
* - * - * .google.cloud.securitycenter.v1.Finding finding = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.securitycenter.v1.Finding finding = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.securitycenter.v1.FindingOrBuilder getFindingOrBuilder() { if (findingBuilder_ != null) { return findingBuilder_.getMessageOrBuilder(); } else { - return finding_ == null - ? com.google.cloud.securitycenter.v1.Finding.getDefaultInstance() - : finding_; + return finding_ == null ? + com.google.cloud.securitycenter.v1.Finding.getDefaultInstance() : finding_; } } /** - * - * *
      * Required. The Finding being created. The name and security_marks will be
      * ignored as they are both output only fields on this resource.
      * 
* - * - * .google.cloud.securitycenter.v1.Finding finding = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.securitycenter.v1.Finding finding = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.securitycenter.v1.Finding, - com.google.cloud.securitycenter.v1.Finding.Builder, - com.google.cloud.securitycenter.v1.FindingOrBuilder> + com.google.cloud.securitycenter.v1.Finding, com.google.cloud.securitycenter.v1.Finding.Builder, com.google.cloud.securitycenter.v1.FindingOrBuilder> getFindingFieldBuilder() { if (findingBuilder_ == null) { - findingBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.securitycenter.v1.Finding, - com.google.cloud.securitycenter.v1.Finding.Builder, - com.google.cloud.securitycenter.v1.FindingOrBuilder>( - getFinding(), getParentForChildren(), isClean()); + findingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.securitycenter.v1.Finding, com.google.cloud.securitycenter.v1.Finding.Builder, com.google.cloud.securitycenter.v1.FindingOrBuilder>( + getFinding(), + getParentForChildren(), + isClean()); finding_ = null; } return findingBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1080,12 +948,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.securitycenter.v1.CreateFindingRequest) } // @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1.CreateFindingRequest) private static final com.google.cloud.securitycenter.v1.CreateFindingRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.securitycenter.v1.CreateFindingRequest(); } @@ -1094,27 +962,27 @@ public static com.google.cloud.securitycenter.v1.CreateFindingRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateFindingRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - 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 CreateFindingRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + 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; @@ -1129,4 +997,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.securitycenter.v1.CreateFindingRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateFindingRequestOrBuilder.java b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateFindingRequestOrBuilder.java similarity index 60% rename from java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateFindingRequestOrBuilder.java rename to owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateFindingRequestOrBuilder.java index 2169305467d5..bb93ae5a207e 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateFindingRequestOrBuilder.java +++ b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateFindingRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/securitycenter/v1/securitycenter_service.proto package com.google.cloud.securitycenter.v1; -public interface CreateFindingRequestOrBuilder - extends +public interface CreateFindingRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.securitycenter.v1.CreateFindingRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Resource name of the new finding's parent. Its format should be
    * "organizations/[organization_id]/sources/[source_id]".
    * 
* - * - * string parent = 1 [(.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. Resource name of the new finding's parent. Its format should be
    * "organizations/[organization_id]/sources/[source_id]".
    * 
* - * - * string parent = 1 [(.google.api.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. Unique identifier provided by the client within the parent scope.
    * It must be alphanumeric and less than or equal to 32 characters and
@@ -64,13 +37,10 @@ public interface CreateFindingRequestOrBuilder
    * 
* * string finding_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The findingId. */ java.lang.String getFindingId(); /** - * - * *
    * Required. Unique identifier provided by the client within the parent scope.
    * It must be alphanumeric and less than or equal to 32 characters and
@@ -78,52 +48,38 @@ public interface CreateFindingRequestOrBuilder
    * 
* * string finding_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for findingId. */ - com.google.protobuf.ByteString getFindingIdBytes(); + com.google.protobuf.ByteString + getFindingIdBytes(); /** - * - * *
    * Required. The Finding being created. The name and security_marks will be
    * ignored as they are both output only fields on this resource.
    * 
* - * - * .google.cloud.securitycenter.v1.Finding finding = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.securitycenter.v1.Finding finding = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the finding field is set. */ boolean hasFinding(); /** - * - * *
    * Required. The Finding being created. The name and security_marks will be
    * ignored as they are both output only fields on this resource.
    * 
* - * - * .google.cloud.securitycenter.v1.Finding finding = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.securitycenter.v1.Finding finding = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The finding. */ com.google.cloud.securitycenter.v1.Finding getFinding(); /** - * - * *
    * Required. The Finding being created. The name and security_marks will be
    * ignored as they are both output only fields on this resource.
    * 
* - * - * .google.cloud.securitycenter.v1.Finding finding = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.securitycenter.v1.Finding finding = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.securitycenter.v1.FindingOrBuilder getFindingOrBuilder(); } diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateMuteConfigRequest.java b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateMuteConfigRequest.java similarity index 65% rename from java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateMuteConfigRequest.java rename to owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateMuteConfigRequest.java index ee327f9c3c20..7f09a914c01d 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateMuteConfigRequest.java +++ b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateMuteConfigRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/securitycenter/v1/securitycenter_service.proto package com.google.cloud.securitycenter.v1; /** - * - * *
  * Request message for creating a mute config.
  * 
* * Protobuf type {@code google.cloud.securitycenter.v1.CreateMuteConfigRequest} */ -public final class CreateMuteConfigRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateMuteConfigRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.securitycenter.v1.CreateMuteConfigRequest) CreateMuteConfigRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateMuteConfigRequest.newBuilder() to construct. private CreateMuteConfigRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateMuteConfigRequest() { parent_ = ""; muteConfigId_ = ""; @@ -44,45 +26,39 @@ private CreateMuteConfigRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateMuteConfigRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.securitycenter.v1.SecuritycenterService - .internal_static_google_cloud_securitycenter_v1_CreateMuteConfigRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.securitycenter.v1.SecuritycenterService.internal_static_google_cloud_securitycenter_v1_CreateMuteConfigRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.securitycenter.v1.SecuritycenterService - .internal_static_google_cloud_securitycenter_v1_CreateMuteConfigRequest_fieldAccessorTable + return com.google.cloud.securitycenter.v1.SecuritycenterService.internal_static_google_cloud_securitycenter_v1_CreateMuteConfigRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.securitycenter.v1.CreateMuteConfigRequest.class, - com.google.cloud.securitycenter.v1.CreateMuteConfigRequest.Builder.class); + com.google.cloud.securitycenter.v1.CreateMuteConfigRequest.class, com.google.cloud.securitycenter.v1.CreateMuteConfigRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. Resource name of the new mute configs's parent. Its format is
    * "organizations/[organization_id]", "folders/[folder_id]", or
    * "projects/[project_id]".
    * 
* - * - * string parent = 1 [(.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 @@ -91,33 +67,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. Resource name of the new mute configs's parent. Its format is
    * "organizations/[organization_id]", "folders/[folder_id]", or
    * "projects/[project_id]".
    * 
* - * - * string parent = 1 [(.google.api.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 { @@ -128,16 +102,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int MUTE_CONFIG_FIELD_NUMBER = 2; private com.google.cloud.securitycenter.v1.MuteConfig muteConfig_; /** - * - * *
    * Required. The mute config being created.
    * 
* - * - * .google.cloud.securitycenter.v1.MuteConfig mute_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.securitycenter.v1.MuteConfig mute_config = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the muteConfig field is set. */ @java.lang.Override @@ -145,34 +114,23 @@ public boolean hasMuteConfig() { return muteConfig_ != null; } /** - * - * *
    * Required. The mute config being created.
    * 
* - * - * .google.cloud.securitycenter.v1.MuteConfig mute_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.securitycenter.v1.MuteConfig mute_config = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The muteConfig. */ @java.lang.Override public com.google.cloud.securitycenter.v1.MuteConfig getMuteConfig() { - return muteConfig_ == null - ? com.google.cloud.securitycenter.v1.MuteConfig.getDefaultInstance() - : muteConfig_; + return muteConfig_ == null ? com.google.cloud.securitycenter.v1.MuteConfig.getDefaultInstance() : muteConfig_; } /** - * - * *
    * Required. The mute config being created.
    * 
* - * - * .google.cloud.securitycenter.v1.MuteConfig mute_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.securitycenter.v1.MuteConfig mute_config = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.securitycenter.v1.MuteConfigOrBuilder getMuteConfigOrBuilder() { @@ -182,8 +140,6 @@ public com.google.cloud.securitycenter.v1.MuteConfigOrBuilder getMuteConfigOrBui public static final int MUTE_CONFIG_ID_FIELD_NUMBER = 3; private volatile java.lang.Object muteConfigId_; /** - * - * *
    * Required. Unique identifier provided by the client within the parent scope.
    * It must consist of lower case letters, numbers, and hyphen, with the first
@@ -192,7 +148,6 @@ public com.google.cloud.securitycenter.v1.MuteConfigOrBuilder getMuteConfigOrBui
    * 
* * string mute_config_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The muteConfigId. */ @java.lang.Override @@ -201,15 +156,14 @@ public java.lang.String getMuteConfigId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); muteConfigId_ = s; return s; } } /** - * - * *
    * Required. Unique identifier provided by the client within the parent scope.
    * It must consist of lower case letters, numbers, and hyphen, with the first
@@ -218,15 +172,16 @@ public java.lang.String getMuteConfigId() {
    * 
* * string mute_config_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for muteConfigId. */ @java.lang.Override - public com.google.protobuf.ByteString getMuteConfigIdBytes() { + public com.google.protobuf.ByteString + getMuteConfigIdBytes() { java.lang.Object ref = muteConfigId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); muteConfigId_ = b; return b; } else { @@ -235,7 +190,6 @@ public com.google.protobuf.ByteString getMuteConfigIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -247,7 +201,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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 +225,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (muteConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getMuteConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getMuteConfig()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(muteConfigId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, muteConfigId_); @@ -283,20 +239,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.securitycenter.v1.CreateMuteConfigRequest)) { return super.equals(obj); } - com.google.cloud.securitycenter.v1.CreateMuteConfigRequest other = - (com.google.cloud.securitycenter.v1.CreateMuteConfigRequest) obj; + com.google.cloud.securitycenter.v1.CreateMuteConfigRequest other = (com.google.cloud.securitycenter.v1.CreateMuteConfigRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasMuteConfig() != other.hasMuteConfig()) return false; if (hasMuteConfig()) { - if (!getMuteConfig().equals(other.getMuteConfig())) return false; + if (!getMuteConfig() + .equals(other.getMuteConfig())) return false; } - if (!getMuteConfigId().equals(other.getMuteConfigId())) return false; + if (!getMuteConfigId() + .equals(other.getMuteConfigId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -322,136 +280,129 @@ public int hashCode() { } public static com.google.cloud.securitycenter.v1.CreateMuteConfigRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.CreateMuteConfigRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.CreateMuteConfigRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.CreateMuteConfigRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.CreateMuteConfigRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.CreateMuteConfigRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.securitycenter.v1.CreateMuteConfigRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.securitycenter.v1.CreateMuteConfigRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.CreateMuteConfigRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.securitycenter.v1.CreateMuteConfigRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.securitycenter.v1.CreateMuteConfigRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.CreateMuteConfigRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.CreateMuteConfigRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.CreateMuteConfigRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.securitycenter.v1.CreateMuteConfigRequest prototype) { + public static Builder newBuilder(com.google.cloud.securitycenter.v1.CreateMuteConfigRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 creating a mute config.
    * 
* * Protobuf type {@code google.cloud.securitycenter.v1.CreateMuteConfigRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.securitycenter.v1.CreateMuteConfigRequest) com.google.cloud.securitycenter.v1.CreateMuteConfigRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.securitycenter.v1.SecuritycenterService - .internal_static_google_cloud_securitycenter_v1_CreateMuteConfigRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.securitycenter.v1.SecuritycenterService.internal_static_google_cloud_securitycenter_v1_CreateMuteConfigRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.securitycenter.v1.SecuritycenterService - .internal_static_google_cloud_securitycenter_v1_CreateMuteConfigRequest_fieldAccessorTable + return com.google.cloud.securitycenter.v1.SecuritycenterService.internal_static_google_cloud_securitycenter_v1_CreateMuteConfigRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.securitycenter.v1.CreateMuteConfigRequest.class, - com.google.cloud.securitycenter.v1.CreateMuteConfigRequest.Builder.class); + com.google.cloud.securitycenter.v1.CreateMuteConfigRequest.class, com.google.cloud.securitycenter.v1.CreateMuteConfigRequest.Builder.class); } // Construct using com.google.cloud.securitycenter.v1.CreateMuteConfigRequest.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(); @@ -469,9 +420,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.securitycenter.v1.SecuritycenterService - .internal_static_google_cloud_securitycenter_v1_CreateMuteConfigRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.securitycenter.v1.SecuritycenterService.internal_static_google_cloud_securitycenter_v1_CreateMuteConfigRequest_descriptor; } @java.lang.Override @@ -490,8 +441,7 @@ public com.google.cloud.securitycenter.v1.CreateMuteConfigRequest build() { @java.lang.Override public com.google.cloud.securitycenter.v1.CreateMuteConfigRequest buildPartial() { - com.google.cloud.securitycenter.v1.CreateMuteConfigRequest result = - new com.google.cloud.securitycenter.v1.CreateMuteConfigRequest(this); + com.google.cloud.securitycenter.v1.CreateMuteConfigRequest result = new com.google.cloud.securitycenter.v1.CreateMuteConfigRequest(this); result.parent_ = parent_; if (muteConfigBuilder_ == null) { result.muteConfig_ = muteConfig_; @@ -507,39 +457,38 @@ public com.google.cloud.securitycenter.v1.CreateMuteConfigRequest buildPartial() public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.securitycenter.v1.CreateMuteConfigRequest) { - return mergeFrom((com.google.cloud.securitycenter.v1.CreateMuteConfigRequest) other); + return mergeFrom((com.google.cloud.securitycenter.v1.CreateMuteConfigRequest)other); } else { super.mergeFrom(other); return this; @@ -547,8 +496,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.securitycenter.v1.CreateMuteConfigRequest other) { - if (other == com.google.cloud.securitycenter.v1.CreateMuteConfigRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.securitycenter.v1.CreateMuteConfigRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -586,31 +534,29 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); + case 10: { + parent_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: - { - input.readMessage(getMuteConfigFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 10 + case 18: { + input.readMessage( + getMuteConfigFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 18 - case 26: - { - muteConfigId_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 26: { + muteConfigId_ = input.readStringRequireUtf8(); - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -623,24 +569,20 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. Resource name of the new mute configs's parent. Its format is
      * "organizations/[organization_id]", "folders/[folder_id]", or
      * "projects/[project_id]".
      * 
* - * - * string parent = 1 [(.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; @@ -649,25 +591,22 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Resource name of the new mute configs's parent. Its format is
      * "organizations/[organization_id]", "folders/[folder_id]", or
      * "projects/[project_id]".
      * 
* - * - * string parent = 1 [(.google.api.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 { @@ -675,73 +614,60 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Resource name of the new mute configs's parent. Its format is
      * "organizations/[organization_id]", "folders/[folder_id]", or
      * "projects/[project_id]".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. Resource name of the new mute configs's parent. Its format is
      * "organizations/[organization_id]", "folders/[folder_id]", or
      * "projects/[project_id]".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. Resource name of the new mute configs's parent. Its format is
      * "organizations/[organization_id]", "folders/[folder_id]", or
      * "projects/[project_id]".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -749,58 +675,39 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.cloud.securitycenter.v1.MuteConfig muteConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.securitycenter.v1.MuteConfig, - com.google.cloud.securitycenter.v1.MuteConfig.Builder, - com.google.cloud.securitycenter.v1.MuteConfigOrBuilder> - muteConfigBuilder_; + com.google.cloud.securitycenter.v1.MuteConfig, com.google.cloud.securitycenter.v1.MuteConfig.Builder, com.google.cloud.securitycenter.v1.MuteConfigOrBuilder> muteConfigBuilder_; /** - * - * *
      * Required. The mute config being created.
      * 
* - * - * .google.cloud.securitycenter.v1.MuteConfig mute_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.securitycenter.v1.MuteConfig mute_config = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the muteConfig field is set. */ public boolean hasMuteConfig() { return muteConfigBuilder_ != null || muteConfig_ != null; } /** - * - * *
      * Required. The mute config being created.
      * 
* - * - * .google.cloud.securitycenter.v1.MuteConfig mute_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.securitycenter.v1.MuteConfig mute_config = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The muteConfig. */ public com.google.cloud.securitycenter.v1.MuteConfig getMuteConfig() { if (muteConfigBuilder_ == null) { - return muteConfig_ == null - ? com.google.cloud.securitycenter.v1.MuteConfig.getDefaultInstance() - : muteConfig_; + return muteConfig_ == null ? com.google.cloud.securitycenter.v1.MuteConfig.getDefaultInstance() : muteConfig_; } else { return muteConfigBuilder_.getMessage(); } } /** - * - * *
      * Required. The mute config being created.
      * 
* - * - * .google.cloud.securitycenter.v1.MuteConfig mute_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.securitycenter.v1.MuteConfig mute_config = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setMuteConfig(com.google.cloud.securitycenter.v1.MuteConfig value) { if (muteConfigBuilder_ == null) { @@ -816,15 +723,11 @@ public Builder setMuteConfig(com.google.cloud.securitycenter.v1.MuteConfig value return this; } /** - * - * *
      * Required. The mute config being created.
      * 
* - * - * .google.cloud.securitycenter.v1.MuteConfig mute_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.securitycenter.v1.MuteConfig mute_config = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setMuteConfig( com.google.cloud.securitycenter.v1.MuteConfig.Builder builderForValue) { @@ -838,23 +741,17 @@ public Builder setMuteConfig( return this; } /** - * - * *
      * Required. The mute config being created.
      * 
* - * - * .google.cloud.securitycenter.v1.MuteConfig mute_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.securitycenter.v1.MuteConfig mute_config = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeMuteConfig(com.google.cloud.securitycenter.v1.MuteConfig value) { if (muteConfigBuilder_ == null) { if (muteConfig_ != null) { muteConfig_ = - com.google.cloud.securitycenter.v1.MuteConfig.newBuilder(muteConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.securitycenter.v1.MuteConfig.newBuilder(muteConfig_).mergeFrom(value).buildPartial(); } else { muteConfig_ = value; } @@ -866,15 +763,11 @@ public Builder mergeMuteConfig(com.google.cloud.securitycenter.v1.MuteConfig val return this; } /** - * - * *
      * Required. The mute config being created.
      * 
* - * - * .google.cloud.securitycenter.v1.MuteConfig mute_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.securitycenter.v1.MuteConfig mute_config = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearMuteConfig() { if (muteConfigBuilder_ == null) { @@ -888,64 +781,48 @@ public Builder clearMuteConfig() { return this; } /** - * - * *
      * Required. The mute config being created.
      * 
* - * - * .google.cloud.securitycenter.v1.MuteConfig mute_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.securitycenter.v1.MuteConfig mute_config = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.securitycenter.v1.MuteConfig.Builder getMuteConfigBuilder() { - + onChanged(); return getMuteConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The mute config being created.
      * 
* - * - * .google.cloud.securitycenter.v1.MuteConfig mute_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.securitycenter.v1.MuteConfig mute_config = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.securitycenter.v1.MuteConfigOrBuilder getMuteConfigOrBuilder() { if (muteConfigBuilder_ != null) { return muteConfigBuilder_.getMessageOrBuilder(); } else { - return muteConfig_ == null - ? com.google.cloud.securitycenter.v1.MuteConfig.getDefaultInstance() - : muteConfig_; + return muteConfig_ == null ? + com.google.cloud.securitycenter.v1.MuteConfig.getDefaultInstance() : muteConfig_; } } /** - * - * *
      * Required. The mute config being created.
      * 
* - * - * .google.cloud.securitycenter.v1.MuteConfig mute_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.securitycenter.v1.MuteConfig mute_config = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.securitycenter.v1.MuteConfig, - com.google.cloud.securitycenter.v1.MuteConfig.Builder, - com.google.cloud.securitycenter.v1.MuteConfigOrBuilder> + com.google.cloud.securitycenter.v1.MuteConfig, com.google.cloud.securitycenter.v1.MuteConfig.Builder, com.google.cloud.securitycenter.v1.MuteConfigOrBuilder> getMuteConfigFieldBuilder() { if (muteConfigBuilder_ == null) { - muteConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.securitycenter.v1.MuteConfig, - com.google.cloud.securitycenter.v1.MuteConfig.Builder, - com.google.cloud.securitycenter.v1.MuteConfigOrBuilder>( - getMuteConfig(), getParentForChildren(), isClean()); + muteConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.securitycenter.v1.MuteConfig, com.google.cloud.securitycenter.v1.MuteConfig.Builder, com.google.cloud.securitycenter.v1.MuteConfigOrBuilder>( + getMuteConfig(), + getParentForChildren(), + isClean()); muteConfig_ = null; } return muteConfigBuilder_; @@ -953,8 +830,6 @@ public com.google.cloud.securitycenter.v1.MuteConfigOrBuilder getMuteConfigOrBui private java.lang.Object muteConfigId_ = ""; /** - * - * *
      * Required. Unique identifier provided by the client within the parent scope.
      * It must consist of lower case letters, numbers, and hyphen, with the first
@@ -963,13 +838,13 @@ public com.google.cloud.securitycenter.v1.MuteConfigOrBuilder getMuteConfigOrBui
      * 
* * string mute_config_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The muteConfigId. */ public java.lang.String getMuteConfigId() { java.lang.Object ref = muteConfigId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); muteConfigId_ = s; return s; @@ -978,8 +853,6 @@ public java.lang.String getMuteConfigId() { } } /** - * - * *
      * Required. Unique identifier provided by the client within the parent scope.
      * It must consist of lower case letters, numbers, and hyphen, with the first
@@ -988,14 +861,15 @@ public java.lang.String getMuteConfigId() {
      * 
* * string mute_config_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for muteConfigId. */ - public com.google.protobuf.ByteString getMuteConfigIdBytes() { + public com.google.protobuf.ByteString + getMuteConfigIdBytes() { java.lang.Object ref = muteConfigId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); muteConfigId_ = b; return b; } else { @@ -1003,8 +877,6 @@ public com.google.protobuf.ByteString getMuteConfigIdBytes() { } } /** - * - * *
      * Required. Unique identifier provided by the client within the parent scope.
      * It must consist of lower case letters, numbers, and hyphen, with the first
@@ -1013,22 +885,20 @@ public com.google.protobuf.ByteString getMuteConfigIdBytes() {
      * 
* * string mute_config_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The muteConfigId to set. * @return This builder for chaining. */ - public Builder setMuteConfigId(java.lang.String value) { + public Builder setMuteConfigId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + muteConfigId_ = value; onChanged(); return this; } /** - * - * *
      * Required. Unique identifier provided by the client within the parent scope.
      * It must consist of lower case letters, numbers, and hyphen, with the first
@@ -1037,18 +907,15 @@ public Builder setMuteConfigId(java.lang.String value) {
      * 
* * string mute_config_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearMuteConfigId() { - + muteConfigId_ = getDefaultInstance().getMuteConfigId(); onChanged(); return this; } /** - * - * *
      * Required. Unique identifier provided by the client within the parent scope.
      * It must consist of lower case letters, numbers, and hyphen, with the first
@@ -1057,23 +924,23 @@ public Builder clearMuteConfigId() {
      * 
* * string mute_config_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for muteConfigId to set. * @return This builder for chaining. */ - public Builder setMuteConfigIdBytes(com.google.protobuf.ByteString value) { + public Builder setMuteConfigIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + muteConfigId_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1083,12 +950,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.securitycenter.v1.CreateMuteConfigRequest) } // @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1.CreateMuteConfigRequest) private static final com.google.cloud.securitycenter.v1.CreateMuteConfigRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.securitycenter.v1.CreateMuteConfigRequest(); } @@ -1097,27 +964,27 @@ public static com.google.cloud.securitycenter.v1.CreateMuteConfigRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateMuteConfigRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - 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 CreateMuteConfigRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + 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; @@ -1132,4 +999,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.securitycenter.v1.CreateMuteConfigRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateMuteConfigRequestOrBuilder.java b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateMuteConfigRequestOrBuilder.java similarity index 59% rename from java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateMuteConfigRequestOrBuilder.java rename to owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateMuteConfigRequestOrBuilder.java index 07965be0e89f..2aadf4ad7b73 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateMuteConfigRequestOrBuilder.java +++ b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateMuteConfigRequestOrBuilder.java @@ -1,105 +1,64 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/securitycenter/v1/securitycenter_service.proto package com.google.cloud.securitycenter.v1; -public interface CreateMuteConfigRequestOrBuilder - extends +public interface CreateMuteConfigRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.securitycenter.v1.CreateMuteConfigRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Resource name of the new mute configs's parent. Its format is
    * "organizations/[organization_id]", "folders/[folder_id]", or
    * "projects/[project_id]".
    * 
* - * - * string parent = 1 [(.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. Resource name of the new mute configs's parent. Its format is
    * "organizations/[organization_id]", "folders/[folder_id]", or
    * "projects/[project_id]".
    * 
* - * - * string parent = 1 [(.google.api.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 mute config being created.
    * 
* - * - * .google.cloud.securitycenter.v1.MuteConfig mute_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.securitycenter.v1.MuteConfig mute_config = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the muteConfig field is set. */ boolean hasMuteConfig(); /** - * - * *
    * Required. The mute config being created.
    * 
* - * - * .google.cloud.securitycenter.v1.MuteConfig mute_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.securitycenter.v1.MuteConfig mute_config = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The muteConfig. */ com.google.cloud.securitycenter.v1.MuteConfig getMuteConfig(); /** - * - * *
    * Required. The mute config being created.
    * 
* - * - * .google.cloud.securitycenter.v1.MuteConfig mute_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.securitycenter.v1.MuteConfig mute_config = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.securitycenter.v1.MuteConfigOrBuilder getMuteConfigOrBuilder(); /** - * - * *
    * Required. Unique identifier provided by the client within the parent scope.
    * It must consist of lower case letters, numbers, and hyphen, with the first
@@ -108,13 +67,10 @@ public interface CreateMuteConfigRequestOrBuilder
    * 
* * string mute_config_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The muteConfigId. */ java.lang.String getMuteConfigId(); /** - * - * *
    * Required. Unique identifier provided by the client within the parent scope.
    * It must consist of lower case letters, numbers, and hyphen, with the first
@@ -123,8 +79,8 @@ public interface CreateMuteConfigRequestOrBuilder
    * 
* * string mute_config_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for muteConfigId. */ - com.google.protobuf.ByteString getMuteConfigIdBytes(); + com.google.protobuf.ByteString + getMuteConfigIdBytes(); } diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateNotificationConfigRequest.java b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateNotificationConfigRequest.java similarity index 64% rename from java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateNotificationConfigRequest.java rename to owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateNotificationConfigRequest.java index 9881d20a2b89..f31b1e2e175f 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateNotificationConfigRequest.java +++ b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateNotificationConfigRequest.java @@ -1,43 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/securitycenter/v1/securitycenter_service.proto package com.google.cloud.securitycenter.v1; /** - * - * *
  * Request message for creating a notification config.
  * 
* * Protobuf type {@code google.cloud.securitycenter.v1.CreateNotificationConfigRequest} */ -public final class CreateNotificationConfigRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateNotificationConfigRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.securitycenter.v1.CreateNotificationConfigRequest) CreateNotificationConfigRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateNotificationConfigRequest.newBuilder() to construct. - private CreateNotificationConfigRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private CreateNotificationConfigRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateNotificationConfigRequest() { parent_ = ""; configId_ = ""; @@ -45,45 +26,39 @@ private CreateNotificationConfigRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateNotificationConfigRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.securitycenter.v1.SecuritycenterService - .internal_static_google_cloud_securitycenter_v1_CreateNotificationConfigRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.securitycenter.v1.SecuritycenterService.internal_static_google_cloud_securitycenter_v1_CreateNotificationConfigRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.securitycenter.v1.SecuritycenterService - .internal_static_google_cloud_securitycenter_v1_CreateNotificationConfigRequest_fieldAccessorTable + return com.google.cloud.securitycenter.v1.SecuritycenterService.internal_static_google_cloud_securitycenter_v1_CreateNotificationConfigRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.securitycenter.v1.CreateNotificationConfigRequest.class, - com.google.cloud.securitycenter.v1.CreateNotificationConfigRequest.Builder.class); + com.google.cloud.securitycenter.v1.CreateNotificationConfigRequest.class, com.google.cloud.securitycenter.v1.CreateNotificationConfigRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. Resource name of the new notification config's parent. Its format
    * is "organizations/[organization_id]", "folders/[folder_id]", or
    * "projects/[project_id]".
    * 
* - * - * string parent = 1 [(.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 @@ -92,33 +67,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. Resource name of the new notification config's parent. Its format
    * is "organizations/[organization_id]", "folders/[folder_id]", or
    * "projects/[project_id]".
    * 
* - * - * string parent = 1 [(.google.api.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 { @@ -129,8 +102,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int CONFIG_ID_FIELD_NUMBER = 2; private volatile java.lang.Object configId_; /** - * - * *
    * Required.
    * Unique identifier provided by the client within the parent scope.
@@ -139,7 +110,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string config_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The configId. */ @java.lang.Override @@ -148,15 +118,14 @@ public java.lang.String getConfigId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); configId_ = s; return s; } } /** - * - * *
    * Required.
    * Unique identifier provided by the client within the parent scope.
@@ -165,15 +134,16 @@ public java.lang.String getConfigId() {
    * 
* * string config_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for configId. */ @java.lang.Override - public com.google.protobuf.ByteString getConfigIdBytes() { + public com.google.protobuf.ByteString + getConfigIdBytes() { java.lang.Object ref = configId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); configId_ = b; return b; } else { @@ -184,18 +154,13 @@ public com.google.protobuf.ByteString getConfigIdBytes() { public static final int NOTIFICATION_CONFIG_FIELD_NUMBER = 3; private com.google.cloud.securitycenter.v1.NotificationConfig notificationConfig_; /** - * - * *
    * Required. The notification config being created. The name and the service
    * account will be ignored as they are both output only fields on this
    * resource.
    * 
* - * - * .google.cloud.securitycenter.v1.NotificationConfig notification_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.securitycenter.v1.NotificationConfig notification_config = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the notificationConfig field is set. */ @java.lang.Override @@ -203,47 +168,34 @@ public boolean hasNotificationConfig() { return notificationConfig_ != null; } /** - * - * *
    * Required. The notification config being created. The name and the service
    * account will be ignored as they are both output only fields on this
    * resource.
    * 
* - * - * .google.cloud.securitycenter.v1.NotificationConfig notification_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.securitycenter.v1.NotificationConfig notification_config = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The notificationConfig. */ @java.lang.Override public com.google.cloud.securitycenter.v1.NotificationConfig getNotificationConfig() { - return notificationConfig_ == null - ? com.google.cloud.securitycenter.v1.NotificationConfig.getDefaultInstance() - : notificationConfig_; + return notificationConfig_ == null ? com.google.cloud.securitycenter.v1.NotificationConfig.getDefaultInstance() : notificationConfig_; } /** - * - * *
    * Required. The notification config being created. The name and the service
    * account will be ignored as they are both output only fields on this
    * resource.
    * 
* - * - * .google.cloud.securitycenter.v1.NotificationConfig notification_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.securitycenter.v1.NotificationConfig notification_config = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.securitycenter.v1.NotificationConfigOrBuilder - getNotificationConfigOrBuilder() { + public com.google.cloud.securitycenter.v1.NotificationConfigOrBuilder getNotificationConfigOrBuilder() { return getNotificationConfig(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -255,7 +207,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -281,7 +234,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, configId_); } if (notificationConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getNotificationConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getNotificationConfig()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -291,19 +245,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.securitycenter.v1.CreateNotificationConfigRequest)) { return super.equals(obj); } - com.google.cloud.securitycenter.v1.CreateNotificationConfigRequest other = - (com.google.cloud.securitycenter.v1.CreateNotificationConfigRequest) obj; + com.google.cloud.securitycenter.v1.CreateNotificationConfigRequest other = (com.google.cloud.securitycenter.v1.CreateNotificationConfigRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getConfigId().equals(other.getConfigId())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getConfigId() + .equals(other.getConfigId())) return false; if (hasNotificationConfig() != other.hasNotificationConfig()) return false; if (hasNotificationConfig()) { - if (!getNotificationConfig().equals(other.getNotificationConfig())) return false; + if (!getNotificationConfig() + .equals(other.getNotificationConfig())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -330,138 +286,129 @@ public int hashCode() { } public static com.google.cloud.securitycenter.v1.CreateNotificationConfigRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.CreateNotificationConfigRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.CreateNotificationConfigRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.CreateNotificationConfigRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.securitycenter.v1.CreateNotificationConfigRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.securitycenter.v1.CreateNotificationConfigRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.CreateNotificationConfigRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.securitycenter.v1.CreateNotificationConfigRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.securitycenter.v1.CreateNotificationConfigRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.CreateNotificationConfigRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.securitycenter.v1.CreateNotificationConfigRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.securitycenter.v1.CreateNotificationConfigRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.securitycenter.v1.CreateNotificationConfigRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.securitycenter.v1.CreateNotificationConfigRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.CreateNotificationConfigRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.CreateNotificationConfigRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.securitycenter.v1.CreateNotificationConfigRequest prototype) { + public static Builder newBuilder(com.google.cloud.securitycenter.v1.CreateNotificationConfigRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 creating a notification config.
    * 
* * Protobuf type {@code google.cloud.securitycenter.v1.CreateNotificationConfigRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.securitycenter.v1.CreateNotificationConfigRequest) com.google.cloud.securitycenter.v1.CreateNotificationConfigRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.securitycenter.v1.SecuritycenterService - .internal_static_google_cloud_securitycenter_v1_CreateNotificationConfigRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.securitycenter.v1.SecuritycenterService.internal_static_google_cloud_securitycenter_v1_CreateNotificationConfigRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.securitycenter.v1.SecuritycenterService - .internal_static_google_cloud_securitycenter_v1_CreateNotificationConfigRequest_fieldAccessorTable + return com.google.cloud.securitycenter.v1.SecuritycenterService.internal_static_google_cloud_securitycenter_v1_CreateNotificationConfigRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.securitycenter.v1.CreateNotificationConfigRequest.class, - com.google.cloud.securitycenter.v1.CreateNotificationConfigRequest.Builder.class); + com.google.cloud.securitycenter.v1.CreateNotificationConfigRequest.class, com.google.cloud.securitycenter.v1.CreateNotificationConfigRequest.Builder.class); } - // Construct using - // com.google.cloud.securitycenter.v1.CreateNotificationConfigRequest.newBuilder() - private Builder() {} + // Construct using com.google.cloud.securitycenter.v1.CreateNotificationConfigRequest.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(); @@ -479,16 +426,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.securitycenter.v1.SecuritycenterService - .internal_static_google_cloud_securitycenter_v1_CreateNotificationConfigRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.securitycenter.v1.SecuritycenterService.internal_static_google_cloud_securitycenter_v1_CreateNotificationConfigRequest_descriptor; } @java.lang.Override - public com.google.cloud.securitycenter.v1.CreateNotificationConfigRequest - getDefaultInstanceForType() { - return com.google.cloud.securitycenter.v1.CreateNotificationConfigRequest - .getDefaultInstance(); + public com.google.cloud.securitycenter.v1.CreateNotificationConfigRequest getDefaultInstanceForType() { + return com.google.cloud.securitycenter.v1.CreateNotificationConfigRequest.getDefaultInstance(); } @java.lang.Override @@ -502,8 +447,7 @@ public com.google.cloud.securitycenter.v1.CreateNotificationConfigRequest build( @java.lang.Override public com.google.cloud.securitycenter.v1.CreateNotificationConfigRequest buildPartial() { - com.google.cloud.securitycenter.v1.CreateNotificationConfigRequest result = - new com.google.cloud.securitycenter.v1.CreateNotificationConfigRequest(this); + com.google.cloud.securitycenter.v1.CreateNotificationConfigRequest result = new com.google.cloud.securitycenter.v1.CreateNotificationConfigRequest(this); result.parent_ = parent_; result.configId_ = configId_; if (notificationConfigBuilder_ == null) { @@ -519,51 +463,46 @@ public com.google.cloud.securitycenter.v1.CreateNotificationConfigRequest buildP public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.securitycenter.v1.CreateNotificationConfigRequest) { - return mergeFrom( - (com.google.cloud.securitycenter.v1.CreateNotificationConfigRequest) other); + return mergeFrom((com.google.cloud.securitycenter.v1.CreateNotificationConfigRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.securitycenter.v1.CreateNotificationConfigRequest other) { - if (other - == com.google.cloud.securitycenter.v1.CreateNotificationConfigRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.securitycenter.v1.CreateNotificationConfigRequest other) { + if (other == com.google.cloud.securitycenter.v1.CreateNotificationConfigRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -601,32 +540,29 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); + case 10: { + parent_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: - { - configId_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: { + configId_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: - { - input.readMessage( - getNotificationConfigFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 18 + case 26: { + input.readMessage( + getNotificationConfigFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -639,24 +575,20 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. Resource name of the new notification config's parent. Its format
      * is "organizations/[organization_id]", "folders/[folder_id]", or
      * "projects/[project_id]".
      * 
* - * - * string parent = 1 [(.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; @@ -665,25 +597,22 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Resource name of the new notification config's parent. Its format
      * is "organizations/[organization_id]", "folders/[folder_id]", or
      * "projects/[project_id]".
      * 
* - * - * string parent = 1 [(.google.api.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 { @@ -691,73 +620,60 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Resource name of the new notification config's parent. Its format
      * is "organizations/[organization_id]", "folders/[folder_id]", or
      * "projects/[project_id]".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. Resource name of the new notification config's parent. Its format
      * is "organizations/[organization_id]", "folders/[folder_id]", or
      * "projects/[project_id]".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. Resource name of the new notification config's parent. Its format
      * is "organizations/[organization_id]", "folders/[folder_id]", or
      * "projects/[project_id]".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -765,8 +681,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object configId_ = ""; /** - * - * *
      * Required.
      * Unique identifier provided by the client within the parent scope.
@@ -775,13 +689,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * string config_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The configId. */ public java.lang.String getConfigId() { java.lang.Object ref = configId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); configId_ = s; return s; @@ -790,8 +704,6 @@ public java.lang.String getConfigId() { } } /** - * - * *
      * Required.
      * Unique identifier provided by the client within the parent scope.
@@ -800,14 +712,15 @@ public java.lang.String getConfigId() {
      * 
* * string config_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for configId. */ - public com.google.protobuf.ByteString getConfigIdBytes() { + public com.google.protobuf.ByteString + getConfigIdBytes() { java.lang.Object ref = configId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); configId_ = b; return b; } else { @@ -815,8 +728,6 @@ public com.google.protobuf.ByteString getConfigIdBytes() { } } /** - * - * *
      * Required.
      * Unique identifier provided by the client within the parent scope.
@@ -825,22 +736,20 @@ public com.google.protobuf.ByteString getConfigIdBytes() {
      * 
* * string config_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The configId to set. * @return This builder for chaining. */ - public Builder setConfigId(java.lang.String value) { + public Builder setConfigId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + configId_ = value; onChanged(); return this; } /** - * - * *
      * Required.
      * Unique identifier provided by the client within the parent scope.
@@ -849,18 +758,15 @@ public Builder setConfigId(java.lang.String value) {
      * 
* * string config_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearConfigId() { - + configId_ = getDefaultInstance().getConfigId(); onChanged(); return this; } /** - * - * *
      * Required.
      * Unique identifier provided by the client within the parent scope.
@@ -869,16 +775,16 @@ public Builder clearConfigId() {
      * 
* * string config_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for configId to set. * @return This builder for chaining. */ - public Builder setConfigIdBytes(com.google.protobuf.ByteString value) { + public Builder setConfigIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + configId_ = value; onChanged(); return this; @@ -886,67 +792,47 @@ public Builder setConfigIdBytes(com.google.protobuf.ByteString value) { private com.google.cloud.securitycenter.v1.NotificationConfig notificationConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.securitycenter.v1.NotificationConfig, - com.google.cloud.securitycenter.v1.NotificationConfig.Builder, - com.google.cloud.securitycenter.v1.NotificationConfigOrBuilder> - notificationConfigBuilder_; + com.google.cloud.securitycenter.v1.NotificationConfig, com.google.cloud.securitycenter.v1.NotificationConfig.Builder, com.google.cloud.securitycenter.v1.NotificationConfigOrBuilder> notificationConfigBuilder_; /** - * - * *
      * Required. The notification config being created. The name and the service
      * account will be ignored as they are both output only fields on this
      * resource.
      * 
* - * - * .google.cloud.securitycenter.v1.NotificationConfig notification_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.securitycenter.v1.NotificationConfig notification_config = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the notificationConfig field is set. */ public boolean hasNotificationConfig() { return notificationConfigBuilder_ != null || notificationConfig_ != null; } /** - * - * *
      * Required. The notification config being created. The name and the service
      * account will be ignored as they are both output only fields on this
      * resource.
      * 
* - * - * .google.cloud.securitycenter.v1.NotificationConfig notification_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.securitycenter.v1.NotificationConfig notification_config = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The notificationConfig. */ public com.google.cloud.securitycenter.v1.NotificationConfig getNotificationConfig() { if (notificationConfigBuilder_ == null) { - return notificationConfig_ == null - ? com.google.cloud.securitycenter.v1.NotificationConfig.getDefaultInstance() - : notificationConfig_; + return notificationConfig_ == null ? com.google.cloud.securitycenter.v1.NotificationConfig.getDefaultInstance() : notificationConfig_; } else { return notificationConfigBuilder_.getMessage(); } } /** - * - * *
      * Required. The notification config being created. The name and the service
      * account will be ignored as they are both output only fields on this
      * resource.
      * 
* - * - * .google.cloud.securitycenter.v1.NotificationConfig notification_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.securitycenter.v1.NotificationConfig notification_config = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setNotificationConfig( - com.google.cloud.securitycenter.v1.NotificationConfig value) { + public Builder setNotificationConfig(com.google.cloud.securitycenter.v1.NotificationConfig value) { if (notificationConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -960,17 +846,13 @@ public Builder setNotificationConfig( return this; } /** - * - * *
      * Required. The notification config being created. The name and the service
      * account will be ignored as they are both output only fields on this
      * resource.
      * 
* - * - * .google.cloud.securitycenter.v1.NotificationConfig notification_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.securitycenter.v1.NotificationConfig notification_config = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setNotificationConfig( com.google.cloud.securitycenter.v1.NotificationConfig.Builder builderForValue) { @@ -984,26 +866,19 @@ public Builder setNotificationConfig( return this; } /** - * - * *
      * Required. The notification config being created. The name and the service
      * account will be ignored as they are both output only fields on this
      * resource.
      * 
* - * - * .google.cloud.securitycenter.v1.NotificationConfig notification_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.securitycenter.v1.NotificationConfig notification_config = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeNotificationConfig( - com.google.cloud.securitycenter.v1.NotificationConfig value) { + public Builder mergeNotificationConfig(com.google.cloud.securitycenter.v1.NotificationConfig value) { if (notificationConfigBuilder_ == null) { if (notificationConfig_ != null) { notificationConfig_ = - com.google.cloud.securitycenter.v1.NotificationConfig.newBuilder(notificationConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.securitycenter.v1.NotificationConfig.newBuilder(notificationConfig_).mergeFrom(value).buildPartial(); } else { notificationConfig_ = value; } @@ -1015,17 +890,13 @@ public Builder mergeNotificationConfig( return this; } /** - * - * *
      * Required. The notification config being created. The name and the service
      * account will be ignored as they are both output only fields on this
      * resource.
      * 
* - * - * .google.cloud.securitycenter.v1.NotificationConfig notification_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.securitycenter.v1.NotificationConfig notification_config = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearNotificationConfig() { if (notificationConfigBuilder_ == null) { @@ -1039,79 +910,61 @@ public Builder clearNotificationConfig() { return this; } /** - * - * *
      * Required. The notification config being created. The name and the service
      * account will be ignored as they are both output only fields on this
      * resource.
      * 
* - * - * .google.cloud.securitycenter.v1.NotificationConfig notification_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.securitycenter.v1.NotificationConfig notification_config = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.securitycenter.v1.NotificationConfig.Builder - getNotificationConfigBuilder() { - + public com.google.cloud.securitycenter.v1.NotificationConfig.Builder getNotificationConfigBuilder() { + onChanged(); return getNotificationConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The notification config being created. The name and the service
      * account will be ignored as they are both output only fields on this
      * resource.
      * 
* - * - * .google.cloud.securitycenter.v1.NotificationConfig notification_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.securitycenter.v1.NotificationConfig notification_config = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.securitycenter.v1.NotificationConfigOrBuilder - getNotificationConfigOrBuilder() { + public com.google.cloud.securitycenter.v1.NotificationConfigOrBuilder getNotificationConfigOrBuilder() { if (notificationConfigBuilder_ != null) { return notificationConfigBuilder_.getMessageOrBuilder(); } else { - return notificationConfig_ == null - ? com.google.cloud.securitycenter.v1.NotificationConfig.getDefaultInstance() - : notificationConfig_; + return notificationConfig_ == null ? + com.google.cloud.securitycenter.v1.NotificationConfig.getDefaultInstance() : notificationConfig_; } } /** - * - * *
      * Required. The notification config being created. The name and the service
      * account will be ignored as they are both output only fields on this
      * resource.
      * 
* - * - * .google.cloud.securitycenter.v1.NotificationConfig notification_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.securitycenter.v1.NotificationConfig notification_config = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.securitycenter.v1.NotificationConfig, - com.google.cloud.securitycenter.v1.NotificationConfig.Builder, - com.google.cloud.securitycenter.v1.NotificationConfigOrBuilder> + com.google.cloud.securitycenter.v1.NotificationConfig, com.google.cloud.securitycenter.v1.NotificationConfig.Builder, com.google.cloud.securitycenter.v1.NotificationConfigOrBuilder> getNotificationConfigFieldBuilder() { if (notificationConfigBuilder_ == null) { - notificationConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.securitycenter.v1.NotificationConfig, - com.google.cloud.securitycenter.v1.NotificationConfig.Builder, - com.google.cloud.securitycenter.v1.NotificationConfigOrBuilder>( - getNotificationConfig(), getParentForChildren(), isClean()); + notificationConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.securitycenter.v1.NotificationConfig, com.google.cloud.securitycenter.v1.NotificationConfig.Builder, com.google.cloud.securitycenter.v1.NotificationConfigOrBuilder>( + getNotificationConfig(), + getParentForChildren(), + isClean()); notificationConfig_ = null; } return notificationConfigBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1121,43 +974,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.securitycenter.v1.CreateNotificationConfigRequest) } // @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1.CreateNotificationConfigRequest) - private static final com.google.cloud.securitycenter.v1.CreateNotificationConfigRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.securitycenter.v1.CreateNotificationConfigRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.securitycenter.v1.CreateNotificationConfigRequest(); } - public static com.google.cloud.securitycenter.v1.CreateNotificationConfigRequest - getDefaultInstance() { + public static com.google.cloud.securitycenter.v1.CreateNotificationConfigRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateNotificationConfigRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - 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 CreateNotificationConfigRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + 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; @@ -1169,8 +1020,9 @@ public com.google.protobuf.Parser getParserForT } @java.lang.Override - public com.google.cloud.securitycenter.v1.CreateNotificationConfigRequest - getDefaultInstanceForType() { + public com.google.cloud.securitycenter.v1.CreateNotificationConfigRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateNotificationConfigRequestOrBuilder.java b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateNotificationConfigRequestOrBuilder.java similarity index 61% rename from java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateNotificationConfigRequestOrBuilder.java rename to owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateNotificationConfigRequestOrBuilder.java index e7f65a4270ef..a6010a891a08 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateNotificationConfigRequestOrBuilder.java +++ b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateNotificationConfigRequestOrBuilder.java @@ -1,64 +1,37 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/securitycenter/v1/securitycenter_service.proto package com.google.cloud.securitycenter.v1; -public interface CreateNotificationConfigRequestOrBuilder - extends +public interface CreateNotificationConfigRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.securitycenter.v1.CreateNotificationConfigRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Resource name of the new notification config's parent. Its format
    * is "organizations/[organization_id]", "folders/[folder_id]", or
    * "projects/[project_id]".
    * 
* - * - * string parent = 1 [(.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. Resource name of the new notification config's parent. Its format
    * is "organizations/[organization_id]", "folders/[folder_id]", or
    * "projects/[project_id]".
    * 
* - * - * string parent = 1 [(.google.api.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.
    * Unique identifier provided by the client within the parent scope.
@@ -67,13 +40,10 @@ public interface CreateNotificationConfigRequestOrBuilder
    * 
* * string config_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The configId. */ java.lang.String getConfigId(); /** - * - * *
    * Required.
    * Unique identifier provided by the client within the parent scope.
@@ -82,55 +52,41 @@ public interface CreateNotificationConfigRequestOrBuilder
    * 
* * string config_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for configId. */ - com.google.protobuf.ByteString getConfigIdBytes(); + com.google.protobuf.ByteString + getConfigIdBytes(); /** - * - * *
    * Required. The notification config being created. The name and the service
    * account will be ignored as they are both output only fields on this
    * resource.
    * 
* - * - * .google.cloud.securitycenter.v1.NotificationConfig notification_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.securitycenter.v1.NotificationConfig notification_config = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the notificationConfig field is set. */ boolean hasNotificationConfig(); /** - * - * *
    * Required. The notification config being created. The name and the service
    * account will be ignored as they are both output only fields on this
    * resource.
    * 
* - * - * .google.cloud.securitycenter.v1.NotificationConfig notification_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.securitycenter.v1.NotificationConfig notification_config = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The notificationConfig. */ com.google.cloud.securitycenter.v1.NotificationConfig getNotificationConfig(); /** - * - * *
    * Required. The notification config being created. The name and the service
    * account will be ignored as they are both output only fields on this
    * resource.
    * 
* - * - * .google.cloud.securitycenter.v1.NotificationConfig notification_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.securitycenter.v1.NotificationConfig notification_config = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.securitycenter.v1.NotificationConfigOrBuilder getNotificationConfigOrBuilder(); } diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateSourceRequest.java b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateSourceRequest.java similarity index 62% rename from java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateSourceRequest.java rename to owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateSourceRequest.java index 561df175928a..869423c4ea82 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateSourceRequest.java +++ b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateSourceRequest.java @@ -1,86 +1,62 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/securitycenter/v1/securitycenter_service.proto package com.google.cloud.securitycenter.v1; /** - * - * *
  * Request message for creating a source.
  * 
* * Protobuf type {@code google.cloud.securitycenter.v1.CreateSourceRequest} */ -public final class CreateSourceRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateSourceRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.securitycenter.v1.CreateSourceRequest) CreateSourceRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateSourceRequest.newBuilder() to construct. private CreateSourceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateSourceRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateSourceRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.securitycenter.v1.SecuritycenterService - .internal_static_google_cloud_securitycenter_v1_CreateSourceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.securitycenter.v1.SecuritycenterService.internal_static_google_cloud_securitycenter_v1_CreateSourceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.securitycenter.v1.SecuritycenterService - .internal_static_google_cloud_securitycenter_v1_CreateSourceRequest_fieldAccessorTable + return com.google.cloud.securitycenter.v1.SecuritycenterService.internal_static_google_cloud_securitycenter_v1_CreateSourceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.securitycenter.v1.CreateSourceRequest.class, - com.google.cloud.securitycenter.v1.CreateSourceRequest.Builder.class); + com.google.cloud.securitycenter.v1.CreateSourceRequest.class, com.google.cloud.securitycenter.v1.CreateSourceRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. Resource name of the new source's parent. Its format should be
    * "organizations/[organization_id]".
    * 
* - * - * string parent = 1 [(.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 @@ -89,32 +65,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. Resource name of the new source's parent. Its format should be
    * "organizations/[organization_id]".
    * 
* - * - * string parent = 1 [(.google.api.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 { @@ -125,17 +99,12 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int SOURCE_FIELD_NUMBER = 2; private com.google.cloud.securitycenter.v1.Source source_; /** - * - * *
    * Required. The Source being created, only the display_name and description
    * will be used. All other fields will be ignored.
    * 
* - * - * .google.cloud.securitycenter.v1.Source source = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.securitycenter.v1.Source source = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the source field is set. */ @java.lang.Override @@ -143,36 +112,25 @@ public boolean hasSource() { return source_ != null; } /** - * - * *
    * Required. The Source being created, only the display_name and description
    * will be used. All other fields will be ignored.
    * 
* - * - * .google.cloud.securitycenter.v1.Source source = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.securitycenter.v1.Source source = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The source. */ @java.lang.Override public com.google.cloud.securitycenter.v1.Source getSource() { - return source_ == null - ? com.google.cloud.securitycenter.v1.Source.getDefaultInstance() - : source_; + return source_ == null ? com.google.cloud.securitycenter.v1.Source.getDefaultInstance() : source_; } /** - * - * *
    * Required. The Source being created, only the display_name and description
    * will be used. All other fields will be ignored.
    * 
* - * - * .google.cloud.securitycenter.v1.Source source = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.securitycenter.v1.Source source = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.securitycenter.v1.SourceOrBuilder getSourceOrBuilder() { @@ -180,7 +138,6 @@ public com.google.cloud.securitycenter.v1.SourceOrBuilder getSourceOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -192,7 +149,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -212,7 +170,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (source_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getSource()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getSource()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -222,18 +181,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.securitycenter.v1.CreateSourceRequest)) { return super.equals(obj); } - com.google.cloud.securitycenter.v1.CreateSourceRequest other = - (com.google.cloud.securitycenter.v1.CreateSourceRequest) obj; + com.google.cloud.securitycenter.v1.CreateSourceRequest other = (com.google.cloud.securitycenter.v1.CreateSourceRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasSource() != other.hasSource()) return false; if (hasSource()) { - if (!getSource().equals(other.getSource())) return false; + if (!getSource() + .equals(other.getSource())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -258,136 +218,129 @@ public int hashCode() { } public static com.google.cloud.securitycenter.v1.CreateSourceRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.CreateSourceRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.CreateSourceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.CreateSourceRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.CreateSourceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.CreateSourceRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.securitycenter.v1.CreateSourceRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.securitycenter.v1.CreateSourceRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.CreateSourceRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.securitycenter.v1.CreateSourceRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.securitycenter.v1.CreateSourceRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.CreateSourceRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.CreateSourceRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.CreateSourceRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.securitycenter.v1.CreateSourceRequest prototype) { + public static Builder newBuilder(com.google.cloud.securitycenter.v1.CreateSourceRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 creating a source.
    * 
* * Protobuf type {@code google.cloud.securitycenter.v1.CreateSourceRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.securitycenter.v1.CreateSourceRequest) com.google.cloud.securitycenter.v1.CreateSourceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.securitycenter.v1.SecuritycenterService - .internal_static_google_cloud_securitycenter_v1_CreateSourceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.securitycenter.v1.SecuritycenterService.internal_static_google_cloud_securitycenter_v1_CreateSourceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.securitycenter.v1.SecuritycenterService - .internal_static_google_cloud_securitycenter_v1_CreateSourceRequest_fieldAccessorTable + return com.google.cloud.securitycenter.v1.SecuritycenterService.internal_static_google_cloud_securitycenter_v1_CreateSourceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.securitycenter.v1.CreateSourceRequest.class, - com.google.cloud.securitycenter.v1.CreateSourceRequest.Builder.class); + com.google.cloud.securitycenter.v1.CreateSourceRequest.class, com.google.cloud.securitycenter.v1.CreateSourceRequest.Builder.class); } // Construct using com.google.cloud.securitycenter.v1.CreateSourceRequest.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(); @@ -403,9 +356,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.securitycenter.v1.SecuritycenterService - .internal_static_google_cloud_securitycenter_v1_CreateSourceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.securitycenter.v1.SecuritycenterService.internal_static_google_cloud_securitycenter_v1_CreateSourceRequest_descriptor; } @java.lang.Override @@ -424,8 +377,7 @@ public com.google.cloud.securitycenter.v1.CreateSourceRequest build() { @java.lang.Override public com.google.cloud.securitycenter.v1.CreateSourceRequest buildPartial() { - com.google.cloud.securitycenter.v1.CreateSourceRequest result = - new com.google.cloud.securitycenter.v1.CreateSourceRequest(this); + com.google.cloud.securitycenter.v1.CreateSourceRequest result = new com.google.cloud.securitycenter.v1.CreateSourceRequest(this); result.parent_ = parent_; if (sourceBuilder_ == null) { result.source_ = source_; @@ -440,39 +392,38 @@ public com.google.cloud.securitycenter.v1.CreateSourceRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.securitycenter.v1.CreateSourceRequest) { - return mergeFrom((com.google.cloud.securitycenter.v1.CreateSourceRequest) other); + return mergeFrom((com.google.cloud.securitycenter.v1.CreateSourceRequest)other); } else { super.mergeFrom(other); return this; @@ -480,8 +431,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.securitycenter.v1.CreateSourceRequest other) { - if (other == com.google.cloud.securitycenter.v1.CreateSourceRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.securitycenter.v1.CreateSourceRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -515,25 +465,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - input.readMessage(getSourceFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + input.readMessage( + getSourceFieldBuilder().getBuilder(), + extensionRegistry); + + 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) { @@ -546,23 +495,19 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. Resource name of the new source's parent. Its format should be
      * "organizations/[organization_id]".
      * 
* - * - * string parent = 1 [(.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; @@ -571,24 +516,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Resource name of the new source's parent. Its format should be
      * "organizations/[organization_id]".
      * 
* - * - * string parent = 1 [(.google.api.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 { @@ -596,70 +538,57 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Resource name of the new source's parent. Its format should be
      * "organizations/[organization_id]".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. Resource name of the new source's parent. Its format should be
      * "organizations/[organization_id]".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. Resource name of the new source's parent. Its format should be
      * "organizations/[organization_id]".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -667,61 +596,42 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.cloud.securitycenter.v1.Source source_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.securitycenter.v1.Source, - com.google.cloud.securitycenter.v1.Source.Builder, - com.google.cloud.securitycenter.v1.SourceOrBuilder> - sourceBuilder_; + com.google.cloud.securitycenter.v1.Source, com.google.cloud.securitycenter.v1.Source.Builder, com.google.cloud.securitycenter.v1.SourceOrBuilder> sourceBuilder_; /** - * - * *
      * Required. The Source being created, only the display_name and description
      * will be used. All other fields will be ignored.
      * 
* - * - * .google.cloud.securitycenter.v1.Source source = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.securitycenter.v1.Source source = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the source field is set. */ public boolean hasSource() { return sourceBuilder_ != null || source_ != null; } /** - * - * *
      * Required. The Source being created, only the display_name and description
      * will be used. All other fields will be ignored.
      * 
* - * - * .google.cloud.securitycenter.v1.Source source = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.securitycenter.v1.Source source = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The source. */ public com.google.cloud.securitycenter.v1.Source getSource() { if (sourceBuilder_ == null) { - return source_ == null - ? com.google.cloud.securitycenter.v1.Source.getDefaultInstance() - : source_; + return source_ == null ? com.google.cloud.securitycenter.v1.Source.getDefaultInstance() : source_; } else { return sourceBuilder_.getMessage(); } } /** - * - * *
      * Required. The Source being created, only the display_name and description
      * will be used. All other fields will be ignored.
      * 
* - * - * .google.cloud.securitycenter.v1.Source source = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.securitycenter.v1.Source source = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setSource(com.google.cloud.securitycenter.v1.Source value) { if (sourceBuilder_ == null) { @@ -737,18 +647,15 @@ public Builder setSource(com.google.cloud.securitycenter.v1.Source value) { return this; } /** - * - * *
      * Required. The Source being created, only the display_name and description
      * will be used. All other fields will be ignored.
      * 
* - * - * .google.cloud.securitycenter.v1.Source source = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.securitycenter.v1.Source source = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setSource(com.google.cloud.securitycenter.v1.Source.Builder builderForValue) { + public Builder setSource( + com.google.cloud.securitycenter.v1.Source.Builder builderForValue) { if (sourceBuilder_ == null) { source_ = builderForValue.build(); onChanged(); @@ -759,24 +666,18 @@ public Builder setSource(com.google.cloud.securitycenter.v1.Source.Builder build return this; } /** - * - * *
      * Required. The Source being created, only the display_name and description
      * will be used. All other fields will be ignored.
      * 
* - * - * .google.cloud.securitycenter.v1.Source source = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.securitycenter.v1.Source source = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeSource(com.google.cloud.securitycenter.v1.Source value) { if (sourceBuilder_ == null) { if (source_ != null) { source_ = - com.google.cloud.securitycenter.v1.Source.newBuilder(source_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.securitycenter.v1.Source.newBuilder(source_).mergeFrom(value).buildPartial(); } else { source_ = value; } @@ -788,16 +689,12 @@ public Builder mergeSource(com.google.cloud.securitycenter.v1.Source value) { return this; } /** - * - * *
      * Required. The Source being created, only the display_name and description
      * will be used. All other fields will be ignored.
      * 
* - * - * .google.cloud.securitycenter.v1.Source source = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.securitycenter.v1.Source source = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearSource() { if (sourceBuilder_ == null) { @@ -811,74 +708,58 @@ public Builder clearSource() { return this; } /** - * - * *
      * Required. The Source being created, only the display_name and description
      * will be used. All other fields will be ignored.
      * 
* - * - * .google.cloud.securitycenter.v1.Source source = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.securitycenter.v1.Source source = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.securitycenter.v1.Source.Builder getSourceBuilder() { - + onChanged(); return getSourceFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The Source being created, only the display_name and description
      * will be used. All other fields will be ignored.
      * 
* - * - * .google.cloud.securitycenter.v1.Source source = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.securitycenter.v1.Source source = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.securitycenter.v1.SourceOrBuilder getSourceOrBuilder() { if (sourceBuilder_ != null) { return sourceBuilder_.getMessageOrBuilder(); } else { - return source_ == null - ? com.google.cloud.securitycenter.v1.Source.getDefaultInstance() - : source_; + return source_ == null ? + com.google.cloud.securitycenter.v1.Source.getDefaultInstance() : source_; } } /** - * - * *
      * Required. The Source being created, only the display_name and description
      * will be used. All other fields will be ignored.
      * 
* - * - * .google.cloud.securitycenter.v1.Source source = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.securitycenter.v1.Source source = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.securitycenter.v1.Source, - com.google.cloud.securitycenter.v1.Source.Builder, - com.google.cloud.securitycenter.v1.SourceOrBuilder> + com.google.cloud.securitycenter.v1.Source, com.google.cloud.securitycenter.v1.Source.Builder, com.google.cloud.securitycenter.v1.SourceOrBuilder> getSourceFieldBuilder() { if (sourceBuilder_ == null) { - sourceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.securitycenter.v1.Source, - com.google.cloud.securitycenter.v1.Source.Builder, - com.google.cloud.securitycenter.v1.SourceOrBuilder>( - getSource(), getParentForChildren(), isClean()); + sourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.securitycenter.v1.Source, com.google.cloud.securitycenter.v1.Source.Builder, com.google.cloud.securitycenter.v1.SourceOrBuilder>( + getSource(), + getParentForChildren(), + isClean()); source_ = null; } return sourceBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -888,12 +769,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.securitycenter.v1.CreateSourceRequest) } // @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1.CreateSourceRequest) private static final com.google.cloud.securitycenter.v1.CreateSourceRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.securitycenter.v1.CreateSourceRequest(); } @@ -902,27 +783,27 @@ public static com.google.cloud.securitycenter.v1.CreateSourceRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateSourceRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - 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 CreateSourceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + 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; @@ -937,4 +818,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.securitycenter.v1.CreateSourceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateSourceRequestOrBuilder.java b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateSourceRequestOrBuilder.java similarity index 51% rename from java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateSourceRequestOrBuilder.java rename to owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateSourceRequestOrBuilder.java index 49b75475a54d..16f8cf655116 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateSourceRequestOrBuilder.java +++ b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateSourceRequestOrBuilder.java @@ -1,100 +1,61 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/securitycenter/v1/securitycenter_service.proto package com.google.cloud.securitycenter.v1; -public interface CreateSourceRequestOrBuilder - extends +public interface CreateSourceRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.securitycenter.v1.CreateSourceRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Resource name of the new source's parent. Its format should be
    * "organizations/[organization_id]".
    * 
* - * - * string parent = 1 [(.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. Resource name of the new source's parent. Its format should be
    * "organizations/[organization_id]".
    * 
* - * - * string parent = 1 [(.google.api.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 Source being created, only the display_name and description
    * will be used. All other fields will be ignored.
    * 
* - * - * .google.cloud.securitycenter.v1.Source source = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.securitycenter.v1.Source source = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the source field is set. */ boolean hasSource(); /** - * - * *
    * Required. The Source being created, only the display_name and description
    * will be used. All other fields will be ignored.
    * 
* - * - * .google.cloud.securitycenter.v1.Source source = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.securitycenter.v1.Source source = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The source. */ com.google.cloud.securitycenter.v1.Source getSource(); /** - * - * *
    * Required. The Source being created, only the display_name and description
    * will be used. All other fields will be ignored.
    * 
* - * - * .google.cloud.securitycenter.v1.Source source = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.securitycenter.v1.Source source = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.securitycenter.v1.SourceOrBuilder getSourceOrBuilder(); } diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Cve.java b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Cve.java similarity index 74% rename from java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Cve.java rename to owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Cve.java index bf986baccf40..0c08fd8c15b6 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Cve.java +++ b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Cve.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/securitycenter/v1/vulnerability.proto package com.google.cloud.securitycenter.v1; /** - * - * *
  * CVE stands for Common Vulnerabilities and Exposures.
  * More information: https://cve.mitre.org
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.securitycenter.v1.Cve}
  */
-public final class Cve extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Cve extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.securitycenter.v1.Cve)
     CveOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Cve.newBuilder() to construct.
   private Cve(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Cve() {
     id_ = "";
     references_ = java.util.Collections.emptyList();
@@ -45,41 +27,37 @@ private Cve() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Cve();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.securitycenter.v1.VulnerabilityProto
-        .internal_static_google_cloud_securitycenter_v1_Cve_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.securitycenter.v1.VulnerabilityProto.internal_static_google_cloud_securitycenter_v1_Cve_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.securitycenter.v1.VulnerabilityProto
-        .internal_static_google_cloud_securitycenter_v1_Cve_fieldAccessorTable
+    return com.google.cloud.securitycenter.v1.VulnerabilityProto.internal_static_google_cloud_securitycenter_v1_Cve_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.securitycenter.v1.Cve.class,
-            com.google.cloud.securitycenter.v1.Cve.Builder.class);
+            com.google.cloud.securitycenter.v1.Cve.class, com.google.cloud.securitycenter.v1.Cve.Builder.class);
   }
 
   public static final int ID_FIELD_NUMBER = 1;
   private volatile java.lang.Object id_;
   /**
-   *
-   *
    * 
    * The unique identifier for the vulnerability. e.g. CVE-2021-34527
    * 
* * string id = 1; - * * @return The id. */ @java.lang.Override @@ -88,29 +66,29 @@ public java.lang.String getId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } } /** - * - * *
    * The unique identifier for the vulnerability. e.g. CVE-2021-34527
    * 
* * string id = 1; - * * @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 { @@ -121,8 +99,6 @@ public com.google.protobuf.ByteString getIdBytes() { public static final int REFERENCES_FIELD_NUMBER = 2; private java.util.List references_; /** - * - * *
    * Additional information about the CVE.
    * e.g. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34527
@@ -135,8 +111,6 @@ public java.util.List getReference
     return references_;
   }
   /**
-   *
-   *
    * 
    * Additional information about the CVE.
    * e.g. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34527
@@ -145,13 +119,11 @@ public java.util.List getReference
    * repeated .google.cloud.securitycenter.v1.Reference references = 2;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getReferencesOrBuilderList() {
     return references_;
   }
   /**
-   *
-   *
    * 
    * Additional information about the CVE.
    * e.g. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34527
@@ -164,8 +136,6 @@ public int getReferencesCount() {
     return references_.size();
   }
   /**
-   *
-   *
    * 
    * Additional information about the CVE.
    * e.g. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34527
@@ -178,8 +148,6 @@ public com.google.cloud.securitycenter.v1.Reference getReferences(int index) {
     return references_.get(index);
   }
   /**
-   *
-   *
    * 
    * Additional information about the CVE.
    * e.g. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34527
@@ -188,22 +156,20 @@ public com.google.cloud.securitycenter.v1.Reference getReferences(int index) {
    * repeated .google.cloud.securitycenter.v1.Reference references = 2;
    */
   @java.lang.Override
-  public com.google.cloud.securitycenter.v1.ReferenceOrBuilder getReferencesOrBuilder(int index) {
+  public com.google.cloud.securitycenter.v1.ReferenceOrBuilder getReferencesOrBuilder(
+      int index) {
     return references_.get(index);
   }
 
   public static final int CVSSV3_FIELD_NUMBER = 3;
   private com.google.cloud.securitycenter.v1.Cvssv3 cvssv3_;
   /**
-   *
-   *
    * 
    * Describe Common Vulnerability Scoring System specified at
    * https://www.first.org/cvss/v3.1/specification-document
    * 
* * .google.cloud.securitycenter.v1.Cvssv3 cvssv3 = 3; - * * @return Whether the cvssv3 field is set. */ @java.lang.Override @@ -211,26 +177,19 @@ public boolean hasCvssv3() { return cvssv3_ != null; } /** - * - * *
    * Describe Common Vulnerability Scoring System specified at
    * https://www.first.org/cvss/v3.1/specification-document
    * 
* * .google.cloud.securitycenter.v1.Cvssv3 cvssv3 = 3; - * * @return The cvssv3. */ @java.lang.Override public com.google.cloud.securitycenter.v1.Cvssv3 getCvssv3() { - return cvssv3_ == null - ? com.google.cloud.securitycenter.v1.Cvssv3.getDefaultInstance() - : cvssv3_; + return cvssv3_ == null ? com.google.cloud.securitycenter.v1.Cvssv3.getDefaultInstance() : cvssv3_; } /** - * - * *
    * Describe Common Vulnerability Scoring System specified at
    * https://www.first.org/cvss/v3.1/specification-document
@@ -246,14 +205,11 @@ public com.google.cloud.securitycenter.v1.Cvssv3OrBuilder getCvssv3OrBuilder() {
   public static final int UPSTREAM_FIX_AVAILABLE_FIELD_NUMBER = 4;
   private boolean upstreamFixAvailable_;
   /**
-   *
-   *
    * 
    * Whether upstream fix is available for the CVE.
    * 
* * bool upstream_fix_available = 4; - * * @return The upstreamFixAvailable. */ @java.lang.Override @@ -262,7 +218,6 @@ public boolean getUpstreamFixAvailable() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -274,7 +229,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); } @@ -300,13 +256,16 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, id_); } for (int i = 0; i < references_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, references_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, references_.get(i)); } if (cvssv3_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCvssv3()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getCvssv3()); } if (upstreamFixAvailable_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, upstreamFixAvailable_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, upstreamFixAvailable_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -316,20 +275,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.securitycenter.v1.Cve)) { return super.equals(obj); } com.google.cloud.securitycenter.v1.Cve other = (com.google.cloud.securitycenter.v1.Cve) obj; - if (!getId().equals(other.getId())) return false; - if (!getReferencesList().equals(other.getReferencesList())) return false; + if (!getId() + .equals(other.getId())) return false; + if (!getReferencesList() + .equals(other.getReferencesList())) return false; if (hasCvssv3() != other.hasCvssv3()) return false; if (hasCvssv3()) { - if (!getCvssv3().equals(other.getCvssv3())) return false; + if (!getCvssv3() + .equals(other.getCvssv3())) return false; } - if (getUpstreamFixAvailable() != other.getUpstreamFixAvailable()) return false; + if (getUpstreamFixAvailable() + != other.getUpstreamFixAvailable()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -352,110 +315,104 @@ public int hashCode() { hash = (53 * hash) + getCvssv3().hashCode(); } hash = (37 * hash) + UPSTREAM_FIX_AVAILABLE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getUpstreamFixAvailable()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getUpstreamFixAvailable()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.securitycenter.v1.Cve parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.securitycenter.v1.Cve parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.Cve parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.Cve parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.Cve parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.Cve parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.Cve parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.Cve parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.Cve parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.Cve parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.Cve parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.Cve parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.Cve parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.securitycenter.v1.Cve prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * CVE stands for Common Vulnerabilities and Exposures.
    * More information: https://cve.mitre.org
@@ -463,32 +420,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.securitycenter.v1.Cve}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.securitycenter.v1.Cve)
       com.google.cloud.securitycenter.v1.CveOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.securitycenter.v1.VulnerabilityProto
-          .internal_static_google_cloud_securitycenter_v1_Cve_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.securitycenter.v1.VulnerabilityProto.internal_static_google_cloud_securitycenter_v1_Cve_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.securitycenter.v1.VulnerabilityProto
-          .internal_static_google_cloud_securitycenter_v1_Cve_fieldAccessorTable
+      return com.google.cloud.securitycenter.v1.VulnerabilityProto.internal_static_google_cloud_securitycenter_v1_Cve_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.securitycenter.v1.Cve.class,
-              com.google.cloud.securitycenter.v1.Cve.Builder.class);
+              com.google.cloud.securitycenter.v1.Cve.class, com.google.cloud.securitycenter.v1.Cve.Builder.class);
     }
 
     // Construct using com.google.cloud.securitycenter.v1.Cve.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();
@@ -513,9 +471,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.securitycenter.v1.VulnerabilityProto
-          .internal_static_google_cloud_securitycenter_v1_Cve_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.securitycenter.v1.VulnerabilityProto.internal_static_google_cloud_securitycenter_v1_Cve_descriptor;
     }
 
     @java.lang.Override
@@ -534,8 +492,7 @@ public com.google.cloud.securitycenter.v1.Cve build() {
 
     @java.lang.Override
     public com.google.cloud.securitycenter.v1.Cve buildPartial() {
-      com.google.cloud.securitycenter.v1.Cve result =
-          new com.google.cloud.securitycenter.v1.Cve(this);
+      com.google.cloud.securitycenter.v1.Cve result = new com.google.cloud.securitycenter.v1.Cve(this);
       int from_bitField0_ = bitField0_;
       result.id_ = id_;
       if (referencesBuilder_ == null) {
@@ -561,39 +518,38 @@ public com.google.cloud.securitycenter.v1.Cve buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.securitycenter.v1.Cve) {
-        return mergeFrom((com.google.cloud.securitycenter.v1.Cve) other);
+        return mergeFrom((com.google.cloud.securitycenter.v1.Cve)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -624,10 +580,9 @@ public Builder mergeFrom(com.google.cloud.securitycenter.v1.Cve other) {
             referencesBuilder_ = null;
             references_ = other.references_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            referencesBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getReferencesFieldBuilder()
-                    : null;
+            referencesBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getReferencesFieldBuilder() : null;
           } else {
             referencesBuilder_.addAllMessages(other.references_);
           }
@@ -665,44 +620,42 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                id_ = input.readStringRequireUtf8();
+            case 10: {
+              id_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 10
-            case 18:
-              {
-                com.google.cloud.securitycenter.v1.Reference m =
-                    input.readMessage(
-                        com.google.cloud.securitycenter.v1.Reference.parser(), extensionRegistry);
-                if (referencesBuilder_ == null) {
-                  ensureReferencesIsMutable();
-                  references_.add(m);
-                } else {
-                  referencesBuilder_.addMessage(m);
-                }
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getCvssv3FieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 10
+            case 18: {
+              com.google.cloud.securitycenter.v1.Reference m =
+                  input.readMessage(
+                      com.google.cloud.securitycenter.v1.Reference.parser(),
+                      extensionRegistry);
+              if (referencesBuilder_ == null) {
+                ensureReferencesIsMutable();
+                references_.add(m);
+              } else {
+                referencesBuilder_.addMessage(m);
+              }
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getCvssv3FieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 26
-            case 32:
-              {
-                upstreamFixAvailable_ = input.readBool();
+              break;
+            } // case 26
+            case 32: {
+              upstreamFixAvailable_ = input.readBool();
 
-                break;
-              } // case 32
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              break;
+            } // case 32
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -712,25 +665,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object id_ = "";
     /**
-     *
-     *
      * 
      * The unique identifier for the vulnerability. e.g. CVE-2021-34527
      * 
* * string id = 1; - * * @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; @@ -739,21 +689,20 @@ public java.lang.String getId() { } } /** - * - * *
      * The unique identifier for the vulnerability. e.g. CVE-2021-34527
      * 
* * string id = 1; - * * @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 { @@ -761,86 +710,72 @@ public com.google.protobuf.ByteString getIdBytes() { } } /** - * - * *
      * The unique identifier for the vulnerability. e.g. CVE-2021-34527
      * 
* * string id = 1; - * * @param value The id to set. * @return This builder for chaining. */ - public Builder setId(java.lang.String value) { + public Builder setId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + id_ = value; onChanged(); return this; } /** - * - * *
      * The unique identifier for the vulnerability. e.g. CVE-2021-34527
      * 
* * string id = 1; - * * @return This builder for chaining. */ public Builder clearId() { - + id_ = getDefaultInstance().getId(); onChanged(); return this; } /** - * - * *
      * The unique identifier for the vulnerability. e.g. CVE-2021-34527
      * 
* * string id = 1; - * * @param value The bytes for id to set. * @return This builder for chaining. */ - public Builder setIdBytes(com.google.protobuf.ByteString value) { + public Builder setIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + id_ = value; onChanged(); return this; } private java.util.List references_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureReferencesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - references_ = - new java.util.ArrayList(references_); + references_ = new java.util.ArrayList(references_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.securitycenter.v1.Reference, - com.google.cloud.securitycenter.v1.Reference.Builder, - com.google.cloud.securitycenter.v1.ReferenceOrBuilder> - referencesBuilder_; + com.google.cloud.securitycenter.v1.Reference, com.google.cloud.securitycenter.v1.Reference.Builder, com.google.cloud.securitycenter.v1.ReferenceOrBuilder> referencesBuilder_; /** - * - * *
      * Additional information about the CVE.
      * e.g. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34527
@@ -856,8 +791,6 @@ public java.util.List getReference
       }
     }
     /**
-     *
-     *
      * 
      * Additional information about the CVE.
      * e.g. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34527
@@ -873,8 +806,6 @@ public int getReferencesCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Additional information about the CVE.
      * e.g. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34527
@@ -890,8 +821,6 @@ public com.google.cloud.securitycenter.v1.Reference getReferences(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * Additional information about the CVE.
      * e.g. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34527
@@ -899,7 +828,8 @@ public com.google.cloud.securitycenter.v1.Reference getReferences(int index) {
      *
      * repeated .google.cloud.securitycenter.v1.Reference references = 2;
      */
-    public Builder setReferences(int index, com.google.cloud.securitycenter.v1.Reference value) {
+    public Builder setReferences(
+        int index, com.google.cloud.securitycenter.v1.Reference value) {
       if (referencesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -913,8 +843,6 @@ public Builder setReferences(int index, com.google.cloud.securitycenter.v1.Refer
       return this;
     }
     /**
-     *
-     *
      * 
      * Additional information about the CVE.
      * e.g. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34527
@@ -934,8 +862,6 @@ public Builder setReferences(
       return this;
     }
     /**
-     *
-     *
      * 
      * Additional information about the CVE.
      * e.g. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34527
@@ -957,8 +883,6 @@ public Builder addReferences(com.google.cloud.securitycenter.v1.Reference value)
       return this;
     }
     /**
-     *
-     *
      * 
      * Additional information about the CVE.
      * e.g. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34527
@@ -966,7 +890,8 @@ public Builder addReferences(com.google.cloud.securitycenter.v1.Reference value)
      *
      * repeated .google.cloud.securitycenter.v1.Reference references = 2;
      */
-    public Builder addReferences(int index, com.google.cloud.securitycenter.v1.Reference value) {
+    public Builder addReferences(
+        int index, com.google.cloud.securitycenter.v1.Reference value) {
       if (referencesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -980,8 +905,6 @@ public Builder addReferences(int index, com.google.cloud.securitycenter.v1.Refer
       return this;
     }
     /**
-     *
-     *
      * 
      * Additional information about the CVE.
      * e.g. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34527
@@ -1001,8 +924,6 @@ public Builder addReferences(
       return this;
     }
     /**
-     *
-     *
      * 
      * Additional information about the CVE.
      * e.g. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34527
@@ -1022,8 +943,6 @@ public Builder addReferences(
       return this;
     }
     /**
-     *
-     *
      * 
      * Additional information about the CVE.
      * e.g. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34527
@@ -1035,7 +954,8 @@ public Builder addAllReferences(
         java.lang.Iterable values) {
       if (referencesBuilder_ == null) {
         ensureReferencesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, references_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, references_);
         onChanged();
       } else {
         referencesBuilder_.addAllMessages(values);
@@ -1043,8 +963,6 @@ public Builder addAllReferences(
       return this;
     }
     /**
-     *
-     *
      * 
      * Additional information about the CVE.
      * e.g. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34527
@@ -1063,8 +981,6 @@ public Builder clearReferences() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Additional information about the CVE.
      * e.g. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34527
@@ -1083,8 +999,6 @@ public Builder removeReferences(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Additional information about the CVE.
      * e.g. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34527
@@ -1092,12 +1006,11 @@ public Builder removeReferences(int index) {
      *
      * repeated .google.cloud.securitycenter.v1.Reference references = 2;
      */
-    public com.google.cloud.securitycenter.v1.Reference.Builder getReferencesBuilder(int index) {
+    public com.google.cloud.securitycenter.v1.Reference.Builder getReferencesBuilder(
+        int index) {
       return getReferencesFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * Additional information about the CVE.
      * e.g. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34527
@@ -1105,16 +1018,14 @@ public com.google.cloud.securitycenter.v1.Reference.Builder getReferencesBuilder
      *
      * repeated .google.cloud.securitycenter.v1.Reference references = 2;
      */
-    public com.google.cloud.securitycenter.v1.ReferenceOrBuilder getReferencesOrBuilder(int index) {
+    public com.google.cloud.securitycenter.v1.ReferenceOrBuilder getReferencesOrBuilder(
+        int index) {
       if (referencesBuilder_ == null) {
-        return references_.get(index);
-      } else {
+        return references_.get(index);  } else {
         return referencesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * Additional information about the CVE.
      * e.g. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34527
@@ -1122,8 +1033,8 @@ public com.google.cloud.securitycenter.v1.ReferenceOrBuilder getReferencesOrBuil
      *
      * repeated .google.cloud.securitycenter.v1.Reference references = 2;
      */
-    public java.util.List
-        getReferencesOrBuilderList() {
+    public java.util.List 
+         getReferencesOrBuilderList() {
       if (referencesBuilder_ != null) {
         return referencesBuilder_.getMessageOrBuilderList();
       } else {
@@ -1131,8 +1042,6 @@ public com.google.cloud.securitycenter.v1.ReferenceOrBuilder getReferencesOrBuil
       }
     }
     /**
-     *
-     *
      * 
      * Additional information about the CVE.
      * e.g. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34527
@@ -1141,12 +1050,10 @@ public com.google.cloud.securitycenter.v1.ReferenceOrBuilder getReferencesOrBuil
      * repeated .google.cloud.securitycenter.v1.Reference references = 2;
      */
     public com.google.cloud.securitycenter.v1.Reference.Builder addReferencesBuilder() {
-      return getReferencesFieldBuilder()
-          .addBuilder(com.google.cloud.securitycenter.v1.Reference.getDefaultInstance());
+      return getReferencesFieldBuilder().addBuilder(
+          com.google.cloud.securitycenter.v1.Reference.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Additional information about the CVE.
      * e.g. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34527
@@ -1154,13 +1061,12 @@ public com.google.cloud.securitycenter.v1.Reference.Builder addReferencesBuilder
      *
      * repeated .google.cloud.securitycenter.v1.Reference references = 2;
      */
-    public com.google.cloud.securitycenter.v1.Reference.Builder addReferencesBuilder(int index) {
-      return getReferencesFieldBuilder()
-          .addBuilder(index, com.google.cloud.securitycenter.v1.Reference.getDefaultInstance());
+    public com.google.cloud.securitycenter.v1.Reference.Builder addReferencesBuilder(
+        int index) {
+      return getReferencesFieldBuilder().addBuilder(
+          index, com.google.cloud.securitycenter.v1.Reference.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Additional information about the CVE.
      * e.g. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34527
@@ -1168,23 +1074,20 @@ public com.google.cloud.securitycenter.v1.Reference.Builder addReferencesBuilder
      *
      * repeated .google.cloud.securitycenter.v1.Reference references = 2;
      */
-    public java.util.List
-        getReferencesBuilderList() {
+    public java.util.List 
+         getReferencesBuilderList() {
       return getReferencesFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.securitycenter.v1.Reference,
-            com.google.cloud.securitycenter.v1.Reference.Builder,
-            com.google.cloud.securitycenter.v1.ReferenceOrBuilder>
+        com.google.cloud.securitycenter.v1.Reference, com.google.cloud.securitycenter.v1.Reference.Builder, com.google.cloud.securitycenter.v1.ReferenceOrBuilder> 
         getReferencesFieldBuilder() {
       if (referencesBuilder_ == null) {
-        referencesBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.cloud.securitycenter.v1.Reference,
-                com.google.cloud.securitycenter.v1.Reference.Builder,
-                com.google.cloud.securitycenter.v1.ReferenceOrBuilder>(
-                references_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        referencesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.cloud.securitycenter.v1.Reference, com.google.cloud.securitycenter.v1.Reference.Builder, com.google.cloud.securitycenter.v1.ReferenceOrBuilder>(
+                references_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         references_ = null;
       }
       return referencesBuilder_;
@@ -1192,49 +1095,36 @@ public com.google.cloud.securitycenter.v1.Reference.Builder addReferencesBuilder
 
     private com.google.cloud.securitycenter.v1.Cvssv3 cvssv3_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.securitycenter.v1.Cvssv3,
-            com.google.cloud.securitycenter.v1.Cvssv3.Builder,
-            com.google.cloud.securitycenter.v1.Cvssv3OrBuilder>
-        cvssv3Builder_;
+        com.google.cloud.securitycenter.v1.Cvssv3, com.google.cloud.securitycenter.v1.Cvssv3.Builder, com.google.cloud.securitycenter.v1.Cvssv3OrBuilder> cvssv3Builder_;
     /**
-     *
-     *
      * 
      * Describe Common Vulnerability Scoring System specified at
      * https://www.first.org/cvss/v3.1/specification-document
      * 
* * .google.cloud.securitycenter.v1.Cvssv3 cvssv3 = 3; - * * @return Whether the cvssv3 field is set. */ public boolean hasCvssv3() { return cvssv3Builder_ != null || cvssv3_ != null; } /** - * - * *
      * Describe Common Vulnerability Scoring System specified at
      * https://www.first.org/cvss/v3.1/specification-document
      * 
* * .google.cloud.securitycenter.v1.Cvssv3 cvssv3 = 3; - * * @return The cvssv3. */ public com.google.cloud.securitycenter.v1.Cvssv3 getCvssv3() { if (cvssv3Builder_ == null) { - return cvssv3_ == null - ? com.google.cloud.securitycenter.v1.Cvssv3.getDefaultInstance() - : cvssv3_; + return cvssv3_ == null ? com.google.cloud.securitycenter.v1.Cvssv3.getDefaultInstance() : cvssv3_; } else { return cvssv3Builder_.getMessage(); } } /** - * - * *
      * Describe Common Vulnerability Scoring System specified at
      * https://www.first.org/cvss/v3.1/specification-document
@@ -1256,8 +1146,6 @@ public Builder setCvssv3(com.google.cloud.securitycenter.v1.Cvssv3 value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Describe Common Vulnerability Scoring System specified at
      * https://www.first.org/cvss/v3.1/specification-document
@@ -1265,7 +1153,8 @@ public Builder setCvssv3(com.google.cloud.securitycenter.v1.Cvssv3 value) {
      *
      * .google.cloud.securitycenter.v1.Cvssv3 cvssv3 = 3;
      */
-    public Builder setCvssv3(com.google.cloud.securitycenter.v1.Cvssv3.Builder builderForValue) {
+    public Builder setCvssv3(
+        com.google.cloud.securitycenter.v1.Cvssv3.Builder builderForValue) {
       if (cvssv3Builder_ == null) {
         cvssv3_ = builderForValue.build();
         onChanged();
@@ -1276,8 +1165,6 @@ public Builder setCvssv3(com.google.cloud.securitycenter.v1.Cvssv3.Builder build
       return this;
     }
     /**
-     *
-     *
      * 
      * Describe Common Vulnerability Scoring System specified at
      * https://www.first.org/cvss/v3.1/specification-document
@@ -1289,9 +1176,7 @@ public Builder mergeCvssv3(com.google.cloud.securitycenter.v1.Cvssv3 value) {
       if (cvssv3Builder_ == null) {
         if (cvssv3_ != null) {
           cvssv3_ =
-              com.google.cloud.securitycenter.v1.Cvssv3.newBuilder(cvssv3_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.securitycenter.v1.Cvssv3.newBuilder(cvssv3_).mergeFrom(value).buildPartial();
         } else {
           cvssv3_ = value;
         }
@@ -1303,8 +1188,6 @@ public Builder mergeCvssv3(com.google.cloud.securitycenter.v1.Cvssv3 value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Describe Common Vulnerability Scoring System specified at
      * https://www.first.org/cvss/v3.1/specification-document
@@ -1324,8 +1207,6 @@ public Builder clearCvssv3() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Describe Common Vulnerability Scoring System specified at
      * https://www.first.org/cvss/v3.1/specification-document
@@ -1334,13 +1215,11 @@ public Builder clearCvssv3() {
      * .google.cloud.securitycenter.v1.Cvssv3 cvssv3 = 3;
      */
     public com.google.cloud.securitycenter.v1.Cvssv3.Builder getCvssv3Builder() {
-
+      
       onChanged();
       return getCvssv3FieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Describe Common Vulnerability Scoring System specified at
      * https://www.first.org/cvss/v3.1/specification-document
@@ -1352,14 +1231,11 @@ public com.google.cloud.securitycenter.v1.Cvssv3OrBuilder getCvssv3OrBuilder() {
       if (cvssv3Builder_ != null) {
         return cvssv3Builder_.getMessageOrBuilder();
       } else {
-        return cvssv3_ == null
-            ? com.google.cloud.securitycenter.v1.Cvssv3.getDefaultInstance()
-            : cvssv3_;
+        return cvssv3_ == null ?
+            com.google.cloud.securitycenter.v1.Cvssv3.getDefaultInstance() : cvssv3_;
       }
     }
     /**
-     *
-     *
      * 
      * Describe Common Vulnerability Scoring System specified at
      * https://www.first.org/cvss/v3.1/specification-document
@@ -1368,32 +1244,26 @@ public com.google.cloud.securitycenter.v1.Cvssv3OrBuilder getCvssv3OrBuilder() {
      * .google.cloud.securitycenter.v1.Cvssv3 cvssv3 = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.securitycenter.v1.Cvssv3,
-            com.google.cloud.securitycenter.v1.Cvssv3.Builder,
-            com.google.cloud.securitycenter.v1.Cvssv3OrBuilder>
+        com.google.cloud.securitycenter.v1.Cvssv3, com.google.cloud.securitycenter.v1.Cvssv3.Builder, com.google.cloud.securitycenter.v1.Cvssv3OrBuilder> 
         getCvssv3FieldBuilder() {
       if (cvssv3Builder_ == null) {
-        cvssv3Builder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.securitycenter.v1.Cvssv3,
-                com.google.cloud.securitycenter.v1.Cvssv3.Builder,
-                com.google.cloud.securitycenter.v1.Cvssv3OrBuilder>(
-                getCvssv3(), getParentForChildren(), isClean());
+        cvssv3Builder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.securitycenter.v1.Cvssv3, com.google.cloud.securitycenter.v1.Cvssv3.Builder, com.google.cloud.securitycenter.v1.Cvssv3OrBuilder>(
+                getCvssv3(),
+                getParentForChildren(),
+                isClean());
         cvssv3_ = null;
       }
       return cvssv3Builder_;
     }
 
-    private boolean upstreamFixAvailable_;
+    private boolean upstreamFixAvailable_ ;
     /**
-     *
-     *
      * 
      * Whether upstream fix is available for the CVE.
      * 
* * bool upstream_fix_available = 4; - * * @return The upstreamFixAvailable. */ @java.lang.Override @@ -1401,43 +1271,37 @@ public boolean getUpstreamFixAvailable() { return upstreamFixAvailable_; } /** - * - * *
      * Whether upstream fix is available for the CVE.
      * 
* * bool upstream_fix_available = 4; - * * @param value The upstreamFixAvailable to set. * @return This builder for chaining. */ public Builder setUpstreamFixAvailable(boolean value) { - + upstreamFixAvailable_ = value; onChanged(); return this; } /** - * - * *
      * Whether upstream fix is available for the CVE.
      * 
* * bool upstream_fix_available = 4; - * * @return This builder for chaining. */ public Builder clearUpstreamFixAvailable() { - + upstreamFixAvailable_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1447,12 +1311,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.securitycenter.v1.Cve) } // @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1.Cve) private static final com.google.cloud.securitycenter.v1.Cve DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.securitycenter.v1.Cve(); } @@ -1461,27 +1325,27 @@ public static com.google.cloud.securitycenter.v1.Cve getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Cve parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - 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 Cve parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + 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; @@ -1496,4 +1360,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.securitycenter.v1.Cve getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CveOrBuilder.java b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CveOrBuilder.java similarity index 77% rename from java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CveOrBuilder.java rename to owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CveOrBuilder.java index e0c6b64ba87c..049698d86761 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CveOrBuilder.java +++ b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CveOrBuilder.java @@ -1,56 +1,33 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/securitycenter/v1/vulnerability.proto package com.google.cloud.securitycenter.v1; -public interface CveOrBuilder - extends +public interface CveOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.securitycenter.v1.Cve) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The unique identifier for the vulnerability. e.g. CVE-2021-34527
    * 
* * string id = 1; - * * @return The id. */ java.lang.String getId(); /** - * - * *
    * The unique identifier for the vulnerability. e.g. CVE-2021-34527
    * 
* * string id = 1; - * * @return The bytes for id. */ - com.google.protobuf.ByteString getIdBytes(); + com.google.protobuf.ByteString + getIdBytes(); /** - * - * *
    * Additional information about the CVE.
    * e.g. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34527
@@ -58,10 +35,9 @@ public interface CveOrBuilder
    *
    * repeated .google.cloud.securitycenter.v1.Reference references = 2;
    */
-  java.util.List getReferencesList();
+  java.util.List 
+      getReferencesList();
   /**
-   *
-   *
    * 
    * Additional information about the CVE.
    * e.g. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34527
@@ -71,8 +47,6 @@ public interface CveOrBuilder
    */
   com.google.cloud.securitycenter.v1.Reference getReferences(int index);
   /**
-   *
-   *
    * 
    * Additional information about the CVE.
    * e.g. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34527
@@ -82,8 +56,6 @@ public interface CveOrBuilder
    */
   int getReferencesCount();
   /**
-   *
-   *
    * 
    * Additional information about the CVE.
    * e.g. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34527
@@ -91,11 +63,9 @@ public interface CveOrBuilder
    *
    * repeated .google.cloud.securitycenter.v1.Reference references = 2;
    */
-  java.util.List
+  java.util.List 
       getReferencesOrBuilderList();
   /**
-   *
-   *
    * 
    * Additional information about the CVE.
    * e.g. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34527
@@ -103,37 +73,30 @@ public interface CveOrBuilder
    *
    * repeated .google.cloud.securitycenter.v1.Reference references = 2;
    */
-  com.google.cloud.securitycenter.v1.ReferenceOrBuilder getReferencesOrBuilder(int index);
+  com.google.cloud.securitycenter.v1.ReferenceOrBuilder getReferencesOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * Describe Common Vulnerability Scoring System specified at
    * https://www.first.org/cvss/v3.1/specification-document
    * 
* * .google.cloud.securitycenter.v1.Cvssv3 cvssv3 = 3; - * * @return Whether the cvssv3 field is set. */ boolean hasCvssv3(); /** - * - * *
    * Describe Common Vulnerability Scoring System specified at
    * https://www.first.org/cvss/v3.1/specification-document
    * 
* * .google.cloud.securitycenter.v1.Cvssv3 cvssv3 = 3; - * * @return The cvssv3. */ com.google.cloud.securitycenter.v1.Cvssv3 getCvssv3(); /** - * - * *
    * Describe Common Vulnerability Scoring System specified at
    * https://www.first.org/cvss/v3.1/specification-document
@@ -144,14 +107,11 @@ public interface CveOrBuilder
   com.google.cloud.securitycenter.v1.Cvssv3OrBuilder getCvssv3OrBuilder();
 
   /**
-   *
-   *
    * 
    * Whether upstream fix is available for the CVE.
    * 
* * bool upstream_fix_available = 4; - * * @return The upstreamFixAvailable. */ boolean getUpstreamFixAvailable(); diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Cvssv3.java b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Cvssv3.java similarity index 74% rename from java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Cvssv3.java rename to owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Cvssv3.java index db8689d83fbf..6a847ae7e1ec 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Cvssv3.java +++ b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Cvssv3.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/securitycenter/v1/vulnerability.proto package com.google.cloud.securitycenter.v1; /** - * - * *
  * Common Vulnerability Scoring System version 3.
  * 
* * Protobuf type {@code google.cloud.securitycenter.v1.Cvssv3} */ -public final class Cvssv3 extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Cvssv3 extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.securitycenter.v1.Cvssv3) Cvssv3OrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Cvssv3.newBuilder() to construct. private Cvssv3(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Cvssv3() { attackVector_ = 0; attackComplexity_ = 0; @@ -50,33 +32,30 @@ private Cvssv3() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Cvssv3(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.securitycenter.v1.VulnerabilityProto - .internal_static_google_cloud_securitycenter_v1_Cvssv3_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.securitycenter.v1.VulnerabilityProto.internal_static_google_cloud_securitycenter_v1_Cvssv3_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.securitycenter.v1.VulnerabilityProto - .internal_static_google_cloud_securitycenter_v1_Cvssv3_fieldAccessorTable + return com.google.cloud.securitycenter.v1.VulnerabilityProto.internal_static_google_cloud_securitycenter_v1_Cvssv3_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.securitycenter.v1.Cvssv3.class, - com.google.cloud.securitycenter.v1.Cvssv3.Builder.class); + com.google.cloud.securitycenter.v1.Cvssv3.class, com.google.cloud.securitycenter.v1.Cvssv3.Builder.class); } /** - * - * *
    * This metric reflects the context by which vulnerability exploitation is
    * possible.
@@ -84,10 +63,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * Protobuf enum {@code google.cloud.securitycenter.v1.Cvssv3.AttackVector}
    */
-  public enum AttackVector implements com.google.protobuf.ProtocolMessageEnum {
+  public enum AttackVector
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * Invalid value.
      * 
@@ -96,8 +74,6 @@ public enum AttackVector implements com.google.protobuf.ProtocolMessageEnum { */ ATTACK_VECTOR_UNSPECIFIED(0), /** - * - * *
      * The vulnerable component is bound to the network stack and the set of
      * possible attackers extends beyond the other options listed below, up to
@@ -108,8 +84,6 @@ public enum AttackVector implements com.google.protobuf.ProtocolMessageEnum {
      */
     ATTACK_VECTOR_NETWORK(1),
     /**
-     *
-     *
      * 
      * The vulnerable component is bound to the network stack, but the attack is
      * limited at the protocol level to a logically adjacent topology.
@@ -119,8 +93,6 @@ public enum AttackVector implements com.google.protobuf.ProtocolMessageEnum {
      */
     ATTACK_VECTOR_ADJACENT(2),
     /**
-     *
-     *
      * 
      * The vulnerable component is not bound to the network stack and the
      * attacker's path is via read/write/execute capabilities.
@@ -130,8 +102,6 @@ public enum AttackVector implements com.google.protobuf.ProtocolMessageEnum {
      */
     ATTACK_VECTOR_LOCAL(3),
     /**
-     *
-     *
      * 
      * The attack requires the attacker to physically touch or manipulate the
      * vulnerable component.
@@ -144,8 +114,6 @@ public enum AttackVector implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Invalid value.
      * 
@@ -154,8 +122,6 @@ public enum AttackVector implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ATTACK_VECTOR_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The vulnerable component is bound to the network stack and the set of
      * possible attackers extends beyond the other options listed below, up to
@@ -166,8 +132,6 @@ public enum AttackVector implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int ATTACK_VECTOR_NETWORK_VALUE = 1;
     /**
-     *
-     *
      * 
      * The vulnerable component is bound to the network stack, but the attack is
      * limited at the protocol level to a logically adjacent topology.
@@ -177,8 +141,6 @@ public enum AttackVector implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int ATTACK_VECTOR_ADJACENT_VALUE = 2;
     /**
-     *
-     *
      * 
      * The vulnerable component is not bound to the network stack and the
      * attacker's path is via read/write/execute capabilities.
@@ -188,8 +150,6 @@ public enum AttackVector implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int ATTACK_VECTOR_LOCAL_VALUE = 3;
     /**
-     *
-     *
      * 
      * The attack requires the attacker to physically touch or manipulate the
      * vulnerable component.
@@ -199,6 +159,7 @@ public enum AttackVector implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int ATTACK_VECTOR_PHYSICAL_VALUE = 4;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -223,53 +184,51 @@ public static AttackVector valueOf(int value) {
      */
     public static AttackVector forNumber(int value) {
       switch (value) {
-        case 0:
-          return ATTACK_VECTOR_UNSPECIFIED;
-        case 1:
-          return ATTACK_VECTOR_NETWORK;
-        case 2:
-          return ATTACK_VECTOR_ADJACENT;
-        case 3:
-          return ATTACK_VECTOR_LOCAL;
-        case 4:
-          return ATTACK_VECTOR_PHYSICAL;
-        default:
-          return null;
+        case 0: return ATTACK_VECTOR_UNSPECIFIED;
+        case 1: return ATTACK_VECTOR_NETWORK;
+        case 2: return ATTACK_VECTOR_ADJACENT;
+        case 3: return ATTACK_VECTOR_LOCAL;
+        case 4: return ATTACK_VECTOR_PHYSICAL;
+        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<
+        AttackVector> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public AttackVector findValueByNumber(int number) {
+              return AttackVector.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public AttackVector findValueByNumber(int number) {
-            return AttackVector.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.cloud.securitycenter.v1.Cvssv3.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final AttackVector[] VALUES = values();
 
-    public static AttackVector valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static AttackVector 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;
@@ -287,8 +246,6 @@ private AttackVector(int value) {
   }
 
   /**
-   *
-   *
    * 
    * This metric describes the conditions beyond the attacker's control that
    * must exist in order to exploit the vulnerability.
@@ -296,10 +253,9 @@ private AttackVector(int value) {
    *
    * Protobuf enum {@code google.cloud.securitycenter.v1.Cvssv3.AttackComplexity}
    */
-  public enum AttackComplexity implements com.google.protobuf.ProtocolMessageEnum {
+  public enum AttackComplexity
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * Invalid value.
      * 
@@ -308,8 +264,6 @@ public enum AttackComplexity implements com.google.protobuf.ProtocolMessageEnum */ ATTACK_COMPLEXITY_UNSPECIFIED(0), /** - * - * *
      * Specialized access conditions or extenuating circumstances do not exist.
      * An attacker can expect repeatable success when attacking the vulnerable
@@ -320,8 +274,6 @@ public enum AttackComplexity implements com.google.protobuf.ProtocolMessageEnum
      */
     ATTACK_COMPLEXITY_LOW(1),
     /**
-     *
-     *
      * 
      * A successful attack depends on conditions beyond the attacker's control.
      * That is, a successful attack cannot be accomplished at will, but requires
@@ -337,8 +289,6 @@ public enum AttackComplexity implements com.google.protobuf.ProtocolMessageEnum
     ;
 
     /**
-     *
-     *
      * 
      * Invalid value.
      * 
@@ -347,8 +297,6 @@ public enum AttackComplexity implements com.google.protobuf.ProtocolMessageEnum */ public static final int ATTACK_COMPLEXITY_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Specialized access conditions or extenuating circumstances do not exist.
      * An attacker can expect repeatable success when attacking the vulnerable
@@ -359,8 +307,6 @@ public enum AttackComplexity implements com.google.protobuf.ProtocolMessageEnum
      */
     public static final int ATTACK_COMPLEXITY_LOW_VALUE = 1;
     /**
-     *
-     *
      * 
      * A successful attack depends on conditions beyond the attacker's control.
      * That is, a successful attack cannot be accomplished at will, but requires
@@ -373,6 +319,7 @@ public enum AttackComplexity implements com.google.protobuf.ProtocolMessageEnum
      */
     public static final int ATTACK_COMPLEXITY_HIGH_VALUE = 2;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -397,42 +344,39 @@ public static AttackComplexity valueOf(int value) {
      */
     public static AttackComplexity forNumber(int value) {
       switch (value) {
-        case 0:
-          return ATTACK_COMPLEXITY_UNSPECIFIED;
-        case 1:
-          return ATTACK_COMPLEXITY_LOW;
-        case 2:
-          return ATTACK_COMPLEXITY_HIGH;
-        default:
-          return null;
+        case 0: return ATTACK_COMPLEXITY_UNSPECIFIED;
+        case 1: return ATTACK_COMPLEXITY_LOW;
+        case 2: return ATTACK_COMPLEXITY_HIGH;
+        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<
+        AttackComplexity> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public AttackComplexity findValueByNumber(int number) {
+              return AttackComplexity.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap
-        internalValueMap =
-            new com.google.protobuf.Internal.EnumLiteMap() {
-              public AttackComplexity findValueByNumber(int number) {
-                return AttackComplexity.forNumber(number);
-              }
-            };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.cloud.securitycenter.v1.Cvssv3.getDescriptor().getEnumTypes().get(1);
     }
 
@@ -441,7 +385,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor
     public static AttackComplexity 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;
@@ -459,8 +404,6 @@ private AttackComplexity(int value) {
   }
 
   /**
-   *
-   *
    * 
    * This metric describes the level of privileges an attacker must possess
    * before successfully exploiting the vulnerability.
@@ -468,10 +411,9 @@ private AttackComplexity(int value) {
    *
    * Protobuf enum {@code google.cloud.securitycenter.v1.Cvssv3.PrivilegesRequired}
    */
-  public enum PrivilegesRequired implements com.google.protobuf.ProtocolMessageEnum {
+  public enum PrivilegesRequired
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * Invalid value.
      * 
@@ -480,8 +422,6 @@ public enum PrivilegesRequired implements com.google.protobuf.ProtocolMessageEnu */ PRIVILEGES_REQUIRED_UNSPECIFIED(0), /** - * - * *
      * The attacker is unauthorized prior to attack, and therefore does not
      * require any access to settings or files of the vulnerable system to
@@ -492,8 +432,6 @@ public enum PrivilegesRequired implements com.google.protobuf.ProtocolMessageEnu
      */
     PRIVILEGES_REQUIRED_NONE(1),
     /**
-     *
-     *
      * 
      * The attacker requires privileges that provide basic user capabilities
      * that could normally affect only settings and files owned by a user.
@@ -505,8 +443,6 @@ public enum PrivilegesRequired implements com.google.protobuf.ProtocolMessageEnu
      */
     PRIVILEGES_REQUIRED_LOW(2),
     /**
-     *
-     *
      * 
      * The attacker requires privileges that provide significant (e.g.,
      * administrative) control over the vulnerable component allowing access to
@@ -520,8 +456,6 @@ public enum PrivilegesRequired implements com.google.protobuf.ProtocolMessageEnu
     ;
 
     /**
-     *
-     *
      * 
      * Invalid value.
      * 
@@ -530,8 +464,6 @@ public enum PrivilegesRequired implements com.google.protobuf.ProtocolMessageEnu */ public static final int PRIVILEGES_REQUIRED_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The attacker is unauthorized prior to attack, and therefore does not
      * require any access to settings or files of the vulnerable system to
@@ -542,8 +474,6 @@ public enum PrivilegesRequired implements com.google.protobuf.ProtocolMessageEnu
      */
     public static final int PRIVILEGES_REQUIRED_NONE_VALUE = 1;
     /**
-     *
-     *
      * 
      * The attacker requires privileges that provide basic user capabilities
      * that could normally affect only settings and files owned by a user.
@@ -555,8 +485,6 @@ public enum PrivilegesRequired implements com.google.protobuf.ProtocolMessageEnu
      */
     public static final int PRIVILEGES_REQUIRED_LOW_VALUE = 2;
     /**
-     *
-     *
      * 
      * The attacker requires privileges that provide significant (e.g.,
      * administrative) control over the vulnerable component allowing access to
@@ -567,6 +495,7 @@ public enum PrivilegesRequired implements com.google.protobuf.ProtocolMessageEnu
      */
     public static final int PRIVILEGES_REQUIRED_HIGH_VALUE = 3;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -591,16 +520,11 @@ public static PrivilegesRequired valueOf(int value) {
      */
     public static PrivilegesRequired forNumber(int value) {
       switch (value) {
-        case 0:
-          return PRIVILEGES_REQUIRED_UNSPECIFIED;
-        case 1:
-          return PRIVILEGES_REQUIRED_NONE;
-        case 2:
-          return PRIVILEGES_REQUIRED_LOW;
-        case 3:
-          return PRIVILEGES_REQUIRED_HIGH;
-        default:
-          return null;
+        case 0: return PRIVILEGES_REQUIRED_UNSPECIFIED;
+        case 1: return PRIVILEGES_REQUIRED_NONE;
+        case 2: return PRIVILEGES_REQUIRED_LOW;
+        case 3: return PRIVILEGES_REQUIRED_HIGH;
+        default: return null;
       }
     }
 
@@ -608,28 +532,28 @@ public static PrivilegesRequired forNumber(int value) {
         internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        PrivilegesRequired> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public PrivilegesRequired findValueByNumber(int number) {
+              return PrivilegesRequired.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap
-        internalValueMap =
-            new com.google.protobuf.Internal.EnumLiteMap() {
-              public PrivilegesRequired findValueByNumber(int number) {
-                return PrivilegesRequired.forNumber(number);
-              }
-            };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.cloud.securitycenter.v1.Cvssv3.getDescriptor().getEnumTypes().get(2);
     }
 
@@ -638,7 +562,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor
     public static PrivilegesRequired 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;
@@ -656,8 +581,6 @@ private PrivilegesRequired(int value) {
   }
 
   /**
-   *
-   *
    * 
    * This metric captures the requirement for a human user, other than the
    * attacker, to participate in the successful compromise of the vulnerable
@@ -666,10 +589,9 @@ private PrivilegesRequired(int value) {
    *
    * Protobuf enum {@code google.cloud.securitycenter.v1.Cvssv3.UserInteraction}
    */
-  public enum UserInteraction implements com.google.protobuf.ProtocolMessageEnum {
+  public enum UserInteraction
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * Invalid value.
      * 
@@ -678,8 +600,6 @@ public enum UserInteraction implements com.google.protobuf.ProtocolMessageEnum { */ USER_INTERACTION_UNSPECIFIED(0), /** - * - * *
      * The vulnerable system can be exploited without interaction from any user.
      * 
@@ -688,8 +608,6 @@ public enum UserInteraction implements com.google.protobuf.ProtocolMessageEnum { */ USER_INTERACTION_NONE(1), /** - * - * *
      * Successful exploitation of this vulnerability requires a user to take
      * some action before the vulnerability can be exploited.
@@ -702,8 +620,6 @@ public enum UserInteraction implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Invalid value.
      * 
@@ -712,8 +628,6 @@ public enum UserInteraction implements com.google.protobuf.ProtocolMessageEnum { */ public static final int USER_INTERACTION_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The vulnerable system can be exploited without interaction from any user.
      * 
@@ -722,8 +636,6 @@ public enum UserInteraction implements com.google.protobuf.ProtocolMessageEnum { */ public static final int USER_INTERACTION_NONE_VALUE = 1; /** - * - * *
      * Successful exploitation of this vulnerability requires a user to take
      * some action before the vulnerability can be exploited.
@@ -733,6 +645,7 @@ public enum UserInteraction implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int USER_INTERACTION_REQUIRED_VALUE = 2;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -757,42 +670,39 @@ public static UserInteraction valueOf(int value) {
      */
     public static UserInteraction forNumber(int value) {
       switch (value) {
-        case 0:
-          return USER_INTERACTION_UNSPECIFIED;
-        case 1:
-          return USER_INTERACTION_NONE;
-        case 2:
-          return USER_INTERACTION_REQUIRED;
-        default:
-          return null;
+        case 0: return USER_INTERACTION_UNSPECIFIED;
+        case 1: return USER_INTERACTION_NONE;
+        case 2: return USER_INTERACTION_REQUIRED;
+        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<
+        UserInteraction> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public UserInteraction findValueByNumber(int number) {
+              return UserInteraction.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap
-        internalValueMap =
-            new com.google.protobuf.Internal.EnumLiteMap() {
-              public UserInteraction findValueByNumber(int number) {
-                return UserInteraction.forNumber(number);
-              }
-            };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.cloud.securitycenter.v1.Cvssv3.getDescriptor().getEnumTypes().get(3);
     }
 
@@ -801,7 +711,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor
     public static UserInteraction 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;
@@ -819,8 +730,6 @@ private UserInteraction(int value) {
   }
 
   /**
-   *
-   *
    * 
    * The Scope metric captures whether a vulnerability in one vulnerable
    * component impacts resources in components beyond its security scope.
@@ -828,10 +737,9 @@ private UserInteraction(int value) {
    *
    * Protobuf enum {@code google.cloud.securitycenter.v1.Cvssv3.Scope}
    */
-  public enum Scope implements com.google.protobuf.ProtocolMessageEnum {
+  public enum Scope
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * Invalid value.
      * 
@@ -840,8 +748,6 @@ public enum Scope implements com.google.protobuf.ProtocolMessageEnum { */ SCOPE_UNSPECIFIED(0), /** - * - * *
      * An exploited vulnerability can only affect resources managed by the same
      * security authority.
@@ -851,8 +757,6 @@ public enum Scope implements com.google.protobuf.ProtocolMessageEnum {
      */
     SCOPE_UNCHANGED(1),
     /**
-     *
-     *
      * 
      * An exploited vulnerability can affect resources beyond the security scope
      * managed by the security authority of the vulnerable component.
@@ -865,8 +769,6 @@ public enum Scope implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Invalid value.
      * 
@@ -875,8 +777,6 @@ public enum Scope implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SCOPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * An exploited vulnerability can only affect resources managed by the same
      * security authority.
@@ -886,8 +786,6 @@ public enum Scope implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int SCOPE_UNCHANGED_VALUE = 1;
     /**
-     *
-     *
      * 
      * An exploited vulnerability can affect resources beyond the security scope
      * managed by the security authority of the vulnerable component.
@@ -897,6 +795,7 @@ public enum Scope implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int SCOPE_CHANGED_VALUE = 2;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -921,49 +820,49 @@ public static Scope valueOf(int value) {
      */
     public static Scope forNumber(int value) {
       switch (value) {
-        case 0:
-          return SCOPE_UNSPECIFIED;
-        case 1:
-          return SCOPE_UNCHANGED;
-        case 2:
-          return SCOPE_CHANGED;
-        default:
-          return null;
+        case 0: return SCOPE_UNSPECIFIED;
+        case 1: return SCOPE_UNCHANGED;
+        case 2: return SCOPE_CHANGED;
+        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<
+        Scope> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public Scope findValueByNumber(int number) {
+              return Scope.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public Scope findValueByNumber(int number) {
-            return Scope.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.cloud.securitycenter.v1.Cvssv3.getDescriptor().getEnumTypes().get(4);
     }
 
     private static final Scope[] VALUES = values();
 
-    public static Scope valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static Scope 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;
@@ -981,8 +880,6 @@ private Scope(int value) {
   }
 
   /**
-   *
-   *
    * 
    * The Impact metrics capture the effects of a successfully exploited
    * vulnerability on the component that suffers the worst outcome that is most
@@ -991,10 +888,9 @@ private Scope(int value) {
    *
    * Protobuf enum {@code google.cloud.securitycenter.v1.Cvssv3.Impact}
    */
-  public enum Impact implements com.google.protobuf.ProtocolMessageEnum {
+  public enum Impact
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * Invalid value.
      * 
@@ -1003,8 +899,6 @@ public enum Impact implements com.google.protobuf.ProtocolMessageEnum { */ IMPACT_UNSPECIFIED(0), /** - * - * *
      * High impact.
      * 
@@ -1013,8 +907,6 @@ public enum Impact implements com.google.protobuf.ProtocolMessageEnum { */ IMPACT_HIGH(1), /** - * - * *
      * Low impact.
      * 
@@ -1023,8 +915,6 @@ public enum Impact implements com.google.protobuf.ProtocolMessageEnum { */ IMPACT_LOW(2), /** - * - * *
      * No impact.
      * 
@@ -1036,8 +926,6 @@ public enum Impact implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Invalid value.
      * 
@@ -1046,8 +934,6 @@ public enum Impact implements com.google.protobuf.ProtocolMessageEnum { */ public static final int IMPACT_UNSPECIFIED_VALUE = 0; /** - * - * *
      * High impact.
      * 
@@ -1056,8 +942,6 @@ public enum Impact implements com.google.protobuf.ProtocolMessageEnum { */ public static final int IMPACT_HIGH_VALUE = 1; /** - * - * *
      * Low impact.
      * 
@@ -1066,8 +950,6 @@ public enum Impact implements com.google.protobuf.ProtocolMessageEnum { */ public static final int IMPACT_LOW_VALUE = 2; /** - * - * *
      * No impact.
      * 
@@ -1076,6 +958,7 @@ public enum Impact implements com.google.protobuf.ProtocolMessageEnum { */ public static final int IMPACT_NONE_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -1100,51 +983,50 @@ public static Impact valueOf(int value) { */ public static Impact forNumber(int value) { switch (value) { - case 0: - return IMPACT_UNSPECIFIED; - case 1: - return IMPACT_HIGH; - case 2: - return IMPACT_LOW; - case 3: - return IMPACT_NONE; - default: - return null; + case 0: return IMPACT_UNSPECIFIED; + case 1: return IMPACT_HIGH; + case 2: return IMPACT_LOW; + case 3: return IMPACT_NONE; + 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< + Impact> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Impact findValueByNumber(int number) { + return Impact.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Impact findValueByNumber(int number) { - return Impact.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.securitycenter.v1.Cvssv3.getDescriptor().getEnumTypes().get(5); } private static final Impact[] VALUES = values(); - public static Impact valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Impact 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; @@ -1164,14 +1046,11 @@ private Impact(int value) { public static final int BASE_SCORE_FIELD_NUMBER = 1; private double baseScore_; /** - * - * *
    * The base score is a function of the base metric scores.
    * 
* * double base_score = 1; - * * @return The baseScore. */ @java.lang.Override @@ -1182,8 +1061,6 @@ public double getBaseScore() { public static final int ATTACK_VECTOR_FIELD_NUMBER = 5; private int attackVector_; /** - * - * *
    * Base Metrics
    * Represents the intrinsic characteristics of a vulnerability that are
@@ -1193,16 +1070,12 @@ public double getBaseScore() {
    * 
* * .google.cloud.securitycenter.v1.Cvssv3.AttackVector attack_vector = 5; - * * @return The enum numeric value on the wire for attackVector. */ - @java.lang.Override - public int getAttackVectorValue() { + @java.lang.Override public int getAttackVectorValue() { return attackVector_; } /** - * - * *
    * Base Metrics
    * Represents the intrinsic characteristics of a vulnerability that are
@@ -1212,104 +1085,75 @@ public int getAttackVectorValue() {
    * 
* * .google.cloud.securitycenter.v1.Cvssv3.AttackVector attack_vector = 5; - * * @return The attackVector. */ - @java.lang.Override - public com.google.cloud.securitycenter.v1.Cvssv3.AttackVector getAttackVector() { + @java.lang.Override public com.google.cloud.securitycenter.v1.Cvssv3.AttackVector getAttackVector() { @SuppressWarnings("deprecation") - com.google.cloud.securitycenter.v1.Cvssv3.AttackVector result = - com.google.cloud.securitycenter.v1.Cvssv3.AttackVector.valueOf(attackVector_); - return result == null - ? com.google.cloud.securitycenter.v1.Cvssv3.AttackVector.UNRECOGNIZED - : result; + com.google.cloud.securitycenter.v1.Cvssv3.AttackVector result = com.google.cloud.securitycenter.v1.Cvssv3.AttackVector.valueOf(attackVector_); + return result == null ? com.google.cloud.securitycenter.v1.Cvssv3.AttackVector.UNRECOGNIZED : result; } public static final int ATTACK_COMPLEXITY_FIELD_NUMBER = 6; private int attackComplexity_; /** - * - * *
    * This metric describes the conditions beyond the attacker's control that
    * must exist in order to exploit the vulnerability.
    * 
* * .google.cloud.securitycenter.v1.Cvssv3.AttackComplexity attack_complexity = 6; - * * @return The enum numeric value on the wire for attackComplexity. */ - @java.lang.Override - public int getAttackComplexityValue() { + @java.lang.Override public int getAttackComplexityValue() { return attackComplexity_; } /** - * - * *
    * This metric describes the conditions beyond the attacker's control that
    * must exist in order to exploit the vulnerability.
    * 
* * .google.cloud.securitycenter.v1.Cvssv3.AttackComplexity attack_complexity = 6; - * * @return The attackComplexity. */ - @java.lang.Override - public com.google.cloud.securitycenter.v1.Cvssv3.AttackComplexity getAttackComplexity() { + @java.lang.Override public com.google.cloud.securitycenter.v1.Cvssv3.AttackComplexity getAttackComplexity() { @SuppressWarnings("deprecation") - com.google.cloud.securitycenter.v1.Cvssv3.AttackComplexity result = - com.google.cloud.securitycenter.v1.Cvssv3.AttackComplexity.valueOf(attackComplexity_); - return result == null - ? com.google.cloud.securitycenter.v1.Cvssv3.AttackComplexity.UNRECOGNIZED - : result; + com.google.cloud.securitycenter.v1.Cvssv3.AttackComplexity result = com.google.cloud.securitycenter.v1.Cvssv3.AttackComplexity.valueOf(attackComplexity_); + return result == null ? com.google.cloud.securitycenter.v1.Cvssv3.AttackComplexity.UNRECOGNIZED : result; } public static final int PRIVILEGES_REQUIRED_FIELD_NUMBER = 7; private int privilegesRequired_; /** - * - * *
    * This metric describes the level of privileges an attacker must possess
    * before successfully exploiting the vulnerability.
    * 
* * .google.cloud.securitycenter.v1.Cvssv3.PrivilegesRequired privileges_required = 7; - * * @return The enum numeric value on the wire for privilegesRequired. */ - @java.lang.Override - public int getPrivilegesRequiredValue() { + @java.lang.Override public int getPrivilegesRequiredValue() { return privilegesRequired_; } /** - * - * *
    * This metric describes the level of privileges an attacker must possess
    * before successfully exploiting the vulnerability.
    * 
* * .google.cloud.securitycenter.v1.Cvssv3.PrivilegesRequired privileges_required = 7; - * * @return The privilegesRequired. */ - @java.lang.Override - public com.google.cloud.securitycenter.v1.Cvssv3.PrivilegesRequired getPrivilegesRequired() { + @java.lang.Override public com.google.cloud.securitycenter.v1.Cvssv3.PrivilegesRequired getPrivilegesRequired() { @SuppressWarnings("deprecation") - com.google.cloud.securitycenter.v1.Cvssv3.PrivilegesRequired result = - com.google.cloud.securitycenter.v1.Cvssv3.PrivilegesRequired.valueOf(privilegesRequired_); - return result == null - ? com.google.cloud.securitycenter.v1.Cvssv3.PrivilegesRequired.UNRECOGNIZED - : result; + com.google.cloud.securitycenter.v1.Cvssv3.PrivilegesRequired result = com.google.cloud.securitycenter.v1.Cvssv3.PrivilegesRequired.valueOf(privilegesRequired_); + return result == null ? com.google.cloud.securitycenter.v1.Cvssv3.PrivilegesRequired.UNRECOGNIZED : result; } public static final int USER_INTERACTION_FIELD_NUMBER = 8; private int userInteraction_; /** - * - * *
    * This metric captures the requirement for a human user, other than the
    * attacker, to participate in the successful compromise of the vulnerable
@@ -1317,16 +1161,12 @@ public com.google.cloud.securitycenter.v1.Cvssv3.PrivilegesRequired getPrivilege
    * 
* * .google.cloud.securitycenter.v1.Cvssv3.UserInteraction user_interaction = 8; - * * @return The enum numeric value on the wire for userInteraction. */ - @java.lang.Override - public int getUserInteractionValue() { + @java.lang.Override public int getUserInteractionValue() { return userInteraction_; } /** - * - * *
    * This metric captures the requirement for a human user, other than the
    * attacker, to participate in the successful compromise of the vulnerable
@@ -1334,62 +1174,46 @@ public int getUserInteractionValue() {
    * 
* * .google.cloud.securitycenter.v1.Cvssv3.UserInteraction user_interaction = 8; - * * @return The userInteraction. */ - @java.lang.Override - public com.google.cloud.securitycenter.v1.Cvssv3.UserInteraction getUserInteraction() { + @java.lang.Override public com.google.cloud.securitycenter.v1.Cvssv3.UserInteraction getUserInteraction() { @SuppressWarnings("deprecation") - com.google.cloud.securitycenter.v1.Cvssv3.UserInteraction result = - com.google.cloud.securitycenter.v1.Cvssv3.UserInteraction.valueOf(userInteraction_); - return result == null - ? com.google.cloud.securitycenter.v1.Cvssv3.UserInteraction.UNRECOGNIZED - : result; + com.google.cloud.securitycenter.v1.Cvssv3.UserInteraction result = com.google.cloud.securitycenter.v1.Cvssv3.UserInteraction.valueOf(userInteraction_); + return result == null ? com.google.cloud.securitycenter.v1.Cvssv3.UserInteraction.UNRECOGNIZED : result; } public static final int SCOPE_FIELD_NUMBER = 9; private int scope_; /** - * - * *
    * The Scope metric captures whether a vulnerability in one vulnerable
    * component impacts resources in components beyond its security scope.
    * 
* * .google.cloud.securitycenter.v1.Cvssv3.Scope scope = 9; - * * @return The enum numeric value on the wire for scope. */ - @java.lang.Override - public int getScopeValue() { + @java.lang.Override public int getScopeValue() { return scope_; } /** - * - * *
    * The Scope metric captures whether a vulnerability in one vulnerable
    * component impacts resources in components beyond its security scope.
    * 
* * .google.cloud.securitycenter.v1.Cvssv3.Scope scope = 9; - * * @return The scope. */ - @java.lang.Override - public com.google.cloud.securitycenter.v1.Cvssv3.Scope getScope() { + @java.lang.Override public com.google.cloud.securitycenter.v1.Cvssv3.Scope getScope() { @SuppressWarnings("deprecation") - com.google.cloud.securitycenter.v1.Cvssv3.Scope result = - com.google.cloud.securitycenter.v1.Cvssv3.Scope.valueOf(scope_); + com.google.cloud.securitycenter.v1.Cvssv3.Scope result = com.google.cloud.securitycenter.v1.Cvssv3.Scope.valueOf(scope_); return result == null ? com.google.cloud.securitycenter.v1.Cvssv3.Scope.UNRECOGNIZED : result; } public static final int CONFIDENTIALITY_IMPACT_FIELD_NUMBER = 10; private int confidentialityImpact_; /** - * - * *
    * This metric measures the impact to the confidentiality of the information
    * resources managed by a software component due to a successfully exploited
@@ -1397,16 +1221,12 @@ public com.google.cloud.securitycenter.v1.Cvssv3.Scope getScope() {
    * 
* * .google.cloud.securitycenter.v1.Cvssv3.Impact confidentiality_impact = 10; - * * @return The enum numeric value on the wire for confidentialityImpact. */ - @java.lang.Override - public int getConfidentialityImpactValue() { + @java.lang.Override public int getConfidentialityImpactValue() { return confidentialityImpact_; } /** - * - * *
    * This metric measures the impact to the confidentiality of the information
    * resources managed by a software component due to a successfully exploited
@@ -1414,95 +1234,73 @@ public int getConfidentialityImpactValue() {
    * 
* * .google.cloud.securitycenter.v1.Cvssv3.Impact confidentiality_impact = 10; - * * @return The confidentialityImpact. */ - @java.lang.Override - public com.google.cloud.securitycenter.v1.Cvssv3.Impact getConfidentialityImpact() { + @java.lang.Override public com.google.cloud.securitycenter.v1.Cvssv3.Impact getConfidentialityImpact() { @SuppressWarnings("deprecation") - com.google.cloud.securitycenter.v1.Cvssv3.Impact result = - com.google.cloud.securitycenter.v1.Cvssv3.Impact.valueOf(confidentialityImpact_); + com.google.cloud.securitycenter.v1.Cvssv3.Impact result = com.google.cloud.securitycenter.v1.Cvssv3.Impact.valueOf(confidentialityImpact_); return result == null ? com.google.cloud.securitycenter.v1.Cvssv3.Impact.UNRECOGNIZED : result; } public static final int INTEGRITY_IMPACT_FIELD_NUMBER = 11; private int integrityImpact_; /** - * - * *
    * This metric measures the impact to integrity of a successfully exploited
    * vulnerability.
    * 
* * .google.cloud.securitycenter.v1.Cvssv3.Impact integrity_impact = 11; - * * @return The enum numeric value on the wire for integrityImpact. */ - @java.lang.Override - public int getIntegrityImpactValue() { + @java.lang.Override public int getIntegrityImpactValue() { return integrityImpact_; } /** - * - * *
    * This metric measures the impact to integrity of a successfully exploited
    * vulnerability.
    * 
* * .google.cloud.securitycenter.v1.Cvssv3.Impact integrity_impact = 11; - * * @return The integrityImpact. */ - @java.lang.Override - public com.google.cloud.securitycenter.v1.Cvssv3.Impact getIntegrityImpact() { + @java.lang.Override public com.google.cloud.securitycenter.v1.Cvssv3.Impact getIntegrityImpact() { @SuppressWarnings("deprecation") - com.google.cloud.securitycenter.v1.Cvssv3.Impact result = - com.google.cloud.securitycenter.v1.Cvssv3.Impact.valueOf(integrityImpact_); + com.google.cloud.securitycenter.v1.Cvssv3.Impact result = com.google.cloud.securitycenter.v1.Cvssv3.Impact.valueOf(integrityImpact_); return result == null ? com.google.cloud.securitycenter.v1.Cvssv3.Impact.UNRECOGNIZED : result; } public static final int AVAILABILITY_IMPACT_FIELD_NUMBER = 12; private int availabilityImpact_; /** - * - * *
    * This metric measures the impact to the availability of the impacted
    * component resulting from a successfully exploited vulnerability.
    * 
* * .google.cloud.securitycenter.v1.Cvssv3.Impact availability_impact = 12; - * * @return The enum numeric value on the wire for availabilityImpact. */ - @java.lang.Override - public int getAvailabilityImpactValue() { + @java.lang.Override public int getAvailabilityImpactValue() { return availabilityImpact_; } /** - * - * *
    * This metric measures the impact to the availability of the impacted
    * component resulting from a successfully exploited vulnerability.
    * 
* * .google.cloud.securitycenter.v1.Cvssv3.Impact availability_impact = 12; - * * @return The availabilityImpact. */ - @java.lang.Override - public com.google.cloud.securitycenter.v1.Cvssv3.Impact getAvailabilityImpact() { + @java.lang.Override public com.google.cloud.securitycenter.v1.Cvssv3.Impact getAvailabilityImpact() { @SuppressWarnings("deprecation") - com.google.cloud.securitycenter.v1.Cvssv3.Impact result = - com.google.cloud.securitycenter.v1.Cvssv3.Impact.valueOf(availabilityImpact_); + com.google.cloud.securitycenter.v1.Cvssv3.Impact result = com.google.cloud.securitycenter.v1.Cvssv3.Impact.valueOf(availabilityImpact_); return result == null ? com.google.cloud.securitycenter.v1.Cvssv3.Impact.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1514,44 +1312,33 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (java.lang.Double.doubleToRawLongBits(baseScore_) != 0) { output.writeDouble(1, baseScore_); } - if (attackVector_ - != com.google.cloud.securitycenter.v1.Cvssv3.AttackVector.ATTACK_VECTOR_UNSPECIFIED - .getNumber()) { + if (attackVector_ != com.google.cloud.securitycenter.v1.Cvssv3.AttackVector.ATTACK_VECTOR_UNSPECIFIED.getNumber()) { output.writeEnum(5, attackVector_); } - if (attackComplexity_ - != com.google.cloud.securitycenter.v1.Cvssv3.AttackComplexity.ATTACK_COMPLEXITY_UNSPECIFIED - .getNumber()) { + if (attackComplexity_ != com.google.cloud.securitycenter.v1.Cvssv3.AttackComplexity.ATTACK_COMPLEXITY_UNSPECIFIED.getNumber()) { output.writeEnum(6, attackComplexity_); } - if (privilegesRequired_ - != com.google.cloud.securitycenter.v1.Cvssv3.PrivilegesRequired - .PRIVILEGES_REQUIRED_UNSPECIFIED - .getNumber()) { + if (privilegesRequired_ != com.google.cloud.securitycenter.v1.Cvssv3.PrivilegesRequired.PRIVILEGES_REQUIRED_UNSPECIFIED.getNumber()) { output.writeEnum(7, privilegesRequired_); } - if (userInteraction_ - != com.google.cloud.securitycenter.v1.Cvssv3.UserInteraction.USER_INTERACTION_UNSPECIFIED - .getNumber()) { + if (userInteraction_ != com.google.cloud.securitycenter.v1.Cvssv3.UserInteraction.USER_INTERACTION_UNSPECIFIED.getNumber()) { output.writeEnum(8, userInteraction_); } if (scope_ != com.google.cloud.securitycenter.v1.Cvssv3.Scope.SCOPE_UNSPECIFIED.getNumber()) { output.writeEnum(9, scope_); } - if (confidentialityImpact_ - != com.google.cloud.securitycenter.v1.Cvssv3.Impact.IMPACT_UNSPECIFIED.getNumber()) { + if (confidentialityImpact_ != com.google.cloud.securitycenter.v1.Cvssv3.Impact.IMPACT_UNSPECIFIED.getNumber()) { output.writeEnum(10, confidentialityImpact_); } - if (integrityImpact_ - != com.google.cloud.securitycenter.v1.Cvssv3.Impact.IMPACT_UNSPECIFIED.getNumber()) { + if (integrityImpact_ != com.google.cloud.securitycenter.v1.Cvssv3.Impact.IMPACT_UNSPECIFIED.getNumber()) { output.writeEnum(11, integrityImpact_); } - if (availabilityImpact_ - != com.google.cloud.securitycenter.v1.Cvssv3.Impact.IMPACT_UNSPECIFIED.getNumber()) { + if (availabilityImpact_ != com.google.cloud.securitycenter.v1.Cvssv3.Impact.IMPACT_UNSPECIFIED.getNumber()) { output.writeEnum(12, availabilityImpact_); } getUnknownFields().writeTo(output); @@ -1564,43 +1351,40 @@ public int getSerializedSize() { size = 0; if (java.lang.Double.doubleToRawLongBits(baseScore_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeDoubleSize(1, baseScore_); + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize(1, baseScore_); } - if (attackVector_ - != com.google.cloud.securitycenter.v1.Cvssv3.AttackVector.ATTACK_VECTOR_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, attackVector_); + if (attackVector_ != com.google.cloud.securitycenter.v1.Cvssv3.AttackVector.ATTACK_VECTOR_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(5, attackVector_); } - if (attackComplexity_ - != com.google.cloud.securitycenter.v1.Cvssv3.AttackComplexity.ATTACK_COMPLEXITY_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, attackComplexity_); + if (attackComplexity_ != com.google.cloud.securitycenter.v1.Cvssv3.AttackComplexity.ATTACK_COMPLEXITY_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(6, attackComplexity_); } - if (privilegesRequired_ - != com.google.cloud.securitycenter.v1.Cvssv3.PrivilegesRequired - .PRIVILEGES_REQUIRED_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(7, privilegesRequired_); + if (privilegesRequired_ != com.google.cloud.securitycenter.v1.Cvssv3.PrivilegesRequired.PRIVILEGES_REQUIRED_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(7, privilegesRequired_); } - if (userInteraction_ - != com.google.cloud.securitycenter.v1.Cvssv3.UserInteraction.USER_INTERACTION_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(8, userInteraction_); + if (userInteraction_ != com.google.cloud.securitycenter.v1.Cvssv3.UserInteraction.USER_INTERACTION_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(8, userInteraction_); } if (scope_ != com.google.cloud.securitycenter.v1.Cvssv3.Scope.SCOPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(9, scope_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(9, scope_); } - if (confidentialityImpact_ - != com.google.cloud.securitycenter.v1.Cvssv3.Impact.IMPACT_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(10, confidentialityImpact_); + if (confidentialityImpact_ != com.google.cloud.securitycenter.v1.Cvssv3.Impact.IMPACT_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(10, confidentialityImpact_); } - if (integrityImpact_ - != com.google.cloud.securitycenter.v1.Cvssv3.Impact.IMPACT_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(11, integrityImpact_); + if (integrityImpact_ != com.google.cloud.securitycenter.v1.Cvssv3.Impact.IMPACT_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(11, integrityImpact_); } - if (availabilityImpact_ - != com.google.cloud.securitycenter.v1.Cvssv3.Impact.IMPACT_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(12, availabilityImpact_); + if (availabilityImpact_ != com.google.cloud.securitycenter.v1.Cvssv3.Impact.IMPACT_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(12, availabilityImpact_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1610,16 +1394,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.securitycenter.v1.Cvssv3)) { return super.equals(obj); } - com.google.cloud.securitycenter.v1.Cvssv3 other = - (com.google.cloud.securitycenter.v1.Cvssv3) obj; + com.google.cloud.securitycenter.v1.Cvssv3 other = (com.google.cloud.securitycenter.v1.Cvssv3) obj; if (java.lang.Double.doubleToLongBits(getBaseScore()) - != java.lang.Double.doubleToLongBits(other.getBaseScore())) return false; + != java.lang.Double.doubleToLongBits( + other.getBaseScore())) return false; if (attackVector_ != other.attackVector_) return false; if (attackComplexity_ != other.attackComplexity_) return false; if (privilegesRequired_ != other.privilegesRequired_) return false; @@ -1640,10 +1424,8 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + BASE_SCORE_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getBaseScore())); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getBaseScore())); hash = (37 * hash) + ATTACK_VECTOR_FIELD_NUMBER; hash = (53 * hash) + attackVector_; hash = (37 * hash) + ATTACK_COMPLEXITY_FIELD_NUMBER; @@ -1665,136 +1447,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.securitycenter.v1.Cvssv3 parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.securitycenter.v1.Cvssv3 parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.Cvssv3 parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.Cvssv3 parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.Cvssv3 parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.Cvssv3 parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.Cvssv3 parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.Cvssv3 parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.Cvssv3 parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.securitycenter.v1.Cvssv3 parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.securitycenter.v1.Cvssv3 parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.Cvssv3 parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.Cvssv3 parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.Cvssv3 parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.securitycenter.v1.Cvssv3 prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Common Vulnerability Scoring System version 3.
    * 
* * Protobuf type {@code google.cloud.securitycenter.v1.Cvssv3} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.securitycenter.v1.Cvssv3) com.google.cloud.securitycenter.v1.Cvssv3OrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.securitycenter.v1.VulnerabilityProto - .internal_static_google_cloud_securitycenter_v1_Cvssv3_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.securitycenter.v1.VulnerabilityProto.internal_static_google_cloud_securitycenter_v1_Cvssv3_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.securitycenter.v1.VulnerabilityProto - .internal_static_google_cloud_securitycenter_v1_Cvssv3_fieldAccessorTable + return com.google.cloud.securitycenter.v1.VulnerabilityProto.internal_static_google_cloud_securitycenter_v1_Cvssv3_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.securitycenter.v1.Cvssv3.class, - com.google.cloud.securitycenter.v1.Cvssv3.Builder.class); + com.google.cloud.securitycenter.v1.Cvssv3.class, com.google.cloud.securitycenter.v1.Cvssv3.Builder.class); } // Construct using com.google.cloud.securitycenter.v1.Cvssv3.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(); @@ -1820,9 +1596,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.securitycenter.v1.VulnerabilityProto - .internal_static_google_cloud_securitycenter_v1_Cvssv3_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.securitycenter.v1.VulnerabilityProto.internal_static_google_cloud_securitycenter_v1_Cvssv3_descriptor; } @java.lang.Override @@ -1841,8 +1617,7 @@ public com.google.cloud.securitycenter.v1.Cvssv3 build() { @java.lang.Override public com.google.cloud.securitycenter.v1.Cvssv3 buildPartial() { - com.google.cloud.securitycenter.v1.Cvssv3 result = - new com.google.cloud.securitycenter.v1.Cvssv3(this); + com.google.cloud.securitycenter.v1.Cvssv3 result = new com.google.cloud.securitycenter.v1.Cvssv3(this); result.baseScore_ = baseScore_; result.attackVector_ = attackVector_; result.attackComplexity_ = attackComplexity_; @@ -1860,39 +1635,38 @@ public com.google.cloud.securitycenter.v1.Cvssv3 buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.securitycenter.v1.Cvssv3) { - return mergeFrom((com.google.cloud.securitycenter.v1.Cvssv3) other); + return mergeFrom((com.google.cloud.securitycenter.v1.Cvssv3)other); } else { super.mergeFrom(other); return this; @@ -1954,67 +1728,57 @@ public Builder mergeFrom( case 0: done = true; break; - case 9: - { - baseScore_ = input.readDouble(); - - break; - } // case 9 - case 40: - { - attackVector_ = input.readEnum(); - - break; - } // case 40 - case 48: - { - attackComplexity_ = input.readEnum(); - - break; - } // case 48 - case 56: - { - privilegesRequired_ = input.readEnum(); - - break; - } // case 56 - case 64: - { - userInteraction_ = input.readEnum(); - - break; - } // case 64 - case 72: - { - scope_ = input.readEnum(); - - break; - } // case 72 - case 80: - { - confidentialityImpact_ = input.readEnum(); - - break; - } // case 80 - case 88: - { - integrityImpact_ = input.readEnum(); - - break; - } // case 88 - case 96: - { - availabilityImpact_ = input.readEnum(); - - break; - } // case 96 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 9: { + baseScore_ = input.readDouble(); + + break; + } // case 9 + case 40: { + attackVector_ = input.readEnum(); + + break; + } // case 40 + case 48: { + attackComplexity_ = input.readEnum(); + + break; + } // case 48 + case 56: { + privilegesRequired_ = input.readEnum(); + + break; + } // case 56 + case 64: { + userInteraction_ = input.readEnum(); + + break; + } // case 64 + case 72: { + scope_ = input.readEnum(); + + break; + } // case 72 + case 80: { + confidentialityImpact_ = input.readEnum(); + + break; + } // case 80 + case 88: { + integrityImpact_ = input.readEnum(); + + break; + } // case 88 + case 96: { + availabilityImpact_ = input.readEnum(); + + break; + } // case 96 + 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) { @@ -2025,16 +1789,13 @@ public Builder mergeFrom( return this; } - private double baseScore_; + private double baseScore_ ; /** - * - * *
      * The base score is a function of the base metric scores.
      * 
* * double base_score = 1; - * * @return The baseScore. */ @java.lang.Override @@ -2042,36 +1803,30 @@ public double getBaseScore() { return baseScore_; } /** - * - * *
      * The base score is a function of the base metric scores.
      * 
* * double base_score = 1; - * * @param value The baseScore to set. * @return This builder for chaining. */ public Builder setBaseScore(double value) { - + baseScore_ = value; onChanged(); return this; } /** - * - * *
      * The base score is a function of the base metric scores.
      * 
* * double base_score = 1; - * * @return This builder for chaining. */ public Builder clearBaseScore() { - + baseScore_ = 0D; onChanged(); return this; @@ -2079,8 +1834,6 @@ public Builder clearBaseScore() { private int attackVector_ = 0; /** - * - * *
      * Base Metrics
      * Represents the intrinsic characteristics of a vulnerability that are
@@ -2090,16 +1843,12 @@ public Builder clearBaseScore() {
      * 
* * .google.cloud.securitycenter.v1.Cvssv3.AttackVector attack_vector = 5; - * * @return The enum numeric value on the wire for attackVector. */ - @java.lang.Override - public int getAttackVectorValue() { + @java.lang.Override public int getAttackVectorValue() { return attackVector_; } /** - * - * *
      * Base Metrics
      * Represents the intrinsic characteristics of a vulnerability that are
@@ -2109,19 +1858,16 @@ public int getAttackVectorValue() {
      * 
* * .google.cloud.securitycenter.v1.Cvssv3.AttackVector attack_vector = 5; - * * @param value The enum numeric value on the wire for attackVector to set. * @return This builder for chaining. */ public Builder setAttackVectorValue(int value) { - + attackVector_ = value; onChanged(); return this; } /** - * - * *
      * Base Metrics
      * Represents the intrinsic characteristics of a vulnerability that are
@@ -2131,21 +1877,15 @@ public Builder setAttackVectorValue(int value) {
      * 
* * .google.cloud.securitycenter.v1.Cvssv3.AttackVector attack_vector = 5; - * * @return The attackVector. */ @java.lang.Override public com.google.cloud.securitycenter.v1.Cvssv3.AttackVector getAttackVector() { @SuppressWarnings("deprecation") - com.google.cloud.securitycenter.v1.Cvssv3.AttackVector result = - com.google.cloud.securitycenter.v1.Cvssv3.AttackVector.valueOf(attackVector_); - return result == null - ? com.google.cloud.securitycenter.v1.Cvssv3.AttackVector.UNRECOGNIZED - : result; + com.google.cloud.securitycenter.v1.Cvssv3.AttackVector result = com.google.cloud.securitycenter.v1.Cvssv3.AttackVector.valueOf(attackVector_); + return result == null ? com.google.cloud.securitycenter.v1.Cvssv3.AttackVector.UNRECOGNIZED : result; } /** - * - * *
      * Base Metrics
      * Represents the intrinsic characteristics of a vulnerability that are
@@ -2155,7 +1895,6 @@ public com.google.cloud.securitycenter.v1.Cvssv3.AttackVector getAttackVector()
      * 
* * .google.cloud.securitycenter.v1.Cvssv3.AttackVector attack_vector = 5; - * * @param value The attackVector to set. * @return This builder for chaining. */ @@ -2163,14 +1902,12 @@ public Builder setAttackVector(com.google.cloud.securitycenter.v1.Cvssv3.AttackV if (value == null) { throw new NullPointerException(); } - + attackVector_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Base Metrics
      * Represents the intrinsic characteristics of a vulnerability that are
@@ -2180,11 +1917,10 @@ public Builder setAttackVector(com.google.cloud.securitycenter.v1.Cvssv3.AttackV
      * 
* * .google.cloud.securitycenter.v1.Cvssv3.AttackVector attack_vector = 5; - * * @return This builder for chaining. */ public Builder clearAttackVector() { - + attackVector_ = 0; onChanged(); return this; @@ -2192,98 +1928,78 @@ public Builder clearAttackVector() { private int attackComplexity_ = 0; /** - * - * *
      * This metric describes the conditions beyond the attacker's control that
      * must exist in order to exploit the vulnerability.
      * 
* * .google.cloud.securitycenter.v1.Cvssv3.AttackComplexity attack_complexity = 6; - * * @return The enum numeric value on the wire for attackComplexity. */ - @java.lang.Override - public int getAttackComplexityValue() { + @java.lang.Override public int getAttackComplexityValue() { return attackComplexity_; } /** - * - * *
      * This metric describes the conditions beyond the attacker's control that
      * must exist in order to exploit the vulnerability.
      * 
* * .google.cloud.securitycenter.v1.Cvssv3.AttackComplexity attack_complexity = 6; - * * @param value The enum numeric value on the wire for attackComplexity to set. * @return This builder for chaining. */ public Builder setAttackComplexityValue(int value) { - + attackComplexity_ = value; onChanged(); return this; } /** - * - * *
      * This metric describes the conditions beyond the attacker's control that
      * must exist in order to exploit the vulnerability.
      * 
* * .google.cloud.securitycenter.v1.Cvssv3.AttackComplexity attack_complexity = 6; - * * @return The attackComplexity. */ @java.lang.Override public com.google.cloud.securitycenter.v1.Cvssv3.AttackComplexity getAttackComplexity() { @SuppressWarnings("deprecation") - com.google.cloud.securitycenter.v1.Cvssv3.AttackComplexity result = - com.google.cloud.securitycenter.v1.Cvssv3.AttackComplexity.valueOf(attackComplexity_); - return result == null - ? com.google.cloud.securitycenter.v1.Cvssv3.AttackComplexity.UNRECOGNIZED - : result; + com.google.cloud.securitycenter.v1.Cvssv3.AttackComplexity result = com.google.cloud.securitycenter.v1.Cvssv3.AttackComplexity.valueOf(attackComplexity_); + return result == null ? com.google.cloud.securitycenter.v1.Cvssv3.AttackComplexity.UNRECOGNIZED : result; } /** - * - * *
      * This metric describes the conditions beyond the attacker's control that
      * must exist in order to exploit the vulnerability.
      * 
* * .google.cloud.securitycenter.v1.Cvssv3.AttackComplexity attack_complexity = 6; - * * @param value The attackComplexity to set. * @return This builder for chaining. */ - public Builder setAttackComplexity( - com.google.cloud.securitycenter.v1.Cvssv3.AttackComplexity value) { + public Builder setAttackComplexity(com.google.cloud.securitycenter.v1.Cvssv3.AttackComplexity value) { if (value == null) { throw new NullPointerException(); } - + attackComplexity_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * This metric describes the conditions beyond the attacker's control that
      * must exist in order to exploit the vulnerability.
      * 
* * .google.cloud.securitycenter.v1.Cvssv3.AttackComplexity attack_complexity = 6; - * * @return This builder for chaining. */ public Builder clearAttackComplexity() { - + attackComplexity_ = 0; onChanged(); return this; @@ -2291,103 +2007,78 @@ public Builder clearAttackComplexity() { private int privilegesRequired_ = 0; /** - * - * *
      * This metric describes the level of privileges an attacker must possess
      * before successfully exploiting the vulnerability.
      * 
* - * .google.cloud.securitycenter.v1.Cvssv3.PrivilegesRequired privileges_required = 7; - * - * + * .google.cloud.securitycenter.v1.Cvssv3.PrivilegesRequired privileges_required = 7; * @return The enum numeric value on the wire for privilegesRequired. */ - @java.lang.Override - public int getPrivilegesRequiredValue() { + @java.lang.Override public int getPrivilegesRequiredValue() { return privilegesRequired_; } /** - * - * *
      * This metric describes the level of privileges an attacker must possess
      * before successfully exploiting the vulnerability.
      * 
* - * .google.cloud.securitycenter.v1.Cvssv3.PrivilegesRequired privileges_required = 7; - * - * + * .google.cloud.securitycenter.v1.Cvssv3.PrivilegesRequired privileges_required = 7; * @param value The enum numeric value on the wire for privilegesRequired to set. * @return This builder for chaining. */ public Builder setPrivilegesRequiredValue(int value) { - + privilegesRequired_ = value; onChanged(); return this; } /** - * - * *
      * This metric describes the level of privileges an attacker must possess
      * before successfully exploiting the vulnerability.
      * 
* - * .google.cloud.securitycenter.v1.Cvssv3.PrivilegesRequired privileges_required = 7; - * - * + * .google.cloud.securitycenter.v1.Cvssv3.PrivilegesRequired privileges_required = 7; * @return The privilegesRequired. */ @java.lang.Override public com.google.cloud.securitycenter.v1.Cvssv3.PrivilegesRequired getPrivilegesRequired() { @SuppressWarnings("deprecation") - com.google.cloud.securitycenter.v1.Cvssv3.PrivilegesRequired result = - com.google.cloud.securitycenter.v1.Cvssv3.PrivilegesRequired.valueOf(privilegesRequired_); - return result == null - ? com.google.cloud.securitycenter.v1.Cvssv3.PrivilegesRequired.UNRECOGNIZED - : result; + com.google.cloud.securitycenter.v1.Cvssv3.PrivilegesRequired result = com.google.cloud.securitycenter.v1.Cvssv3.PrivilegesRequired.valueOf(privilegesRequired_); + return result == null ? com.google.cloud.securitycenter.v1.Cvssv3.PrivilegesRequired.UNRECOGNIZED : result; } /** - * - * *
      * This metric describes the level of privileges an attacker must possess
      * before successfully exploiting the vulnerability.
      * 
* - * .google.cloud.securitycenter.v1.Cvssv3.PrivilegesRequired privileges_required = 7; - * - * + * .google.cloud.securitycenter.v1.Cvssv3.PrivilegesRequired privileges_required = 7; * @param value The privilegesRequired to set. * @return This builder for chaining. */ - public Builder setPrivilegesRequired( - com.google.cloud.securitycenter.v1.Cvssv3.PrivilegesRequired value) { + public Builder setPrivilegesRequired(com.google.cloud.securitycenter.v1.Cvssv3.PrivilegesRequired value) { if (value == null) { throw new NullPointerException(); } - + privilegesRequired_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * This metric describes the level of privileges an attacker must possess
      * before successfully exploiting the vulnerability.
      * 
* - * .google.cloud.securitycenter.v1.Cvssv3.PrivilegesRequired privileges_required = 7; - * - * + * .google.cloud.securitycenter.v1.Cvssv3.PrivilegesRequired privileges_required = 7; * @return This builder for chaining. */ public Builder clearPrivilegesRequired() { - + privilegesRequired_ = 0; onChanged(); return this; @@ -2395,8 +2086,6 @@ public Builder clearPrivilegesRequired() { private int userInteraction_ = 0; /** - * - * *
      * This metric captures the requirement for a human user, other than the
      * attacker, to participate in the successful compromise of the vulnerable
@@ -2404,16 +2093,12 @@ public Builder clearPrivilegesRequired() {
      * 
* * .google.cloud.securitycenter.v1.Cvssv3.UserInteraction user_interaction = 8; - * * @return The enum numeric value on the wire for userInteraction. */ - @java.lang.Override - public int getUserInteractionValue() { + @java.lang.Override public int getUserInteractionValue() { return userInteraction_; } /** - * - * *
      * This metric captures the requirement for a human user, other than the
      * attacker, to participate in the successful compromise of the vulnerable
@@ -2421,19 +2106,16 @@ public int getUserInteractionValue() {
      * 
* * .google.cloud.securitycenter.v1.Cvssv3.UserInteraction user_interaction = 8; - * * @param value The enum numeric value on the wire for userInteraction to set. * @return This builder for chaining. */ public Builder setUserInteractionValue(int value) { - + userInteraction_ = value; onChanged(); return this; } /** - * - * *
      * This metric captures the requirement for a human user, other than the
      * attacker, to participate in the successful compromise of the vulnerable
@@ -2441,21 +2123,15 @@ public Builder setUserInteractionValue(int value) {
      * 
* * .google.cloud.securitycenter.v1.Cvssv3.UserInteraction user_interaction = 8; - * * @return The userInteraction. */ @java.lang.Override public com.google.cloud.securitycenter.v1.Cvssv3.UserInteraction getUserInteraction() { @SuppressWarnings("deprecation") - com.google.cloud.securitycenter.v1.Cvssv3.UserInteraction result = - com.google.cloud.securitycenter.v1.Cvssv3.UserInteraction.valueOf(userInteraction_); - return result == null - ? com.google.cloud.securitycenter.v1.Cvssv3.UserInteraction.UNRECOGNIZED - : result; + com.google.cloud.securitycenter.v1.Cvssv3.UserInteraction result = com.google.cloud.securitycenter.v1.Cvssv3.UserInteraction.valueOf(userInteraction_); + return result == null ? com.google.cloud.securitycenter.v1.Cvssv3.UserInteraction.UNRECOGNIZED : result; } /** - * - * *
      * This metric captures the requirement for a human user, other than the
      * attacker, to participate in the successful compromise of the vulnerable
@@ -2463,23 +2139,19 @@ public com.google.cloud.securitycenter.v1.Cvssv3.UserInteraction getUserInteract
      * 
* * .google.cloud.securitycenter.v1.Cvssv3.UserInteraction user_interaction = 8; - * * @param value The userInteraction to set. * @return This builder for chaining. */ - public Builder setUserInteraction( - com.google.cloud.securitycenter.v1.Cvssv3.UserInteraction value) { + public Builder setUserInteraction(com.google.cloud.securitycenter.v1.Cvssv3.UserInteraction value) { if (value == null) { throw new NullPointerException(); } - + userInteraction_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * This metric captures the requirement for a human user, other than the
      * attacker, to participate in the successful compromise of the vulnerable
@@ -2487,11 +2159,10 @@ public Builder setUserInteraction(
      * 
* * .google.cloud.securitycenter.v1.Cvssv3.UserInteraction user_interaction = 8; - * * @return This builder for chaining. */ public Builder clearUserInteraction() { - + userInteraction_ = 0; onChanged(); return this; @@ -2499,69 +2170,55 @@ public Builder clearUserInteraction() { private int scope_ = 0; /** - * - * *
      * The Scope metric captures whether a vulnerability in one vulnerable
      * component impacts resources in components beyond its security scope.
      * 
* * .google.cloud.securitycenter.v1.Cvssv3.Scope scope = 9; - * * @return The enum numeric value on the wire for scope. */ - @java.lang.Override - public int getScopeValue() { + @java.lang.Override public int getScopeValue() { return scope_; } /** - * - * *
      * The Scope metric captures whether a vulnerability in one vulnerable
      * component impacts resources in components beyond its security scope.
      * 
* * .google.cloud.securitycenter.v1.Cvssv3.Scope scope = 9; - * * @param value The enum numeric value on the wire for scope to set. * @return This builder for chaining. */ public Builder setScopeValue(int value) { - + scope_ = value; onChanged(); return this; } /** - * - * *
      * The Scope metric captures whether a vulnerability in one vulnerable
      * component impacts resources in components beyond its security scope.
      * 
* * .google.cloud.securitycenter.v1.Cvssv3.Scope scope = 9; - * * @return The scope. */ @java.lang.Override public com.google.cloud.securitycenter.v1.Cvssv3.Scope getScope() { @SuppressWarnings("deprecation") - com.google.cloud.securitycenter.v1.Cvssv3.Scope result = - com.google.cloud.securitycenter.v1.Cvssv3.Scope.valueOf(scope_); + com.google.cloud.securitycenter.v1.Cvssv3.Scope result = com.google.cloud.securitycenter.v1.Cvssv3.Scope.valueOf(scope_); return result == null ? com.google.cloud.securitycenter.v1.Cvssv3.Scope.UNRECOGNIZED : result; } /** - * - * *
      * The Scope metric captures whether a vulnerability in one vulnerable
      * component impacts resources in components beyond its security scope.
      * 
* * .google.cloud.securitycenter.v1.Cvssv3.Scope scope = 9; - * * @param value The scope to set. * @return This builder for chaining. */ @@ -2569,25 +2226,22 @@ public Builder setScope(com.google.cloud.securitycenter.v1.Cvssv3.Scope value) { if (value == null) { throw new NullPointerException(); } - + scope_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The Scope metric captures whether a vulnerability in one vulnerable
      * component impacts resources in components beyond its security scope.
      * 
* * .google.cloud.securitycenter.v1.Cvssv3.Scope scope = 9; - * * @return This builder for chaining. */ public Builder clearScope() { - + scope_ = 0; onChanged(); return this; @@ -2595,8 +2249,6 @@ public Builder clearScope() { private int confidentialityImpact_ = 0; /** - * - * *
      * This metric measures the impact to the confidentiality of the information
      * resources managed by a software component due to a successfully exploited
@@ -2604,16 +2256,12 @@ public Builder clearScope() {
      * 
* * .google.cloud.securitycenter.v1.Cvssv3.Impact confidentiality_impact = 10; - * * @return The enum numeric value on the wire for confidentialityImpact. */ - @java.lang.Override - public int getConfidentialityImpactValue() { + @java.lang.Override public int getConfidentialityImpactValue() { return confidentialityImpact_; } /** - * - * *
      * This metric measures the impact to the confidentiality of the information
      * resources managed by a software component due to a successfully exploited
@@ -2621,19 +2269,16 @@ public int getConfidentialityImpactValue() {
      * 
* * .google.cloud.securitycenter.v1.Cvssv3.Impact confidentiality_impact = 10; - * * @param value The enum numeric value on the wire for confidentialityImpact to set. * @return This builder for chaining. */ public Builder setConfidentialityImpactValue(int value) { - + confidentialityImpact_ = value; onChanged(); return this; } /** - * - * *
      * This metric measures the impact to the confidentiality of the information
      * resources managed by a software component due to a successfully exploited
@@ -2641,21 +2286,15 @@ public Builder setConfidentialityImpactValue(int value) {
      * 
* * .google.cloud.securitycenter.v1.Cvssv3.Impact confidentiality_impact = 10; - * * @return The confidentialityImpact. */ @java.lang.Override public com.google.cloud.securitycenter.v1.Cvssv3.Impact getConfidentialityImpact() { @SuppressWarnings("deprecation") - com.google.cloud.securitycenter.v1.Cvssv3.Impact result = - com.google.cloud.securitycenter.v1.Cvssv3.Impact.valueOf(confidentialityImpact_); - return result == null - ? com.google.cloud.securitycenter.v1.Cvssv3.Impact.UNRECOGNIZED - : result; + com.google.cloud.securitycenter.v1.Cvssv3.Impact result = com.google.cloud.securitycenter.v1.Cvssv3.Impact.valueOf(confidentialityImpact_); + return result == null ? com.google.cloud.securitycenter.v1.Cvssv3.Impact.UNRECOGNIZED : result; } /** - * - * *
      * This metric measures the impact to the confidentiality of the information
      * resources managed by a software component due to a successfully exploited
@@ -2663,23 +2302,19 @@ public com.google.cloud.securitycenter.v1.Cvssv3.Impact getConfidentialityImpact
      * 
* * .google.cloud.securitycenter.v1.Cvssv3.Impact confidentiality_impact = 10; - * * @param value The confidentialityImpact to set. * @return This builder for chaining. */ - public Builder setConfidentialityImpact( - com.google.cloud.securitycenter.v1.Cvssv3.Impact value) { + public Builder setConfidentialityImpact(com.google.cloud.securitycenter.v1.Cvssv3.Impact value) { if (value == null) { throw new NullPointerException(); } - + confidentialityImpact_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * This metric measures the impact to the confidentiality of the information
      * resources managed by a software component due to a successfully exploited
@@ -2687,11 +2322,10 @@ public Builder setConfidentialityImpact(
      * 
* * .google.cloud.securitycenter.v1.Cvssv3.Impact confidentiality_impact = 10; - * * @return This builder for chaining. */ public Builder clearConfidentialityImpact() { - + confidentialityImpact_ = 0; onChanged(); return this; @@ -2699,71 +2333,55 @@ public Builder clearConfidentialityImpact() { private int integrityImpact_ = 0; /** - * - * *
      * This metric measures the impact to integrity of a successfully exploited
      * vulnerability.
      * 
* * .google.cloud.securitycenter.v1.Cvssv3.Impact integrity_impact = 11; - * * @return The enum numeric value on the wire for integrityImpact. */ - @java.lang.Override - public int getIntegrityImpactValue() { + @java.lang.Override public int getIntegrityImpactValue() { return integrityImpact_; } /** - * - * *
      * This metric measures the impact to integrity of a successfully exploited
      * vulnerability.
      * 
* * .google.cloud.securitycenter.v1.Cvssv3.Impact integrity_impact = 11; - * * @param value The enum numeric value on the wire for integrityImpact to set. * @return This builder for chaining. */ public Builder setIntegrityImpactValue(int value) { - + integrityImpact_ = value; onChanged(); return this; } /** - * - * *
      * This metric measures the impact to integrity of a successfully exploited
      * vulnerability.
      * 
* * .google.cloud.securitycenter.v1.Cvssv3.Impact integrity_impact = 11; - * * @return The integrityImpact. */ @java.lang.Override public com.google.cloud.securitycenter.v1.Cvssv3.Impact getIntegrityImpact() { @SuppressWarnings("deprecation") - com.google.cloud.securitycenter.v1.Cvssv3.Impact result = - com.google.cloud.securitycenter.v1.Cvssv3.Impact.valueOf(integrityImpact_); - return result == null - ? com.google.cloud.securitycenter.v1.Cvssv3.Impact.UNRECOGNIZED - : result; + com.google.cloud.securitycenter.v1.Cvssv3.Impact result = com.google.cloud.securitycenter.v1.Cvssv3.Impact.valueOf(integrityImpact_); + return result == null ? com.google.cloud.securitycenter.v1.Cvssv3.Impact.UNRECOGNIZED : result; } /** - * - * *
      * This metric measures the impact to integrity of a successfully exploited
      * vulnerability.
      * 
* * .google.cloud.securitycenter.v1.Cvssv3.Impact integrity_impact = 11; - * * @param value The integrityImpact to set. * @return This builder for chaining. */ @@ -2771,25 +2389,22 @@ public Builder setIntegrityImpact(com.google.cloud.securitycenter.v1.Cvssv3.Impa if (value == null) { throw new NullPointerException(); } - + integrityImpact_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * This metric measures the impact to integrity of a successfully exploited
      * vulnerability.
      * 
* * .google.cloud.securitycenter.v1.Cvssv3.Impact integrity_impact = 11; - * * @return This builder for chaining. */ public Builder clearIntegrityImpact() { - + integrityImpact_ = 0; onChanged(); return this; @@ -2797,71 +2412,55 @@ public Builder clearIntegrityImpact() { private int availabilityImpact_ = 0; /** - * - * *
      * This metric measures the impact to the availability of the impacted
      * component resulting from a successfully exploited vulnerability.
      * 
* * .google.cloud.securitycenter.v1.Cvssv3.Impact availability_impact = 12; - * * @return The enum numeric value on the wire for availabilityImpact. */ - @java.lang.Override - public int getAvailabilityImpactValue() { + @java.lang.Override public int getAvailabilityImpactValue() { return availabilityImpact_; } /** - * - * *
      * This metric measures the impact to the availability of the impacted
      * component resulting from a successfully exploited vulnerability.
      * 
* * .google.cloud.securitycenter.v1.Cvssv3.Impact availability_impact = 12; - * * @param value The enum numeric value on the wire for availabilityImpact to set. * @return This builder for chaining. */ public Builder setAvailabilityImpactValue(int value) { - + availabilityImpact_ = value; onChanged(); return this; } /** - * - * *
      * This metric measures the impact to the availability of the impacted
      * component resulting from a successfully exploited vulnerability.
      * 
* * .google.cloud.securitycenter.v1.Cvssv3.Impact availability_impact = 12; - * * @return The availabilityImpact. */ @java.lang.Override public com.google.cloud.securitycenter.v1.Cvssv3.Impact getAvailabilityImpact() { @SuppressWarnings("deprecation") - com.google.cloud.securitycenter.v1.Cvssv3.Impact result = - com.google.cloud.securitycenter.v1.Cvssv3.Impact.valueOf(availabilityImpact_); - return result == null - ? com.google.cloud.securitycenter.v1.Cvssv3.Impact.UNRECOGNIZED - : result; + com.google.cloud.securitycenter.v1.Cvssv3.Impact result = com.google.cloud.securitycenter.v1.Cvssv3.Impact.valueOf(availabilityImpact_); + return result == null ? com.google.cloud.securitycenter.v1.Cvssv3.Impact.UNRECOGNIZED : result; } /** - * - * *
      * This metric measures the impact to the availability of the impacted
      * component resulting from a successfully exploited vulnerability.
      * 
* * .google.cloud.securitycenter.v1.Cvssv3.Impact availability_impact = 12; - * * @param value The availabilityImpact to set. * @return This builder for chaining. */ @@ -2869,32 +2468,29 @@ public Builder setAvailabilityImpact(com.google.cloud.securitycenter.v1.Cvssv3.I if (value == null) { throw new NullPointerException(); } - + availabilityImpact_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * This metric measures the impact to the availability of the impacted
      * component resulting from a successfully exploited vulnerability.
      * 
* * .google.cloud.securitycenter.v1.Cvssv3.Impact availability_impact = 12; - * * @return This builder for chaining. */ public Builder clearAvailabilityImpact() { - + availabilityImpact_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2904,12 +2500,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.securitycenter.v1.Cvssv3) } // @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1.Cvssv3) private static final com.google.cloud.securitycenter.v1.Cvssv3 DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.securitycenter.v1.Cvssv3(); } @@ -2918,27 +2514,27 @@ public static com.google.cloud.securitycenter.v1.Cvssv3 getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Cvssv3 parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - 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 Cvssv3 parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + 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; @@ -2953,4 +2549,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.securitycenter.v1.Cvssv3 getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Cvssv3OrBuilder.java b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Cvssv3OrBuilder.java similarity index 88% rename from java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Cvssv3OrBuilder.java rename to owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Cvssv3OrBuilder.java index 057b0e6854a9..2f70ec964559 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Cvssv3OrBuilder.java +++ b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Cvssv3OrBuilder.java @@ -1,44 +1,23 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/securitycenter/v1/vulnerability.proto package com.google.cloud.securitycenter.v1; -public interface Cvssv3OrBuilder - extends +public interface Cvssv3OrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.securitycenter.v1.Cvssv3) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The base score is a function of the base metric scores.
    * 
* * double base_score = 1; - * * @return The baseScore. */ double getBaseScore(); /** - * - * *
    * Base Metrics
    * Represents the intrinsic characteristics of a vulnerability that are
@@ -48,13 +27,10 @@ public interface Cvssv3OrBuilder
    * 
* * .google.cloud.securitycenter.v1.Cvssv3.AttackVector attack_vector = 5; - * * @return The enum numeric value on the wire for attackVector. */ int getAttackVectorValue(); /** - * - * *
    * Base Metrics
    * Represents the intrinsic characteristics of a vulnerability that are
@@ -64,68 +40,53 @@ public interface Cvssv3OrBuilder
    * 
* * .google.cloud.securitycenter.v1.Cvssv3.AttackVector attack_vector = 5; - * * @return The attackVector. */ com.google.cloud.securitycenter.v1.Cvssv3.AttackVector getAttackVector(); /** - * - * *
    * This metric describes the conditions beyond the attacker's control that
    * must exist in order to exploit the vulnerability.
    * 
* * .google.cloud.securitycenter.v1.Cvssv3.AttackComplexity attack_complexity = 6; - * * @return The enum numeric value on the wire for attackComplexity. */ int getAttackComplexityValue(); /** - * - * *
    * This metric describes the conditions beyond the attacker's control that
    * must exist in order to exploit the vulnerability.
    * 
* * .google.cloud.securitycenter.v1.Cvssv3.AttackComplexity attack_complexity = 6; - * * @return The attackComplexity. */ com.google.cloud.securitycenter.v1.Cvssv3.AttackComplexity getAttackComplexity(); /** - * - * *
    * This metric describes the level of privileges an attacker must possess
    * before successfully exploiting the vulnerability.
    * 
* * .google.cloud.securitycenter.v1.Cvssv3.PrivilegesRequired privileges_required = 7; - * * @return The enum numeric value on the wire for privilegesRequired. */ int getPrivilegesRequiredValue(); /** - * - * *
    * This metric describes the level of privileges an attacker must possess
    * before successfully exploiting the vulnerability.
    * 
* * .google.cloud.securitycenter.v1.Cvssv3.PrivilegesRequired privileges_required = 7; - * * @return The privilegesRequired. */ com.google.cloud.securitycenter.v1.Cvssv3.PrivilegesRequired getPrivilegesRequired(); /** - * - * *
    * This metric captures the requirement for a human user, other than the
    * attacker, to participate in the successful compromise of the vulnerable
@@ -133,13 +94,10 @@ public interface Cvssv3OrBuilder
    * 
* * .google.cloud.securitycenter.v1.Cvssv3.UserInteraction user_interaction = 8; - * * @return The enum numeric value on the wire for userInteraction. */ int getUserInteractionValue(); /** - * - * *
    * This metric captures the requirement for a human user, other than the
    * attacker, to participate in the successful compromise of the vulnerable
@@ -147,41 +105,32 @@ public interface Cvssv3OrBuilder
    * 
* * .google.cloud.securitycenter.v1.Cvssv3.UserInteraction user_interaction = 8; - * * @return The userInteraction. */ com.google.cloud.securitycenter.v1.Cvssv3.UserInteraction getUserInteraction(); /** - * - * *
    * The Scope metric captures whether a vulnerability in one vulnerable
    * component impacts resources in components beyond its security scope.
    * 
* * .google.cloud.securitycenter.v1.Cvssv3.Scope scope = 9; - * * @return The enum numeric value on the wire for scope. */ int getScopeValue(); /** - * - * *
    * The Scope metric captures whether a vulnerability in one vulnerable
    * component impacts resources in components beyond its security scope.
    * 
* * .google.cloud.securitycenter.v1.Cvssv3.Scope scope = 9; - * * @return The scope. */ com.google.cloud.securitycenter.v1.Cvssv3.Scope getScope(); /** - * - * *
    * This metric measures the impact to the confidentiality of the information
    * resources managed by a software component due to a successfully exploited
@@ -189,13 +138,10 @@ public interface Cvssv3OrBuilder
    * 
* * .google.cloud.securitycenter.v1.Cvssv3.Impact confidentiality_impact = 10; - * * @return The enum numeric value on the wire for confidentialityImpact. */ int getConfidentialityImpactValue(); /** - * - * *
    * This metric measures the impact to the confidentiality of the information
    * resources managed by a software component due to a successfully exploited
@@ -203,61 +149,48 @@ public interface Cvssv3OrBuilder
    * 
* * .google.cloud.securitycenter.v1.Cvssv3.Impact confidentiality_impact = 10; - * * @return The confidentialityImpact. */ com.google.cloud.securitycenter.v1.Cvssv3.Impact getConfidentialityImpact(); /** - * - * *
    * This metric measures the impact to integrity of a successfully exploited
    * vulnerability.
    * 
* * .google.cloud.securitycenter.v1.Cvssv3.Impact integrity_impact = 11; - * * @return The enum numeric value on the wire for integrityImpact. */ int getIntegrityImpactValue(); /** - * - * *
    * This metric measures the impact to integrity of a successfully exploited
    * vulnerability.
    * 
* * .google.cloud.securitycenter.v1.Cvssv3.Impact integrity_impact = 11; - * * @return The integrityImpact. */ com.google.cloud.securitycenter.v1.Cvssv3.Impact getIntegrityImpact(); /** - * - * *
    * This metric measures the impact to the availability of the impacted
    * component resulting from a successfully exploited vulnerability.
    * 
* * .google.cloud.securitycenter.v1.Cvssv3.Impact availability_impact = 12; - * * @return The enum numeric value on the wire for availabilityImpact. */ int getAvailabilityImpactValue(); /** - * - * *
    * This metric measures the impact to the availability of the impacted
    * component resulting from a successfully exploited vulnerability.
    * 
* * .google.cloud.securitycenter.v1.Cvssv3.Impact availability_impact = 12; - * * @return The availabilityImpact. */ com.google.cloud.securitycenter.v1.Cvssv3.Impact getAvailabilityImpact(); diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Database.java b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Database.java similarity index 72% rename from java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Database.java rename to owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Database.java index b652502c83c5..dbd163a696b2 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Database.java +++ b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Database.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/securitycenter/v1/database.proto package com.google.cloud.securitycenter.v1; /** - * - * *
  * Represents database access information, such as queries.
  * A database may be a sub-resource of an instance (as in the case of CloudSQL
@@ -33,16 +16,15 @@
  *
  * Protobuf type {@code google.cloud.securitycenter.v1.Database}
  */
-public final class Database extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Database extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.securitycenter.v1.Database)
     DatabaseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Database.newBuilder() to construct.
   private Database(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Database() {
     name_ = "";
     displayName_ = "";
@@ -53,42 +35,38 @@ private Database() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Database();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.securitycenter.v1.DatabaseProto
-        .internal_static_google_cloud_securitycenter_v1_Database_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.securitycenter.v1.DatabaseProto.internal_static_google_cloud_securitycenter_v1_Database_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.securitycenter.v1.DatabaseProto
-        .internal_static_google_cloud_securitycenter_v1_Database_fieldAccessorTable
+    return com.google.cloud.securitycenter.v1.DatabaseProto.internal_static_google_cloud_securitycenter_v1_Database_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.securitycenter.v1.Database.class,
-            com.google.cloud.securitycenter.v1.Database.Builder.class);
+            com.google.cloud.securitycenter.v1.Database.class, com.google.cloud.securitycenter.v1.Database.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * The full resource name of the database the user connected to, if it is
    * supported by CAI. (https://google.aip.dev/122#full-resource-names)
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -97,30 +75,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The full resource name of the database the user connected to, if it is
    * supported by CAI. (https://google.aip.dev/122#full-resource-names)
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -131,14 +109,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object displayName_; /** - * - * *
    * The human readable name of the database the user connected to.
    * 
* * string display_name = 2; - * * @return The displayName. */ @java.lang.Override @@ -147,29 +122,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
    * The human readable name of the database the user connected to.
    * 
* * string display_name = 2; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -180,15 +155,12 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int USER_NAME_FIELD_NUMBER = 3; private volatile java.lang.Object userName_; /** - * - * *
    * The username used to connect to the DB. This may not necessarily be an IAM
    * principal, and has no required format.
    * 
* * string user_name = 3; - * * @return The userName. */ @java.lang.Override @@ -197,30 +169,30 @@ public java.lang.String getUserName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); userName_ = s; return s; } } /** - * - * *
    * The username used to connect to the DB. This may not necessarily be an IAM
    * principal, and has no required format.
    * 
* * string user_name = 3; - * * @return The bytes for userName. */ @java.lang.Override - public com.google.protobuf.ByteString getUserNameBytes() { + public com.google.protobuf.ByteString + getUserNameBytes() { java.lang.Object ref = userName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); userName_ = b; return b; } else { @@ -231,14 +203,11 @@ public com.google.protobuf.ByteString getUserNameBytes() { public static final int QUERY_FIELD_NUMBER = 4; private volatile java.lang.Object query_; /** - * - * *
    * The SQL statement associated with the relevant access.
    * 
* * string query = 4; - * * @return The query. */ @java.lang.Override @@ -247,29 +216,29 @@ public java.lang.String getQuery() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); query_ = s; return s; } } /** - * - * *
    * The SQL statement associated with the relevant access.
    * 
* * string query = 4; - * * @return The bytes for query. */ @java.lang.Override - public com.google.protobuf.ByteString getQueryBytes() { + public com.google.protobuf.ByteString + getQueryBytes() { java.lang.Object ref = query_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); query_ = b; return b; } else { @@ -280,45 +249,37 @@ public com.google.protobuf.ByteString getQueryBytes() { public static final int GRANTEES_FIELD_NUMBER = 5; private com.google.protobuf.LazyStringList grantees_; /** - * - * *
    * The target usernames/roles/groups of a SQL privilege grant (not an IAM
    * policy change).
    * 
* * repeated string grantees = 5; - * * @return A list containing the grantees. */ - public com.google.protobuf.ProtocolStringList getGranteesList() { + public com.google.protobuf.ProtocolStringList + getGranteesList() { return grantees_; } /** - * - * *
    * The target usernames/roles/groups of a SQL privilege grant (not an IAM
    * policy change).
    * 
* * repeated string grantees = 5; - * * @return The count of grantees. */ public int getGranteesCount() { return grantees_.size(); } /** - * - * *
    * The target usernames/roles/groups of a SQL privilege grant (not an IAM
    * policy change).
    * 
* * repeated string grantees = 5; - * * @param index The index of the element to return. * @return The grantees at the given index. */ @@ -326,24 +287,21 @@ public java.lang.String getGrantees(int index) { return grantees_.get(index); } /** - * - * *
    * The target usernames/roles/groups of a SQL privilege grant (not an IAM
    * policy change).
    * 
* * repeated string grantees = 5; - * * @param index The index of the value to return. * @return The bytes of the grantees at the given index. */ - public com.google.protobuf.ByteString getGranteesBytes(int index) { + public com.google.protobuf.ByteString + getGranteesBytes(int index) { return grantees_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -355,7 +313,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -408,19 +367,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.securitycenter.v1.Database)) { return super.equals(obj); } - com.google.cloud.securitycenter.v1.Database other = - (com.google.cloud.securitycenter.v1.Database) obj; - - if (!getName().equals(other.getName())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!getUserName().equals(other.getUserName())) return false; - if (!getQuery().equals(other.getQuery())) return false; - if (!getGranteesList().equals(other.getGranteesList())) return false; + com.google.cloud.securitycenter.v1.Database other = (com.google.cloud.securitycenter.v1.Database) obj; + + if (!getName() + .equals(other.getName())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!getUserName() + .equals(other.getUserName())) return false; + if (!getQuery() + .equals(other.getQuery())) return false; + if (!getGranteesList() + .equals(other.getGranteesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -449,104 +412,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.securitycenter.v1.Database parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.securitycenter.v1.Database parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.Database parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.Database parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.Database parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.Database parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.Database parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.Database parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.Database parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.securitycenter.v1.Database parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.securitycenter.v1.Database parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.Database parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.Database parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.Database parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.securitycenter.v1.Database prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 database access information, such as queries.
    * A database may be a sub-resource of an instance (as in the case of CloudSQL
@@ -559,32 +515,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.securitycenter.v1.Database}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.securitycenter.v1.Database)
       com.google.cloud.securitycenter.v1.DatabaseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.securitycenter.v1.DatabaseProto
-          .internal_static_google_cloud_securitycenter_v1_Database_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.securitycenter.v1.DatabaseProto.internal_static_google_cloud_securitycenter_v1_Database_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.securitycenter.v1.DatabaseProto
-          .internal_static_google_cloud_securitycenter_v1_Database_fieldAccessorTable
+      return com.google.cloud.securitycenter.v1.DatabaseProto.internal_static_google_cloud_securitycenter_v1_Database_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.securitycenter.v1.Database.class,
-              com.google.cloud.securitycenter.v1.Database.Builder.class);
+              com.google.cloud.securitycenter.v1.Database.class, com.google.cloud.securitycenter.v1.Database.Builder.class);
     }
 
     // Construct using com.google.cloud.securitycenter.v1.Database.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();
@@ -602,9 +559,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.securitycenter.v1.DatabaseProto
-          .internal_static_google_cloud_securitycenter_v1_Database_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.securitycenter.v1.DatabaseProto.internal_static_google_cloud_securitycenter_v1_Database_descriptor;
     }
 
     @java.lang.Override
@@ -623,8 +580,7 @@ public com.google.cloud.securitycenter.v1.Database build() {
 
     @java.lang.Override
     public com.google.cloud.securitycenter.v1.Database buildPartial() {
-      com.google.cloud.securitycenter.v1.Database result =
-          new com.google.cloud.securitycenter.v1.Database(this);
+      com.google.cloud.securitycenter.v1.Database result = new com.google.cloud.securitycenter.v1.Database(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       result.displayName_ = displayName_;
@@ -643,39 +599,38 @@ public com.google.cloud.securitycenter.v1.Database buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.securitycenter.v1.Database) {
-        return mergeFrom((com.google.cloud.securitycenter.v1.Database) other);
+        return mergeFrom((com.google.cloud.securitycenter.v1.Database)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -736,44 +691,38 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
+            case 10: {
+              name_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 10
-            case 18:
-              {
-                displayName_ = input.readStringRequireUtf8();
+              break;
+            } // case 10
+            case 18: {
+              displayName_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 18
-            case 26:
-              {
-                userName_ = input.readStringRequireUtf8();
+              break;
+            } // case 18
+            case 26: {
+              userName_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 26
-            case 34:
-              {
-                query_ = input.readStringRequireUtf8();
+              break;
+            } // case 26
+            case 34: {
+              query_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 34
-            case 42:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureGranteesIsMutable();
-                grantees_.add(s);
-                break;
-              } // case 42
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              break;
+            } // case 34
+            case 42: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureGranteesIsMutable();
+              grantees_.add(s);
+              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) {
@@ -783,26 +732,23 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * The full resource name of the database the user connected to, if it is
      * supported by CAI. (https://google.aip.dev/122#full-resource-names)
      * 
* * string name = 1; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -811,22 +757,21 @@ public java.lang.String getName() { } } /** - * - * *
      * The full resource name of the database the user connected to, if it is
      * supported by CAI. (https://google.aip.dev/122#full-resource-names)
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -834,64 +779,57 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The full resource name of the database the user connected to, if it is
      * supported by CAI. (https://google.aip.dev/122#full-resource-names)
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The full resource name of the database the user connected to, if it is
      * supported by CAI. (https://google.aip.dev/122#full-resource-names)
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The full resource name of the database the user connected to, if it is
      * supported by CAI. (https://google.aip.dev/122#full-resource-names)
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -899,20 +837,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * The human readable name of the database the user connected to.
      * 
* * string display_name = 2; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -921,21 +857,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * The human readable name of the database the user connected to.
      * 
* * string display_name = 2; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -943,61 +878,54 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * The human readable name of the database the user connected to.
      * 
* * string display_name = 2; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** - * - * *
      * The human readable name of the database the user connected to.
      * 
* * string display_name = 2; - * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** - * - * *
      * The human readable name of the database the user connected to.
      * 
* * string display_name = 2; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -1005,21 +933,19 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object userName_ = ""; /** - * - * *
      * The username used to connect to the DB. This may not necessarily be an IAM
      * principal, and has no required format.
      * 
* * string user_name = 3; - * * @return The userName. */ public java.lang.String getUserName() { java.lang.Object ref = userName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); userName_ = s; return s; @@ -1028,22 +954,21 @@ public java.lang.String getUserName() { } } /** - * - * *
      * The username used to connect to the DB. This may not necessarily be an IAM
      * principal, and has no required format.
      * 
* * string user_name = 3; - * * @return The bytes for userName. */ - public com.google.protobuf.ByteString getUserNameBytes() { + public com.google.protobuf.ByteString + getUserNameBytes() { java.lang.Object ref = userName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); userName_ = b; return b; } else { @@ -1051,64 +976,57 @@ public com.google.protobuf.ByteString getUserNameBytes() { } } /** - * - * *
      * The username used to connect to the DB. This may not necessarily be an IAM
      * principal, and has no required format.
      * 
* * string user_name = 3; - * * @param value The userName to set. * @return This builder for chaining. */ - public Builder setUserName(java.lang.String value) { + public Builder setUserName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + userName_ = value; onChanged(); return this; } /** - * - * *
      * The username used to connect to the DB. This may not necessarily be an IAM
      * principal, and has no required format.
      * 
* * string user_name = 3; - * * @return This builder for chaining. */ public Builder clearUserName() { - + userName_ = getDefaultInstance().getUserName(); onChanged(); return this; } /** - * - * *
      * The username used to connect to the DB. This may not necessarily be an IAM
      * principal, and has no required format.
      * 
* * string user_name = 3; - * * @param value The bytes for userName to set. * @return This builder for chaining. */ - public Builder setUserNameBytes(com.google.protobuf.ByteString value) { + public Builder setUserNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + userName_ = value; onChanged(); return this; @@ -1116,20 +1034,18 @@ public Builder setUserNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object query_ = ""; /** - * - * *
      * The SQL statement associated with the relevant access.
      * 
* * string query = 4; - * * @return The query. */ public java.lang.String getQuery() { java.lang.Object ref = query_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); query_ = s; return s; @@ -1138,21 +1054,20 @@ public java.lang.String getQuery() { } } /** - * - * *
      * The SQL statement associated with the relevant access.
      * 
* * string query = 4; - * * @return The bytes for query. */ - public com.google.protobuf.ByteString getQueryBytes() { + public com.google.protobuf.ByteString + getQueryBytes() { java.lang.Object ref = query_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); query_ = b; return b; } else { @@ -1160,115 +1075,98 @@ public com.google.protobuf.ByteString getQueryBytes() { } } /** - * - * *
      * The SQL statement associated with the relevant access.
      * 
* * string query = 4; - * * @param value The query to set. * @return This builder for chaining. */ - public Builder setQuery(java.lang.String value) { + public Builder setQuery( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + query_ = value; onChanged(); return this; } /** - * - * *
      * The SQL statement associated with the relevant access.
      * 
* * string query = 4; - * * @return This builder for chaining. */ public Builder clearQuery() { - + query_ = getDefaultInstance().getQuery(); onChanged(); return this; } /** - * - * *
      * The SQL statement associated with the relevant access.
      * 
* * string query = 4; - * * @param value The bytes for query to set. * @return This builder for chaining. */ - public Builder setQueryBytes(com.google.protobuf.ByteString value) { + public Builder setQueryBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + query_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList grantees_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList grantees_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureGranteesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { grantees_ = new com.google.protobuf.LazyStringArrayList(grantees_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * The target usernames/roles/groups of a SQL privilege grant (not an IAM
      * policy change).
      * 
* * repeated string grantees = 5; - * * @return A list containing the grantees. */ - public com.google.protobuf.ProtocolStringList getGranteesList() { + public com.google.protobuf.ProtocolStringList + getGranteesList() { return grantees_.getUnmodifiableView(); } /** - * - * *
      * The target usernames/roles/groups of a SQL privilege grant (not an IAM
      * policy change).
      * 
* * repeated string grantees = 5; - * * @return The count of grantees. */ public int getGranteesCount() { return grantees_.size(); } /** - * - * *
      * The target usernames/roles/groups of a SQL privilege grant (not an IAM
      * policy change).
      * 
* * repeated string grantees = 5; - * * @param index The index of the element to return. * @return The grantees at the given index. */ @@ -1276,95 +1174,85 @@ public java.lang.String getGrantees(int index) { return grantees_.get(index); } /** - * - * *
      * The target usernames/roles/groups of a SQL privilege grant (not an IAM
      * policy change).
      * 
* * repeated string grantees = 5; - * * @param index The index of the value to return. * @return The bytes of the grantees at the given index. */ - public com.google.protobuf.ByteString getGranteesBytes(int index) { + public com.google.protobuf.ByteString + getGranteesBytes(int index) { return grantees_.getByteString(index); } /** - * - * *
      * The target usernames/roles/groups of a SQL privilege grant (not an IAM
      * policy change).
      * 
* * repeated string grantees = 5; - * * @param index The index to set the value at. * @param value The grantees to set. * @return This builder for chaining. */ - public Builder setGrantees(int index, java.lang.String value) { + public Builder setGrantees( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureGranteesIsMutable(); + throw new NullPointerException(); + } + ensureGranteesIsMutable(); grantees_.set(index, value); onChanged(); return this; } /** - * - * *
      * The target usernames/roles/groups of a SQL privilege grant (not an IAM
      * policy change).
      * 
* * repeated string grantees = 5; - * * @param value The grantees to add. * @return This builder for chaining. */ - public Builder addGrantees(java.lang.String value) { + public Builder addGrantees( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureGranteesIsMutable(); + throw new NullPointerException(); + } + ensureGranteesIsMutable(); grantees_.add(value); onChanged(); return this; } /** - * - * *
      * The target usernames/roles/groups of a SQL privilege grant (not an IAM
      * policy change).
      * 
* * repeated string grantees = 5; - * * @param values The grantees to add. * @return This builder for chaining. */ - public Builder addAllGrantees(java.lang.Iterable values) { + public Builder addAllGrantees( + java.lang.Iterable values) { ensureGranteesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, grantees_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, grantees_); onChanged(); return this; } /** - * - * *
      * The target usernames/roles/groups of a SQL privilege grant (not an IAM
      * policy change).
      * 
* * repeated string grantees = 5; - * * @return This builder for chaining. */ public Builder clearGrantees() { @@ -1374,31 +1262,29 @@ public Builder clearGrantees() { return this; } /** - * - * *
      * The target usernames/roles/groups of a SQL privilege grant (not an IAM
      * policy change).
      * 
* * repeated string grantees = 5; - * * @param value The bytes of the grantees to add. * @return This builder for chaining. */ - public Builder addGranteesBytes(com.google.protobuf.ByteString value) { + public Builder addGranteesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureGranteesIsMutable(); grantees_.add(value); onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1408,12 +1294,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.securitycenter.v1.Database) } // @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1.Database) private static final com.google.cloud.securitycenter.v1.Database DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.securitycenter.v1.Database(); } @@ -1422,27 +1308,27 @@ public static com.google.cloud.securitycenter.v1.Database getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Database parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - 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 Database parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + 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; @@ -1457,4 +1343,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.securitycenter.v1.Database getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DatabaseOrBuilder.java b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DatabaseOrBuilder.java similarity index 73% rename from java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DatabaseOrBuilder.java rename to owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DatabaseOrBuilder.java index f8b48e443ad7..11f4f0f36e98 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DatabaseOrBuilder.java +++ b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DatabaseOrBuilder.java @@ -1,184 +1,138 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/securitycenter/v1/database.proto package com.google.cloud.securitycenter.v1; -public interface DatabaseOrBuilder - extends +public interface DatabaseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.securitycenter.v1.Database) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The full resource name of the database the user connected to, if it is
    * supported by CAI. (https://google.aip.dev/122#full-resource-names)
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The full resource name of the database the user connected to, if it is
    * supported by CAI. (https://google.aip.dev/122#full-resource-names)
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The human readable name of the database the user connected to.
    * 
* * string display_name = 2; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * The human readable name of the database the user connected to.
    * 
* * string display_name = 2; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * The username used to connect to the DB. This may not necessarily be an IAM
    * principal, and has no required format.
    * 
* * string user_name = 3; - * * @return The userName. */ java.lang.String getUserName(); /** - * - * *
    * The username used to connect to the DB. This may not necessarily be an IAM
    * principal, and has no required format.
    * 
* * string user_name = 3; - * * @return The bytes for userName. */ - com.google.protobuf.ByteString getUserNameBytes(); + com.google.protobuf.ByteString + getUserNameBytes(); /** - * - * *
    * The SQL statement associated with the relevant access.
    * 
* * string query = 4; - * * @return The query. */ java.lang.String getQuery(); /** - * - * *
    * The SQL statement associated with the relevant access.
    * 
* * string query = 4; - * * @return The bytes for query. */ - com.google.protobuf.ByteString getQueryBytes(); + com.google.protobuf.ByteString + getQueryBytes(); /** - * - * *
    * The target usernames/roles/groups of a SQL privilege grant (not an IAM
    * policy change).
    * 
* * repeated string grantees = 5; - * * @return A list containing the grantees. */ - java.util.List getGranteesList(); + java.util.List + getGranteesList(); /** - * - * *
    * The target usernames/roles/groups of a SQL privilege grant (not an IAM
    * policy change).
    * 
* * repeated string grantees = 5; - * * @return The count of grantees. */ int getGranteesCount(); /** - * - * *
    * The target usernames/roles/groups of a SQL privilege grant (not an IAM
    * policy change).
    * 
* * repeated string grantees = 5; - * * @param index The index of the element to return. * @return The grantees at the given index. */ java.lang.String getGrantees(int index); /** - * - * *
    * The target usernames/roles/groups of a SQL privilege grant (not an IAM
    * policy change).
    * 
* * repeated string grantees = 5; - * * @param index The index of the value to return. * @return The bytes of the grantees at the given index. */ - com.google.protobuf.ByteString getGranteesBytes(int index); + com.google.protobuf.ByteString + getGranteesBytes(int index); } diff --git a/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DatabaseProto.java b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DatabaseProto.java new file mode 100644 index 000000000000..b28d9f4411af --- /dev/null +++ b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DatabaseProto.java @@ -0,0 +1,56 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/securitycenter/v1/database.proto + +package com.google.cloud.securitycenter.v1; + +public final class DatabaseProto { + private DatabaseProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public 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_securitycenter_v1_Database_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_securitycenter_v1_Database_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n-google/cloud/securitycenter/v1/databas" + + "e.proto\022\036google.cloud.securitycenter.v1\"" + + "b\n\010Database\022\014\n\004name\030\001 \001(\t\022\024\n\014display_nam" + + "e\030\002 \001(\t\022\021\n\tuser_name\030\003 \001(\t\022\r\n\005query\030\004 \001(" + + "\t\022\020\n\010grantees\030\005 \003(\tB\351\001\n\"com.google.cloud" + + ".securitycenter.v1B\rDatabaseProtoP\001ZLgoo" + + "gle.golang.org/genproto/googleapis/cloud" + + "/securitycenter/v1;securitycenter\252\002\036Goog" + + "le.Cloud.SecurityCenter.V1\312\002\036Google\\Clou" + + "d\\SecurityCenter\\V1\352\002!Google::Cloud::Sec" + + "urityCenter::V1b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + }); + internal_static_google_cloud_securitycenter_v1_Database_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_securitycenter_v1_Database_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_securitycenter_v1_Database_descriptor, + new java.lang.String[] { "Name", "DisplayName", "UserName", "Query", "Grantees", }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DeleteBigQueryExportRequest.java b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DeleteBigQueryExportRequest.java similarity index 63% rename from java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DeleteBigQueryExportRequest.java rename to owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DeleteBigQueryExportRequest.java index 2e061e81ecd3..9fd1d95698f2 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DeleteBigQueryExportRequest.java +++ b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DeleteBigQueryExportRequest.java @@ -1,77 +1,56 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/securitycenter/v1/securitycenter_service.proto package com.google.cloud.securitycenter.v1; /** - * - * *
  * Request message for deleting a big query export.
  * 
* * Protobuf type {@code google.cloud.securitycenter.v1.DeleteBigQueryExportRequest} */ -public final class DeleteBigQueryExportRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteBigQueryExportRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.securitycenter.v1.DeleteBigQueryExportRequest) DeleteBigQueryExportRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteBigQueryExportRequest.newBuilder() to construct. private DeleteBigQueryExportRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteBigQueryExportRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteBigQueryExportRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.securitycenter.v1.SecuritycenterService - .internal_static_google_cloud_securitycenter_v1_DeleteBigQueryExportRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.securitycenter.v1.SecuritycenterService.internal_static_google_cloud_securitycenter_v1_DeleteBigQueryExportRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.securitycenter.v1.SecuritycenterService - .internal_static_google_cloud_securitycenter_v1_DeleteBigQueryExportRequest_fieldAccessorTable + return com.google.cloud.securitycenter.v1.SecuritycenterService.internal_static_google_cloud_securitycenter_v1_DeleteBigQueryExportRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.securitycenter.v1.DeleteBigQueryExportRequest.class, - com.google.cloud.securitycenter.v1.DeleteBigQueryExportRequest.Builder.class); + com.google.cloud.securitycenter.v1.DeleteBigQueryExportRequest.class, com.google.cloud.securitycenter.v1.DeleteBigQueryExportRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. Name of the big query export to delete. Its format is
    * organizations/{organization}/bigQueryExports/{export_id},
@@ -79,10 +58,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * projects/{project}/bigQueryExports/{export_id}
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -91,15 +67,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. Name of the big query export to delete. Its format is
    * organizations/{organization}/bigQueryExports/{export_id},
@@ -107,18 +82,17 @@ public java.lang.String getName() {
    * projects/{project}/bigQueryExports/{export_id}
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -127,7 +101,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -139,7 +112,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -163,15 +137,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.securitycenter.v1.DeleteBigQueryExportRequest)) { return super.equals(obj); } - com.google.cloud.securitycenter.v1.DeleteBigQueryExportRequest other = - (com.google.cloud.securitycenter.v1.DeleteBigQueryExportRequest) obj; + com.google.cloud.securitycenter.v1.DeleteBigQueryExportRequest other = (com.google.cloud.securitycenter.v1.DeleteBigQueryExportRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -191,136 +165,129 @@ public int hashCode() { } public static com.google.cloud.securitycenter.v1.DeleteBigQueryExportRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.DeleteBigQueryExportRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.DeleteBigQueryExportRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.DeleteBigQueryExportRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.securitycenter.v1.DeleteBigQueryExportRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.securitycenter.v1.DeleteBigQueryExportRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.DeleteBigQueryExportRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.securitycenter.v1.DeleteBigQueryExportRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.securitycenter.v1.DeleteBigQueryExportRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.DeleteBigQueryExportRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.securitycenter.v1.DeleteBigQueryExportRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.securitycenter.v1.DeleteBigQueryExportRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.DeleteBigQueryExportRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.DeleteBigQueryExportRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.DeleteBigQueryExportRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.securitycenter.v1.DeleteBigQueryExportRequest prototype) { + public static Builder newBuilder(com.google.cloud.securitycenter.v1.DeleteBigQueryExportRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 deleting a big query export.
    * 
* * Protobuf type {@code google.cloud.securitycenter.v1.DeleteBigQueryExportRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.securitycenter.v1.DeleteBigQueryExportRequest) com.google.cloud.securitycenter.v1.DeleteBigQueryExportRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.securitycenter.v1.SecuritycenterService - .internal_static_google_cloud_securitycenter_v1_DeleteBigQueryExportRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.securitycenter.v1.SecuritycenterService.internal_static_google_cloud_securitycenter_v1_DeleteBigQueryExportRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.securitycenter.v1.SecuritycenterService - .internal_static_google_cloud_securitycenter_v1_DeleteBigQueryExportRequest_fieldAccessorTable + return com.google.cloud.securitycenter.v1.SecuritycenterService.internal_static_google_cloud_securitycenter_v1_DeleteBigQueryExportRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.securitycenter.v1.DeleteBigQueryExportRequest.class, - com.google.cloud.securitycenter.v1.DeleteBigQueryExportRequest.Builder.class); + com.google.cloud.securitycenter.v1.DeleteBigQueryExportRequest.class, com.google.cloud.securitycenter.v1.DeleteBigQueryExportRequest.Builder.class); } // Construct using com.google.cloud.securitycenter.v1.DeleteBigQueryExportRequest.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(); @@ -330,14 +297,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.securitycenter.v1.SecuritycenterService - .internal_static_google_cloud_securitycenter_v1_DeleteBigQueryExportRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.securitycenter.v1.SecuritycenterService.internal_static_google_cloud_securitycenter_v1_DeleteBigQueryExportRequest_descriptor; } @java.lang.Override - public com.google.cloud.securitycenter.v1.DeleteBigQueryExportRequest - getDefaultInstanceForType() { + public com.google.cloud.securitycenter.v1.DeleteBigQueryExportRequest getDefaultInstanceForType() { return com.google.cloud.securitycenter.v1.DeleteBigQueryExportRequest.getDefaultInstance(); } @@ -352,8 +318,7 @@ public com.google.cloud.securitycenter.v1.DeleteBigQueryExportRequest build() { @java.lang.Override public com.google.cloud.securitycenter.v1.DeleteBigQueryExportRequest buildPartial() { - com.google.cloud.securitycenter.v1.DeleteBigQueryExportRequest result = - new com.google.cloud.securitycenter.v1.DeleteBigQueryExportRequest(this); + com.google.cloud.securitycenter.v1.DeleteBigQueryExportRequest result = new com.google.cloud.securitycenter.v1.DeleteBigQueryExportRequest(this); result.name_ = name_; onBuilt(); return result; @@ -363,39 +328,38 @@ public com.google.cloud.securitycenter.v1.DeleteBigQueryExportRequest buildParti public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.securitycenter.v1.DeleteBigQueryExportRequest) { - return mergeFrom((com.google.cloud.securitycenter.v1.DeleteBigQueryExportRequest) other); + return mergeFrom((com.google.cloud.securitycenter.v1.DeleteBigQueryExportRequest)other); } else { super.mergeFrom(other); return this; @@ -403,9 +367,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.securitycenter.v1.DeleteBigQueryExportRequest other) { - if (other - == com.google.cloud.securitycenter.v1.DeleteBigQueryExportRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.securitycenter.v1.DeleteBigQueryExportRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -436,19 +398,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + + 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) { @@ -461,8 +421,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. Name of the big query export to delete. Its format is
      * organizations/{organization}/bigQueryExports/{export_id},
@@ -470,16 +428,14 @@ public Builder mergeFrom(
      * projects/{project}/bigQueryExports/{export_id}
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -488,8 +444,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. Name of the big query export to delete. Its format is
      * organizations/{organization}/bigQueryExports/{export_id},
@@ -497,17 +451,16 @@ public java.lang.String getName() {
      * projects/{project}/bigQueryExports/{export_id}
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -515,8 +468,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. Name of the big query export to delete. Its format is
      * organizations/{organization}/bigQueryExports/{export_id},
@@ -524,25 +475,21 @@ public com.google.protobuf.ByteString getNameBytes() {
      * projects/{project}/bigQueryExports/{export_id}
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. Name of the big query export to delete. Its format is
      * organizations/{organization}/bigQueryExports/{export_id},
@@ -550,21 +497,16 @@ public Builder setName(java.lang.String value) {
      * projects/{project}/bigQueryExports/{export_id}
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. Name of the big query export to delete. Its format is
      * organizations/{organization}/bigQueryExports/{export_id},
@@ -572,26 +514,24 @@ public Builder clearName() {
      * projects/{project}/bigQueryExports/{export_id}
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -601,43 +541,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.securitycenter.v1.DeleteBigQueryExportRequest) } // @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1.DeleteBigQueryExportRequest) - private static final com.google.cloud.securitycenter.v1.DeleteBigQueryExportRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.securitycenter.v1.DeleteBigQueryExportRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.securitycenter.v1.DeleteBigQueryExportRequest(); } - public static com.google.cloud.securitycenter.v1.DeleteBigQueryExportRequest - getDefaultInstance() { + public static com.google.cloud.securitycenter.v1.DeleteBigQueryExportRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteBigQueryExportRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - 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 DeleteBigQueryExportRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + 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; @@ -649,8 +587,9 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.cloud.securitycenter.v1.DeleteBigQueryExportRequest - getDefaultInstanceForType() { + public com.google.cloud.securitycenter.v1.DeleteBigQueryExportRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DeleteBigQueryExportRequestOrBuilder.java b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DeleteBigQueryExportRequestOrBuilder.java new file mode 100644 index 000000000000..e462d0529caa --- /dev/null +++ b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DeleteBigQueryExportRequestOrBuilder.java @@ -0,0 +1,35 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/securitycenter/v1/securitycenter_service.proto + +package com.google.cloud.securitycenter.v1; + +public interface DeleteBigQueryExportRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.securitycenter.v1.DeleteBigQueryExportRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. Name of the big query export to delete. Its format is
+   * organizations/{organization}/bigQueryExports/{export_id},
+   * folders/{folder}/bigQueryExports/{export_id}, or
+   * projects/{project}/bigQueryExports/{export_id}
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. Name of the big query export to delete. Its format is
+   * organizations/{organization}/bigQueryExports/{export_id},
+   * folders/{folder}/bigQueryExports/{export_id}, or
+   * projects/{project}/bigQueryExports/{export_id}
+   * 
+ * + * 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-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DeleteMuteConfigRequest.java b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DeleteMuteConfigRequest.java similarity index 64% rename from java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DeleteMuteConfigRequest.java rename to owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DeleteMuteConfigRequest.java index da9ed04811a4..f42949161855 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DeleteMuteConfigRequest.java +++ b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DeleteMuteConfigRequest.java @@ -1,77 +1,56 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/securitycenter/v1/securitycenter_service.proto package com.google.cloud.securitycenter.v1; /** - * - * *
  * Request message for deleting a mute config.
  * 
* * Protobuf type {@code google.cloud.securitycenter.v1.DeleteMuteConfigRequest} */ -public final class DeleteMuteConfigRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteMuteConfigRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.securitycenter.v1.DeleteMuteConfigRequest) DeleteMuteConfigRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteMuteConfigRequest.newBuilder() to construct. private DeleteMuteConfigRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteMuteConfigRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteMuteConfigRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.securitycenter.v1.SecuritycenterService - .internal_static_google_cloud_securitycenter_v1_DeleteMuteConfigRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.securitycenter.v1.SecuritycenterService.internal_static_google_cloud_securitycenter_v1_DeleteMuteConfigRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.securitycenter.v1.SecuritycenterService - .internal_static_google_cloud_securitycenter_v1_DeleteMuteConfigRequest_fieldAccessorTable + return com.google.cloud.securitycenter.v1.SecuritycenterService.internal_static_google_cloud_securitycenter_v1_DeleteMuteConfigRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.securitycenter.v1.DeleteMuteConfigRequest.class, - com.google.cloud.securitycenter.v1.DeleteMuteConfigRequest.Builder.class); + com.google.cloud.securitycenter.v1.DeleteMuteConfigRequest.class, com.google.cloud.securitycenter.v1.DeleteMuteConfigRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. Name of the mute config to delete. Its format is
    * organizations/{organization}/muteConfigs/{config_id},
@@ -79,10 +58,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * projects/{project}/muteConfigs/{config_id}
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -91,15 +67,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. Name of the mute config to delete. Its format is
    * organizations/{organization}/muteConfigs/{config_id},
@@ -107,18 +82,17 @@ public java.lang.String getName() {
    * projects/{project}/muteConfigs/{config_id}
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -127,7 +101,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -139,7 +112,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -163,15 +137,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.securitycenter.v1.DeleteMuteConfigRequest)) { return super.equals(obj); } - com.google.cloud.securitycenter.v1.DeleteMuteConfigRequest other = - (com.google.cloud.securitycenter.v1.DeleteMuteConfigRequest) obj; + com.google.cloud.securitycenter.v1.DeleteMuteConfigRequest other = (com.google.cloud.securitycenter.v1.DeleteMuteConfigRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -191,136 +165,129 @@ public int hashCode() { } public static com.google.cloud.securitycenter.v1.DeleteMuteConfigRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.DeleteMuteConfigRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.DeleteMuteConfigRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.DeleteMuteConfigRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.DeleteMuteConfigRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.DeleteMuteConfigRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.securitycenter.v1.DeleteMuteConfigRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.securitycenter.v1.DeleteMuteConfigRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.DeleteMuteConfigRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.securitycenter.v1.DeleteMuteConfigRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.securitycenter.v1.DeleteMuteConfigRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.DeleteMuteConfigRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.DeleteMuteConfigRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.DeleteMuteConfigRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.securitycenter.v1.DeleteMuteConfigRequest prototype) { + public static Builder newBuilder(com.google.cloud.securitycenter.v1.DeleteMuteConfigRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 deleting a mute config.
    * 
* * Protobuf type {@code google.cloud.securitycenter.v1.DeleteMuteConfigRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.securitycenter.v1.DeleteMuteConfigRequest) com.google.cloud.securitycenter.v1.DeleteMuteConfigRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.securitycenter.v1.SecuritycenterService - .internal_static_google_cloud_securitycenter_v1_DeleteMuteConfigRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.securitycenter.v1.SecuritycenterService.internal_static_google_cloud_securitycenter_v1_DeleteMuteConfigRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.securitycenter.v1.SecuritycenterService - .internal_static_google_cloud_securitycenter_v1_DeleteMuteConfigRequest_fieldAccessorTable + return com.google.cloud.securitycenter.v1.SecuritycenterService.internal_static_google_cloud_securitycenter_v1_DeleteMuteConfigRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.securitycenter.v1.DeleteMuteConfigRequest.class, - com.google.cloud.securitycenter.v1.DeleteMuteConfigRequest.Builder.class); + com.google.cloud.securitycenter.v1.DeleteMuteConfigRequest.class, com.google.cloud.securitycenter.v1.DeleteMuteConfigRequest.Builder.class); } // Construct using com.google.cloud.securitycenter.v1.DeleteMuteConfigRequest.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(); @@ -330,9 +297,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.securitycenter.v1.SecuritycenterService - .internal_static_google_cloud_securitycenter_v1_DeleteMuteConfigRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.securitycenter.v1.SecuritycenterService.internal_static_google_cloud_securitycenter_v1_DeleteMuteConfigRequest_descriptor; } @java.lang.Override @@ -351,8 +318,7 @@ public com.google.cloud.securitycenter.v1.DeleteMuteConfigRequest build() { @java.lang.Override public com.google.cloud.securitycenter.v1.DeleteMuteConfigRequest buildPartial() { - com.google.cloud.securitycenter.v1.DeleteMuteConfigRequest result = - new com.google.cloud.securitycenter.v1.DeleteMuteConfigRequest(this); + com.google.cloud.securitycenter.v1.DeleteMuteConfigRequest result = new com.google.cloud.securitycenter.v1.DeleteMuteConfigRequest(this); result.name_ = name_; onBuilt(); return result; @@ -362,39 +328,38 @@ public com.google.cloud.securitycenter.v1.DeleteMuteConfigRequest buildPartial() public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.securitycenter.v1.DeleteMuteConfigRequest) { - return mergeFrom((com.google.cloud.securitycenter.v1.DeleteMuteConfigRequest) other); + return mergeFrom((com.google.cloud.securitycenter.v1.DeleteMuteConfigRequest)other); } else { super.mergeFrom(other); return this; @@ -402,8 +367,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.securitycenter.v1.DeleteMuteConfigRequest other) { - if (other == com.google.cloud.securitycenter.v1.DeleteMuteConfigRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.securitycenter.v1.DeleteMuteConfigRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -434,19 +398,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + + 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) { @@ -459,8 +421,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. Name of the mute config to delete. Its format is
      * organizations/{organization}/muteConfigs/{config_id},
@@ -468,16 +428,14 @@ public Builder mergeFrom(
      * projects/{project}/muteConfigs/{config_id}
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -486,8 +444,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. Name of the mute config to delete. Its format is
      * organizations/{organization}/muteConfigs/{config_id},
@@ -495,17 +451,16 @@ public java.lang.String getName() {
      * projects/{project}/muteConfigs/{config_id}
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -513,8 +468,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. Name of the mute config to delete. Its format is
      * organizations/{organization}/muteConfigs/{config_id},
@@ -522,25 +475,21 @@ public com.google.protobuf.ByteString getNameBytes() {
      * projects/{project}/muteConfigs/{config_id}
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. Name of the mute config to delete. Its format is
      * organizations/{organization}/muteConfigs/{config_id},
@@ -548,21 +497,16 @@ public Builder setName(java.lang.String value) {
      * projects/{project}/muteConfigs/{config_id}
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. Name of the mute config to delete. Its format is
      * organizations/{organization}/muteConfigs/{config_id},
@@ -570,26 +514,24 @@ public Builder clearName() {
      * projects/{project}/muteConfigs/{config_id}
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -599,12 +541,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.securitycenter.v1.DeleteMuteConfigRequest) } // @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1.DeleteMuteConfigRequest) private static final com.google.cloud.securitycenter.v1.DeleteMuteConfigRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.securitycenter.v1.DeleteMuteConfigRequest(); } @@ -613,27 +555,27 @@ public static com.google.cloud.securitycenter.v1.DeleteMuteConfigRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteMuteConfigRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - 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 DeleteMuteConfigRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + 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; @@ -648,4 +590,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.securitycenter.v1.DeleteMuteConfigRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DeleteMuteConfigRequestOrBuilder.java b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DeleteMuteConfigRequestOrBuilder.java new file mode 100644 index 000000000000..aa3ea733016e --- /dev/null +++ b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DeleteMuteConfigRequestOrBuilder.java @@ -0,0 +1,35 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/securitycenter/v1/securitycenter_service.proto + +package com.google.cloud.securitycenter.v1; + +public interface DeleteMuteConfigRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.securitycenter.v1.DeleteMuteConfigRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. Name of the mute config to delete. Its format is
+   * organizations/{organization}/muteConfigs/{config_id},
+   * folders/{folder}/muteConfigs/{config_id}, or
+   * projects/{project}/muteConfigs/{config_id}
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. Name of the mute config to delete. Its format is
+   * organizations/{organization}/muteConfigs/{config_id},
+   * folders/{folder}/muteConfigs/{config_id}, or
+   * projects/{project}/muteConfigs/{config_id}
+   * 
+ * + * 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-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DeleteNotificationConfigRequest.java b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DeleteNotificationConfigRequest.java similarity index 59% rename from java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DeleteNotificationConfigRequest.java rename to owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DeleteNotificationConfigRequest.java index c01ded890e1e..65de854e8c45 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DeleteNotificationConfigRequest.java +++ b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DeleteNotificationConfigRequest.java @@ -1,87 +1,62 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/securitycenter/v1/securitycenter_service.proto package com.google.cloud.securitycenter.v1; /** - * - * *
  * Request message for deleting a notification config.
  * 
* * Protobuf type {@code google.cloud.securitycenter.v1.DeleteNotificationConfigRequest} */ -public final class DeleteNotificationConfigRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteNotificationConfigRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.securitycenter.v1.DeleteNotificationConfigRequest) DeleteNotificationConfigRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteNotificationConfigRequest.newBuilder() to construct. - private DeleteNotificationConfigRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private DeleteNotificationConfigRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteNotificationConfigRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteNotificationConfigRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.securitycenter.v1.SecuritycenterService - .internal_static_google_cloud_securitycenter_v1_DeleteNotificationConfigRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.securitycenter.v1.SecuritycenterService.internal_static_google_cloud_securitycenter_v1_DeleteNotificationConfigRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.securitycenter.v1.SecuritycenterService - .internal_static_google_cloud_securitycenter_v1_DeleteNotificationConfigRequest_fieldAccessorTable + return com.google.cloud.securitycenter.v1.SecuritycenterService.internal_static_google_cloud_securitycenter_v1_DeleteNotificationConfigRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.securitycenter.v1.DeleteNotificationConfigRequest.class, - com.google.cloud.securitycenter.v1.DeleteNotificationConfigRequest.Builder.class); + com.google.cloud.securitycenter.v1.DeleteNotificationConfigRequest.class, com.google.cloud.securitycenter.v1.DeleteNotificationConfigRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. Name of the notification config to delete. Its format is
    * "organizations/[organization_id]/notificationConfigs/[config_id]".
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -90,32 +65,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. Name of the notification config to delete. Its format is
    * "organizations/[organization_id]/notificationConfigs/[config_id]".
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -124,7 +97,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -136,7 +108,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -160,15 +133,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.securitycenter.v1.DeleteNotificationConfigRequest)) { return super.equals(obj); } - com.google.cloud.securitycenter.v1.DeleteNotificationConfigRequest other = - (com.google.cloud.securitycenter.v1.DeleteNotificationConfigRequest) obj; + com.google.cloud.securitycenter.v1.DeleteNotificationConfigRequest other = (com.google.cloud.securitycenter.v1.DeleteNotificationConfigRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -188,138 +161,129 @@ public int hashCode() { } public static com.google.cloud.securitycenter.v1.DeleteNotificationConfigRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.DeleteNotificationConfigRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.DeleteNotificationConfigRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.DeleteNotificationConfigRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.securitycenter.v1.DeleteNotificationConfigRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.securitycenter.v1.DeleteNotificationConfigRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.DeleteNotificationConfigRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.securitycenter.v1.DeleteNotificationConfigRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.securitycenter.v1.DeleteNotificationConfigRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.DeleteNotificationConfigRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.securitycenter.v1.DeleteNotificationConfigRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.securitycenter.v1.DeleteNotificationConfigRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.securitycenter.v1.DeleteNotificationConfigRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.securitycenter.v1.DeleteNotificationConfigRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.DeleteNotificationConfigRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.DeleteNotificationConfigRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.securitycenter.v1.DeleteNotificationConfigRequest prototype) { + public static Builder newBuilder(com.google.cloud.securitycenter.v1.DeleteNotificationConfigRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 deleting a notification config.
    * 
* * Protobuf type {@code google.cloud.securitycenter.v1.DeleteNotificationConfigRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.securitycenter.v1.DeleteNotificationConfigRequest) com.google.cloud.securitycenter.v1.DeleteNotificationConfigRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.securitycenter.v1.SecuritycenterService - .internal_static_google_cloud_securitycenter_v1_DeleteNotificationConfigRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.securitycenter.v1.SecuritycenterService.internal_static_google_cloud_securitycenter_v1_DeleteNotificationConfigRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.securitycenter.v1.SecuritycenterService - .internal_static_google_cloud_securitycenter_v1_DeleteNotificationConfigRequest_fieldAccessorTable + return com.google.cloud.securitycenter.v1.SecuritycenterService.internal_static_google_cloud_securitycenter_v1_DeleteNotificationConfigRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.securitycenter.v1.DeleteNotificationConfigRequest.class, - com.google.cloud.securitycenter.v1.DeleteNotificationConfigRequest.Builder.class); + com.google.cloud.securitycenter.v1.DeleteNotificationConfigRequest.class, com.google.cloud.securitycenter.v1.DeleteNotificationConfigRequest.Builder.class); } - // Construct using - // com.google.cloud.securitycenter.v1.DeleteNotificationConfigRequest.newBuilder() - private Builder() {} + // Construct using com.google.cloud.securitycenter.v1.DeleteNotificationConfigRequest.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(); @@ -329,16 +293,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.securitycenter.v1.SecuritycenterService - .internal_static_google_cloud_securitycenter_v1_DeleteNotificationConfigRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.securitycenter.v1.SecuritycenterService.internal_static_google_cloud_securitycenter_v1_DeleteNotificationConfigRequest_descriptor; } @java.lang.Override - public com.google.cloud.securitycenter.v1.DeleteNotificationConfigRequest - getDefaultInstanceForType() { - return com.google.cloud.securitycenter.v1.DeleteNotificationConfigRequest - .getDefaultInstance(); + public com.google.cloud.securitycenter.v1.DeleteNotificationConfigRequest getDefaultInstanceForType() { + return com.google.cloud.securitycenter.v1.DeleteNotificationConfigRequest.getDefaultInstance(); } @java.lang.Override @@ -352,8 +314,7 @@ public com.google.cloud.securitycenter.v1.DeleteNotificationConfigRequest build( @java.lang.Override public com.google.cloud.securitycenter.v1.DeleteNotificationConfigRequest buildPartial() { - com.google.cloud.securitycenter.v1.DeleteNotificationConfigRequest result = - new com.google.cloud.securitycenter.v1.DeleteNotificationConfigRequest(this); + com.google.cloud.securitycenter.v1.DeleteNotificationConfigRequest result = new com.google.cloud.securitycenter.v1.DeleteNotificationConfigRequest(this); result.name_ = name_; onBuilt(); return result; @@ -363,51 +324,46 @@ public com.google.cloud.securitycenter.v1.DeleteNotificationConfigRequest buildP public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.securitycenter.v1.DeleteNotificationConfigRequest) { - return mergeFrom( - (com.google.cloud.securitycenter.v1.DeleteNotificationConfigRequest) other); + return mergeFrom((com.google.cloud.securitycenter.v1.DeleteNotificationConfigRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.securitycenter.v1.DeleteNotificationConfigRequest other) { - if (other - == com.google.cloud.securitycenter.v1.DeleteNotificationConfigRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.securitycenter.v1.DeleteNotificationConfigRequest other) { + if (other == com.google.cloud.securitycenter.v1.DeleteNotificationConfigRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -438,19 +394,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + + 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,23 +417,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. Name of the notification config to delete. Its format is
      * "organizations/[organization_id]/notificationConfigs/[config_id]".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -488,24 +438,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. Name of the notification config to delete. Its format is
      * "organizations/[organization_id]/notificationConfigs/[config_id]".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -513,77 +460,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. Name of the notification config to delete. Its format is
      * "organizations/[organization_id]/notificationConfigs/[config_id]".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. Name of the notification config to delete. Its format is
      * "organizations/[organization_id]/notificationConfigs/[config_id]".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. Name of the notification config to delete. Its format is
      * "organizations/[organization_id]/notificationConfigs/[config_id]".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -593,43 +527,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.securitycenter.v1.DeleteNotificationConfigRequest) } // @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1.DeleteNotificationConfigRequest) - private static final com.google.cloud.securitycenter.v1.DeleteNotificationConfigRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.securitycenter.v1.DeleteNotificationConfigRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.securitycenter.v1.DeleteNotificationConfigRequest(); } - public static com.google.cloud.securitycenter.v1.DeleteNotificationConfigRequest - getDefaultInstance() { + public static com.google.cloud.securitycenter.v1.DeleteNotificationConfigRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteNotificationConfigRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - 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 DeleteNotificationConfigRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + 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; @@ -641,8 +573,9 @@ public com.google.protobuf.Parser getParserForT } @java.lang.Override - public com.google.cloud.securitycenter.v1.DeleteNotificationConfigRequest - getDefaultInstanceForType() { + public com.google.cloud.securitycenter.v1.DeleteNotificationConfigRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DeleteNotificationConfigRequestOrBuilder.java b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DeleteNotificationConfigRequestOrBuilder.java new file mode 100644 index 000000000000..e75642df29ef --- /dev/null +++ b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DeleteNotificationConfigRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/securitycenter/v1/securitycenter_service.proto + +package com.google.cloud.securitycenter.v1; + +public interface DeleteNotificationConfigRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.securitycenter.v1.DeleteNotificationConfigRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. Name of the notification config to delete. Its format is
+   * "organizations/[organization_id]/notificationConfigs/[config_id]".
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. Name of the notification config to delete. Its format is
+   * "organizations/[organization_id]/notificationConfigs/[config_id]".
+   * 
+ * + * 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-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/EnvironmentVariable.java b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/EnvironmentVariable.java similarity index 66% rename from java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/EnvironmentVariable.java rename to owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/EnvironmentVariable.java index a4de94455e89..b5578e5d11cb 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/EnvironmentVariable.java +++ b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/EnvironmentVariable.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/securitycenter/v1/process.proto package com.google.cloud.securitycenter.v1; /** - * - * *
  * EnvironmentVariable is a name-value pair to store environment variables for
  * Process.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.securitycenter.v1.EnvironmentVariable}
  */
-public final class EnvironmentVariable extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class EnvironmentVariable extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.securitycenter.v1.EnvironmentVariable)
     EnvironmentVariableOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use EnvironmentVariable.newBuilder() to construct.
   private EnvironmentVariable(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private EnvironmentVariable() {
     name_ = "";
     val_ = "";
@@ -45,41 +27,37 @@ private EnvironmentVariable() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new EnvironmentVariable();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.securitycenter.v1.ProcessProto
-        .internal_static_google_cloud_securitycenter_v1_EnvironmentVariable_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.securitycenter.v1.ProcessProto.internal_static_google_cloud_securitycenter_v1_EnvironmentVariable_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.securitycenter.v1.ProcessProto
-        .internal_static_google_cloud_securitycenter_v1_EnvironmentVariable_fieldAccessorTable
+    return com.google.cloud.securitycenter.v1.ProcessProto.internal_static_google_cloud_securitycenter_v1_EnvironmentVariable_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.securitycenter.v1.EnvironmentVariable.class,
-            com.google.cloud.securitycenter.v1.EnvironmentVariable.Builder.class);
+            com.google.cloud.securitycenter.v1.EnvironmentVariable.class, com.google.cloud.securitycenter.v1.EnvironmentVariable.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Environment variable name as a JSON encoded string.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -88,29 +66,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Environment variable name as a JSON encoded string.
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -121,14 +99,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int VAL_FIELD_NUMBER = 2; private volatile java.lang.Object val_; /** - * - * *
    * Environment variable value as a JSON encoded string.
    * 
* * string val = 2; - * * @return The val. */ @java.lang.Override @@ -137,29 +112,29 @@ public java.lang.String getVal() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); val_ = s; return s; } } /** - * - * *
    * Environment variable value as a JSON encoded string.
    * 
* * string val = 2; - * * @return The bytes for val. */ @java.lang.Override - public com.google.protobuf.ByteString getValBytes() { + public com.google.protobuf.ByteString + getValBytes() { java.lang.Object ref = val_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); val_ = b; return b; } else { @@ -168,7 +143,6 @@ public com.google.protobuf.ByteString getValBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -180,7 +154,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -210,16 +185,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.securitycenter.v1.EnvironmentVariable)) { return super.equals(obj); } - com.google.cloud.securitycenter.v1.EnvironmentVariable other = - (com.google.cloud.securitycenter.v1.EnvironmentVariable) obj; + com.google.cloud.securitycenter.v1.EnvironmentVariable other = (com.google.cloud.securitycenter.v1.EnvironmentVariable) obj; - if (!getName().equals(other.getName())) return false; - if (!getVal().equals(other.getVal())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getVal() + .equals(other.getVal())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -241,104 +217,96 @@ public int hashCode() { } public static com.google.cloud.securitycenter.v1.EnvironmentVariable parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.EnvironmentVariable parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.EnvironmentVariable parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.EnvironmentVariable parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.EnvironmentVariable parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.EnvironmentVariable parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.securitycenter.v1.EnvironmentVariable parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.securitycenter.v1.EnvironmentVariable parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.EnvironmentVariable parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.securitycenter.v1.EnvironmentVariable parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.securitycenter.v1.EnvironmentVariable parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.EnvironmentVariable parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.EnvironmentVariable parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.EnvironmentVariable parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.securitycenter.v1.EnvironmentVariable prototype) { + public static Builder newBuilder(com.google.cloud.securitycenter.v1.EnvironmentVariable prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * EnvironmentVariable is a name-value pair to store environment variables for
    * Process.
@@ -346,32 +314,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.securitycenter.v1.EnvironmentVariable}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.securitycenter.v1.EnvironmentVariable)
       com.google.cloud.securitycenter.v1.EnvironmentVariableOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.securitycenter.v1.ProcessProto
-          .internal_static_google_cloud_securitycenter_v1_EnvironmentVariable_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.securitycenter.v1.ProcessProto.internal_static_google_cloud_securitycenter_v1_EnvironmentVariable_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.securitycenter.v1.ProcessProto
-          .internal_static_google_cloud_securitycenter_v1_EnvironmentVariable_fieldAccessorTable
+      return com.google.cloud.securitycenter.v1.ProcessProto.internal_static_google_cloud_securitycenter_v1_EnvironmentVariable_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.securitycenter.v1.EnvironmentVariable.class,
-              com.google.cloud.securitycenter.v1.EnvironmentVariable.Builder.class);
+              com.google.cloud.securitycenter.v1.EnvironmentVariable.class, com.google.cloud.securitycenter.v1.EnvironmentVariable.Builder.class);
     }
 
     // Construct using com.google.cloud.securitycenter.v1.EnvironmentVariable.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();
@@ -383,9 +352,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.securitycenter.v1.ProcessProto
-          .internal_static_google_cloud_securitycenter_v1_EnvironmentVariable_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.securitycenter.v1.ProcessProto.internal_static_google_cloud_securitycenter_v1_EnvironmentVariable_descriptor;
     }
 
     @java.lang.Override
@@ -404,8 +373,7 @@ public com.google.cloud.securitycenter.v1.EnvironmentVariable build() {
 
     @java.lang.Override
     public com.google.cloud.securitycenter.v1.EnvironmentVariable buildPartial() {
-      com.google.cloud.securitycenter.v1.EnvironmentVariable result =
-          new com.google.cloud.securitycenter.v1.EnvironmentVariable(this);
+      com.google.cloud.securitycenter.v1.EnvironmentVariable result = new com.google.cloud.securitycenter.v1.EnvironmentVariable(this);
       result.name_ = name_;
       result.val_ = val_;
       onBuilt();
@@ -416,39 +384,38 @@ public com.google.cloud.securitycenter.v1.EnvironmentVariable buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.securitycenter.v1.EnvironmentVariable) {
-        return mergeFrom((com.google.cloud.securitycenter.v1.EnvironmentVariable) other);
+        return mergeFrom((com.google.cloud.securitycenter.v1.EnvironmentVariable)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -456,8 +423,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.securitycenter.v1.EnvironmentVariable other) {
-      if (other == com.google.cloud.securitycenter.v1.EnvironmentVariable.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.securitycenter.v1.EnvironmentVariable.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -492,25 +458,22 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            case 18:
-              {
-                val_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            case 18: {
+              val_ = input.readStringRequireUtf8();
+
+              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) {
@@ -523,20 +486,18 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Environment variable name as a JSON encoded string.
      * 
* * string name = 1; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -545,21 +506,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Environment variable name as a JSON encoded string.
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -567,61 +527,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Environment variable name as a JSON encoded string.
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Environment variable name as a JSON encoded string.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Environment variable name as a JSON encoded string.
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -629,20 +582,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object val_ = ""; /** - * - * *
      * Environment variable value as a JSON encoded string.
      * 
* * string val = 2; - * * @return The val. */ public java.lang.String getVal() { java.lang.Object ref = val_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); val_ = s; return s; @@ -651,21 +602,20 @@ public java.lang.String getVal() { } } /** - * - * *
      * Environment variable value as a JSON encoded string.
      * 
* * string val = 2; - * * @return The bytes for val. */ - public com.google.protobuf.ByteString getValBytes() { + public com.google.protobuf.ByteString + getValBytes() { java.lang.Object ref = val_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); val_ = b; return b; } else { @@ -673,68 +623,61 @@ public com.google.protobuf.ByteString getValBytes() { } } /** - * - * *
      * Environment variable value as a JSON encoded string.
      * 
* * string val = 2; - * * @param value The val to set. * @return This builder for chaining. */ - public Builder setVal(java.lang.String value) { + public Builder setVal( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + val_ = value; onChanged(); return this; } /** - * - * *
      * Environment variable value as a JSON encoded string.
      * 
* * string val = 2; - * * @return This builder for chaining. */ public Builder clearVal() { - + val_ = getDefaultInstance().getVal(); onChanged(); return this; } /** - * - * *
      * Environment variable value as a JSON encoded string.
      * 
* * string val = 2; - * * @param value The bytes for val to set. * @return This builder for chaining. */ - public Builder setValBytes(com.google.protobuf.ByteString value) { + public Builder setValBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + val_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -744,12 +687,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.securitycenter.v1.EnvironmentVariable) } // @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1.EnvironmentVariable) private static final com.google.cloud.securitycenter.v1.EnvironmentVariable DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.securitycenter.v1.EnvironmentVariable(); } @@ -758,27 +701,27 @@ public static com.google.cloud.securitycenter.v1.EnvironmentVariable getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public EnvironmentVariable parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - 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 EnvironmentVariable parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + 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; @@ -793,4 +736,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.securitycenter.v1.EnvironmentVariable getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/EnvironmentVariableOrBuilder.java b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/EnvironmentVariableOrBuilder.java similarity index 55% rename from java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/EnvironmentVariableOrBuilder.java rename to owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/EnvironmentVariableOrBuilder.java index a041145cfcaf..bcbbd35236f6 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/EnvironmentVariableOrBuilder.java +++ b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/EnvironmentVariableOrBuilder.java @@ -1,75 +1,49 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/securitycenter/v1/process.proto package com.google.cloud.securitycenter.v1; -public interface EnvironmentVariableOrBuilder - extends +public interface EnvironmentVariableOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.securitycenter.v1.EnvironmentVariable) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Environment variable name as a JSON encoded string.
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Environment variable name as a JSON encoded string.
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Environment variable value as a JSON encoded string.
    * 
* * string val = 2; - * * @return The val. */ java.lang.String getVal(); /** - * - * *
    * Environment variable value as a JSON encoded string.
    * 
* * string val = 2; - * * @return The bytes for val. */ - com.google.protobuf.ByteString getValBytes(); + com.google.protobuf.ByteString + getValBytes(); } diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ExfilResource.java b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ExfilResource.java similarity index 72% rename from java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ExfilResource.java rename to owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ExfilResource.java index 79b357e81950..190e9aaf9feb 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ExfilResource.java +++ b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ExfilResource.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/securitycenter/v1/exfiltration.proto package com.google.cloud.securitycenter.v1; /** - * - * *
  * Resource that has been exfiltrated or exfiltrated_to.
  * 
* * Protobuf type {@code google.cloud.securitycenter.v1.ExfilResource} */ -public final class ExfilResource extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ExfilResource extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.securitycenter.v1.ExfilResource) ExfilResourceOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ExfilResource.newBuilder() to construct. private ExfilResource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ExfilResource() { name_ = ""; components_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -44,41 +26,37 @@ private ExfilResource() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ExfilResource(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.securitycenter.v1.ExfiltrationProto - .internal_static_google_cloud_securitycenter_v1_ExfilResource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.securitycenter.v1.ExfiltrationProto.internal_static_google_cloud_securitycenter_v1_ExfilResource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.securitycenter.v1.ExfiltrationProto - .internal_static_google_cloud_securitycenter_v1_ExfilResource_fieldAccessorTable + return com.google.cloud.securitycenter.v1.ExfiltrationProto.internal_static_google_cloud_securitycenter_v1_ExfilResource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.securitycenter.v1.ExfilResource.class, - com.google.cloud.securitycenter.v1.ExfilResource.Builder.class); + com.google.cloud.securitycenter.v1.ExfilResource.class, com.google.cloud.securitycenter.v1.ExfilResource.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Resource's URI (https://google.aip.dev/122#full-resource-names)
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -87,29 +65,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Resource's URI (https://google.aip.dev/122#full-resource-names)
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -120,8 +98,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int COMPONENTS_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList components_; /** - * - * *
    * Subcomponents of the asset that is exfiltrated - these could be
    * URIs used during exfiltration, table names, databases, filenames, etc.
@@ -130,15 +106,13 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * repeated string components = 2; - * * @return A list containing the components. */ - public com.google.protobuf.ProtocolStringList getComponentsList() { + public com.google.protobuf.ProtocolStringList + getComponentsList() { return components_; } /** - * - * *
    * Subcomponents of the asset that is exfiltrated - these could be
    * URIs used during exfiltration, table names, databases, filenames, etc.
@@ -147,15 +121,12 @@ public com.google.protobuf.ProtocolStringList getComponentsList() {
    * 
* * repeated string components = 2; - * * @return The count of components. */ public int getComponentsCount() { return components_.size(); } /** - * - * *
    * Subcomponents of the asset that is exfiltrated - these could be
    * URIs used during exfiltration, table names, databases, filenames, etc.
@@ -164,7 +135,6 @@ public int getComponentsCount() {
    * 
* * repeated string components = 2; - * * @param index The index of the element to return. * @return The components at the given index. */ @@ -172,8 +142,6 @@ public java.lang.String getComponents(int index) { return components_.get(index); } /** - * - * *
    * Subcomponents of the asset that is exfiltrated - these could be
    * URIs used during exfiltration, table names, databases, filenames, etc.
@@ -182,16 +150,15 @@ public java.lang.String getComponents(int index) {
    * 
* * repeated string components = 2; - * * @param index The index of the value to return. * @return The bytes of the components at the given index. */ - public com.google.protobuf.ByteString getComponentsBytes(int index) { + public com.google.protobuf.ByteString + getComponentsBytes(int index) { return components_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -203,7 +170,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -238,16 +206,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.securitycenter.v1.ExfilResource)) { return super.equals(obj); } - com.google.cloud.securitycenter.v1.ExfilResource other = - (com.google.cloud.securitycenter.v1.ExfilResource) obj; + com.google.cloud.securitycenter.v1.ExfilResource other = (com.google.cloud.securitycenter.v1.ExfilResource) obj; - if (!getName().equals(other.getName())) return false; - if (!getComponentsList().equals(other.getComponentsList())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getComponentsList() + .equals(other.getComponentsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -270,136 +239,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.securitycenter.v1.ExfilResource parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.securitycenter.v1.ExfilResource parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.ExfilResource parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.ExfilResource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.ExfilResource parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.ExfilResource parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.ExfilResource parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.securitycenter.v1.ExfilResource parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.securitycenter.v1.ExfilResource parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.ExfilResource parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.securitycenter.v1.ExfilResource parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.securitycenter.v1.ExfilResource parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.ExfilResource parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.ExfilResource parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.ExfilResource parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.securitycenter.v1.ExfilResource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Resource that has been exfiltrated or exfiltrated_to.
    * 
* * Protobuf type {@code google.cloud.securitycenter.v1.ExfilResource} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.securitycenter.v1.ExfilResource) com.google.cloud.securitycenter.v1.ExfilResourceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.securitycenter.v1.ExfiltrationProto - .internal_static_google_cloud_securitycenter_v1_ExfilResource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.securitycenter.v1.ExfiltrationProto.internal_static_google_cloud_securitycenter_v1_ExfilResource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.securitycenter.v1.ExfiltrationProto - .internal_static_google_cloud_securitycenter_v1_ExfilResource_fieldAccessorTable + return com.google.cloud.securitycenter.v1.ExfiltrationProto.internal_static_google_cloud_securitycenter_v1_ExfilResource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.securitycenter.v1.ExfilResource.class, - com.google.cloud.securitycenter.v1.ExfilResource.Builder.class); + com.google.cloud.securitycenter.v1.ExfilResource.class, com.google.cloud.securitycenter.v1.ExfilResource.Builder.class); } // Construct using com.google.cloud.securitycenter.v1.ExfilResource.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(); @@ -411,9 +374,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.securitycenter.v1.ExfiltrationProto - .internal_static_google_cloud_securitycenter_v1_ExfilResource_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.securitycenter.v1.ExfiltrationProto.internal_static_google_cloud_securitycenter_v1_ExfilResource_descriptor; } @java.lang.Override @@ -432,8 +395,7 @@ public com.google.cloud.securitycenter.v1.ExfilResource build() { @java.lang.Override public com.google.cloud.securitycenter.v1.ExfilResource buildPartial() { - com.google.cloud.securitycenter.v1.ExfilResource result = - new com.google.cloud.securitycenter.v1.ExfilResource(this); + com.google.cloud.securitycenter.v1.ExfilResource result = new com.google.cloud.securitycenter.v1.ExfilResource(this); int from_bitField0_ = bitField0_; result.name_ = name_; if (((bitField0_ & 0x00000001) != 0)) { @@ -449,39 +411,38 @@ public com.google.cloud.securitycenter.v1.ExfilResource buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.securitycenter.v1.ExfilResource) { - return mergeFrom((com.google.cloud.securitycenter.v1.ExfilResource) other); + return mergeFrom((com.google.cloud.securitycenter.v1.ExfilResource)other); } else { super.mergeFrom(other); return this; @@ -489,8 +450,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.securitycenter.v1.ExfilResource other) { - if (other == com.google.cloud.securitycenter.v1.ExfilResource.getDefaultInstance()) - return this; + if (other == com.google.cloud.securitycenter.v1.ExfilResource.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -531,26 +491,23 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureComponentsIsMutable(); - components_.add(s); - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + ensureComponentsIsMutable(); + components_.add(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) { @@ -560,25 +517,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Resource's URI (https://google.aip.dev/122#full-resource-names)
      * 
* * string name = 1; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -587,21 +541,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Resource's URI (https://google.aip.dev/122#full-resource-names)
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -609,78 +562,67 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Resource's URI (https://google.aip.dev/122#full-resource-names)
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Resource's URI (https://google.aip.dev/122#full-resource-names)
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Resource's URI (https://google.aip.dev/122#full-resource-names)
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList components_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList components_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureComponentsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { components_ = new com.google.protobuf.LazyStringArrayList(components_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * Subcomponents of the asset that is exfiltrated - these could be
      * URIs used during exfiltration, table names, databases, filenames, etc.
@@ -689,15 +631,13 @@ private void ensureComponentsIsMutable() {
      * 
* * repeated string components = 2; - * * @return A list containing the components. */ - public com.google.protobuf.ProtocolStringList getComponentsList() { + public com.google.protobuf.ProtocolStringList + getComponentsList() { return components_.getUnmodifiableView(); } /** - * - * *
      * Subcomponents of the asset that is exfiltrated - these could be
      * URIs used during exfiltration, table names, databases, filenames, etc.
@@ -706,15 +646,12 @@ public com.google.protobuf.ProtocolStringList getComponentsList() {
      * 
* * repeated string components = 2; - * * @return The count of components. */ public int getComponentsCount() { return components_.size(); } /** - * - * *
      * Subcomponents of the asset that is exfiltrated - these could be
      * URIs used during exfiltration, table names, databases, filenames, etc.
@@ -723,7 +660,6 @@ public int getComponentsCount() {
      * 
* * repeated string components = 2; - * * @param index The index of the element to return. * @return The components at the given index. */ @@ -731,8 +667,6 @@ public java.lang.String getComponents(int index) { return components_.get(index); } /** - * - * *
      * Subcomponents of the asset that is exfiltrated - these could be
      * URIs used during exfiltration, table names, databases, filenames, etc.
@@ -741,16 +675,14 @@ public java.lang.String getComponents(int index) {
      * 
* * repeated string components = 2; - * * @param index The index of the value to return. * @return The bytes of the components at the given index. */ - public com.google.protobuf.ByteString getComponentsBytes(int index) { + public com.google.protobuf.ByteString + getComponentsBytes(int index) { return components_.getByteString(index); } /** - * - * *
      * Subcomponents of the asset that is exfiltrated - these could be
      * URIs used during exfiltration, table names, databases, filenames, etc.
@@ -759,23 +691,21 @@ public com.google.protobuf.ByteString getComponentsBytes(int index) {
      * 
* * repeated string components = 2; - * * @param index The index to set the value at. * @param value The components to set. * @return This builder for chaining. */ - public Builder setComponents(int index, java.lang.String value) { + public Builder setComponents( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureComponentsIsMutable(); + throw new NullPointerException(); + } + ensureComponentsIsMutable(); components_.set(index, value); onChanged(); return this; } /** - * - * *
      * Subcomponents of the asset that is exfiltrated - these could be
      * URIs used during exfiltration, table names, databases, filenames, etc.
@@ -784,22 +714,20 @@ public Builder setComponents(int index, java.lang.String value) {
      * 
* * repeated string components = 2; - * * @param value The components to add. * @return This builder for chaining. */ - public Builder addComponents(java.lang.String value) { + public Builder addComponents( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureComponentsIsMutable(); + throw new NullPointerException(); + } + ensureComponentsIsMutable(); components_.add(value); onChanged(); return this; } /** - * - * *
      * Subcomponents of the asset that is exfiltrated - these could be
      * URIs used during exfiltration, table names, databases, filenames, etc.
@@ -808,19 +736,18 @@ public Builder addComponents(java.lang.String value) {
      * 
* * repeated string components = 2; - * * @param values The components to add. * @return This builder for chaining. */ - public Builder addAllComponents(java.lang.Iterable values) { + public Builder addAllComponents( + java.lang.Iterable values) { ensureComponentsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, components_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, components_); onChanged(); return this; } /** - * - * *
      * Subcomponents of the asset that is exfiltrated - these could be
      * URIs used during exfiltration, table names, databases, filenames, etc.
@@ -829,7 +756,6 @@ public Builder addAllComponents(java.lang.Iterable values) {
      * 
* * repeated string components = 2; - * * @return This builder for chaining. */ public Builder clearComponents() { @@ -839,8 +765,6 @@ public Builder clearComponents() { return this; } /** - * - * *
      * Subcomponents of the asset that is exfiltrated - these could be
      * URIs used during exfiltration, table names, databases, filenames, etc.
@@ -849,23 +773,23 @@ public Builder clearComponents() {
      * 
* * repeated string components = 2; - * * @param value The bytes of the components to add. * @return This builder for chaining. */ - public Builder addComponentsBytes(com.google.protobuf.ByteString value) { + public Builder addComponentsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureComponentsIsMutable(); components_.add(value); onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -875,12 +799,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.securitycenter.v1.ExfilResource) } // @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1.ExfilResource) private static final com.google.cloud.securitycenter.v1.ExfilResource DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.securitycenter.v1.ExfilResource(); } @@ -889,27 +813,27 @@ public static com.google.cloud.securitycenter.v1.ExfilResource getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExfilResource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - 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 ExfilResource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + 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; @@ -924,4 +848,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.securitycenter.v1.ExfilResource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ExfilResourceOrBuilder.java b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ExfilResourceOrBuilder.java similarity index 73% rename from java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ExfilResourceOrBuilder.java rename to owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ExfilResourceOrBuilder.java index 40756efb7620..544908750e02 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ExfilResourceOrBuilder.java +++ b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ExfilResourceOrBuilder.java @@ -1,56 +1,33 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/securitycenter/v1/exfiltration.proto package com.google.cloud.securitycenter.v1; -public interface ExfilResourceOrBuilder - extends +public interface ExfilResourceOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.securitycenter.v1.ExfilResource) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Resource's URI (https://google.aip.dev/122#full-resource-names)
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Resource's URI (https://google.aip.dev/122#full-resource-names)
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Subcomponents of the asset that is exfiltrated - these could be
    * URIs used during exfiltration, table names, databases, filenames, etc.
@@ -59,13 +36,11 @@ public interface ExfilResourceOrBuilder
    * 
* * repeated string components = 2; - * * @return A list containing the components. */ - java.util.List getComponentsList(); + java.util.List + getComponentsList(); /** - * - * *
    * Subcomponents of the asset that is exfiltrated - these could be
    * URIs used during exfiltration, table names, databases, filenames, etc.
@@ -74,13 +49,10 @@ public interface ExfilResourceOrBuilder
    * 
* * repeated string components = 2; - * * @return The count of components. */ int getComponentsCount(); /** - * - * *
    * Subcomponents of the asset that is exfiltrated - these could be
    * URIs used during exfiltration, table names, databases, filenames, etc.
@@ -89,14 +61,11 @@ public interface ExfilResourceOrBuilder
    * 
* * repeated string components = 2; - * * @param index The index of the element to return. * @return The components at the given index. */ java.lang.String getComponents(int index); /** - * - * *
    * Subcomponents of the asset that is exfiltrated - these could be
    * URIs used during exfiltration, table names, databases, filenames, etc.
@@ -105,9 +74,9 @@ public interface ExfilResourceOrBuilder
    * 
* * repeated string components = 2; - * * @param index The index of the value to return. * @return The bytes of the components at the given index. */ - com.google.protobuf.ByteString getComponentsBytes(int index); + com.google.protobuf.ByteString + getComponentsBytes(int index); } diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Exfiltration.java b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Exfiltration.java similarity index 76% rename from java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Exfiltration.java rename to owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Exfiltration.java index e768ec07921e..9478d699fb07 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Exfiltration.java +++ b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Exfiltration.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/securitycenter/v1/exfiltration.proto package com.google.cloud.securitycenter.v1; /** - * - * *
  * Exfiltration represents a data exfiltration attempt of one or more
  * sources to one or more targets.  Sources represent the source
@@ -30,16 +13,15 @@
  *
  * Protobuf type {@code google.cloud.securitycenter.v1.Exfiltration}
  */
-public final class Exfiltration extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Exfiltration extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.securitycenter.v1.Exfiltration)
     ExfiltrationOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Exfiltration.newBuilder() to construct.
   private Exfiltration(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Exfiltration() {
     sources_ = java.util.Collections.emptyList();
     targets_ = java.util.Collections.emptyList();
@@ -47,35 +29,32 @@ private Exfiltration() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Exfiltration();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.securitycenter.v1.ExfiltrationProto
-        .internal_static_google_cloud_securitycenter_v1_Exfiltration_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.securitycenter.v1.ExfiltrationProto.internal_static_google_cloud_securitycenter_v1_Exfiltration_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.securitycenter.v1.ExfiltrationProto
-        .internal_static_google_cloud_securitycenter_v1_Exfiltration_fieldAccessorTable
+    return com.google.cloud.securitycenter.v1.ExfiltrationProto.internal_static_google_cloud_securitycenter_v1_Exfiltration_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.securitycenter.v1.Exfiltration.class,
-            com.google.cloud.securitycenter.v1.Exfiltration.Builder.class);
+            com.google.cloud.securitycenter.v1.Exfiltration.class, com.google.cloud.securitycenter.v1.Exfiltration.Builder.class);
   }
 
   public static final int SOURCES_FIELD_NUMBER = 1;
   private java.util.List sources_;
   /**
-   *
-   *
    * 
    * If there are multiple sources, then the data is considered "joined" between
    * them. For instance, BigQuery can join multiple tables, and each
@@ -89,8 +68,6 @@ public java.util.List getSourc
     return sources_;
   }
   /**
-   *
-   *
    * 
    * If there are multiple sources, then the data is considered "joined" between
    * them. For instance, BigQuery can join multiple tables, and each
@@ -100,13 +77,11 @@ public java.util.List getSourc
    * repeated .google.cloud.securitycenter.v1.ExfilResource sources = 1;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getSourcesOrBuilderList() {
     return sources_;
   }
   /**
-   *
-   *
    * 
    * If there are multiple sources, then the data is considered "joined" between
    * them. For instance, BigQuery can join multiple tables, and each
@@ -120,8 +95,6 @@ public int getSourcesCount() {
     return sources_.size();
   }
   /**
-   *
-   *
    * 
    * If there are multiple sources, then the data is considered "joined" between
    * them. For instance, BigQuery can join multiple tables, and each
@@ -135,8 +108,6 @@ public com.google.cloud.securitycenter.v1.ExfilResource getSources(int index) {
     return sources_.get(index);
   }
   /**
-   *
-   *
    * 
    * If there are multiple sources, then the data is considered "joined" between
    * them. For instance, BigQuery can join multiple tables, and each
@@ -146,15 +117,14 @@ public com.google.cloud.securitycenter.v1.ExfilResource getSources(int index) {
    * repeated .google.cloud.securitycenter.v1.ExfilResource sources = 1;
    */
   @java.lang.Override
-  public com.google.cloud.securitycenter.v1.ExfilResourceOrBuilder getSourcesOrBuilder(int index) {
+  public com.google.cloud.securitycenter.v1.ExfilResourceOrBuilder getSourcesOrBuilder(
+      int index) {
     return sources_.get(index);
   }
 
   public static final int TARGETS_FIELD_NUMBER = 2;
   private java.util.List targets_;
   /**
-   *
-   *
    * 
    * If there are multiple targets, each target would get a complete copy of the
    * "joined" source data.
@@ -167,8 +137,6 @@ public java.util.List getTarge
     return targets_;
   }
   /**
-   *
-   *
    * 
    * If there are multiple targets, each target would get a complete copy of the
    * "joined" source data.
@@ -177,13 +145,11 @@ public java.util.List getTarge
    * repeated .google.cloud.securitycenter.v1.ExfilResource targets = 2;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getTargetsOrBuilderList() {
     return targets_;
   }
   /**
-   *
-   *
    * 
    * If there are multiple targets, each target would get a complete copy of the
    * "joined" source data.
@@ -196,8 +162,6 @@ public int getTargetsCount() {
     return targets_.size();
   }
   /**
-   *
-   *
    * 
    * If there are multiple targets, each target would get a complete copy of the
    * "joined" source data.
@@ -210,8 +174,6 @@ public com.google.cloud.securitycenter.v1.ExfilResource getTargets(int index) {
     return targets_.get(index);
   }
   /**
-   *
-   *
    * 
    * If there are multiple targets, each target would get a complete copy of the
    * "joined" source data.
@@ -220,12 +182,12 @@ public com.google.cloud.securitycenter.v1.ExfilResource getTargets(int index) {
    * repeated .google.cloud.securitycenter.v1.ExfilResource targets = 2;
    */
   @java.lang.Override
-  public com.google.cloud.securitycenter.v1.ExfilResourceOrBuilder getTargetsOrBuilder(int index) {
+  public com.google.cloud.securitycenter.v1.ExfilResourceOrBuilder getTargetsOrBuilder(
+      int index) {
     return targets_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -237,7 +199,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  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 < sources_.size(); i++) {
       output.writeMessage(1, sources_.get(i));
     }
@@ -254,10 +217,12 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < sources_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, sources_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, sources_.get(i));
     }
     for (int i = 0; i < targets_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, targets_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, targets_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -267,16 +232,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.securitycenter.v1.Exfiltration)) {
       return super.equals(obj);
     }
-    com.google.cloud.securitycenter.v1.Exfiltration other =
-        (com.google.cloud.securitycenter.v1.Exfiltration) obj;
+    com.google.cloud.securitycenter.v1.Exfiltration other = (com.google.cloud.securitycenter.v1.Exfiltration) obj;
 
-    if (!getSourcesList().equals(other.getSourcesList())) return false;
-    if (!getTargetsList().equals(other.getTargetsList())) return false;
+    if (!getSourcesList()
+        .equals(other.getSourcesList())) return false;
+    if (!getTargetsList()
+        .equals(other.getTargetsList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -301,104 +267,97 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.securitycenter.v1.Exfiltration parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.securitycenter.v1.Exfiltration parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.securitycenter.v1.Exfiltration parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.securitycenter.v1.Exfiltration parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.securitycenter.v1.Exfiltration parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.securitycenter.v1.Exfiltration parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.securitycenter.v1.Exfiltration parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.securitycenter.v1.Exfiltration parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.securitycenter.v1.Exfiltration parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.cloud.securitycenter.v1.Exfiltration parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.securitycenter.v1.Exfiltration parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.securitycenter.v1.Exfiltration parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.securitycenter.v1.Exfiltration parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.securitycenter.v1.Exfiltration parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.securitycenter.v1.Exfiltration prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Exfiltration represents a data exfiltration attempt of one or more
    * sources to one or more targets.  Sources represent the source
@@ -408,32 +367,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.securitycenter.v1.Exfiltration}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.securitycenter.v1.Exfiltration)
       com.google.cloud.securitycenter.v1.ExfiltrationOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.securitycenter.v1.ExfiltrationProto
-          .internal_static_google_cloud_securitycenter_v1_Exfiltration_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.securitycenter.v1.ExfiltrationProto.internal_static_google_cloud_securitycenter_v1_Exfiltration_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.securitycenter.v1.ExfiltrationProto
-          .internal_static_google_cloud_securitycenter_v1_Exfiltration_fieldAccessorTable
+      return com.google.cloud.securitycenter.v1.ExfiltrationProto.internal_static_google_cloud_securitycenter_v1_Exfiltration_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.securitycenter.v1.Exfiltration.class,
-              com.google.cloud.securitycenter.v1.Exfiltration.Builder.class);
+              com.google.cloud.securitycenter.v1.Exfiltration.class, com.google.cloud.securitycenter.v1.Exfiltration.Builder.class);
     }
 
     // Construct using com.google.cloud.securitycenter.v1.Exfiltration.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();
@@ -455,9 +415,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.securitycenter.v1.ExfiltrationProto
-          .internal_static_google_cloud_securitycenter_v1_Exfiltration_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.securitycenter.v1.ExfiltrationProto.internal_static_google_cloud_securitycenter_v1_Exfiltration_descriptor;
     }
 
     @java.lang.Override
@@ -476,8 +436,7 @@ public com.google.cloud.securitycenter.v1.Exfiltration build() {
 
     @java.lang.Override
     public com.google.cloud.securitycenter.v1.Exfiltration buildPartial() {
-      com.google.cloud.securitycenter.v1.Exfiltration result =
-          new com.google.cloud.securitycenter.v1.Exfiltration(this);
+      com.google.cloud.securitycenter.v1.Exfiltration result = new com.google.cloud.securitycenter.v1.Exfiltration(this);
       int from_bitField0_ = bitField0_;
       if (sourcesBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -505,39 +464,38 @@ public com.google.cloud.securitycenter.v1.Exfiltration buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.securitycenter.v1.Exfiltration) {
-        return mergeFrom((com.google.cloud.securitycenter.v1.Exfiltration) other);
+        return mergeFrom((com.google.cloud.securitycenter.v1.Exfiltration)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -545,8 +503,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.securitycenter.v1.Exfiltration other) {
-      if (other == com.google.cloud.securitycenter.v1.Exfiltration.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.securitycenter.v1.Exfiltration.getDefaultInstance()) return this;
       if (sourcesBuilder_ == null) {
         if (!other.sources_.isEmpty()) {
           if (sources_.isEmpty()) {
@@ -565,10 +522,9 @@ public Builder mergeFrom(com.google.cloud.securitycenter.v1.Exfiltration other)
             sourcesBuilder_ = null;
             sources_ = other.sources_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            sourcesBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getSourcesFieldBuilder()
-                    : null;
+            sourcesBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getSourcesFieldBuilder() : null;
           } else {
             sourcesBuilder_.addAllMessages(other.sources_);
           }
@@ -592,10 +548,9 @@ public Builder mergeFrom(com.google.cloud.securitycenter.v1.Exfiltration other)
             targetsBuilder_ = null;
             targets_ = other.targets_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            targetsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getTargetsFieldBuilder()
-                    : null;
+            targetsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getTargetsFieldBuilder() : null;
           } else {
             targetsBuilder_.addAllMessages(other.targets_);
           }
@@ -627,41 +582,38 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.cloud.securitycenter.v1.ExfilResource m =
-                    input.readMessage(
-                        com.google.cloud.securitycenter.v1.ExfilResource.parser(),
-                        extensionRegistry);
-                if (sourcesBuilder_ == null) {
-                  ensureSourcesIsMutable();
-                  sources_.add(m);
-                } else {
-                  sourcesBuilder_.addMessage(m);
-                }
-                break;
-              } // case 10
-            case 18:
-              {
-                com.google.cloud.securitycenter.v1.ExfilResource m =
-                    input.readMessage(
-                        com.google.cloud.securitycenter.v1.ExfilResource.parser(),
-                        extensionRegistry);
-                if (targetsBuilder_ == null) {
-                  ensureTargetsIsMutable();
-                  targets_.add(m);
-                } else {
-                  targetsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              com.google.cloud.securitycenter.v1.ExfilResource m =
+                  input.readMessage(
+                      com.google.cloud.securitycenter.v1.ExfilResource.parser(),
+                      extensionRegistry);
+              if (sourcesBuilder_ == null) {
+                ensureSourcesIsMutable();
+                sources_.add(m);
+              } else {
+                sourcesBuilder_.addMessage(m);
+              }
+              break;
+            } // case 10
+            case 18: {
+              com.google.cloud.securitycenter.v1.ExfilResource m =
+                  input.readMessage(
+                      com.google.cloud.securitycenter.v1.ExfilResource.parser(),
+                      extensionRegistry);
+              if (targetsBuilder_ == null) {
+                ensureTargetsIsMutable();
+                targets_.add(m);
+              } else {
+                targetsBuilder_.addMessage(m);
+              }
+              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) {
@@ -671,29 +623,21 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.util.List sources_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureSourcesIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        sources_ =
-            new java.util.ArrayList(sources_);
+        sources_ = new java.util.ArrayList(sources_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.securitycenter.v1.ExfilResource,
-            com.google.cloud.securitycenter.v1.ExfilResource.Builder,
-            com.google.cloud.securitycenter.v1.ExfilResourceOrBuilder>
-        sourcesBuilder_;
+        com.google.cloud.securitycenter.v1.ExfilResource, com.google.cloud.securitycenter.v1.ExfilResource.Builder, com.google.cloud.securitycenter.v1.ExfilResourceOrBuilder> sourcesBuilder_;
 
     /**
-     *
-     *
      * 
      * If there are multiple sources, then the data is considered "joined" between
      * them. For instance, BigQuery can join multiple tables, and each
@@ -710,8 +654,6 @@ public java.util.List getSourc
       }
     }
     /**
-     *
-     *
      * 
      * If there are multiple sources, then the data is considered "joined" between
      * them. For instance, BigQuery can join multiple tables, and each
@@ -728,8 +670,6 @@ public int getSourcesCount() {
       }
     }
     /**
-     *
-     *
      * 
      * If there are multiple sources, then the data is considered "joined" between
      * them. For instance, BigQuery can join multiple tables, and each
@@ -746,8 +686,6 @@ public com.google.cloud.securitycenter.v1.ExfilResource getSources(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * If there are multiple sources, then the data is considered "joined" between
      * them. For instance, BigQuery can join multiple tables, and each
@@ -756,7 +694,8 @@ public com.google.cloud.securitycenter.v1.ExfilResource getSources(int index) {
      *
      * repeated .google.cloud.securitycenter.v1.ExfilResource sources = 1;
      */
-    public Builder setSources(int index, com.google.cloud.securitycenter.v1.ExfilResource value) {
+    public Builder setSources(
+        int index, com.google.cloud.securitycenter.v1.ExfilResource value) {
       if (sourcesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -770,8 +709,6 @@ public Builder setSources(int index, com.google.cloud.securitycenter.v1.ExfilRes
       return this;
     }
     /**
-     *
-     *
      * 
      * If there are multiple sources, then the data is considered "joined" between
      * them. For instance, BigQuery can join multiple tables, and each
@@ -792,8 +729,6 @@ public Builder setSources(
       return this;
     }
     /**
-     *
-     *
      * 
      * If there are multiple sources, then the data is considered "joined" between
      * them. For instance, BigQuery can join multiple tables, and each
@@ -816,8 +751,6 @@ public Builder addSources(com.google.cloud.securitycenter.v1.ExfilResource value
       return this;
     }
     /**
-     *
-     *
      * 
      * If there are multiple sources, then the data is considered "joined" between
      * them. For instance, BigQuery can join multiple tables, and each
@@ -826,7 +759,8 @@ public Builder addSources(com.google.cloud.securitycenter.v1.ExfilResource value
      *
      * repeated .google.cloud.securitycenter.v1.ExfilResource sources = 1;
      */
-    public Builder addSources(int index, com.google.cloud.securitycenter.v1.ExfilResource value) {
+    public Builder addSources(
+        int index, com.google.cloud.securitycenter.v1.ExfilResource value) {
       if (sourcesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -840,8 +774,6 @@ public Builder addSources(int index, com.google.cloud.securitycenter.v1.ExfilRes
       return this;
     }
     /**
-     *
-     *
      * 
      * If there are multiple sources, then the data is considered "joined" between
      * them. For instance, BigQuery can join multiple tables, and each
@@ -862,8 +794,6 @@ public Builder addSources(
       return this;
     }
     /**
-     *
-     *
      * 
      * If there are multiple sources, then the data is considered "joined" between
      * them. For instance, BigQuery can join multiple tables, and each
@@ -884,8 +814,6 @@ public Builder addSources(
       return this;
     }
     /**
-     *
-     *
      * 
      * If there are multiple sources, then the data is considered "joined" between
      * them. For instance, BigQuery can join multiple tables, and each
@@ -898,7 +826,8 @@ public Builder addAllSources(
         java.lang.Iterable values) {
       if (sourcesBuilder_ == null) {
         ensureSourcesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, sources_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, sources_);
         onChanged();
       } else {
         sourcesBuilder_.addAllMessages(values);
@@ -906,8 +835,6 @@ public Builder addAllSources(
       return this;
     }
     /**
-     *
-     *
      * 
      * If there are multiple sources, then the data is considered "joined" between
      * them. For instance, BigQuery can join multiple tables, and each
@@ -927,8 +854,6 @@ public Builder clearSources() {
       return this;
     }
     /**
-     *
-     *
      * 
      * If there are multiple sources, then the data is considered "joined" between
      * them. For instance, BigQuery can join multiple tables, and each
@@ -948,8 +873,6 @@ public Builder removeSources(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If there are multiple sources, then the data is considered "joined" between
      * them. For instance, BigQuery can join multiple tables, and each
@@ -958,12 +881,11 @@ public Builder removeSources(int index) {
      *
      * repeated .google.cloud.securitycenter.v1.ExfilResource sources = 1;
      */
-    public com.google.cloud.securitycenter.v1.ExfilResource.Builder getSourcesBuilder(int index) {
+    public com.google.cloud.securitycenter.v1.ExfilResource.Builder getSourcesBuilder(
+        int index) {
       return getSourcesFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * If there are multiple sources, then the data is considered "joined" between
      * them. For instance, BigQuery can join multiple tables, and each
@@ -975,14 +897,11 @@ public com.google.cloud.securitycenter.v1.ExfilResource.Builder getSourcesBuilde
     public com.google.cloud.securitycenter.v1.ExfilResourceOrBuilder getSourcesOrBuilder(
         int index) {
       if (sourcesBuilder_ == null) {
-        return sources_.get(index);
-      } else {
+        return sources_.get(index);  } else {
         return sourcesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * If there are multiple sources, then the data is considered "joined" between
      * them. For instance, BigQuery can join multiple tables, and each
@@ -991,8 +910,8 @@ public com.google.cloud.securitycenter.v1.ExfilResourceOrBuilder getSourcesOrBui
      *
      * repeated .google.cloud.securitycenter.v1.ExfilResource sources = 1;
      */
-    public java.util.List
-        getSourcesOrBuilderList() {
+    public java.util.List 
+         getSourcesOrBuilderList() {
       if (sourcesBuilder_ != null) {
         return sourcesBuilder_.getMessageOrBuilderList();
       } else {
@@ -1000,8 +919,6 @@ public com.google.cloud.securitycenter.v1.ExfilResourceOrBuilder getSourcesOrBui
       }
     }
     /**
-     *
-     *
      * 
      * If there are multiple sources, then the data is considered "joined" between
      * them. For instance, BigQuery can join multiple tables, and each
@@ -1011,12 +928,10 @@ public com.google.cloud.securitycenter.v1.ExfilResourceOrBuilder getSourcesOrBui
      * repeated .google.cloud.securitycenter.v1.ExfilResource sources = 1;
      */
     public com.google.cloud.securitycenter.v1.ExfilResource.Builder addSourcesBuilder() {
-      return getSourcesFieldBuilder()
-          .addBuilder(com.google.cloud.securitycenter.v1.ExfilResource.getDefaultInstance());
+      return getSourcesFieldBuilder().addBuilder(
+          com.google.cloud.securitycenter.v1.ExfilResource.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * If there are multiple sources, then the data is considered "joined" between
      * them. For instance, BigQuery can join multiple tables, and each
@@ -1025,13 +940,12 @@ public com.google.cloud.securitycenter.v1.ExfilResource.Builder addSourcesBuilde
      *
      * repeated .google.cloud.securitycenter.v1.ExfilResource sources = 1;
      */
-    public com.google.cloud.securitycenter.v1.ExfilResource.Builder addSourcesBuilder(int index) {
-      return getSourcesFieldBuilder()
-          .addBuilder(index, com.google.cloud.securitycenter.v1.ExfilResource.getDefaultInstance());
+    public com.google.cloud.securitycenter.v1.ExfilResource.Builder addSourcesBuilder(
+        int index) {
+      return getSourcesFieldBuilder().addBuilder(
+          index, com.google.cloud.securitycenter.v1.ExfilResource.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * If there are multiple sources, then the data is considered "joined" between
      * them. For instance, BigQuery can join multiple tables, and each
@@ -1040,48 +954,38 @@ public com.google.cloud.securitycenter.v1.ExfilResource.Builder addSourcesBuilde
      *
      * repeated .google.cloud.securitycenter.v1.ExfilResource sources = 1;
      */
-    public java.util.List
-        getSourcesBuilderList() {
+    public java.util.List 
+         getSourcesBuilderList() {
       return getSourcesFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.securitycenter.v1.ExfilResource,
-            com.google.cloud.securitycenter.v1.ExfilResource.Builder,
-            com.google.cloud.securitycenter.v1.ExfilResourceOrBuilder>
+        com.google.cloud.securitycenter.v1.ExfilResource, com.google.cloud.securitycenter.v1.ExfilResource.Builder, com.google.cloud.securitycenter.v1.ExfilResourceOrBuilder> 
         getSourcesFieldBuilder() {
       if (sourcesBuilder_ == null) {
-        sourcesBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.cloud.securitycenter.v1.ExfilResource,
-                com.google.cloud.securitycenter.v1.ExfilResource.Builder,
-                com.google.cloud.securitycenter.v1.ExfilResourceOrBuilder>(
-                sources_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        sourcesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.cloud.securitycenter.v1.ExfilResource, com.google.cloud.securitycenter.v1.ExfilResource.Builder, com.google.cloud.securitycenter.v1.ExfilResourceOrBuilder>(
+                sources_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         sources_ = null;
       }
       return sourcesBuilder_;
     }
 
     private java.util.List targets_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureTargetsIsMutable() {
       if (!((bitField0_ & 0x00000002) != 0)) {
-        targets_ =
-            new java.util.ArrayList(targets_);
+        targets_ = new java.util.ArrayList(targets_);
         bitField0_ |= 0x00000002;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.securitycenter.v1.ExfilResource,
-            com.google.cloud.securitycenter.v1.ExfilResource.Builder,
-            com.google.cloud.securitycenter.v1.ExfilResourceOrBuilder>
-        targetsBuilder_;
+        com.google.cloud.securitycenter.v1.ExfilResource, com.google.cloud.securitycenter.v1.ExfilResource.Builder, com.google.cloud.securitycenter.v1.ExfilResourceOrBuilder> targetsBuilder_;
 
     /**
-     *
-     *
      * 
      * If there are multiple targets, each target would get a complete copy of the
      * "joined" source data.
@@ -1097,8 +1001,6 @@ public java.util.List getTarge
       }
     }
     /**
-     *
-     *
      * 
      * If there are multiple targets, each target would get a complete copy of the
      * "joined" source data.
@@ -1114,8 +1016,6 @@ public int getTargetsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * If there are multiple targets, each target would get a complete copy of the
      * "joined" source data.
@@ -1131,8 +1031,6 @@ public com.google.cloud.securitycenter.v1.ExfilResource getTargets(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * If there are multiple targets, each target would get a complete copy of the
      * "joined" source data.
@@ -1140,7 +1038,8 @@ public com.google.cloud.securitycenter.v1.ExfilResource getTargets(int index) {
      *
      * repeated .google.cloud.securitycenter.v1.ExfilResource targets = 2;
      */
-    public Builder setTargets(int index, com.google.cloud.securitycenter.v1.ExfilResource value) {
+    public Builder setTargets(
+        int index, com.google.cloud.securitycenter.v1.ExfilResource value) {
       if (targetsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1154,8 +1053,6 @@ public Builder setTargets(int index, com.google.cloud.securitycenter.v1.ExfilRes
       return this;
     }
     /**
-     *
-     *
      * 
      * If there are multiple targets, each target would get a complete copy of the
      * "joined" source data.
@@ -1175,8 +1072,6 @@ public Builder setTargets(
       return this;
     }
     /**
-     *
-     *
      * 
      * If there are multiple targets, each target would get a complete copy of the
      * "joined" source data.
@@ -1198,8 +1093,6 @@ public Builder addTargets(com.google.cloud.securitycenter.v1.ExfilResource value
       return this;
     }
     /**
-     *
-     *
      * 
      * If there are multiple targets, each target would get a complete copy of the
      * "joined" source data.
@@ -1207,7 +1100,8 @@ public Builder addTargets(com.google.cloud.securitycenter.v1.ExfilResource value
      *
      * repeated .google.cloud.securitycenter.v1.ExfilResource targets = 2;
      */
-    public Builder addTargets(int index, com.google.cloud.securitycenter.v1.ExfilResource value) {
+    public Builder addTargets(
+        int index, com.google.cloud.securitycenter.v1.ExfilResource value) {
       if (targetsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1221,8 +1115,6 @@ public Builder addTargets(int index, com.google.cloud.securitycenter.v1.ExfilRes
       return this;
     }
     /**
-     *
-     *
      * 
      * If there are multiple targets, each target would get a complete copy of the
      * "joined" source data.
@@ -1242,8 +1134,6 @@ public Builder addTargets(
       return this;
     }
     /**
-     *
-     *
      * 
      * If there are multiple targets, each target would get a complete copy of the
      * "joined" source data.
@@ -1263,8 +1153,6 @@ public Builder addTargets(
       return this;
     }
     /**
-     *
-     *
      * 
      * If there are multiple targets, each target would get a complete copy of the
      * "joined" source data.
@@ -1276,7 +1164,8 @@ public Builder addAllTargets(
         java.lang.Iterable values) {
       if (targetsBuilder_ == null) {
         ensureTargetsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, targets_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, targets_);
         onChanged();
       } else {
         targetsBuilder_.addAllMessages(values);
@@ -1284,8 +1173,6 @@ public Builder addAllTargets(
       return this;
     }
     /**
-     *
-     *
      * 
      * If there are multiple targets, each target would get a complete copy of the
      * "joined" source data.
@@ -1304,8 +1191,6 @@ public Builder clearTargets() {
       return this;
     }
     /**
-     *
-     *
      * 
      * If there are multiple targets, each target would get a complete copy of the
      * "joined" source data.
@@ -1324,8 +1209,6 @@ public Builder removeTargets(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If there are multiple targets, each target would get a complete copy of the
      * "joined" source data.
@@ -1333,12 +1216,11 @@ public Builder removeTargets(int index) {
      *
      * repeated .google.cloud.securitycenter.v1.ExfilResource targets = 2;
      */
-    public com.google.cloud.securitycenter.v1.ExfilResource.Builder getTargetsBuilder(int index) {
+    public com.google.cloud.securitycenter.v1.ExfilResource.Builder getTargetsBuilder(
+        int index) {
       return getTargetsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * If there are multiple targets, each target would get a complete copy of the
      * "joined" source data.
@@ -1349,14 +1231,11 @@ public com.google.cloud.securitycenter.v1.ExfilResource.Builder getTargetsBuilde
     public com.google.cloud.securitycenter.v1.ExfilResourceOrBuilder getTargetsOrBuilder(
         int index) {
       if (targetsBuilder_ == null) {
-        return targets_.get(index);
-      } else {
+        return targets_.get(index);  } else {
         return targetsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * If there are multiple targets, each target would get a complete copy of the
      * "joined" source data.
@@ -1364,8 +1243,8 @@ public com.google.cloud.securitycenter.v1.ExfilResourceOrBuilder getTargetsOrBui
      *
      * repeated .google.cloud.securitycenter.v1.ExfilResource targets = 2;
      */
-    public java.util.List
-        getTargetsOrBuilderList() {
+    public java.util.List 
+         getTargetsOrBuilderList() {
       if (targetsBuilder_ != null) {
         return targetsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1373,8 +1252,6 @@ public com.google.cloud.securitycenter.v1.ExfilResourceOrBuilder getTargetsOrBui
       }
     }
     /**
-     *
-     *
      * 
      * If there are multiple targets, each target would get a complete copy of the
      * "joined" source data.
@@ -1383,12 +1260,10 @@ public com.google.cloud.securitycenter.v1.ExfilResourceOrBuilder getTargetsOrBui
      * repeated .google.cloud.securitycenter.v1.ExfilResource targets = 2;
      */
     public com.google.cloud.securitycenter.v1.ExfilResource.Builder addTargetsBuilder() {
-      return getTargetsFieldBuilder()
-          .addBuilder(com.google.cloud.securitycenter.v1.ExfilResource.getDefaultInstance());
+      return getTargetsFieldBuilder().addBuilder(
+          com.google.cloud.securitycenter.v1.ExfilResource.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * If there are multiple targets, each target would get a complete copy of the
      * "joined" source data.
@@ -1396,13 +1271,12 @@ public com.google.cloud.securitycenter.v1.ExfilResource.Builder addTargetsBuilde
      *
      * repeated .google.cloud.securitycenter.v1.ExfilResource targets = 2;
      */
-    public com.google.cloud.securitycenter.v1.ExfilResource.Builder addTargetsBuilder(int index) {
-      return getTargetsFieldBuilder()
-          .addBuilder(index, com.google.cloud.securitycenter.v1.ExfilResource.getDefaultInstance());
+    public com.google.cloud.securitycenter.v1.ExfilResource.Builder addTargetsBuilder(
+        int index) {
+      return getTargetsFieldBuilder().addBuilder(
+          index, com.google.cloud.securitycenter.v1.ExfilResource.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * If there are multiple targets, each target would get a complete copy of the
      * "joined" source data.
@@ -1410,30 +1284,27 @@ public com.google.cloud.securitycenter.v1.ExfilResource.Builder addTargetsBuilde
      *
      * repeated .google.cloud.securitycenter.v1.ExfilResource targets = 2;
      */
-    public java.util.List
-        getTargetsBuilderList() {
+    public java.util.List 
+         getTargetsBuilderList() {
       return getTargetsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.securitycenter.v1.ExfilResource,
-            com.google.cloud.securitycenter.v1.ExfilResource.Builder,
-            com.google.cloud.securitycenter.v1.ExfilResourceOrBuilder>
+        com.google.cloud.securitycenter.v1.ExfilResource, com.google.cloud.securitycenter.v1.ExfilResource.Builder, com.google.cloud.securitycenter.v1.ExfilResourceOrBuilder> 
         getTargetsFieldBuilder() {
       if (targetsBuilder_ == null) {
-        targetsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.cloud.securitycenter.v1.ExfilResource,
-                com.google.cloud.securitycenter.v1.ExfilResource.Builder,
-                com.google.cloud.securitycenter.v1.ExfilResourceOrBuilder>(
-                targets_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean());
+        targetsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.cloud.securitycenter.v1.ExfilResource, com.google.cloud.securitycenter.v1.ExfilResource.Builder, com.google.cloud.securitycenter.v1.ExfilResourceOrBuilder>(
+                targets_,
+                ((bitField0_ & 0x00000002) != 0),
+                getParentForChildren(),
+                isClean());
         targets_ = null;
       }
       return targetsBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1443,12 +1314,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.securitycenter.v1.Exfiltration)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1.Exfiltration)
   private static final com.google.cloud.securitycenter.v1.Exfiltration DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.securitycenter.v1.Exfiltration();
   }
@@ -1457,27 +1328,27 @@ public static com.google.cloud.securitycenter.v1.Exfiltration getDefaultInstance
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public Exfiltration parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            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 Exfiltration parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        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;
@@ -1492,4 +1363,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.securitycenter.v1.Exfiltration getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ExfiltrationOrBuilder.java b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ExfiltrationOrBuilder.java
similarity index 80%
rename from java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ExfiltrationOrBuilder.java
rename to owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ExfiltrationOrBuilder.java
index f84ebb366f09..5167c57ad8b8 100644
--- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ExfiltrationOrBuilder.java
+++ b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ExfiltrationOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/securitycenter/v1/exfiltration.proto
 
 package com.google.cloud.securitycenter.v1;
 
-public interface ExfiltrationOrBuilder
-    extends
+public interface ExfiltrationOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.securitycenter.v1.Exfiltration)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * If there are multiple sources, then the data is considered "joined" between
    * them. For instance, BigQuery can join multiple tables, and each
@@ -34,10 +16,9 @@ public interface ExfiltrationOrBuilder
    *
    * repeated .google.cloud.securitycenter.v1.ExfilResource sources = 1;
    */
-  java.util.List getSourcesList();
+  java.util.List 
+      getSourcesList();
   /**
-   *
-   *
    * 
    * If there are multiple sources, then the data is considered "joined" between
    * them. For instance, BigQuery can join multiple tables, and each
@@ -48,8 +29,6 @@ public interface ExfiltrationOrBuilder
    */
   com.google.cloud.securitycenter.v1.ExfilResource getSources(int index);
   /**
-   *
-   *
    * 
    * If there are multiple sources, then the data is considered "joined" between
    * them. For instance, BigQuery can join multiple tables, and each
@@ -60,8 +39,6 @@ public interface ExfiltrationOrBuilder
    */
   int getSourcesCount();
   /**
-   *
-   *
    * 
    * If there are multiple sources, then the data is considered "joined" between
    * them. For instance, BigQuery can join multiple tables, and each
@@ -70,11 +47,9 @@ public interface ExfiltrationOrBuilder
    *
    * repeated .google.cloud.securitycenter.v1.ExfilResource sources = 1;
    */
-  java.util.List
+  java.util.List 
       getSourcesOrBuilderList();
   /**
-   *
-   *
    * 
    * If there are multiple sources, then the data is considered "joined" between
    * them. For instance, BigQuery can join multiple tables, and each
@@ -83,11 +58,10 @@ public interface ExfiltrationOrBuilder
    *
    * repeated .google.cloud.securitycenter.v1.ExfilResource sources = 1;
    */
-  com.google.cloud.securitycenter.v1.ExfilResourceOrBuilder getSourcesOrBuilder(int index);
+  com.google.cloud.securitycenter.v1.ExfilResourceOrBuilder getSourcesOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * If there are multiple targets, each target would get a complete copy of the
    * "joined" source data.
@@ -95,10 +69,9 @@ public interface ExfiltrationOrBuilder
    *
    * repeated .google.cloud.securitycenter.v1.ExfilResource targets = 2;
    */
-  java.util.List getTargetsList();
+  java.util.List 
+      getTargetsList();
   /**
-   *
-   *
    * 
    * If there are multiple targets, each target would get a complete copy of the
    * "joined" source data.
@@ -108,8 +81,6 @@ public interface ExfiltrationOrBuilder
    */
   com.google.cloud.securitycenter.v1.ExfilResource getTargets(int index);
   /**
-   *
-   *
    * 
    * If there are multiple targets, each target would get a complete copy of the
    * "joined" source data.
@@ -119,8 +90,6 @@ public interface ExfiltrationOrBuilder
    */
   int getTargetsCount();
   /**
-   *
-   *
    * 
    * If there are multiple targets, each target would get a complete copy of the
    * "joined" source data.
@@ -128,11 +97,9 @@ public interface ExfiltrationOrBuilder
    *
    * repeated .google.cloud.securitycenter.v1.ExfilResource targets = 2;
    */
-  java.util.List
+  java.util.List 
       getTargetsOrBuilderList();
   /**
-   *
-   *
    * 
    * If there are multiple targets, each target would get a complete copy of the
    * "joined" source data.
@@ -140,5 +107,6 @@ public interface ExfiltrationOrBuilder
    *
    * repeated .google.cloud.securitycenter.v1.ExfilResource targets = 2;
    */
-  com.google.cloud.securitycenter.v1.ExfilResourceOrBuilder getTargetsOrBuilder(int index);
+  com.google.cloud.securitycenter.v1.ExfilResourceOrBuilder getTargetsOrBuilder(
+      int index);
 }
diff --git a/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ExfiltrationProto.java b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ExfiltrationProto.java
new file mode 100644
index 000000000000..d524306b317b
--- /dev/null
+++ b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ExfiltrationProto.java
@@ -0,0 +1,70 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/cloud/securitycenter/v1/exfiltration.proto
+
+package com.google.cloud.securitycenter.v1;
+
+public final class ExfiltrationProto {
+  private ExfiltrationProto() {}
+  public static void registerAllExtensions(
+      com.google.protobuf.ExtensionRegistryLite registry) {
+  }
+
+  public 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_securitycenter_v1_Exfiltration_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_securitycenter_v1_Exfiltration_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_securitycenter_v1_ExfilResource_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_securitycenter_v1_ExfilResource_fieldAccessorTable;
+
+  public static com.google.protobuf.Descriptors.FileDescriptor
+      getDescriptor() {
+    return descriptor;
+  }
+  private static  com.google.protobuf.Descriptors.FileDescriptor
+      descriptor;
+  static {
+    java.lang.String[] descriptorData = {
+      "\n1google/cloud/securitycenter/v1/exfiltr" +
+      "ation.proto\022\036google.cloud.securitycenter" +
+      ".v1\"\216\001\n\014Exfiltration\022>\n\007sources\030\001 \003(\0132-." +
+      "google.cloud.securitycenter.v1.ExfilReso" +
+      "urce\022>\n\007targets\030\002 \003(\0132-.google.cloud.sec" +
+      "uritycenter.v1.ExfilResource\"1\n\rExfilRes" +
+      "ource\022\014\n\004name\030\001 \001(\t\022\022\n\ncomponents\030\002 \003(\tB" +
+      "\355\001\n\"com.google.cloud.securitycenter.v1B\021" +
+      "ExfiltrationProtoP\001ZLgoogle.golang.org/g" +
+      "enproto/googleapis/cloud/securitycenter/" +
+      "v1;securitycenter\252\002\036Google.Cloud.Securit" +
+      "yCenter.V1\312\002\036Google\\Cloud\\SecurityCenter" +
+      "\\V1\352\002!Google::Cloud::SecurityCenter::V1b" +
+      "\006proto3"
+    };
+    descriptor = com.google.protobuf.Descriptors.FileDescriptor
+      .internalBuildGeneratedFileFrom(descriptorData,
+        new com.google.protobuf.Descriptors.FileDescriptor[] {
+        });
+    internal_static_google_cloud_securitycenter_v1_Exfiltration_descriptor =
+      getDescriptor().getMessageTypes().get(0);
+    internal_static_google_cloud_securitycenter_v1_Exfiltration_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_securitycenter_v1_Exfiltration_descriptor,
+        new java.lang.String[] { "Sources", "Targets", });
+    internal_static_google_cloud_securitycenter_v1_ExfilResource_descriptor =
+      getDescriptor().getMessageTypes().get(1);
+    internal_static_google_cloud_securitycenter_v1_ExfilResource_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_securitycenter_v1_ExfilResource_descriptor,
+        new java.lang.String[] { "Name", "Components", });
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ExternalSystem.java b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ExternalSystem.java
similarity index 74%
rename from java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ExternalSystem.java
rename to owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ExternalSystem.java
index 7ec9f3a637c8..3af0a6015a09 100644
--- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ExternalSystem.java
+++ b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ExternalSystem.java
@@ -1,42 +1,24 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/securitycenter/v1/external_system.proto
 
 package com.google.cloud.securitycenter.v1;
 
 /**
- *
- *
  * 
  * Representation of third party SIEM/SOAR fields within SCC.
  * 
* * Protobuf type {@code google.cloud.securitycenter.v1.ExternalSystem} */ -public final class ExternalSystem extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ExternalSystem extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.securitycenter.v1.ExternalSystem) ExternalSystemOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ExternalSystem.newBuilder() to construct. private ExternalSystem(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ExternalSystem() { name_ = ""; assignees_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -46,35 +28,32 @@ private ExternalSystem() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ExternalSystem(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.securitycenter.v1.ExternalSystemProto - .internal_static_google_cloud_securitycenter_v1_ExternalSystem_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.securitycenter.v1.ExternalSystemProto.internal_static_google_cloud_securitycenter_v1_ExternalSystem_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.securitycenter.v1.ExternalSystemProto - .internal_static_google_cloud_securitycenter_v1_ExternalSystem_fieldAccessorTable + return com.google.cloud.securitycenter.v1.ExternalSystemProto.internal_static_google_cloud_securitycenter_v1_ExternalSystem_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.securitycenter.v1.ExternalSystem.class, - com.google.cloud.securitycenter.v1.ExternalSystem.Builder.class); + com.google.cloud.securitycenter.v1.ExternalSystem.class, com.google.cloud.securitycenter.v1.ExternalSystem.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * External System Name e.g. jira, demisto, etc.
    *  e.g.:
@@ -84,7 +63,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -93,15 +71,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * External System Name e.g. jira, demisto, etc.
    *  e.g.:
@@ -111,15 +88,16 @@ public java.lang.String getName() {
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -130,42 +108,34 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int ASSIGNEES_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList assignees_; /** - * - * *
    * References primary/secondary etc assignees in the external system.
    * 
* * repeated string assignees = 2; - * * @return A list containing the assignees. */ - public com.google.protobuf.ProtocolStringList getAssigneesList() { + public com.google.protobuf.ProtocolStringList + getAssigneesList() { return assignees_; } /** - * - * *
    * References primary/secondary etc assignees in the external system.
    * 
* * repeated string assignees = 2; - * * @return The count of assignees. */ public int getAssigneesCount() { return assignees_.size(); } /** - * - * *
    * References primary/secondary etc assignees in the external system.
    * 
* * repeated string assignees = 2; - * * @param index The index of the element to return. * @return The assignees at the given index. */ @@ -173,32 +143,27 @@ public java.lang.String getAssignees(int index) { return assignees_.get(index); } /** - * - * *
    * References primary/secondary etc assignees in the external system.
    * 
* * repeated string assignees = 2; - * * @param index The index of the value to return. * @return The bytes of the assignees at the given index. */ - public com.google.protobuf.ByteString getAssigneesBytes(int index) { + public com.google.protobuf.ByteString + getAssigneesBytes(int index) { return assignees_.getByteString(index); } public static final int EXTERNAL_UID_FIELD_NUMBER = 3; private volatile java.lang.Object externalUid_; /** - * - * *
    * Identifier that's used to track the given finding in the external system.
    * 
* * string external_uid = 3; - * * @return The externalUid. */ @java.lang.Override @@ -207,29 +172,29 @@ public java.lang.String getExternalUid() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); externalUid_ = s; return s; } } /** - * - * *
    * Identifier that's used to track the given finding in the external system.
    * 
* * string external_uid = 3; - * * @return The bytes for externalUid. */ @java.lang.Override - public com.google.protobuf.ByteString getExternalUidBytes() { + public com.google.protobuf.ByteString + getExternalUidBytes() { java.lang.Object ref = externalUid_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); externalUid_ = b; return b; } else { @@ -240,15 +205,12 @@ public com.google.protobuf.ByteString getExternalUidBytes() { public static final int STATUS_FIELD_NUMBER = 4; private volatile java.lang.Object status_; /** - * - * *
    * Most recent status of the corresponding finding's ticket/tracker in the
    * external system.
    * 
* * string status = 4; - * * @return The status. */ @java.lang.Override @@ -257,30 +219,30 @@ public java.lang.String getStatus() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); status_ = s; return s; } } /** - * - * *
    * Most recent status of the corresponding finding's ticket/tracker in the
    * external system.
    * 
* * string status = 4; - * * @return The bytes for status. */ @java.lang.Override - public com.google.protobuf.ByteString getStatusBytes() { + public com.google.protobuf.ByteString + getStatusBytes() { java.lang.Object ref = status_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); status_ = b; return b; } else { @@ -291,15 +253,12 @@ public com.google.protobuf.ByteString getStatusBytes() { public static final int EXTERNAL_SYSTEM_UPDATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp externalSystemUpdateTime_; /** - * - * *
    * The most recent time when the corresponding finding's ticket/tracker was
    * updated in the external system.
    * 
* * .google.protobuf.Timestamp external_system_update_time = 5; - * * @return Whether the externalSystemUpdateTime field is set. */ @java.lang.Override @@ -307,26 +266,19 @@ public boolean hasExternalSystemUpdateTime() { return externalSystemUpdateTime_ != null; } /** - * - * *
    * The most recent time when the corresponding finding's ticket/tracker was
    * updated in the external system.
    * 
* * .google.protobuf.Timestamp external_system_update_time = 5; - * * @return The externalSystemUpdateTime. */ @java.lang.Override public com.google.protobuf.Timestamp getExternalSystemUpdateTime() { - return externalSystemUpdateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : externalSystemUpdateTime_; + return externalSystemUpdateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : externalSystemUpdateTime_; } /** - * - * *
    * The most recent time when the corresponding finding's ticket/tracker was
    * updated in the external system.
@@ -340,7 +292,6 @@ public com.google.protobuf.TimestampOrBuilder getExternalSystemUpdateTimeOrBuild
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -352,7 +303,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
     }
@@ -395,9 +347,8 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, status_);
     }
     if (externalSystemUpdateTime_ != null) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              5, getExternalSystemUpdateTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(5, getExternalSystemUpdateTime());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -407,21 +358,25 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.securitycenter.v1.ExternalSystem)) {
       return super.equals(obj);
     }
-    com.google.cloud.securitycenter.v1.ExternalSystem other =
-        (com.google.cloud.securitycenter.v1.ExternalSystem) obj;
+    com.google.cloud.securitycenter.v1.ExternalSystem other = (com.google.cloud.securitycenter.v1.ExternalSystem) obj;
 
-    if (!getName().equals(other.getName())) return false;
-    if (!getAssigneesList().equals(other.getAssigneesList())) return false;
-    if (!getExternalUid().equals(other.getExternalUid())) return false;
-    if (!getStatus().equals(other.getStatus())) return false;
+    if (!getName()
+        .equals(other.getName())) return false;
+    if (!getAssigneesList()
+        .equals(other.getAssigneesList())) return false;
+    if (!getExternalUid()
+        .equals(other.getExternalUid())) return false;
+    if (!getStatus()
+        .equals(other.getStatus())) return false;
     if (hasExternalSystemUpdateTime() != other.hasExternalSystemUpdateTime()) return false;
     if (hasExternalSystemUpdateTime()) {
-      if (!getExternalSystemUpdateTime().equals(other.getExternalSystemUpdateTime())) return false;
+      if (!getExternalSystemUpdateTime()
+          .equals(other.getExternalSystemUpdateTime())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -454,135 +409,129 @@ public int hashCode() {
   }
 
   public static com.google.cloud.securitycenter.v1.ExternalSystem parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.securitycenter.v1.ExternalSystem parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.securitycenter.v1.ExternalSystem parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.securitycenter.v1.ExternalSystem parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.securitycenter.v1.ExternalSystem parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.securitycenter.v1.ExternalSystem parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.cloud.securitycenter.v1.ExternalSystem parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.securitycenter.v1.ExternalSystem parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.securitycenter.v1.ExternalSystem parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.cloud.securitycenter.v1.ExternalSystem parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.securitycenter.v1.ExternalSystem parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.securitycenter.v1.ExternalSystem parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.securitycenter.v1.ExternalSystem parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.securitycenter.v1.ExternalSystem parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.securitycenter.v1.ExternalSystem prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Representation of third party SIEM/SOAR fields within SCC.
    * 
* * Protobuf type {@code google.cloud.securitycenter.v1.ExternalSystem} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.securitycenter.v1.ExternalSystem) com.google.cloud.securitycenter.v1.ExternalSystemOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.securitycenter.v1.ExternalSystemProto - .internal_static_google_cloud_securitycenter_v1_ExternalSystem_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.securitycenter.v1.ExternalSystemProto.internal_static_google_cloud_securitycenter_v1_ExternalSystem_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.securitycenter.v1.ExternalSystemProto - .internal_static_google_cloud_securitycenter_v1_ExternalSystem_fieldAccessorTable + return com.google.cloud.securitycenter.v1.ExternalSystemProto.internal_static_google_cloud_securitycenter_v1_ExternalSystem_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.securitycenter.v1.ExternalSystem.class, - com.google.cloud.securitycenter.v1.ExternalSystem.Builder.class); + com.google.cloud.securitycenter.v1.ExternalSystem.class, com.google.cloud.securitycenter.v1.ExternalSystem.Builder.class); } // Construct using com.google.cloud.securitycenter.v1.ExternalSystem.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(); @@ -604,9 +553,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.securitycenter.v1.ExternalSystemProto - .internal_static_google_cloud_securitycenter_v1_ExternalSystem_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.securitycenter.v1.ExternalSystemProto.internal_static_google_cloud_securitycenter_v1_ExternalSystem_descriptor; } @java.lang.Override @@ -625,8 +574,7 @@ public com.google.cloud.securitycenter.v1.ExternalSystem build() { @java.lang.Override public com.google.cloud.securitycenter.v1.ExternalSystem buildPartial() { - com.google.cloud.securitycenter.v1.ExternalSystem result = - new com.google.cloud.securitycenter.v1.ExternalSystem(this); + com.google.cloud.securitycenter.v1.ExternalSystem result = new com.google.cloud.securitycenter.v1.ExternalSystem(this); int from_bitField0_ = bitField0_; result.name_ = name_; if (((bitField0_ & 0x00000001) != 0)) { @@ -649,39 +597,38 @@ public com.google.cloud.securitycenter.v1.ExternalSystem buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.securitycenter.v1.ExternalSystem) { - return mergeFrom((com.google.cloud.securitycenter.v1.ExternalSystem) other); + return mergeFrom((com.google.cloud.securitycenter.v1.ExternalSystem)other); } else { super.mergeFrom(other); return this; @@ -689,8 +636,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.securitycenter.v1.ExternalSystem other) { - if (other == com.google.cloud.securitycenter.v1.ExternalSystem.getDefaultInstance()) - return this; + if (other == com.google.cloud.securitycenter.v1.ExternalSystem.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -742,45 +688,40 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); + case 10: { + name_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureAssigneesIsMutable(); - assignees_.add(s); - break; - } // case 18 - case 26: - { - externalUid_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + ensureAssigneesIsMutable(); + assignees_.add(s); + break; + } // case 18 + case 26: { + externalUid_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 34: - { - status_ = input.readStringRequireUtf8(); + break; + } // case 26 + case 34: { + status_ = input.readStringRequireUtf8(); - break; - } // case 34 - case 42: - { - input.readMessage( - getExternalSystemUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 34 + case 42: { + input.readMessage( + getExternalSystemUpdateTimeFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 42 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -790,13 +731,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * External System Name e.g. jira, demisto, etc.
      *  e.g.:
@@ -806,13 +744,13 @@ public Builder mergeFrom(
      * 
* * string name = 1; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -821,8 +759,6 @@ public java.lang.String getName() { } } /** - * - * *
      * External System Name e.g. jira, demisto, etc.
      *  e.g.:
@@ -832,14 +768,15 @@ public java.lang.String getName() {
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -847,8 +784,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * External System Name e.g. jira, demisto, etc.
      *  e.g.:
@@ -858,22 +793,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * External System Name e.g. jira, demisto, etc.
      *  e.g.:
@@ -883,18 +816,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * External System Name e.g. jira, demisto, etc.
      *  e.g.:
@@ -904,67 +834,57 @@ public Builder clearName() {
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList assignees_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList assignees_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureAssigneesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { assignees_ = new com.google.protobuf.LazyStringArrayList(assignees_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * References primary/secondary etc assignees in the external system.
      * 
* * repeated string assignees = 2; - * * @return A list containing the assignees. */ - public com.google.protobuf.ProtocolStringList getAssigneesList() { + public com.google.protobuf.ProtocolStringList + getAssigneesList() { return assignees_.getUnmodifiableView(); } /** - * - * *
      * References primary/secondary etc assignees in the external system.
      * 
* * repeated string assignees = 2; - * * @return The count of assignees. */ public int getAssigneesCount() { return assignees_.size(); } /** - * - * *
      * References primary/secondary etc assignees in the external system.
      * 
* * repeated string assignees = 2; - * * @param index The index of the element to return. * @return The assignees at the given index. */ @@ -972,90 +892,80 @@ public java.lang.String getAssignees(int index) { return assignees_.get(index); } /** - * - * *
      * References primary/secondary etc assignees in the external system.
      * 
* * repeated string assignees = 2; - * * @param index The index of the value to return. * @return The bytes of the assignees at the given index. */ - public com.google.protobuf.ByteString getAssigneesBytes(int index) { + public com.google.protobuf.ByteString + getAssigneesBytes(int index) { return assignees_.getByteString(index); } /** - * - * *
      * References primary/secondary etc assignees in the external system.
      * 
* * repeated string assignees = 2; - * * @param index The index to set the value at. * @param value The assignees to set. * @return This builder for chaining. */ - public Builder setAssignees(int index, java.lang.String value) { + public Builder setAssignees( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAssigneesIsMutable(); + throw new NullPointerException(); + } + ensureAssigneesIsMutable(); assignees_.set(index, value); onChanged(); return this; } /** - * - * *
      * References primary/secondary etc assignees in the external system.
      * 
* * repeated string assignees = 2; - * * @param value The assignees to add. * @return This builder for chaining. */ - public Builder addAssignees(java.lang.String value) { + public Builder addAssignees( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAssigneesIsMutable(); + throw new NullPointerException(); + } + ensureAssigneesIsMutable(); assignees_.add(value); onChanged(); return this; } /** - * - * *
      * References primary/secondary etc assignees in the external system.
      * 
* * repeated string assignees = 2; - * * @param values The assignees to add. * @return This builder for chaining. */ - public Builder addAllAssignees(java.lang.Iterable values) { + public Builder addAllAssignees( + java.lang.Iterable values) { ensureAssigneesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, assignees_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, assignees_); onChanged(); return this; } /** - * - * *
      * References primary/secondary etc assignees in the external system.
      * 
* * repeated string assignees = 2; - * * @return This builder for chaining. */ public Builder clearAssignees() { @@ -1065,22 +975,20 @@ public Builder clearAssignees() { return this; } /** - * - * *
      * References primary/secondary etc assignees in the external system.
      * 
* * repeated string assignees = 2; - * * @param value The bytes of the assignees to add. * @return This builder for chaining. */ - public Builder addAssigneesBytes(com.google.protobuf.ByteString value) { + public Builder addAssigneesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureAssigneesIsMutable(); assignees_.add(value); onChanged(); @@ -1089,20 +997,18 @@ public Builder addAssigneesBytes(com.google.protobuf.ByteString value) { private java.lang.Object externalUid_ = ""; /** - * - * *
      * Identifier that's used to track the given finding in the external system.
      * 
* * string external_uid = 3; - * * @return The externalUid. */ public java.lang.String getExternalUid() { java.lang.Object ref = externalUid_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); externalUid_ = s; return s; @@ -1111,21 +1017,20 @@ public java.lang.String getExternalUid() { } } /** - * - * *
      * Identifier that's used to track the given finding in the external system.
      * 
* * string external_uid = 3; - * * @return The bytes for externalUid. */ - public com.google.protobuf.ByteString getExternalUidBytes() { + public com.google.protobuf.ByteString + getExternalUidBytes() { java.lang.Object ref = externalUid_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); externalUid_ = b; return b; } else { @@ -1133,61 +1038,54 @@ public com.google.protobuf.ByteString getExternalUidBytes() { } } /** - * - * *
      * Identifier that's used to track the given finding in the external system.
      * 
* * string external_uid = 3; - * * @param value The externalUid to set. * @return This builder for chaining. */ - public Builder setExternalUid(java.lang.String value) { + public Builder setExternalUid( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + externalUid_ = value; onChanged(); return this; } /** - * - * *
      * Identifier that's used to track the given finding in the external system.
      * 
* * string external_uid = 3; - * * @return This builder for chaining. */ public Builder clearExternalUid() { - + externalUid_ = getDefaultInstance().getExternalUid(); onChanged(); return this; } /** - * - * *
      * Identifier that's used to track the given finding in the external system.
      * 
* * string external_uid = 3; - * * @param value The bytes for externalUid to set. * @return This builder for chaining. */ - public Builder setExternalUidBytes(com.google.protobuf.ByteString value) { + public Builder setExternalUidBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + externalUid_ = value; onChanged(); return this; @@ -1195,21 +1093,19 @@ public Builder setExternalUidBytes(com.google.protobuf.ByteString value) { private java.lang.Object status_ = ""; /** - * - * *
      * Most recent status of the corresponding finding's ticket/tracker in the
      * external system.
      * 
* * string status = 4; - * * @return The status. */ public java.lang.String getStatus() { java.lang.Object ref = status_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); status_ = s; return s; @@ -1218,22 +1114,21 @@ public java.lang.String getStatus() { } } /** - * - * *
      * Most recent status of the corresponding finding's ticket/tracker in the
      * external system.
      * 
* * string status = 4; - * * @return The bytes for status. */ - public com.google.protobuf.ByteString getStatusBytes() { + public com.google.protobuf.ByteString + getStatusBytes() { java.lang.Object ref = status_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); status_ = b; return b; } else { @@ -1241,64 +1136,57 @@ public com.google.protobuf.ByteString getStatusBytes() { } } /** - * - * *
      * Most recent status of the corresponding finding's ticket/tracker in the
      * external system.
      * 
* * string status = 4; - * * @param value The status to set. * @return This builder for chaining. */ - public Builder setStatus(java.lang.String value) { + public Builder setStatus( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + status_ = value; onChanged(); return this; } /** - * - * *
      * Most recent status of the corresponding finding's ticket/tracker in the
      * external system.
      * 
* * string status = 4; - * * @return This builder for chaining. */ public Builder clearStatus() { - + status_ = getDefaultInstance().getStatus(); onChanged(); return this; } /** - * - * *
      * Most recent status of the corresponding finding's ticket/tracker in the
      * external system.
      * 
* * string status = 4; - * * @param value The bytes for status to set. * @return This builder for chaining. */ - public Builder setStatusBytes(com.google.protobuf.ByteString value) { + public Builder setStatusBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + status_ = value; onChanged(); return this; @@ -1306,49 +1194,36 @@ public Builder setStatusBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp externalSystemUpdateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - externalSystemUpdateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> externalSystemUpdateTimeBuilder_; /** - * - * *
      * The most recent time when the corresponding finding's ticket/tracker was
      * updated in the external system.
      * 
* * .google.protobuf.Timestamp external_system_update_time = 5; - * * @return Whether the externalSystemUpdateTime field is set. */ public boolean hasExternalSystemUpdateTime() { return externalSystemUpdateTimeBuilder_ != null || externalSystemUpdateTime_ != null; } /** - * - * *
      * The most recent time when the corresponding finding's ticket/tracker was
      * updated in the external system.
      * 
* * .google.protobuf.Timestamp external_system_update_time = 5; - * * @return The externalSystemUpdateTime. */ public com.google.protobuf.Timestamp getExternalSystemUpdateTime() { if (externalSystemUpdateTimeBuilder_ == null) { - return externalSystemUpdateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : externalSystemUpdateTime_; + return externalSystemUpdateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : externalSystemUpdateTime_; } else { return externalSystemUpdateTimeBuilder_.getMessage(); } } /** - * - * *
      * The most recent time when the corresponding finding's ticket/tracker was
      * updated in the external system.
@@ -1370,8 +1245,6 @@ public Builder setExternalSystemUpdateTime(com.google.protobuf.Timestamp value)
       return this;
     }
     /**
-     *
-     *
      * 
      * The most recent time when the corresponding finding's ticket/tracker was
      * updated in the external system.
@@ -1391,8 +1264,6 @@ public Builder setExternalSystemUpdateTime(
       return this;
     }
     /**
-     *
-     *
      * 
      * The most recent time when the corresponding finding's ticket/tracker was
      * updated in the external system.
@@ -1404,9 +1275,7 @@ public Builder mergeExternalSystemUpdateTime(com.google.protobuf.Timestamp value
       if (externalSystemUpdateTimeBuilder_ == null) {
         if (externalSystemUpdateTime_ != null) {
           externalSystemUpdateTime_ =
-              com.google.protobuf.Timestamp.newBuilder(externalSystemUpdateTime_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(externalSystemUpdateTime_).mergeFrom(value).buildPartial();
         } else {
           externalSystemUpdateTime_ = value;
         }
@@ -1418,8 +1287,6 @@ public Builder mergeExternalSystemUpdateTime(com.google.protobuf.Timestamp value
       return this;
     }
     /**
-     *
-     *
      * 
      * The most recent time when the corresponding finding's ticket/tracker was
      * updated in the external system.
@@ -1439,8 +1306,6 @@ public Builder clearExternalSystemUpdateTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The most recent time when the corresponding finding's ticket/tracker was
      * updated in the external system.
@@ -1449,13 +1314,11 @@ public Builder clearExternalSystemUpdateTime() {
      * .google.protobuf.Timestamp external_system_update_time = 5;
      */
     public com.google.protobuf.Timestamp.Builder getExternalSystemUpdateTimeBuilder() {
-
+      
       onChanged();
       return getExternalSystemUpdateTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The most recent time when the corresponding finding's ticket/tracker was
      * updated in the external system.
@@ -1467,14 +1330,11 @@ public com.google.protobuf.TimestampOrBuilder getExternalSystemUpdateTimeOrBuild
       if (externalSystemUpdateTimeBuilder_ != null) {
         return externalSystemUpdateTimeBuilder_.getMessageOrBuilder();
       } else {
-        return externalSystemUpdateTime_ == null
-            ? com.google.protobuf.Timestamp.getDefaultInstance()
-            : externalSystemUpdateTime_;
+        return externalSystemUpdateTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : externalSystemUpdateTime_;
       }
     }
     /**
-     *
-     *
      * 
      * The most recent time when the corresponding finding's ticket/tracker was
      * updated in the external system.
@@ -1483,24 +1343,21 @@ public com.google.protobuf.TimestampOrBuilder getExternalSystemUpdateTimeOrBuild
      * .google.protobuf.Timestamp external_system_update_time = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getExternalSystemUpdateTimeFieldBuilder() {
       if (externalSystemUpdateTimeBuilder_ == null) {
-        externalSystemUpdateTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getExternalSystemUpdateTime(), getParentForChildren(), isClean());
+        externalSystemUpdateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getExternalSystemUpdateTime(),
+                getParentForChildren(),
+                isClean());
         externalSystemUpdateTime_ = null;
       }
       return externalSystemUpdateTimeBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1510,12 +1367,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.securitycenter.v1.ExternalSystem)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1.ExternalSystem)
   private static final com.google.cloud.securitycenter.v1.ExternalSystem DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.securitycenter.v1.ExternalSystem();
   }
@@ -1524,27 +1381,27 @@ public static com.google.cloud.securitycenter.v1.ExternalSystem getDefaultInstan
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public ExternalSystem parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            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 ExternalSystem parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        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;
@@ -1559,4 +1416,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.securitycenter.v1.ExternalSystem getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ExternalSystemOrBuilder.java b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ExternalSystemOrBuilder.java
similarity index 78%
rename from java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ExternalSystemOrBuilder.java
rename to owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ExternalSystemOrBuilder.java
index ccb54495bb55..2f83a97f8f8f 100644
--- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ExternalSystemOrBuilder.java
+++ b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ExternalSystemOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/securitycenter/v1/external_system.proto
 
 package com.google.cloud.securitycenter.v1;
 
-public interface ExternalSystemOrBuilder
-    extends
+public interface ExternalSystemOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.securitycenter.v1.ExternalSystem)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * External System Name e.g. jira, demisto, etc.
    *  e.g.:
@@ -35,13 +17,10 @@ public interface ExternalSystemOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * External System Name e.g. jira, demisto, etc.
    *  e.g.:
@@ -51,143 +30,115 @@ public interface ExternalSystemOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * References primary/secondary etc assignees in the external system.
    * 
* * repeated string assignees = 2; - * * @return A list containing the assignees. */ - java.util.List getAssigneesList(); + java.util.List + getAssigneesList(); /** - * - * *
    * References primary/secondary etc assignees in the external system.
    * 
* * repeated string assignees = 2; - * * @return The count of assignees. */ int getAssigneesCount(); /** - * - * *
    * References primary/secondary etc assignees in the external system.
    * 
* * repeated string assignees = 2; - * * @param index The index of the element to return. * @return The assignees at the given index. */ java.lang.String getAssignees(int index); /** - * - * *
    * References primary/secondary etc assignees in the external system.
    * 
* * repeated string assignees = 2; - * * @param index The index of the value to return. * @return The bytes of the assignees at the given index. */ - com.google.protobuf.ByteString getAssigneesBytes(int index); + com.google.protobuf.ByteString + getAssigneesBytes(int index); /** - * - * *
    * Identifier that's used to track the given finding in the external system.
    * 
* * string external_uid = 3; - * * @return The externalUid. */ java.lang.String getExternalUid(); /** - * - * *
    * Identifier that's used to track the given finding in the external system.
    * 
* * string external_uid = 3; - * * @return The bytes for externalUid. */ - com.google.protobuf.ByteString getExternalUidBytes(); + com.google.protobuf.ByteString + getExternalUidBytes(); /** - * - * *
    * Most recent status of the corresponding finding's ticket/tracker in the
    * external system.
    * 
* * string status = 4; - * * @return The status. */ java.lang.String getStatus(); /** - * - * *
    * Most recent status of the corresponding finding's ticket/tracker in the
    * external system.
    * 
* * string status = 4; - * * @return The bytes for status. */ - com.google.protobuf.ByteString getStatusBytes(); + com.google.protobuf.ByteString + getStatusBytes(); /** - * - * *
    * The most recent time when the corresponding finding's ticket/tracker was
    * updated in the external system.
    * 
* * .google.protobuf.Timestamp external_system_update_time = 5; - * * @return Whether the externalSystemUpdateTime field is set. */ boolean hasExternalSystemUpdateTime(); /** - * - * *
    * The most recent time when the corresponding finding's ticket/tracker was
    * updated in the external system.
    * 
* * .google.protobuf.Timestamp external_system_update_time = 5; - * * @return The externalSystemUpdateTime. */ com.google.protobuf.Timestamp getExternalSystemUpdateTime(); /** - * - * *
    * The most recent time when the corresponding finding's ticket/tracker was
    * updated in the external system.
diff --git a/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ExternalSystemProto.java b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ExternalSystemProto.java
new file mode 100644
index 000000000000..8d9028c66600
--- /dev/null
+++ b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ExternalSystemProto.java
@@ -0,0 +1,76 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/cloud/securitycenter/v1/external_system.proto
+
+package com.google.cloud.securitycenter.v1;
+
+public final class ExternalSystemProto {
+  private ExternalSystemProto() {}
+  public static void registerAllExtensions(
+      com.google.protobuf.ExtensionRegistryLite registry) {
+  }
+
+  public 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_securitycenter_v1_ExternalSystem_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_securitycenter_v1_ExternalSystem_fieldAccessorTable;
+
+  public static com.google.protobuf.Descriptors.FileDescriptor
+      getDescriptor() {
+    return descriptor;
+  }
+  private static  com.google.protobuf.Descriptors.FileDescriptor
+      descriptor;
+  static {
+    java.lang.String[] descriptorData = {
+      "\n4google/cloud/securitycenter/v1/externa" +
+      "l_system.proto\022\036google.cloud.securitycen" +
+      "ter.v1\032\031google/api/resource.proto\032\037googl" +
+      "e/protobuf/timestamp.proto\"\340\003\n\016ExternalS" +
+      "ystem\022\014\n\004name\030\001 \001(\t\022\021\n\tassignees\030\002 \003(\t\022\024" +
+      "\n\014external_uid\030\003 \001(\t\022\016\n\006status\030\004 \001(\t\022?\n\033" +
+      "external_system_update_time\030\005 \001(\0132\032.goog" +
+      "le.protobuf.Timestamp:\305\002\352A\301\002\n,securityce" +
+      "nter.googleapis.com/ExternalSystem\022aorga" +
+      "nizations/{organization}/sources/{source" +
+      "}/findings/{finding}/externalSystems/{ex" +
+      "ternalsystem}\022Ufolders/{folder}/sources/" +
+      "{source}/findings/{finding}/externalSyst" +
+      "ems/{externalsystem}\022Wprojects/{project}" +
+      "/sources/{source}/findings/{finding}/ext" +
+      "ernalSystems/{externalsystem}B\357\001\n\"com.go" +
+      "ogle.cloud.securitycenter.v1B\023ExternalSy" +
+      "stemProtoP\001ZLgoogle.golang.org/genproto/" +
+      "googleapis/cloud/securitycenter/v1;secur" +
+      "itycenter\252\002\036Google.Cloud.SecurityCenter." +
+      "V1\312\002\036Google\\Cloud\\SecurityCenter\\V1\352\002!Go" +
+      "ogle::Cloud::SecurityCenter::V1b\006proto3"
+    };
+    descriptor = com.google.protobuf.Descriptors.FileDescriptor
+      .internalBuildGeneratedFileFrom(descriptorData,
+        new com.google.protobuf.Descriptors.FileDescriptor[] {
+          com.google.api.ResourceProto.getDescriptor(),
+          com.google.protobuf.TimestampProto.getDescriptor(),
+        });
+    internal_static_google_cloud_securitycenter_v1_ExternalSystem_descriptor =
+      getDescriptor().getMessageTypes().get(0);
+    internal_static_google_cloud_securitycenter_v1_ExternalSystem_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_securitycenter_v1_ExternalSystem_descriptor,
+        new java.lang.String[] { "Name", "Assignees", "ExternalUid", "Status", "ExternalSystemUpdateTime", });
+    com.google.protobuf.ExtensionRegistry registry =
+        com.google.protobuf.ExtensionRegistry.newInstance();
+    registry.add(com.google.api.ResourceProto.resource);
+    com.google.protobuf.Descriptors.FileDescriptor
+        .internalUpdateFileDescriptor(descriptor, registry);
+    com.google.api.ResourceProto.getDescriptor();
+    com.google.protobuf.TimestampProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/File.java b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/File.java
similarity index 71%
rename from java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/File.java
rename to owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/File.java
index 3764c25eee18..cf5eda850a54 100644
--- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/File.java
+++ b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/File.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/securitycenter/v1/file.proto
 
 package com.google.cloud.securitycenter.v1;
 
 /**
- *
- *
  * 
  * File information about the related binary/library used by an executable, or
  * the script used by a script interpreter
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.securitycenter.v1.File}
  */
-public final class File extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class File extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.securitycenter.v1.File)
     FileOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use File.newBuilder() to construct.
   private File(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private File() {
     path_ = "";
     sha256_ = "";
@@ -46,41 +28,37 @@ private File() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new File();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.securitycenter.v1.FileProto
-        .internal_static_google_cloud_securitycenter_v1_File_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.securitycenter.v1.FileProto.internal_static_google_cloud_securitycenter_v1_File_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.securitycenter.v1.FileProto
-        .internal_static_google_cloud_securitycenter_v1_File_fieldAccessorTable
+    return com.google.cloud.securitycenter.v1.FileProto.internal_static_google_cloud_securitycenter_v1_File_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.securitycenter.v1.File.class,
-            com.google.cloud.securitycenter.v1.File.Builder.class);
+            com.google.cloud.securitycenter.v1.File.class, com.google.cloud.securitycenter.v1.File.Builder.class);
   }
 
   public static final int PATH_FIELD_NUMBER = 1;
   private volatile java.lang.Object path_;
   /**
-   *
-   *
    * 
    * Absolute path of the file as a JSON encoded string.
    * 
* * string path = 1; - * * @return The path. */ @java.lang.Override @@ -89,29 +67,29 @@ public java.lang.String getPath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); path_ = s; return s; } } /** - * - * *
    * Absolute path of the file as a JSON encoded string.
    * 
* * string path = 1; - * * @return The bytes for path. */ @java.lang.Override - public com.google.protobuf.ByteString getPathBytes() { + public com.google.protobuf.ByteString + getPathBytes() { java.lang.Object ref = path_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); path_ = b; return b; } else { @@ -122,14 +100,11 @@ public com.google.protobuf.ByteString getPathBytes() { public static final int SIZE_FIELD_NUMBER = 2; private long size_; /** - * - * *
    * Size of the file in bytes.
    * 
* * int64 size = 2; - * * @return The size. */ @java.lang.Override @@ -140,8 +115,6 @@ public long getSize() { public static final int SHA256_FIELD_NUMBER = 3; private volatile java.lang.Object sha256_; /** - * - * *
    * SHA256 hash of the first hashed_size bytes of the file encoded as a
    * hex string.  If hashed_size == size, sha256 represents the SHA256 hash
@@ -149,7 +122,6 @@ public long getSize() {
    * 
* * string sha256 = 3; - * * @return The sha256. */ @java.lang.Override @@ -158,15 +130,14 @@ public java.lang.String getSha256() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sha256_ = s; return s; } } /** - * - * *
    * SHA256 hash of the first hashed_size bytes of the file encoded as a
    * hex string.  If hashed_size == size, sha256 represents the SHA256 hash
@@ -174,15 +145,16 @@ public java.lang.String getSha256() {
    * 
* * string sha256 = 3; - * * @return The bytes for sha256. */ @java.lang.Override - public com.google.protobuf.ByteString getSha256Bytes() { + public com.google.protobuf.ByteString + getSha256Bytes() { java.lang.Object ref = sha256_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sha256_ = b; return b; } else { @@ -193,8 +165,6 @@ public com.google.protobuf.ByteString getSha256Bytes() { public static final int HASHED_SIZE_FIELD_NUMBER = 4; private long hashedSize_; /** - * - * *
    * The length in bytes of the file prefix that was hashed.  If
    * hashed_size == size, any hashes reported represent the entire
@@ -202,7 +172,6 @@ public com.google.protobuf.ByteString getSha256Bytes() {
    * 
* * int64 hashed_size = 4; - * * @return The hashedSize. */ @java.lang.Override @@ -213,14 +182,11 @@ public long getHashedSize() { public static final int PARTIALLY_HASHED_FIELD_NUMBER = 5; private boolean partiallyHashed_; /** - * - * *
    * True when the hash covers only a prefix of the file.
    * 
* * bool partially_hashed = 5; - * * @return The partiallyHashed. */ @java.lang.Override @@ -231,15 +197,12 @@ public boolean getPartiallyHashed() { public static final int CONTENTS_FIELD_NUMBER = 6; private volatile java.lang.Object contents_; /** - * - * *
    * Prefix of the file contents as a JSON encoded string.
    * (Currently only populated for Malicious Script Executed findings.)
    * 
* * string contents = 6; - * * @return The contents. */ @java.lang.Override @@ -248,30 +211,30 @@ public java.lang.String getContents() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); contents_ = s; return s; } } /** - * - * *
    * Prefix of the file contents as a JSON encoded string.
    * (Currently only populated for Malicious Script Executed findings.)
    * 
* * string contents = 6; - * * @return The bytes for contents. */ @java.lang.Override - public com.google.protobuf.ByteString getContentsBytes() { + public com.google.protobuf.ByteString + getContentsBytes() { java.lang.Object ref = contents_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); contents_ = b; return b; } else { @@ -280,7 +243,6 @@ public com.google.protobuf.ByteString getContentsBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -292,7 +254,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, path_); } @@ -324,16 +287,19 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, path_); } if (size_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, size_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(2, size_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sha256_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, sha256_); } if (hashedSize_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(4, hashedSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(4, hashedSize_); } if (partiallyHashed_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, partiallyHashed_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, partiallyHashed_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(contents_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, contents_); @@ -346,19 +312,25 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.securitycenter.v1.File)) { return super.equals(obj); } com.google.cloud.securitycenter.v1.File other = (com.google.cloud.securitycenter.v1.File) obj; - if (!getPath().equals(other.getPath())) return false; - if (getSize() != other.getSize()) return false; - if (!getSha256().equals(other.getSha256())) return false; - if (getHashedSize() != other.getHashedSize()) return false; - if (getPartiallyHashed() != other.getPartiallyHashed()) return false; - if (!getContents().equals(other.getContents())) return false; + if (!getPath() + .equals(other.getPath())) return false; + if (getSize() + != other.getSize()) return false; + if (!getSha256() + .equals(other.getSha256())) return false; + if (getHashedSize() + != other.getHashedSize()) return false; + if (getPartiallyHashed() + != other.getPartiallyHashed()) return false; + if (!getContents() + .equals(other.getContents())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -373,13 +345,16 @@ public int hashCode() { hash = (37 * hash) + PATH_FIELD_NUMBER; hash = (53 * hash) + getPath().hashCode(); hash = (37 * hash) + SIZE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getSize()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getSize()); hash = (37 * hash) + SHA256_FIELD_NUMBER; hash = (53 * hash) + getSha256().hashCode(); hash = (37 * hash) + HASHED_SIZE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getHashedSize()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getHashedSize()); hash = (37 * hash) + PARTIALLY_HASHED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getPartiallyHashed()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getPartiallyHashed()); hash = (37 * hash) + CONTENTS_FIELD_NUMBER; hash = (53 * hash) + getContents().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); @@ -387,104 +362,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.securitycenter.v1.File parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.securitycenter.v1.File parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.File parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.File parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.File parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.File parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.File parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.File parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.File parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.securitycenter.v1.File parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.securitycenter.v1.File parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.File parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.File parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.File parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.securitycenter.v1.File prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * File information about the related binary/library used by an executable, or
    * the script used by a script interpreter
@@ -492,32 +460,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.securitycenter.v1.File}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.securitycenter.v1.File)
       com.google.cloud.securitycenter.v1.FileOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.securitycenter.v1.FileProto
-          .internal_static_google_cloud_securitycenter_v1_File_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.securitycenter.v1.FileProto.internal_static_google_cloud_securitycenter_v1_File_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.securitycenter.v1.FileProto
-          .internal_static_google_cloud_securitycenter_v1_File_fieldAccessorTable
+      return com.google.cloud.securitycenter.v1.FileProto.internal_static_google_cloud_securitycenter_v1_File_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.securitycenter.v1.File.class,
-              com.google.cloud.securitycenter.v1.File.Builder.class);
+              com.google.cloud.securitycenter.v1.File.class, com.google.cloud.securitycenter.v1.File.Builder.class);
     }
 
     // Construct using com.google.cloud.securitycenter.v1.File.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();
@@ -537,9 +506,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.securitycenter.v1.FileProto
-          .internal_static_google_cloud_securitycenter_v1_File_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.securitycenter.v1.FileProto.internal_static_google_cloud_securitycenter_v1_File_descriptor;
     }
 
     @java.lang.Override
@@ -558,8 +527,7 @@ public com.google.cloud.securitycenter.v1.File build() {
 
     @java.lang.Override
     public com.google.cloud.securitycenter.v1.File buildPartial() {
-      com.google.cloud.securitycenter.v1.File result =
-          new com.google.cloud.securitycenter.v1.File(this);
+      com.google.cloud.securitycenter.v1.File result = new com.google.cloud.securitycenter.v1.File(this);
       result.path_ = path_;
       result.size_ = size_;
       result.sha256_ = sha256_;
@@ -574,39 +542,38 @@ public com.google.cloud.securitycenter.v1.File buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.securitycenter.v1.File) {
-        return mergeFrom((com.google.cloud.securitycenter.v1.File) other);
+        return mergeFrom((com.google.cloud.securitycenter.v1.File)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -662,49 +629,42 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                path_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            case 16:
-              {
-                size_ = input.readInt64();
-
-                break;
-              } // case 16
-            case 26:
-              {
-                sha256_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 26
-            case 32:
-              {
-                hashedSize_ = input.readInt64();
-
-                break;
-              } // case 32
-            case 40:
-              {
-                partiallyHashed_ = input.readBool();
-
-                break;
-              } // case 40
-            case 50:
-              {
-                contents_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 50
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              path_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            case 16: {
+              size_ = input.readInt64();
+
+              break;
+            } // case 16
+            case 26: {
+              sha256_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 26
+            case 32: {
+              hashedSize_ = input.readInt64();
+
+              break;
+            } // case 32
+            case 40: {
+              partiallyHashed_ = input.readBool();
+
+              break;
+            } // case 40
+            case 50: {
+              contents_ = input.readStringRequireUtf8();
+
+              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) {
@@ -717,20 +677,18 @@ public Builder mergeFrom(
 
     private java.lang.Object path_ = "";
     /**
-     *
-     *
      * 
      * Absolute path of the file as a JSON encoded string.
      * 
* * string path = 1; - * * @return The path. */ public java.lang.String getPath() { java.lang.Object ref = path_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); path_ = s; return s; @@ -739,21 +697,20 @@ public java.lang.String getPath() { } } /** - * - * *
      * Absolute path of the file as a JSON encoded string.
      * 
* * string path = 1; - * * @return The bytes for path. */ - public com.google.protobuf.ByteString getPathBytes() { + public com.google.protobuf.ByteString + getPathBytes() { java.lang.Object ref = path_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); path_ = b; return b; } else { @@ -761,76 +718,66 @@ public com.google.protobuf.ByteString getPathBytes() { } } /** - * - * *
      * Absolute path of the file as a JSON encoded string.
      * 
* * string path = 1; - * * @param value The path to set. * @return This builder for chaining. */ - public Builder setPath(java.lang.String value) { + public Builder setPath( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + path_ = value; onChanged(); return this; } /** - * - * *
      * Absolute path of the file as a JSON encoded string.
      * 
* * string path = 1; - * * @return This builder for chaining. */ public Builder clearPath() { - + path_ = getDefaultInstance().getPath(); onChanged(); return this; } /** - * - * *
      * Absolute path of the file as a JSON encoded string.
      * 
* * string path = 1; - * * @param value The bytes for path to set. * @return This builder for chaining. */ - public Builder setPathBytes(com.google.protobuf.ByteString value) { + public Builder setPathBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + path_ = value; onChanged(); return this; } - private long size_; + private long size_ ; /** - * - * *
      * Size of the file in bytes.
      * 
* * int64 size = 2; - * * @return The size. */ @java.lang.Override @@ -838,36 +785,30 @@ public long getSize() { return size_; } /** - * - * *
      * Size of the file in bytes.
      * 
* * int64 size = 2; - * * @param value The size to set. * @return This builder for chaining. */ public Builder setSize(long value) { - + size_ = value; onChanged(); return this; } /** - * - * *
      * Size of the file in bytes.
      * 
* * int64 size = 2; - * * @return This builder for chaining. */ public Builder clearSize() { - + size_ = 0L; onChanged(); return this; @@ -875,8 +816,6 @@ public Builder clearSize() { private java.lang.Object sha256_ = ""; /** - * - * *
      * SHA256 hash of the first hashed_size bytes of the file encoded as a
      * hex string.  If hashed_size == size, sha256 represents the SHA256 hash
@@ -884,13 +823,13 @@ public Builder clearSize() {
      * 
* * string sha256 = 3; - * * @return The sha256. */ public java.lang.String getSha256() { java.lang.Object ref = sha256_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sha256_ = s; return s; @@ -899,8 +838,6 @@ public java.lang.String getSha256() { } } /** - * - * *
      * SHA256 hash of the first hashed_size bytes of the file encoded as a
      * hex string.  If hashed_size == size, sha256 represents the SHA256 hash
@@ -908,14 +845,15 @@ public java.lang.String getSha256() {
      * 
* * string sha256 = 3; - * * @return The bytes for sha256. */ - public com.google.protobuf.ByteString getSha256Bytes() { + public com.google.protobuf.ByteString + getSha256Bytes() { java.lang.Object ref = sha256_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sha256_ = b; return b; } else { @@ -923,8 +861,6 @@ public com.google.protobuf.ByteString getSha256Bytes() { } } /** - * - * *
      * SHA256 hash of the first hashed_size bytes of the file encoded as a
      * hex string.  If hashed_size == size, sha256 represents the SHA256 hash
@@ -932,22 +868,20 @@ public com.google.protobuf.ByteString getSha256Bytes() {
      * 
* * string sha256 = 3; - * * @param value The sha256 to set. * @return This builder for chaining. */ - public Builder setSha256(java.lang.String value) { + public Builder setSha256( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + sha256_ = value; onChanged(); return this; } /** - * - * *
      * SHA256 hash of the first hashed_size bytes of the file encoded as a
      * hex string.  If hashed_size == size, sha256 represents the SHA256 hash
@@ -955,18 +889,15 @@ public Builder setSha256(java.lang.String value) {
      * 
* * string sha256 = 3; - * * @return This builder for chaining. */ public Builder clearSha256() { - + sha256_ = getDefaultInstance().getSha256(); onChanged(); return this; } /** - * - * *
      * SHA256 hash of the first hashed_size bytes of the file encoded as a
      * hex string.  If hashed_size == size, sha256 represents the SHA256 hash
@@ -974,25 +905,23 @@ public Builder clearSha256() {
      * 
* * string sha256 = 3; - * * @param value The bytes for sha256 to set. * @return This builder for chaining. */ - public Builder setSha256Bytes(com.google.protobuf.ByteString value) { + public Builder setSha256Bytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + sha256_ = value; onChanged(); return this; } - private long hashedSize_; + private long hashedSize_ ; /** - * - * *
      * The length in bytes of the file prefix that was hashed.  If
      * hashed_size == size, any hashes reported represent the entire
@@ -1000,7 +929,6 @@ public Builder setSha256Bytes(com.google.protobuf.ByteString value) {
      * 
* * int64 hashed_size = 4; - * * @return The hashedSize. */ @java.lang.Override @@ -1008,8 +936,6 @@ public long getHashedSize() { return hashedSize_; } /** - * - * *
      * The length in bytes of the file prefix that was hashed.  If
      * hashed_size == size, any hashes reported represent the entire
@@ -1017,19 +943,16 @@ public long getHashedSize() {
      * 
* * int64 hashed_size = 4; - * * @param value The hashedSize to set. * @return This builder for chaining. */ public Builder setHashedSize(long value) { - + hashedSize_ = value; onChanged(); return this; } /** - * - * *
      * The length in bytes of the file prefix that was hashed.  If
      * hashed_size == size, any hashes reported represent the entire
@@ -1037,26 +960,22 @@ public Builder setHashedSize(long value) {
      * 
* * int64 hashed_size = 4; - * * @return This builder for chaining. */ public Builder clearHashedSize() { - + hashedSize_ = 0L; onChanged(); return this; } - private boolean partiallyHashed_; + private boolean partiallyHashed_ ; /** - * - * *
      * True when the hash covers only a prefix of the file.
      * 
* * bool partially_hashed = 5; - * * @return The partiallyHashed. */ @java.lang.Override @@ -1064,36 +983,30 @@ public boolean getPartiallyHashed() { return partiallyHashed_; } /** - * - * *
      * True when the hash covers only a prefix of the file.
      * 
* * bool partially_hashed = 5; - * * @param value The partiallyHashed to set. * @return This builder for chaining. */ public Builder setPartiallyHashed(boolean value) { - + partiallyHashed_ = value; onChanged(); return this; } /** - * - * *
      * True when the hash covers only a prefix of the file.
      * 
* * bool partially_hashed = 5; - * * @return This builder for chaining. */ public Builder clearPartiallyHashed() { - + partiallyHashed_ = false; onChanged(); return this; @@ -1101,21 +1014,19 @@ public Builder clearPartiallyHashed() { private java.lang.Object contents_ = ""; /** - * - * *
      * Prefix of the file contents as a JSON encoded string.
      * (Currently only populated for Malicious Script Executed findings.)
      * 
* * string contents = 6; - * * @return The contents. */ public java.lang.String getContents() { java.lang.Object ref = contents_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); contents_ = s; return s; @@ -1124,22 +1035,21 @@ public java.lang.String getContents() { } } /** - * - * *
      * Prefix of the file contents as a JSON encoded string.
      * (Currently only populated for Malicious Script Executed findings.)
      * 
* * string contents = 6; - * * @return The bytes for contents. */ - public com.google.protobuf.ByteString getContentsBytes() { + public com.google.protobuf.ByteString + getContentsBytes() { java.lang.Object ref = contents_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); contents_ = b; return b; } else { @@ -1147,71 +1057,64 @@ public com.google.protobuf.ByteString getContentsBytes() { } } /** - * - * *
      * Prefix of the file contents as a JSON encoded string.
      * (Currently only populated for Malicious Script Executed findings.)
      * 
* * string contents = 6; - * * @param value The contents to set. * @return This builder for chaining. */ - public Builder setContents(java.lang.String value) { + public Builder setContents( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + contents_ = value; onChanged(); return this; } /** - * - * *
      * Prefix of the file contents as a JSON encoded string.
      * (Currently only populated for Malicious Script Executed findings.)
      * 
* * string contents = 6; - * * @return This builder for chaining. */ public Builder clearContents() { - + contents_ = getDefaultInstance().getContents(); onChanged(); return this; } /** - * - * *
      * Prefix of the file contents as a JSON encoded string.
      * (Currently only populated for Malicious Script Executed findings.)
      * 
* * string contents = 6; - * * @param value The bytes for contents to set. * @return This builder for chaining. */ - public Builder setContentsBytes(com.google.protobuf.ByteString value) { + public Builder setContentsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + contents_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1221,12 +1124,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.securitycenter.v1.File) } // @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1.File) private static final com.google.cloud.securitycenter.v1.File DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.securitycenter.v1.File(); } @@ -1235,27 +1138,27 @@ public static com.google.cloud.securitycenter.v1.File getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public File parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - 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 File parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + 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; @@ -1270,4 +1173,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.securitycenter.v1.File getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FileOrBuilder.java b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FileOrBuilder.java similarity index 72% rename from java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FileOrBuilder.java rename to owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FileOrBuilder.java index 421dafb03a0c..04a82d41e09b 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FileOrBuilder.java +++ b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FileOrBuilder.java @@ -1,69 +1,43 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/securitycenter/v1/file.proto package com.google.cloud.securitycenter.v1; -public interface FileOrBuilder - extends +public interface FileOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.securitycenter.v1.File) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Absolute path of the file as a JSON encoded string.
    * 
* * string path = 1; - * * @return The path. */ java.lang.String getPath(); /** - * - * *
    * Absolute path of the file as a JSON encoded string.
    * 
* * string path = 1; - * * @return The bytes for path. */ - com.google.protobuf.ByteString getPathBytes(); + com.google.protobuf.ByteString + getPathBytes(); /** - * - * *
    * Size of the file in bytes.
    * 
* * int64 size = 2; - * * @return The size. */ long getSize(); /** - * - * *
    * SHA256 hash of the first hashed_size bytes of the file encoded as a
    * hex string.  If hashed_size == size, sha256 represents the SHA256 hash
@@ -71,13 +45,10 @@ public interface FileOrBuilder
    * 
* * string sha256 = 3; - * * @return The sha256. */ java.lang.String getSha256(); /** - * - * *
    * SHA256 hash of the first hashed_size bytes of the file encoded as a
    * hex string.  If hashed_size == size, sha256 represents the SHA256 hash
@@ -85,14 +56,12 @@ public interface FileOrBuilder
    * 
* * string sha256 = 3; - * * @return The bytes for sha256. */ - com.google.protobuf.ByteString getSha256Bytes(); + com.google.protobuf.ByteString + getSha256Bytes(); /** - * - * *
    * The length in bytes of the file prefix that was hashed.  If
    * hashed_size == size, any hashes reported represent the entire
@@ -100,48 +69,39 @@ public interface FileOrBuilder
    * 
* * int64 hashed_size = 4; - * * @return The hashedSize. */ long getHashedSize(); /** - * - * *
    * True when the hash covers only a prefix of the file.
    * 
* * bool partially_hashed = 5; - * * @return The partiallyHashed. */ boolean getPartiallyHashed(); /** - * - * *
    * Prefix of the file contents as a JSON encoded string.
    * (Currently only populated for Malicious Script Executed findings.)
    * 
* * string contents = 6; - * * @return The contents. */ java.lang.String getContents(); /** - * - * *
    * Prefix of the file contents as a JSON encoded string.
    * (Currently only populated for Malicious Script Executed findings.)
    * 
* * string contents = 6; - * * @return The bytes for contents. */ - com.google.protobuf.ByteString getContentsBytes(); + com.google.protobuf.ByteString + getContentsBytes(); } diff --git a/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FileProto.java b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FileProto.java new file mode 100644 index 000000000000..1ac1d8dbf2f7 --- /dev/null +++ b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FileProto.java @@ -0,0 +1,56 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/securitycenter/v1/file.proto + +package com.google.cloud.securitycenter.v1; + +public final class FileProto { + private FileProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_securitycenter_v1_File_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_securitycenter_v1_File_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n)google/cloud/securitycenter/v1/file.pr" + + "oto\022\036google.cloud.securitycenter.v1\"s\n\004F" + + "ile\022\014\n\004path\030\001 \001(\t\022\014\n\004size\030\002 \001(\003\022\016\n\006sha25" + + "6\030\003 \001(\t\022\023\n\013hashed_size\030\004 \001(\003\022\030\n\020partiall" + + "y_hashed\030\005 \001(\010\022\020\n\010contents\030\006 \001(\tB\345\001\n\"com" + + ".google.cloud.securitycenter.v1B\tFilePro" + + "toP\001ZLgoogle.golang.org/genproto/googlea" + + "pis/cloud/securitycenter/v1;securitycent" + + "er\252\002\036Google.Cloud.SecurityCenter.V1\312\002\036Go" + + "ogle\\Cloud\\SecurityCenter\\V1\352\002!Google::C" + + "loud::SecurityCenter::V1b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + }); + internal_static_google_cloud_securitycenter_v1_File_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_securitycenter_v1_File_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_securitycenter_v1_File_descriptor, + new java.lang.String[] { "Path", "Size", "Sha256", "HashedSize", "PartiallyHashed", "Contents", }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Finding.java b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Finding.java similarity index 75% rename from java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Finding.java rename to owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Finding.java index 80015a72b3ca..0f60c4b2d6ba 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Finding.java +++ b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Finding.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/securitycenter/v1/finding.proto package com.google.cloud.securitycenter.v1; /** - * - * *
  * Security Command Center finding.
  * A finding is a record of assessment data like security, risk, health, or
@@ -32,16 +15,15 @@
  *
  * Protobuf type {@code google.cloud.securitycenter.v1.Finding}
  */
-public final class Finding extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Finding extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.securitycenter.v1.Finding)
     FindingOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Finding.newBuilder() to construct.
   private Finding(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Finding() {
     name_ = "";
     parent_ = "";
@@ -62,27 +44,30 @@ private Finding() {
     iamBindings_ = java.util.Collections.emptyList();
     nextSteps_ = "";
     containers_ = java.util.Collections.emptyList();
+    files_ = java.util.Collections.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Finding();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.securitycenter.v1.FindingOuterClass
-        .internal_static_google_cloud_securitycenter_v1_Finding_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.securitycenter.v1.FindingOuterClass.internal_static_google_cloud_securitycenter_v1_Finding_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(int number) {
+  protected com.google.protobuf.MapField internalGetMapField(
+      int number) {
     switch (number) {
       case 7:
         return internalGetSourceProperties();
@@ -91,33 +76,28 @@ protected com.google.protobuf.MapField internalGetMapField(int number) {
       case 33:
         return internalGetContacts();
       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.securitycenter.v1.FindingOuterClass
-        .internal_static_google_cloud_securitycenter_v1_Finding_fieldAccessorTable
+    return com.google.cloud.securitycenter.v1.FindingOuterClass.internal_static_google_cloud_securitycenter_v1_Finding_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.securitycenter.v1.Finding.class,
-            com.google.cloud.securitycenter.v1.Finding.Builder.class);
+            com.google.cloud.securitycenter.v1.Finding.class, com.google.cloud.securitycenter.v1.Finding.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * The state of the finding.
    * 
* * Protobuf enum {@code google.cloud.securitycenter.v1.Finding.State} */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { + public enum State + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Unspecified state.
      * 
@@ -126,8 +106,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
      * The finding requires attention and has not been addressed yet.
      * 
@@ -136,8 +114,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ ACTIVE(1), /** - * - * *
      * The finding has been fixed, triaged as a non-issue or otherwise addressed
      * and is no longer active.
@@ -150,8 +126,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Unspecified state.
      * 
@@ -160,8 +134,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The finding requires attention and has not been addressed yet.
      * 
@@ -170,8 +142,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ACTIVE_VALUE = 1; /** - * - * *
      * The finding has been fixed, triaged as a non-issue or otherwise addressed
      * and is no longer active.
@@ -181,6 +151,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int INACTIVE_VALUE = 2;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -205,49 +176,49 @@ public static State valueOf(int value) {
      */
     public static State forNumber(int value) {
       switch (value) {
-        case 0:
-          return STATE_UNSPECIFIED;
-        case 1:
-          return ACTIVE;
-        case 2:
-          return INACTIVE;
-        default:
-          return null;
+        case 0: return STATE_UNSPECIFIED;
+        case 1: return ACTIVE;
+        case 2: return INACTIVE;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        State> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public State findValueByNumber(int number) {
+              return State.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public State findValueByNumber(int number) {
-            return State.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.cloud.securitycenter.v1.Finding.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final State[] VALUES = values();
 
-    public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static State valueOf(
+        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -265,18 +236,15 @@ private State(int value) {
   }
 
   /**
-   *
-   *
    * 
    * The severity of the finding.
    * 
* * Protobuf enum {@code google.cloud.securitycenter.v1.Finding.Severity} */ - public enum Severity implements com.google.protobuf.ProtocolMessageEnum { + public enum Severity + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * This value is used for findings when a source doesn't write a severity
      * value.
@@ -286,8 +254,6 @@ public enum Severity implements com.google.protobuf.ProtocolMessageEnum {
      */
     SEVERITY_UNSPECIFIED(0),
     /**
-     *
-     *
      * 
      * Vulnerability:
      * A critical vulnerability is easily discoverable by an external actor,
@@ -304,8 +270,6 @@ public enum Severity implements com.google.protobuf.ProtocolMessageEnum {
      */
     CRITICAL(1),
     /**
-     *
-     *
      * 
      * Vulnerability:
      * A high risk vulnerability can be easily discovered and exploited in
@@ -325,8 +289,6 @@ public enum Severity implements com.google.protobuf.ProtocolMessageEnum {
      */
     HIGH(2),
     /**
-     *
-     *
      * 
      * Vulnerability:
      * A medium risk vulnerability could be used by an actor to gain access to
@@ -345,8 +307,6 @@ public enum Severity implements com.google.protobuf.ProtocolMessageEnum {
      */
     MEDIUM(3),
     /**
-     *
-     *
      * 
      * Vulnerability:
      * A low risk vulnerability hampers a security organization's ability to
@@ -365,8 +325,6 @@ public enum Severity implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * This value is used for findings when a source doesn't write a severity
      * value.
@@ -376,8 +334,6 @@ public enum Severity implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int SEVERITY_UNSPECIFIED_VALUE = 0;
     /**
-     *
-     *
      * 
      * Vulnerability:
      * A critical vulnerability is easily discoverable by an external actor,
@@ -394,8 +350,6 @@ public enum Severity implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int CRITICAL_VALUE = 1;
     /**
-     *
-     *
      * 
      * Vulnerability:
      * A high risk vulnerability can be easily discovered and exploited in
@@ -415,8 +369,6 @@ public enum Severity implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int HIGH_VALUE = 2;
     /**
-     *
-     *
      * 
      * Vulnerability:
      * A medium risk vulnerability could be used by an actor to gain access to
@@ -435,8 +387,6 @@ public enum Severity implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int MEDIUM_VALUE = 3;
     /**
-     *
-     *
      * 
      * Vulnerability:
      * A low risk vulnerability hampers a security organization's ability to
@@ -452,6 +402,7 @@ public enum Severity implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int LOW_VALUE = 4;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -476,53 +427,51 @@ public static Severity valueOf(int value) {
      */
     public static Severity forNumber(int value) {
       switch (value) {
-        case 0:
-          return SEVERITY_UNSPECIFIED;
-        case 1:
-          return CRITICAL;
-        case 2:
-          return HIGH;
-        case 3:
-          return MEDIUM;
-        case 4:
-          return LOW;
-        default:
-          return null;
+        case 0: return SEVERITY_UNSPECIFIED;
+        case 1: return CRITICAL;
+        case 2: return HIGH;
+        case 3: return MEDIUM;
+        case 4: return LOW;
+        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<
+        Severity> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public Severity findValueByNumber(int number) {
+              return Severity.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public Severity findValueByNumber(int number) {
-            return Severity.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.cloud.securitycenter.v1.Finding.getDescriptor().getEnumTypes().get(1);
     }
 
     private static final Severity[] VALUES = values();
 
-    public static Severity valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static Severity 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;
@@ -540,18 +489,15 @@ private Severity(int value) {
   }
 
   /**
-   *
-   *
    * 
    * Mute state a finding can be in.
    * 
* * Protobuf enum {@code google.cloud.securitycenter.v1.Finding.Mute} */ - public enum Mute implements com.google.protobuf.ProtocolMessageEnum { + public enum Mute + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Unspecified.
      * 
@@ -560,8 +506,6 @@ public enum Mute implements com.google.protobuf.ProtocolMessageEnum { */ MUTE_UNSPECIFIED(0), /** - * - * *
      * Finding has been muted.
      * 
@@ -570,8 +514,6 @@ public enum Mute implements com.google.protobuf.ProtocolMessageEnum { */ MUTED(1), /** - * - * *
      * Finding has been unmuted.
      * 
@@ -580,8 +522,6 @@ public enum Mute implements com.google.protobuf.ProtocolMessageEnum { */ UNMUTED(2), /** - * - * *
      * Finding has never been muted/unmuted.
      * 
@@ -593,8 +533,6 @@ public enum Mute implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Unspecified.
      * 
@@ -603,8 +541,6 @@ public enum Mute implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MUTE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Finding has been muted.
      * 
@@ -613,8 +549,6 @@ public enum Mute implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MUTED_VALUE = 1; /** - * - * *
      * Finding has been unmuted.
      * 
@@ -623,8 +557,6 @@ public enum Mute implements com.google.protobuf.ProtocolMessageEnum { */ public static final int UNMUTED_VALUE = 2; /** - * - * *
      * Finding has never been muted/unmuted.
      * 
@@ -633,6 +565,7 @@ public enum Mute implements com.google.protobuf.ProtocolMessageEnum { */ public static final int UNDEFINED_VALUE = 4; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -657,51 +590,50 @@ public static Mute valueOf(int value) { */ public static Mute forNumber(int value) { switch (value) { - case 0: - return MUTE_UNSPECIFIED; - case 1: - return MUTED; - case 2: - return UNMUTED; - case 4: - return UNDEFINED; - default: - return null; + case 0: return MUTE_UNSPECIFIED; + case 1: return MUTED; + case 2: return UNMUTED; + case 4: return UNDEFINED; + 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< + Mute> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Mute findValueByNumber(int number) { + return Mute.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Mute findValueByNumber(int number) { - return Mute.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.securitycenter.v1.Finding.getDescriptor().getEnumTypes().get(2); } private static final Mute[] VALUES = values(); - public static Mute valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Mute 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; @@ -719,18 +651,15 @@ private Mute(int value) { } /** - * - * *
    * Represents what kind of Finding it is.
    * 
* * Protobuf enum {@code google.cloud.securitycenter.v1.Finding.FindingClass} */ - public enum FindingClass implements com.google.protobuf.ProtocolMessageEnum { + public enum FindingClass + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Unspecified finding class.
      * 
@@ -739,8 +668,6 @@ public enum FindingClass implements com.google.protobuf.ProtocolMessageEnum { */ FINDING_CLASS_UNSPECIFIED(0), /** - * - * *
      * Describes unwanted or malicious activity.
      * 
@@ -749,8 +676,6 @@ public enum FindingClass implements com.google.protobuf.ProtocolMessageEnum { */ THREAT(1), /** - * - * *
      * Describes a potential weakness in software that increases risk to
      * Confidentiality & Integrity & Availability.
@@ -760,8 +685,6 @@ public enum FindingClass implements com.google.protobuf.ProtocolMessageEnum {
      */
     VULNERABILITY(2),
     /**
-     *
-     *
      * 
      * Describes a potential weakness in cloud resource/asset configuration that
      * increases risk.
@@ -771,8 +694,6 @@ public enum FindingClass implements com.google.protobuf.ProtocolMessageEnum {
      */
     MISCONFIGURATION(3),
     /**
-     *
-     *
      * 
      * Describes a security observation that is for informational purposes.
      * 
@@ -781,8 +702,6 @@ public enum FindingClass implements com.google.protobuf.ProtocolMessageEnum { */ OBSERVATION(4), /** - * - * *
      * Describes an error that prevents some SCC functionality.
      * 
@@ -794,8 +713,6 @@ public enum FindingClass implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Unspecified finding class.
      * 
@@ -804,8 +721,6 @@ public enum FindingClass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FINDING_CLASS_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Describes unwanted or malicious activity.
      * 
@@ -814,8 +729,6 @@ public enum FindingClass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int THREAT_VALUE = 1; /** - * - * *
      * Describes a potential weakness in software that increases risk to
      * Confidentiality & Integrity & Availability.
@@ -825,8 +738,6 @@ public enum FindingClass implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int VULNERABILITY_VALUE = 2;
     /**
-     *
-     *
      * 
      * Describes a potential weakness in cloud resource/asset configuration that
      * increases risk.
@@ -836,8 +747,6 @@ public enum FindingClass implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int MISCONFIGURATION_VALUE = 3;
     /**
-     *
-     *
      * 
      * Describes a security observation that is for informational purposes.
      * 
@@ -846,8 +755,6 @@ public enum FindingClass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int OBSERVATION_VALUE = 4; /** - * - * *
      * Describes an error that prevents some SCC functionality.
      * 
@@ -856,6 +763,7 @@ public enum FindingClass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SCC_ERROR_VALUE = 5; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -880,55 +788,52 @@ public static FindingClass valueOf(int value) { */ public static FindingClass forNumber(int value) { switch (value) { - case 0: - return FINDING_CLASS_UNSPECIFIED; - case 1: - return THREAT; - case 2: - return VULNERABILITY; - case 3: - return MISCONFIGURATION; - case 4: - return OBSERVATION; - case 5: - return SCC_ERROR; - default: - return null; + case 0: return FINDING_CLASS_UNSPECIFIED; + case 1: return THREAT; + case 2: return VULNERABILITY; + case 3: return MISCONFIGURATION; + case 4: return OBSERVATION; + case 5: return SCC_ERROR; + 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< + FindingClass> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public FindingClass findValueByNumber(int number) { + return FindingClass.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public FindingClass findValueByNumber(int number) { - return FindingClass.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.securitycenter.v1.Finding.getDescriptor().getEnumTypes().get(3); } private static final FindingClass[] VALUES = values(); - public static FindingClass valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static FindingClass 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; @@ -948,8 +853,6 @@ private FindingClass(int value) { public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * The relative resource name of this finding. See:
    * https://cloud.google.com/apis/design/resource_names#relative_resource_name
@@ -958,7 +861,6 @@ private FindingClass(int value) {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -967,15 +869,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The relative resource name of this finding. See:
    * https://cloud.google.com/apis/design/resource_names#relative_resource_name
@@ -984,15 +885,16 @@ public java.lang.String getName() {
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1003,8 +905,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int PARENT_FIELD_NUMBER = 2; private volatile java.lang.Object parent_; /** - * - * *
    * The relative resource name of the source the finding belongs to. See:
    * https://cloud.google.com/apis/design/resource_names#relative_resource_name
@@ -1014,7 +914,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string parent = 2; - * * @return The parent. */ @java.lang.Override @@ -1023,15 +922,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * The relative resource name of the source the finding belongs to. See:
    * https://cloud.google.com/apis/design/resource_names#relative_resource_name
@@ -1041,15 +939,16 @@ public java.lang.String getParent() {
    * 
* * string parent = 2; - * * @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 { @@ -1060,8 +959,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int RESOURCE_NAME_FIELD_NUMBER = 3; private volatile java.lang.Object resourceName_; /** - * - * *
    * For findings on Google Cloud resources, the full resource
    * name of the Google Cloud resource this finding is for. See:
@@ -1072,7 +969,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string resource_name = 3; - * * @return The resourceName. */ @java.lang.Override @@ -1081,15 +977,14 @@ public java.lang.String getResourceName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceName_ = s; return s; } } /** - * - * *
    * For findings on Google Cloud resources, the full resource
    * name of the Google Cloud resource this finding is for. See:
@@ -1100,15 +995,16 @@ public java.lang.String getResourceName() {
    * 
* * string resource_name = 3; - * * @return The bytes for resourceName. */ @java.lang.Override - public com.google.protobuf.ByteString getResourceNameBytes() { + public com.google.protobuf.ByteString + getResourceNameBytes() { java.lang.Object ref = resourceName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); resourceName_ = b; return b; } else { @@ -1119,44 +1015,33 @@ public com.google.protobuf.ByteString getResourceNameBytes() { public static final int STATE_FIELD_NUMBER = 4; private int state_; /** - * - * *
    * The state of the finding.
    * 
* * .google.cloud.securitycenter.v1.Finding.State state = 4; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
    * The state of the finding.
    * 
* * .google.cloud.securitycenter.v1.Finding.State state = 4; - * * @return The state. */ - @java.lang.Override - public com.google.cloud.securitycenter.v1.Finding.State getState() { + @java.lang.Override public com.google.cloud.securitycenter.v1.Finding.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.securitycenter.v1.Finding.State result = - com.google.cloud.securitycenter.v1.Finding.State.valueOf(state_); + com.google.cloud.securitycenter.v1.Finding.State result = com.google.cloud.securitycenter.v1.Finding.State.valueOf(state_); return result == null ? com.google.cloud.securitycenter.v1.Finding.State.UNRECOGNIZED : result; } public static final int CATEGORY_FIELD_NUMBER = 5; private volatile java.lang.Object category_; /** - * - * *
    * The additional taxonomy group within findings from a given source.
    * This field is immutable after creation time.
@@ -1164,7 +1049,6 @@ public com.google.cloud.securitycenter.v1.Finding.State getState() {
    * 
* * string category = 5; - * * @return The category. */ @java.lang.Override @@ -1173,15 +1057,14 @@ public java.lang.String getCategory() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); category_ = s; return s; } } /** - * - * *
    * The additional taxonomy group within findings from a given source.
    * This field is immutable after creation time.
@@ -1189,15 +1072,16 @@ public java.lang.String getCategory() {
    * 
* * string category = 5; - * * @return The bytes for category. */ @java.lang.Override - public com.google.protobuf.ByteString getCategoryBytes() { + public com.google.protobuf.ByteString + getCategoryBytes() { java.lang.Object ref = category_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); category_ = b; return b; } else { @@ -1208,8 +1092,6 @@ public com.google.protobuf.ByteString getCategoryBytes() { public static final int EXTERNAL_URI_FIELD_NUMBER = 6; private volatile java.lang.Object externalUri_; /** - * - * *
    * The URI that, if available, points to a web page outside of Security
    * Command Center where additional information about the finding can be found.
@@ -1217,7 +1099,6 @@ public com.google.protobuf.ByteString getCategoryBytes() {
    * 
* * string external_uri = 6; - * * @return The externalUri. */ @java.lang.Override @@ -1226,15 +1107,14 @@ public java.lang.String getExternalUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); externalUri_ = s; return s; } } /** - * - * *
    * The URI that, if available, points to a web page outside of Security
    * Command Center where additional information about the finding can be found.
@@ -1242,15 +1122,16 @@ public java.lang.String getExternalUri() {
    * 
* * string external_uri = 6; - * * @return The bytes for externalUri. */ @java.lang.Override - public com.google.protobuf.ByteString getExternalUriBytes() { + public com.google.protobuf.ByteString + getExternalUriBytes() { java.lang.Object ref = externalUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); externalUri_ = b; return b; } else { @@ -1259,25 +1140,21 @@ public com.google.protobuf.ByteString getExternalUriBytes() { } public static final int SOURCE_PROPERTIES_FIELD_NUMBER = 7; - private static final class SourcePropertiesDefaultEntryHolder { - static final com.google.protobuf.MapEntry - defaultEntry = + static final com.google.protobuf.MapEntry< + java.lang.String, com.google.protobuf.Value> defaultEntry = com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.securitycenter.v1.FindingOuterClass - .internal_static_google_cloud_securitycenter_v1_Finding_SourcePropertiesEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - com.google.protobuf.Value.getDefaultInstance()); + .newDefaultInstance( + com.google.cloud.securitycenter.v1.FindingOuterClass.internal_static_google_cloud_securitycenter_v1_Finding_SourcePropertiesEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.protobuf.Value.getDefaultInstance()); } - - private com.google.protobuf.MapField - sourceProperties_; - + private com.google.protobuf.MapField< + java.lang.String, com.google.protobuf.Value> sourceProperties_; private com.google.protobuf.MapField - internalGetSourceProperties() { + internalGetSourceProperties() { if (sourceProperties_ == null) { return com.google.protobuf.MapField.emptyMapField( SourcePropertiesDefaultEntryHolder.defaultEntry); @@ -1289,8 +1166,6 @@ public int getSourcePropertiesCount() { return internalGetSourceProperties().getMap().size(); } /** - * - * *
    * Source specific properties. These properties are managed by the source
    * that writes the finding. The key names in the source_properties map must be
@@ -1300,22 +1175,22 @@ public int getSourcePropertiesCount() {
    *
    * map<string, .google.protobuf.Value> source_properties = 7;
    */
+
   @java.lang.Override
-  public boolean containsSourceProperties(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsSourceProperties(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetSourceProperties().getMap().containsKey(key);
   }
-  /** Use {@link #getSourcePropertiesMap()} instead. */
+  /**
+   * Use {@link #getSourcePropertiesMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getSourceProperties() {
     return getSourcePropertiesMap();
   }
   /**
-   *
-   *
    * 
    * Source specific properties. These properties are managed by the source
    * that writes the finding. The key names in the source_properties map must be
@@ -1326,12 +1201,11 @@ public java.util.Map getSourcePrope
    * map<string, .google.protobuf.Value> source_properties = 7;
    */
   @java.lang.Override
+
   public java.util.Map getSourcePropertiesMap() {
     return internalGetSourceProperties().getMap();
   }
   /**
-   *
-   *
    * 
    * Source specific properties. These properties are managed by the source
    * that writes the finding. The key names in the source_properties map must be
@@ -1342,18 +1216,16 @@ public java.util.Map getSourcePrope
    * map<string, .google.protobuf.Value> source_properties = 7;
    */
   @java.lang.Override
+
   public com.google.protobuf.Value getSourcePropertiesOrDefault(
-      java.lang.String key, com.google.protobuf.Value defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+      java.lang.String key,
+      com.google.protobuf.Value defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
     java.util.Map map =
         internalGetSourceProperties().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * Source specific properties. These properties are managed by the source
    * that writes the finding. The key names in the source_properties map must be
@@ -1364,10 +1236,10 @@ public com.google.protobuf.Value getSourcePropertiesOrDefault(
    * map<string, .google.protobuf.Value> source_properties = 7;
    */
   @java.lang.Override
-  public com.google.protobuf.Value getSourcePropertiesOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+
+  public com.google.protobuf.Value getSourcePropertiesOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     java.util.Map map =
         internalGetSourceProperties().getMap();
     if (!map.containsKey(key)) {
@@ -1379,18 +1251,13 @@ public com.google.protobuf.Value getSourcePropertiesOrThrow(java.lang.String key
   public static final int SECURITY_MARKS_FIELD_NUMBER = 8;
   private com.google.cloud.securitycenter.v1.SecurityMarks securityMarks_;
   /**
-   *
-   *
    * 
    * Output only. User specified security marks. These marks are entirely
    * managed by the user and come from the SecurityMarks resource that belongs
    * to the finding.
    * 
* - * - * .google.cloud.securitycenter.v1.SecurityMarks security_marks = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.securitycenter.v1.SecurityMarks security_marks = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the securityMarks field is set. */ @java.lang.Override @@ -1398,38 +1265,27 @@ public boolean hasSecurityMarks() { return securityMarks_ != null; } /** - * - * *
    * Output only. User specified security marks. These marks are entirely
    * managed by the user and come from the SecurityMarks resource that belongs
    * to the finding.
    * 
* - * - * .google.cloud.securitycenter.v1.SecurityMarks security_marks = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.securitycenter.v1.SecurityMarks security_marks = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The securityMarks. */ @java.lang.Override public com.google.cloud.securitycenter.v1.SecurityMarks getSecurityMarks() { - return securityMarks_ == null - ? com.google.cloud.securitycenter.v1.SecurityMarks.getDefaultInstance() - : securityMarks_; + return securityMarks_ == null ? com.google.cloud.securitycenter.v1.SecurityMarks.getDefaultInstance() : securityMarks_; } /** - * - * *
    * Output only. User specified security marks. These marks are entirely
    * managed by the user and come from the SecurityMarks resource that belongs
    * to the finding.
    * 
* - * - * .google.cloud.securitycenter.v1.SecurityMarks security_marks = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.securitycenter.v1.SecurityMarks security_marks = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.securitycenter.v1.SecurityMarksOrBuilder getSecurityMarksOrBuilder() { @@ -1439,8 +1295,6 @@ public com.google.cloud.securitycenter.v1.SecurityMarksOrBuilder getSecurityMark public static final int EVENT_TIME_FIELD_NUMBER = 9; private com.google.protobuf.Timestamp eventTime_; /** - * - * *
    * The time the finding was first detected. If an existing finding is updated,
    * then this is the time the update occurred.
@@ -1452,7 +1306,6 @@ public com.google.cloud.securitycenter.v1.SecurityMarksOrBuilder getSecurityMark
    * 
* * .google.protobuf.Timestamp event_time = 9; - * * @return Whether the eventTime field is set. */ @java.lang.Override @@ -1460,8 +1313,6 @@ public boolean hasEventTime() { return eventTime_ != null; } /** - * - * *
    * The time the finding was first detected. If an existing finding is updated,
    * then this is the time the update occurred.
@@ -1473,7 +1324,6 @@ public boolean hasEventTime() {
    * 
* * .google.protobuf.Timestamp event_time = 9; - * * @return The eventTime. */ @java.lang.Override @@ -1481,8 +1331,6 @@ public com.google.protobuf.Timestamp getEventTime() { return eventTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : eventTime_; } /** - * - * *
    * The time the finding was first detected. If an existing finding is updated,
    * then this is the time the update occurred.
@@ -1503,14 +1351,11 @@ public com.google.protobuf.TimestampOrBuilder getEventTimeOrBuilder() {
   public static final int CREATE_TIME_FIELD_NUMBER = 10;
   private com.google.protobuf.Timestamp createTime_;
   /**
-   *
-   *
    * 
    * The time at which the finding was created in Security Command Center.
    * 
* * .google.protobuf.Timestamp create_time = 10; - * * @return Whether the createTime field is set. */ @java.lang.Override @@ -1518,14 +1363,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * The time at which the finding was created in Security Command Center.
    * 
* * .google.protobuf.Timestamp create_time = 10; - * * @return The createTime. */ @java.lang.Override @@ -1533,8 +1375,6 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * The time at which the finding was created in Security Command Center.
    * 
@@ -1549,48 +1389,35 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int SEVERITY_FIELD_NUMBER = 12; private int severity_; /** - * - * *
    * The severity of the finding. This field is managed by the source that
    * writes the finding.
    * 
* * .google.cloud.securitycenter.v1.Finding.Severity severity = 12; - * * @return The enum numeric value on the wire for severity. */ - @java.lang.Override - public int getSeverityValue() { + @java.lang.Override public int getSeverityValue() { return severity_; } /** - * - * *
    * The severity of the finding. This field is managed by the source that
    * writes the finding.
    * 
* * .google.cloud.securitycenter.v1.Finding.Severity severity = 12; - * * @return The severity. */ - @java.lang.Override - public com.google.cloud.securitycenter.v1.Finding.Severity getSeverity() { + @java.lang.Override public com.google.cloud.securitycenter.v1.Finding.Severity getSeverity() { @SuppressWarnings("deprecation") - com.google.cloud.securitycenter.v1.Finding.Severity result = - com.google.cloud.securitycenter.v1.Finding.Severity.valueOf(severity_); - return result == null - ? com.google.cloud.securitycenter.v1.Finding.Severity.UNRECOGNIZED - : result; + com.google.cloud.securitycenter.v1.Finding.Severity result = com.google.cloud.securitycenter.v1.Finding.Severity.valueOf(severity_); + return result == null ? com.google.cloud.securitycenter.v1.Finding.Severity.UNRECOGNIZED : result; } public static final int CANONICAL_NAME_FIELD_NUMBER = 14; private volatile java.lang.Object canonicalName_; /** - * - * *
    * The canonical name of the finding. It's either
    * "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}",
@@ -1601,7 +1428,6 @@ public com.google.cloud.securitycenter.v1.Finding.Severity getSeverity() {
    * 
* * string canonical_name = 14; - * * @return The canonicalName. */ @java.lang.Override @@ -1610,15 +1436,14 @@ public java.lang.String getCanonicalName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); canonicalName_ = s; return s; } } /** - * - * *
    * The canonical name of the finding. It's either
    * "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}",
@@ -1629,15 +1454,16 @@ public java.lang.String getCanonicalName() {
    * 
* * string canonical_name = 14; - * * @return The bytes for canonicalName. */ @java.lang.Override - public com.google.protobuf.ByteString getCanonicalNameBytes() { + public com.google.protobuf.ByteString + getCanonicalNameBytes() { java.lang.Object ref = canonicalName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); canonicalName_ = b; return b; } else { @@ -1648,8 +1474,6 @@ public com.google.protobuf.ByteString getCanonicalNameBytes() { public static final int MUTE_FIELD_NUMBER = 15; private int mute_; /** - * - * *
    * Indicates the mute state of a finding (either muted, unmuted
    * or undefined). Unlike other attributes of a finding, a finding provider
@@ -1657,16 +1481,12 @@ public com.google.protobuf.ByteString getCanonicalNameBytes() {
    * 
* * .google.cloud.securitycenter.v1.Finding.Mute mute = 15; - * * @return The enum numeric value on the wire for mute. */ - @java.lang.Override - public int getMuteValue() { + @java.lang.Override public int getMuteValue() { return mute_; } /** - * - * *
    * Indicates the mute state of a finding (either muted, unmuted
    * or undefined). Unlike other attributes of a finding, a finding provider
@@ -1674,60 +1494,44 @@ public int getMuteValue() {
    * 
* * .google.cloud.securitycenter.v1.Finding.Mute mute = 15; - * * @return The mute. */ - @java.lang.Override - public com.google.cloud.securitycenter.v1.Finding.Mute getMute() { + @java.lang.Override public com.google.cloud.securitycenter.v1.Finding.Mute getMute() { @SuppressWarnings("deprecation") - com.google.cloud.securitycenter.v1.Finding.Mute result = - com.google.cloud.securitycenter.v1.Finding.Mute.valueOf(mute_); + com.google.cloud.securitycenter.v1.Finding.Mute result = com.google.cloud.securitycenter.v1.Finding.Mute.valueOf(mute_); return result == null ? com.google.cloud.securitycenter.v1.Finding.Mute.UNRECOGNIZED : result; } public static final int FINDING_CLASS_FIELD_NUMBER = 17; private int findingClass_; /** - * - * *
    * The class of the finding.
    * 
* * .google.cloud.securitycenter.v1.Finding.FindingClass finding_class = 17; - * * @return The enum numeric value on the wire for findingClass. */ - @java.lang.Override - public int getFindingClassValue() { + @java.lang.Override public int getFindingClassValue() { return findingClass_; } /** - * - * *
    * The class of the finding.
    * 
* * .google.cloud.securitycenter.v1.Finding.FindingClass finding_class = 17; - * * @return The findingClass. */ - @java.lang.Override - public com.google.cloud.securitycenter.v1.Finding.FindingClass getFindingClass() { + @java.lang.Override public com.google.cloud.securitycenter.v1.Finding.FindingClass getFindingClass() { @SuppressWarnings("deprecation") - com.google.cloud.securitycenter.v1.Finding.FindingClass result = - com.google.cloud.securitycenter.v1.Finding.FindingClass.valueOf(findingClass_); - return result == null - ? com.google.cloud.securitycenter.v1.Finding.FindingClass.UNRECOGNIZED - : result; + com.google.cloud.securitycenter.v1.Finding.FindingClass result = com.google.cloud.securitycenter.v1.Finding.FindingClass.valueOf(findingClass_); + return result == null ? com.google.cloud.securitycenter.v1.Finding.FindingClass.UNRECOGNIZED : result; } public static final int INDICATOR_FIELD_NUMBER = 18; private com.google.cloud.securitycenter.v1.Indicator indicator_; /** - * - * *
    * Represents what's commonly known as an Indicator of compromise (IoC) in
    * computer forensics. This is an artifact observed on a network or in an
@@ -1737,7 +1541,6 @@ public com.google.cloud.securitycenter.v1.Finding.FindingClass getFindingClass()
    * 
* * .google.cloud.securitycenter.v1.Indicator indicator = 18; - * * @return Whether the indicator field is set. */ @java.lang.Override @@ -1745,8 +1548,6 @@ public boolean hasIndicator() { return indicator_ != null; } /** - * - * *
    * Represents what's commonly known as an Indicator of compromise (IoC) in
    * computer forensics. This is an artifact observed on a network or in an
@@ -1756,18 +1557,13 @@ public boolean hasIndicator() {
    * 
* * .google.cloud.securitycenter.v1.Indicator indicator = 18; - * * @return The indicator. */ @java.lang.Override public com.google.cloud.securitycenter.v1.Indicator getIndicator() { - return indicator_ == null - ? com.google.cloud.securitycenter.v1.Indicator.getDefaultInstance() - : indicator_; + return indicator_ == null ? com.google.cloud.securitycenter.v1.Indicator.getDefaultInstance() : indicator_; } /** - * - * *
    * Represents what's commonly known as an Indicator of compromise (IoC) in
    * computer forensics. This is an artifact observed on a network or in an
@@ -1786,8 +1582,6 @@ public com.google.cloud.securitycenter.v1.IndicatorOrBuilder getIndicatorOrBuild
   public static final int VULNERABILITY_FIELD_NUMBER = 20;
   private com.google.cloud.securitycenter.v1.Vulnerability vulnerability_;
   /**
-   *
-   *
    * 
    * Represents vulnerability specific fields like cve, cvss scores etc.
    * CVE stands for Common Vulnerabilities and Exposures
@@ -1795,7 +1589,6 @@ public com.google.cloud.securitycenter.v1.IndicatorOrBuilder getIndicatorOrBuild
    * 
* * .google.cloud.securitycenter.v1.Vulnerability vulnerability = 20; - * * @return Whether the vulnerability field is set. */ @java.lang.Override @@ -1803,8 +1596,6 @@ public boolean hasVulnerability() { return vulnerability_ != null; } /** - * - * *
    * Represents vulnerability specific fields like cve, cvss scores etc.
    * CVE stands for Common Vulnerabilities and Exposures
@@ -1812,18 +1603,13 @@ public boolean hasVulnerability() {
    * 
* * .google.cloud.securitycenter.v1.Vulnerability vulnerability = 20; - * * @return The vulnerability. */ @java.lang.Override public com.google.cloud.securitycenter.v1.Vulnerability getVulnerability() { - return vulnerability_ == null - ? com.google.cloud.securitycenter.v1.Vulnerability.getDefaultInstance() - : vulnerability_; + return vulnerability_ == null ? com.google.cloud.securitycenter.v1.Vulnerability.getDefaultInstance() : vulnerability_; } /** - * - * *
    * Represents vulnerability specific fields like cve, cvss scores etc.
    * CVE stands for Common Vulnerabilities and Exposures
@@ -1840,16 +1626,11 @@ public com.google.cloud.securitycenter.v1.VulnerabilityOrBuilder getVulnerabilit
   public static final int MUTE_UPDATE_TIME_FIELD_NUMBER = 21;
   private com.google.protobuf.Timestamp muteUpdateTime_;
   /**
-   *
-   *
    * 
    * Output only. The most recent time this finding was muted or unmuted.
    * 
* - * - * .google.protobuf.Timestamp mute_update_time = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp mute_update_time = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the muteUpdateTime field is set. */ @java.lang.Override @@ -1857,34 +1638,23 @@ public boolean hasMuteUpdateTime() { return muteUpdateTime_ != null; } /** - * - * *
    * Output only. The most recent time this finding was muted or unmuted.
    * 
* - * - * .google.protobuf.Timestamp mute_update_time = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp mute_update_time = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The muteUpdateTime. */ @java.lang.Override public com.google.protobuf.Timestamp getMuteUpdateTime() { - return muteUpdateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : muteUpdateTime_; + return muteUpdateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : muteUpdateTime_; } /** - * - * *
    * Output only. The most recent time this finding was muted or unmuted.
    * 
* - * - * .google.protobuf.Timestamp mute_update_time = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp mute_update_time = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getMuteUpdateTimeOrBuilder() { @@ -1892,29 +1662,21 @@ public com.google.protobuf.TimestampOrBuilder getMuteUpdateTimeOrBuilder() { } public static final int EXTERNAL_SYSTEMS_FIELD_NUMBER = 22; - private static final class ExternalSystemsDefaultEntryHolder { static final com.google.protobuf.MapEntry< - java.lang.String, com.google.cloud.securitycenter.v1.ExternalSystem> - defaultEntry = + java.lang.String, com.google.cloud.securitycenter.v1.ExternalSystem> defaultEntry = com.google.protobuf.MapEntry - . - newDefaultInstance( - com.google.cloud.securitycenter.v1.FindingOuterClass - .internal_static_google_cloud_securitycenter_v1_Finding_ExternalSystemsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - com.google.cloud.securitycenter.v1.ExternalSystem.getDefaultInstance()); + .newDefaultInstance( + com.google.cloud.securitycenter.v1.FindingOuterClass.internal_static_google_cloud_securitycenter_v1_Finding_ExternalSystemsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.cloud.securitycenter.v1.ExternalSystem.getDefaultInstance()); } - private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.securitycenter.v1.ExternalSystem> - externalSystems_; - - private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.securitycenter.v1.ExternalSystem> - internalGetExternalSystems() { + java.lang.String, com.google.cloud.securitycenter.v1.ExternalSystem> externalSystems_; + private com.google.protobuf.MapField + internalGetExternalSystems() { if (externalSystems_ == null) { return com.google.protobuf.MapField.emptyMapField( ExternalSystemsDefaultEntryHolder.defaultEntry); @@ -1926,88 +1688,72 @@ public int getExternalSystemsCount() { return internalGetExternalSystems().getMap().size(); } /** - * - * *
    * Output only. Third party SIEM/SOAR fields within SCC, contains external system
    * information and external system finding fields.
    * 
* - * - * map<string, .google.cloud.securitycenter.v1.ExternalSystem> external_systems = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.cloud.securitycenter.v1.ExternalSystem> external_systems = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ + @java.lang.Override - public boolean containsExternalSystems(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsExternalSystems( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetExternalSystems().getMap().containsKey(key); } - /** Use {@link #getExternalSystemsMap()} instead. */ + /** + * Use {@link #getExternalSystemsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated - public java.util.Map - getExternalSystems() { + public java.util.Map getExternalSystems() { return getExternalSystemsMap(); } /** - * - * *
    * Output only. Third party SIEM/SOAR fields within SCC, contains external system
    * information and external system finding fields.
    * 
* - * - * map<string, .google.cloud.securitycenter.v1.ExternalSystem> external_systems = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.cloud.securitycenter.v1.ExternalSystem> external_systems = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public java.util.Map - getExternalSystemsMap() { + + public java.util.Map getExternalSystemsMap() { return internalGetExternalSystems().getMap(); } /** - * - * *
    * Output only. Third party SIEM/SOAR fields within SCC, contains external system
    * information and external system finding fields.
    * 
* - * - * map<string, .google.cloud.securitycenter.v1.ExternalSystem> external_systems = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.cloud.securitycenter.v1.ExternalSystem> external_systems = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override + public com.google.cloud.securitycenter.v1.ExternalSystem getExternalSystemsOrDefault( - java.lang.String key, com.google.cloud.securitycenter.v1.ExternalSystem defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } + java.lang.String key, + com.google.cloud.securitycenter.v1.ExternalSystem defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetExternalSystems().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * Output only. Third party SIEM/SOAR fields within SCC, contains external system
    * information and external system finding fields.
    * 
* - * - * map<string, .google.cloud.securitycenter.v1.ExternalSystem> external_systems = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.cloud.securitycenter.v1.ExternalSystem> external_systems = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override + public com.google.cloud.securitycenter.v1.ExternalSystem getExternalSystemsOrThrow( java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetExternalSystems().getMap(); if (!map.containsKey(key)) { @@ -2019,15 +1765,12 @@ public com.google.cloud.securitycenter.v1.ExternalSystem getExternalSystemsOrThr public static final int MITRE_ATTACK_FIELD_NUMBER = 25; private com.google.cloud.securitycenter.v1.MitreAttack mitreAttack_; /** - * - * *
    * MITRE ATT&CK tactics and techniques related to this finding.
    * See: https://attack.mitre.org
    * 
* * .google.cloud.securitycenter.v1.MitreAttack mitre_attack = 25; - * * @return Whether the mitreAttack field is set. */ @java.lang.Override @@ -2035,26 +1778,19 @@ public boolean hasMitreAttack() { return mitreAttack_ != null; } /** - * - * *
    * MITRE ATT&CK tactics and techniques related to this finding.
    * See: https://attack.mitre.org
    * 
* * .google.cloud.securitycenter.v1.MitreAttack mitre_attack = 25; - * * @return The mitreAttack. */ @java.lang.Override public com.google.cloud.securitycenter.v1.MitreAttack getMitreAttack() { - return mitreAttack_ == null - ? com.google.cloud.securitycenter.v1.MitreAttack.getDefaultInstance() - : mitreAttack_; + return mitreAttack_ == null ? com.google.cloud.securitycenter.v1.MitreAttack.getDefaultInstance() : mitreAttack_; } /** - * - * *
    * MITRE ATT&CK tactics and techniques related to this finding.
    * See: https://attack.mitre.org
@@ -2070,15 +1806,12 @@ public com.google.cloud.securitycenter.v1.MitreAttackOrBuilder getMitreAttackOrB
   public static final int ACCESS_FIELD_NUMBER = 26;
   private com.google.cloud.securitycenter.v1.Access access_;
   /**
-   *
-   *
    * 
    * Access details associated to the Finding, such as more information on the
    * caller, which method was accessed, from where, etc.
    * 
* * .google.cloud.securitycenter.v1.Access access = 26; - * * @return Whether the access field is set. */ @java.lang.Override @@ -2086,26 +1819,19 @@ public boolean hasAccess() { return access_ != null; } /** - * - * *
    * Access details associated to the Finding, such as more information on the
    * caller, which method was accessed, from where, etc.
    * 
* * .google.cloud.securitycenter.v1.Access access = 26; - * * @return The access. */ @java.lang.Override public com.google.cloud.securitycenter.v1.Access getAccess() { - return access_ == null - ? com.google.cloud.securitycenter.v1.Access.getDefaultInstance() - : access_; + return access_ == null ? com.google.cloud.securitycenter.v1.Access.getDefaultInstance() : access_; } /** - * - * *
    * Access details associated to the Finding, such as more information on the
    * caller, which method was accessed, from where, etc.
@@ -2121,8 +1847,6 @@ public com.google.cloud.securitycenter.v1.AccessOrBuilder getAccessOrBuilder() {
   public static final int CONNECTIONS_FIELD_NUMBER = 31;
   private java.util.List connections_;
   /**
-   *
-   *
    * 
    * Contains information about the IP connection associated with the finding.
    * 
@@ -2134,8 +1858,6 @@ public java.util.List getConnecti return connections_; } /** - * - * *
    * Contains information about the IP connection associated with the finding.
    * 
@@ -2143,13 +1865,11 @@ public java.util.List getConnecti * repeated .google.cloud.securitycenter.v1.Connection connections = 31; */ @java.lang.Override - public java.util.List + public java.util.List getConnectionsOrBuilderList() { return connections_; } /** - * - * *
    * Contains information about the IP connection associated with the finding.
    * 
@@ -2161,8 +1881,6 @@ public int getConnectionsCount() { return connections_.size(); } /** - * - * *
    * Contains information about the IP connection associated with the finding.
    * 
@@ -2174,8 +1892,6 @@ public com.google.cloud.securitycenter.v1.Connection getConnections(int index) { return connections_.get(index); } /** - * - * *
    * Contains information about the IP connection associated with the finding.
    * 
@@ -2183,15 +1899,14 @@ public com.google.cloud.securitycenter.v1.Connection getConnections(int index) { * repeated .google.cloud.securitycenter.v1.Connection connections = 31; */ @java.lang.Override - public com.google.cloud.securitycenter.v1.ConnectionOrBuilder getConnectionsOrBuilder(int index) { + public com.google.cloud.securitycenter.v1.ConnectionOrBuilder getConnectionsOrBuilder( + int index) { return connections_.get(index); } public static final int MUTE_INITIATOR_FIELD_NUMBER = 28; private volatile java.lang.Object muteInitiator_; /** - * - * *
    * First known as mute_annotation. Records additional information about the
    * mute operation e.g. mute config that muted the finding, user who muted the
@@ -2200,7 +1915,6 @@ public com.google.cloud.securitycenter.v1.ConnectionOrBuilder getConnectionsOrBu
    * 
* * string mute_initiator = 28; - * * @return The muteInitiator. */ @java.lang.Override @@ -2209,15 +1923,14 @@ public java.lang.String getMuteInitiator() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); muteInitiator_ = s; return s; } } /** - * - * *
    * First known as mute_annotation. Records additional information about the
    * mute operation e.g. mute config that muted the finding, user who muted the
@@ -2226,15 +1939,16 @@ public java.lang.String getMuteInitiator() {
    * 
* * string mute_initiator = 28; - * * @return The bytes for muteInitiator. */ @java.lang.Override - public com.google.protobuf.ByteString getMuteInitiatorBytes() { + public com.google.protobuf.ByteString + getMuteInitiatorBytes() { java.lang.Object ref = muteInitiator_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); muteInitiator_ = b; return b; } else { @@ -2245,8 +1959,6 @@ public com.google.protobuf.ByteString getMuteInitiatorBytes() { public static final int PROCESSES_FIELD_NUMBER = 30; private java.util.List processes_; /** - * - * *
    * Represents operating system processes associated with the Finding.
    * 
@@ -2258,8 +1970,6 @@ public java.util.List getProcessesLi return processes_; } /** - * - * *
    * Represents operating system processes associated with the Finding.
    * 
@@ -2267,13 +1977,11 @@ public java.util.List getProcessesLi * repeated .google.cloud.securitycenter.v1.Process processes = 30; */ @java.lang.Override - public java.util.List + public java.util.List getProcessesOrBuilderList() { return processes_; } /** - * - * *
    * Represents operating system processes associated with the Finding.
    * 
@@ -2285,8 +1993,6 @@ public int getProcessesCount() { return processes_.size(); } /** - * - * *
    * Represents operating system processes associated with the Finding.
    * 
@@ -2298,8 +2004,6 @@ public com.google.cloud.securitycenter.v1.Process getProcesses(int index) { return processes_.get(index); } /** - * - * *
    * Represents operating system processes associated with the Finding.
    * 
@@ -2307,36 +2011,30 @@ public com.google.cloud.securitycenter.v1.Process getProcesses(int index) { * repeated .google.cloud.securitycenter.v1.Process processes = 30; */ @java.lang.Override - public com.google.cloud.securitycenter.v1.ProcessOrBuilder getProcessesOrBuilder(int index) { + public com.google.cloud.securitycenter.v1.ProcessOrBuilder getProcessesOrBuilder( + int index) { return processes_.get(index); } public static final int CONTACTS_FIELD_NUMBER = 33; - private static final class ContactsDefaultEntryHolder { static final com.google.protobuf.MapEntry< - java.lang.String, com.google.cloud.securitycenter.v1.ContactDetails> - defaultEntry = + java.lang.String, com.google.cloud.securitycenter.v1.ContactDetails> defaultEntry = com.google.protobuf.MapEntry - . - newDefaultInstance( - com.google.cloud.securitycenter.v1.FindingOuterClass - .internal_static_google_cloud_securitycenter_v1_Finding_ContactsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - com.google.cloud.securitycenter.v1.ContactDetails.getDefaultInstance()); + .newDefaultInstance( + com.google.cloud.securitycenter.v1.FindingOuterClass.internal_static_google_cloud_securitycenter_v1_Finding_ContactsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.cloud.securitycenter.v1.ContactDetails.getDefaultInstance()); } - private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.securitycenter.v1.ContactDetails> - contacts_; - - private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.securitycenter.v1.ContactDetails> - internalGetContacts() { + java.lang.String, com.google.cloud.securitycenter.v1.ContactDetails> contacts_; + private com.google.protobuf.MapField + internalGetContacts() { if (contacts_ == null) { - return com.google.protobuf.MapField.emptyMapField(ContactsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + ContactsDefaultEntryHolder.defaultEntry); } return contacts_; } @@ -2345,8 +2043,6 @@ public int getContactsCount() { return internalGetContacts().getMap().size(); } /** - * - * *
    * Output only. Map containing the points of contact for the given finding. The key
    * represents the type of contact, while the value contains a list of all the
@@ -2366,27 +2062,24 @@ public int getContactsCount() {
    *     }
    * 
* - * - * map<string, .google.cloud.securitycenter.v1.ContactDetails> contacts = 33 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.cloud.securitycenter.v1.ContactDetails> contacts = 33 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ + @java.lang.Override - public boolean containsContacts(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsContacts( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetContacts().getMap().containsKey(key); } - /** Use {@link #getContactsMap()} instead. */ + /** + * Use {@link #getContactsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated - public java.util.Map - getContacts() { + public java.util.Map getContacts() { return getContactsMap(); } /** - * - * *
    * Output only. Map containing the points of contact for the given finding. The key
    * represents the type of contact, while the value contains a list of all the
@@ -2406,18 +2099,14 @@ public boolean containsContacts(java.lang.String key) {
    *     }
    * 
* - * - * map<string, .google.cloud.securitycenter.v1.ContactDetails> contacts = 33 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.cloud.securitycenter.v1.ContactDetails> contacts = 33 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public java.util.Map - getContactsMap() { + + public java.util.Map getContactsMap() { return internalGetContacts().getMap(); } /** - * - * *
    * Output only. Map containing the points of contact for the given finding. The key
    * represents the type of contact, while the value contains a list of all the
@@ -2437,23 +2126,19 @@ public boolean containsContacts(java.lang.String key) {
    *     }
    * 
* - * - * map<string, .google.cloud.securitycenter.v1.ContactDetails> contacts = 33 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.cloud.securitycenter.v1.ContactDetails> contacts = 33 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override + public com.google.cloud.securitycenter.v1.ContactDetails getContactsOrDefault( - java.lang.String key, com.google.cloud.securitycenter.v1.ContactDetails defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } + java.lang.String key, + com.google.cloud.securitycenter.v1.ContactDetails defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetContacts().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * Output only. Map containing the points of contact for the given finding. The key
    * represents the type of contact, while the value contains a list of all the
@@ -2473,16 +2158,13 @@ public com.google.cloud.securitycenter.v1.ContactDetails getContactsOrDefault(
    *     }
    * 
* - * - * map<string, .google.cloud.securitycenter.v1.ContactDetails> contacts = 33 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.cloud.securitycenter.v1.ContactDetails> contacts = 33 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override + public com.google.cloud.securitycenter.v1.ContactDetails getContactsOrThrow( java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetContacts().getMap(); if (!map.containsKey(key)) { @@ -2494,8 +2176,6 @@ public com.google.cloud.securitycenter.v1.ContactDetails getContactsOrThrow( public static final int COMPLIANCES_FIELD_NUMBER = 34; private java.util.List compliances_; /** - * - * *
    * Contains compliance information for security standards associated to the
    * finding.
@@ -2508,8 +2188,6 @@ public java.util.List getComplian
     return compliances_;
   }
   /**
-   *
-   *
    * 
    * Contains compliance information for security standards associated to the
    * finding.
@@ -2518,13 +2196,11 @@ public java.util.List getComplian
    * repeated .google.cloud.securitycenter.v1.Compliance compliances = 34;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getCompliancesOrBuilderList() {
     return compliances_;
   }
   /**
-   *
-   *
    * 
    * Contains compliance information for security standards associated to the
    * finding.
@@ -2537,8 +2213,6 @@ public int getCompliancesCount() {
     return compliances_.size();
   }
   /**
-   *
-   *
    * 
    * Contains compliance information for security standards associated to the
    * finding.
@@ -2551,8 +2225,6 @@ public com.google.cloud.securitycenter.v1.Compliance getCompliances(int index) {
     return compliances_.get(index);
   }
   /**
-   *
-   *
    * 
    * Contains compliance information for security standards associated to the
    * finding.
@@ -2561,22 +2233,20 @@ public com.google.cloud.securitycenter.v1.Compliance getCompliances(int index) {
    * repeated .google.cloud.securitycenter.v1.Compliance compliances = 34;
    */
   @java.lang.Override
-  public com.google.cloud.securitycenter.v1.ComplianceOrBuilder getCompliancesOrBuilder(int index) {
+  public com.google.cloud.securitycenter.v1.ComplianceOrBuilder getCompliancesOrBuilder(
+      int index) {
     return compliances_.get(index);
   }
 
   public static final int PARENT_DISPLAY_NAME_FIELD_NUMBER = 36;
   private volatile java.lang.Object parentDisplayName_;
   /**
-   *
-   *
    * 
    * Output only. The human readable display name of the finding source such as
    * "Event Threat Detection" or "Security Health Analytics".
    * 
* * string parent_display_name = 36 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The parentDisplayName. */ @java.lang.Override @@ -2585,30 +2255,30 @@ public java.lang.String getParentDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parentDisplayName_ = s; return s; } } /** - * - * *
    * Output only. The human readable display name of the finding source such as
    * "Event Threat Detection" or "Security Health Analytics".
    * 
* * string parent_display_name = 36 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for parentDisplayName. */ @java.lang.Override - public com.google.protobuf.ByteString getParentDisplayNameBytes() { + public com.google.protobuf.ByteString + getParentDisplayNameBytes() { java.lang.Object ref = parentDisplayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parentDisplayName_ = b; return b; } else { @@ -2619,14 +2289,11 @@ public com.google.protobuf.ByteString getParentDisplayNameBytes() { public static final int DESCRIPTION_FIELD_NUMBER = 37; private volatile java.lang.Object description_; /** - * - * *
    * Contains more detail about the finding.
    * 
* * string description = 37; - * * @return The description. */ @java.lang.Override @@ -2635,29 +2302,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; } } /** - * - * *
    * Contains more detail about the finding.
    * 
* * string description = 37; - * * @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 { @@ -2668,14 +2335,11 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int EXFILTRATION_FIELD_NUMBER = 38; private com.google.cloud.securitycenter.v1.Exfiltration exfiltration_; /** - * - * *
    * Represents exfiltration associated with the Finding.
    * 
* * .google.cloud.securitycenter.v1.Exfiltration exfiltration = 38; - * * @return Whether the exfiltration field is set. */ @java.lang.Override @@ -2683,25 +2347,18 @@ public boolean hasExfiltration() { return exfiltration_ != null; } /** - * - * *
    * Represents exfiltration associated with the Finding.
    * 
* * .google.cloud.securitycenter.v1.Exfiltration exfiltration = 38; - * * @return The exfiltration. */ @java.lang.Override public com.google.cloud.securitycenter.v1.Exfiltration getExfiltration() { - return exfiltration_ == null - ? com.google.cloud.securitycenter.v1.Exfiltration.getDefaultInstance() - : exfiltration_; + return exfiltration_ == null ? com.google.cloud.securitycenter.v1.Exfiltration.getDefaultInstance() : exfiltration_; } /** - * - * *
    * Represents exfiltration associated with the Finding.
    * 
@@ -2716,8 +2373,6 @@ public com.google.cloud.securitycenter.v1.ExfiltrationOrBuilder getExfiltrationO public static final int IAM_BINDINGS_FIELD_NUMBER = 39; private java.util.List iamBindings_; /** - * - * *
    * Represents IAM bindings associated with the Finding.
    * 
@@ -2729,8 +2384,6 @@ public java.util.List getIamBindi return iamBindings_; } /** - * - * *
    * Represents IAM bindings associated with the Finding.
    * 
@@ -2738,13 +2391,11 @@ public java.util.List getIamBindi * repeated .google.cloud.securitycenter.v1.IamBinding iam_bindings = 39; */ @java.lang.Override - public java.util.List + public java.util.List getIamBindingsOrBuilderList() { return iamBindings_; } /** - * - * *
    * Represents IAM bindings associated with the Finding.
    * 
@@ -2756,8 +2407,6 @@ public int getIamBindingsCount() { return iamBindings_.size(); } /** - * - * *
    * Represents IAM bindings associated with the Finding.
    * 
@@ -2769,8 +2418,6 @@ public com.google.cloud.securitycenter.v1.IamBinding getIamBindings(int index) { return iamBindings_.get(index); } /** - * - * *
    * Represents IAM bindings associated with the Finding.
    * 
@@ -2778,21 +2425,19 @@ public com.google.cloud.securitycenter.v1.IamBinding getIamBindings(int index) { * repeated .google.cloud.securitycenter.v1.IamBinding iam_bindings = 39; */ @java.lang.Override - public com.google.cloud.securitycenter.v1.IamBindingOrBuilder getIamBindingsOrBuilder(int index) { + public com.google.cloud.securitycenter.v1.IamBindingOrBuilder getIamBindingsOrBuilder( + int index) { return iamBindings_.get(index); } public static final int NEXT_STEPS_FIELD_NUMBER = 40; private volatile java.lang.Object nextSteps_; /** - * - * *
    * Next steps associate to the finding.
    * 
* * string next_steps = 40; - * * @return The nextSteps. */ @java.lang.Override @@ -2801,29 +2446,29 @@ public java.lang.String getNextSteps() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextSteps_ = s; return s; } } /** - * - * *
    * Next steps associate to the finding.
    * 
* * string next_steps = 40; - * * @return The bytes for nextSteps. */ @java.lang.Override - public com.google.protobuf.ByteString getNextStepsBytes() { + public com.google.protobuf.ByteString + getNextStepsBytes() { java.lang.Object ref = nextSteps_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextSteps_ = b; return b; } else { @@ -2834,8 +2479,6 @@ public com.google.protobuf.ByteString getNextStepsBytes() { public static final int CONTAINERS_FIELD_NUMBER = 42; private java.util.List containers_; /** - * - * *
    * Containers associated with the finding. containers provides information
    * for both Kubernetes and non-Kubernetes containers.
@@ -2848,8 +2491,6 @@ public java.util.List getContainer
     return containers_;
   }
   /**
-   *
-   *
    * 
    * Containers associated with the finding. containers provides information
    * for both Kubernetes and non-Kubernetes containers.
@@ -2858,13 +2499,11 @@ public java.util.List getContainer
    * repeated .google.cloud.securitycenter.v1.Container containers = 42;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getContainersOrBuilderList() {
     return containers_;
   }
   /**
-   *
-   *
    * 
    * Containers associated with the finding. containers provides information
    * for both Kubernetes and non-Kubernetes containers.
@@ -2877,8 +2516,6 @@ public int getContainersCount() {
     return containers_.size();
   }
   /**
-   *
-   *
    * 
    * Containers associated with the finding. containers provides information
    * for both Kubernetes and non-Kubernetes containers.
@@ -2891,8 +2528,6 @@ public com.google.cloud.securitycenter.v1.Container getContainers(int index) {
     return containers_.get(index);
   }
   /**
-   *
-   *
    * 
    * Containers associated with the finding. containers provides information
    * for both Kubernetes and non-Kubernetes containers.
@@ -2901,21 +2536,19 @@ public com.google.cloud.securitycenter.v1.Container getContainers(int index) {
    * repeated .google.cloud.securitycenter.v1.Container containers = 42;
    */
   @java.lang.Override
-  public com.google.cloud.securitycenter.v1.ContainerOrBuilder getContainersOrBuilder(int index) {
+  public com.google.cloud.securitycenter.v1.ContainerOrBuilder getContainersOrBuilder(
+      int index) {
     return containers_.get(index);
   }
 
   public static final int KUBERNETES_FIELD_NUMBER = 43;
   private com.google.cloud.securitycenter.v1.Kubernetes kubernetes_;
   /**
-   *
-   *
    * 
    * Kubernetes resources associated with the finding.
    * 
* * .google.cloud.securitycenter.v1.Kubernetes kubernetes = 43; - * * @return Whether the kubernetes field is set. */ @java.lang.Override @@ -2923,25 +2556,18 @@ public boolean hasKubernetes() { return kubernetes_ != null; } /** - * - * *
    * Kubernetes resources associated with the finding.
    * 
* * .google.cloud.securitycenter.v1.Kubernetes kubernetes = 43; - * * @return The kubernetes. */ @java.lang.Override public com.google.cloud.securitycenter.v1.Kubernetes getKubernetes() { - return kubernetes_ == null - ? com.google.cloud.securitycenter.v1.Kubernetes.getDefaultInstance() - : kubernetes_; + return kubernetes_ == null ? com.google.cloud.securitycenter.v1.Kubernetes.getDefaultInstance() : kubernetes_; } /** - * - * *
    * Kubernetes resources associated with the finding.
    * 
@@ -2956,14 +2582,11 @@ public com.google.cloud.securitycenter.v1.KubernetesOrBuilder getKubernetesOrBui public static final int DATABASE_FIELD_NUMBER = 44; private com.google.cloud.securitycenter.v1.Database database_; /** - * - * *
    * Database associated with the finding.
    * 
* * .google.cloud.securitycenter.v1.Database database = 44; - * * @return Whether the database field is set. */ @java.lang.Override @@ -2971,25 +2594,18 @@ public boolean hasDatabase() { return database_ != null; } /** - * - * *
    * Database associated with the finding.
    * 
* * .google.cloud.securitycenter.v1.Database database = 44; - * * @return The database. */ @java.lang.Override public com.google.cloud.securitycenter.v1.Database getDatabase() { - return database_ == null - ? com.google.cloud.securitycenter.v1.Database.getDefaultInstance() - : database_; + return database_ == null ? com.google.cloud.securitycenter.v1.Database.getDefaultInstance() : database_; } /** - * - * *
    * Database associated with the finding.
    * 
@@ -3001,8 +2617,67 @@ public com.google.cloud.securitycenter.v1.DatabaseOrBuilder getDatabaseOrBuilder return getDatabase(); } - private byte memoizedIsInitialized = -1; + public static final int FILES_FIELD_NUMBER = 46; + private java.util.List files_; + /** + *
+   * File associated with the finding.
+   * 
+ * + * repeated .google.cloud.securitycenter.v1.File files = 46; + */ + @java.lang.Override + public java.util.List getFilesList() { + return files_; + } + /** + *
+   * File associated with the finding.
+   * 
+ * + * repeated .google.cloud.securitycenter.v1.File files = 46; + */ + @java.lang.Override + public java.util.List + getFilesOrBuilderList() { + return files_; + } + /** + *
+   * File associated with the finding.
+   * 
+ * + * repeated .google.cloud.securitycenter.v1.File files = 46; + */ + @java.lang.Override + public int getFilesCount() { + return files_.size(); + } + /** + *
+   * File associated with the finding.
+   * 
+ * + * repeated .google.cloud.securitycenter.v1.File files = 46; + */ + @java.lang.Override + public com.google.cloud.securitycenter.v1.File getFiles(int index) { + return files_.get(index); + } + /** + *
+   * File associated with the finding.
+   * 
+ * + * repeated .google.cloud.securitycenter.v1.File files = 46; + */ + @java.lang.Override + public com.google.cloud.securitycenter.v1.FileOrBuilder getFilesOrBuilder( + int index) { + return files_.get(index); + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3014,7 +2689,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -3033,8 +2709,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(externalUri_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, externalUri_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetSourceProperties(), SourcePropertiesDefaultEntryHolder.defaultEntry, 7); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetSourceProperties(), + SourcePropertiesDefaultEntryHolder.defaultEntry, + 7); if (securityMarks_ != null) { output.writeMessage(8, getSecurityMarks()); } @@ -3044,8 +2724,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (createTime_ != null) { output.writeMessage(10, getCreateTime()); } - if (severity_ - != com.google.cloud.securitycenter.v1.Finding.Severity.SEVERITY_UNSPECIFIED.getNumber()) { + if (severity_ != com.google.cloud.securitycenter.v1.Finding.Severity.SEVERITY_UNSPECIFIED.getNumber()) { output.writeEnum(12, severity_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(canonicalName_)) { @@ -3054,9 +2733,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (mute_ != com.google.cloud.securitycenter.v1.Finding.Mute.MUTE_UNSPECIFIED.getNumber()) { output.writeEnum(15, mute_); } - if (findingClass_ - != com.google.cloud.securitycenter.v1.Finding.FindingClass.FINDING_CLASS_UNSPECIFIED - .getNumber()) { + if (findingClass_ != com.google.cloud.securitycenter.v1.Finding.FindingClass.FINDING_CLASS_UNSPECIFIED.getNumber()) { output.writeEnum(17, findingClass_); } if (indicator_ != null) { @@ -3068,8 +2745,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (muteUpdateTime_ != null) { output.writeMessage(21, getMuteUpdateTime()); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetExternalSystems(), ExternalSystemsDefaultEntryHolder.defaultEntry, 22); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetExternalSystems(), + ExternalSystemsDefaultEntryHolder.defaultEntry, + 22); if (mitreAttack_ != null) { output.writeMessage(25, getMitreAttack()); } @@ -3085,8 +2766,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < connections_.size(); i++) { output.writeMessage(31, connections_.get(i)); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetContacts(), ContactsDefaultEntryHolder.defaultEntry, 33); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetContacts(), + ContactsDefaultEntryHolder.defaultEntry, + 33); for (int i = 0; i < compliances_.size(); i++) { output.writeMessage(34, compliances_.get(i)); } @@ -3114,6 +2799,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (database_ != null) { output.writeMessage(44, getDatabase()); } + for (int i = 0; i < files_.size(); i++) { + output.writeMessage(46, files_.get(i)); + } getUnknownFields().writeTo(output); } @@ -3133,7 +2821,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, resourceName_); } if (state_ != com.google.cloud.securitycenter.v1.Finding.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, state_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(category_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, category_); @@ -3141,90 +2830,97 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(externalUri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, externalUri_); } - for (java.util.Map.Entry entry : - internalGetSourceProperties().getMap().entrySet()) { - com.google.protobuf.MapEntry sourceProperties__ = - SourcePropertiesDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, sourceProperties__); + for (java.util.Map.Entry entry + : internalGetSourceProperties().getMap().entrySet()) { + com.google.protobuf.MapEntry + sourceProperties__ = SourcePropertiesDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, sourceProperties__); } if (securityMarks_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getSecurityMarks()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, getSecurityMarks()); } if (eventTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getEventTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, getEventTime()); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(10, getCreateTime()); } - if (severity_ - != com.google.cloud.securitycenter.v1.Finding.Severity.SEVERITY_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(12, severity_); + if (severity_ != com.google.cloud.securitycenter.v1.Finding.Severity.SEVERITY_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(12, severity_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(canonicalName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, canonicalName_); } if (mute_ != com.google.cloud.securitycenter.v1.Finding.Mute.MUTE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(15, mute_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(15, mute_); } - if (findingClass_ - != com.google.cloud.securitycenter.v1.Finding.FindingClass.FINDING_CLASS_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(17, findingClass_); + if (findingClass_ != com.google.cloud.securitycenter.v1.Finding.FindingClass.FINDING_CLASS_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(17, findingClass_); } if (indicator_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(18, getIndicator()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(18, getIndicator()); } if (vulnerability_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(20, getVulnerability()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(20, getVulnerability()); } if (muteUpdateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(21, getMuteUpdateTime()); - } - for (java.util.Map.Entry - entry : internalGetExternalSystems().getMap().entrySet()) { - com.google.protobuf.MapEntry< - java.lang.String, com.google.cloud.securitycenter.v1.ExternalSystem> - externalSystems__ = - ExternalSystemsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(22, externalSystems__); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(21, getMuteUpdateTime()); + } + for (java.util.Map.Entry entry + : internalGetExternalSystems().getMap().entrySet()) { + com.google.protobuf.MapEntry + externalSystems__ = ExternalSystemsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(22, externalSystems__); } if (mitreAttack_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(25, getMitreAttack()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(25, getMitreAttack()); } if (access_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(26, getAccess()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(26, getAccess()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(muteInitiator_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(28, muteInitiator_); } for (int i = 0; i < processes_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(30, processes_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(30, processes_.get(i)); } for (int i = 0; i < connections_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(31, connections_.get(i)); - } - for (java.util.Map.Entry - entry : internalGetContacts().getMap().entrySet()) { - com.google.protobuf.MapEntry< - java.lang.String, com.google.cloud.securitycenter.v1.ContactDetails> - contacts__ = - ContactsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(33, contacts__); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(31, connections_.get(i)); + } + for (java.util.Map.Entry entry + : internalGetContacts().getMap().entrySet()) { + com.google.protobuf.MapEntry + contacts__ = ContactsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(33, contacts__); } for (int i = 0; i < compliances_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(34, compliances_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(34, compliances_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parentDisplayName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(36, parentDisplayName_); @@ -3233,22 +2929,31 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(37, description_); } if (exfiltration_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(38, getExfiltration()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(38, getExfiltration()); } for (int i = 0; i < iamBindings_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(39, iamBindings_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(39, iamBindings_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextSteps_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(40, nextSteps_); } for (int i = 0; i < containers_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(42, containers_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(42, containers_.get(i)); } if (kubernetes_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(43, getKubernetes()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(43, getKubernetes()); } if (database_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(44, getDatabase()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(44, getDatabase()); + } + for (int i = 0; i < files_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(46, files_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -3258,80 +2963,110 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.securitycenter.v1.Finding)) { return super.equals(obj); } - com.google.cloud.securitycenter.v1.Finding other = - (com.google.cloud.securitycenter.v1.Finding) obj; + com.google.cloud.securitycenter.v1.Finding other = (com.google.cloud.securitycenter.v1.Finding) obj; - if (!getName().equals(other.getName())) return false; - if (!getParent().equals(other.getParent())) return false; - if (!getResourceName().equals(other.getResourceName())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getResourceName() + .equals(other.getResourceName())) return false; if (state_ != other.state_) return false; - if (!getCategory().equals(other.getCategory())) return false; - if (!getExternalUri().equals(other.getExternalUri())) return false; - if (!internalGetSourceProperties().equals(other.internalGetSourceProperties())) return false; + if (!getCategory() + .equals(other.getCategory())) return false; + if (!getExternalUri() + .equals(other.getExternalUri())) return false; + if (!internalGetSourceProperties().equals( + other.internalGetSourceProperties())) return false; if (hasSecurityMarks() != other.hasSecurityMarks()) return false; if (hasSecurityMarks()) { - if (!getSecurityMarks().equals(other.getSecurityMarks())) return false; + if (!getSecurityMarks() + .equals(other.getSecurityMarks())) return false; } if (hasEventTime() != other.hasEventTime()) return false; if (hasEventTime()) { - if (!getEventTime().equals(other.getEventTime())) return false; + if (!getEventTime() + .equals(other.getEventTime())) return false; } if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } if (severity_ != other.severity_) return false; - if (!getCanonicalName().equals(other.getCanonicalName())) return false; + if (!getCanonicalName() + .equals(other.getCanonicalName())) return false; if (mute_ != other.mute_) return false; if (findingClass_ != other.findingClass_) return false; if (hasIndicator() != other.hasIndicator()) return false; if (hasIndicator()) { - if (!getIndicator().equals(other.getIndicator())) return false; + if (!getIndicator() + .equals(other.getIndicator())) return false; } if (hasVulnerability() != other.hasVulnerability()) return false; if (hasVulnerability()) { - if (!getVulnerability().equals(other.getVulnerability())) return false; + if (!getVulnerability() + .equals(other.getVulnerability())) return false; } if (hasMuteUpdateTime() != other.hasMuteUpdateTime()) return false; if (hasMuteUpdateTime()) { - if (!getMuteUpdateTime().equals(other.getMuteUpdateTime())) return false; + if (!getMuteUpdateTime() + .equals(other.getMuteUpdateTime())) return false; } - if (!internalGetExternalSystems().equals(other.internalGetExternalSystems())) return false; + if (!internalGetExternalSystems().equals( + other.internalGetExternalSystems())) return false; if (hasMitreAttack() != other.hasMitreAttack()) return false; if (hasMitreAttack()) { - if (!getMitreAttack().equals(other.getMitreAttack())) return false; + if (!getMitreAttack() + .equals(other.getMitreAttack())) return false; } if (hasAccess() != other.hasAccess()) return false; if (hasAccess()) { - if (!getAccess().equals(other.getAccess())) return false; - } - if (!getConnectionsList().equals(other.getConnectionsList())) return false; - if (!getMuteInitiator().equals(other.getMuteInitiator())) return false; - if (!getProcessesList().equals(other.getProcessesList())) return false; - if (!internalGetContacts().equals(other.internalGetContacts())) return false; - if (!getCompliancesList().equals(other.getCompliancesList())) return false; - if (!getParentDisplayName().equals(other.getParentDisplayName())) return false; - if (!getDescription().equals(other.getDescription())) return false; + if (!getAccess() + .equals(other.getAccess())) return false; + } + if (!getConnectionsList() + .equals(other.getConnectionsList())) return false; + if (!getMuteInitiator() + .equals(other.getMuteInitiator())) return false; + if (!getProcessesList() + .equals(other.getProcessesList())) return false; + if (!internalGetContacts().equals( + other.internalGetContacts())) return false; + if (!getCompliancesList() + .equals(other.getCompliancesList())) return false; + if (!getParentDisplayName() + .equals(other.getParentDisplayName())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; if (hasExfiltration() != other.hasExfiltration()) return false; if (hasExfiltration()) { - if (!getExfiltration().equals(other.getExfiltration())) return false; - } - if (!getIamBindingsList().equals(other.getIamBindingsList())) return false; - if (!getNextSteps().equals(other.getNextSteps())) return false; - if (!getContainersList().equals(other.getContainersList())) return false; + if (!getExfiltration() + .equals(other.getExfiltration())) return false; + } + if (!getIamBindingsList() + .equals(other.getIamBindingsList())) return false; + if (!getNextSteps() + .equals(other.getNextSteps())) return false; + if (!getContainersList() + .equals(other.getContainersList())) return false; if (hasKubernetes() != other.hasKubernetes()) return false; if (hasKubernetes()) { - if (!getKubernetes().equals(other.getKubernetes())) return false; + if (!getKubernetes() + .equals(other.getKubernetes())) return false; } if (hasDatabase() != other.hasDatabase()) return false; if (hasDatabase()) { - if (!getDatabase().equals(other.getDatabase())) return false; + if (!getDatabase() + .equals(other.getDatabase())) return false; } + if (!getFilesList() + .equals(other.getFilesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -3447,109 +3182,106 @@ public int hashCode() { hash = (37 * hash) + DATABASE_FIELD_NUMBER; hash = (53 * hash) + getDatabase().hashCode(); } + if (getFilesCount() > 0) { + hash = (37 * hash) + FILES_FIELD_NUMBER; + hash = (53 * hash) + getFilesList().hashCode(); + } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.securitycenter.v1.Finding parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.securitycenter.v1.Finding parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.Finding parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.Finding parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.Finding parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.Finding parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.Finding parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.Finding parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.Finding parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.securitycenter.v1.Finding parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.securitycenter.v1.Finding parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.Finding parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.Finding parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.Finding parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.securitycenter.v1.Finding prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Security Command Center finding.
    * A finding is a record of assessment data like security, risk, health, or
@@ -3561,17 +3293,18 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.securitycenter.v1.Finding}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.securitycenter.v1.Finding)
       com.google.cloud.securitycenter.v1.FindingOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.securitycenter.v1.FindingOuterClass
-          .internal_static_google_cloud_securitycenter_v1_Finding_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.securitycenter.v1.FindingOuterClass.internal_static_google_cloud_securitycenter_v1_Finding_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMapField(
+        int number) {
       switch (number) {
         case 7:
           return internalGetSourceProperties();
@@ -3580,12 +3313,13 @@ protected com.google.protobuf.MapField internalGetMapField(int number) {
         case 33:
           return internalGetContacts();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(
+        int number) {
       switch (number) {
         case 7:
           return internalGetMutableSourceProperties();
@@ -3594,27 +3328,28 @@ protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
         case 33:
           return internalGetMutableContacts();
         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.securitycenter.v1.FindingOuterClass
-          .internal_static_google_cloud_securitycenter_v1_Finding_fieldAccessorTable
+      return com.google.cloud.securitycenter.v1.FindingOuterClass.internal_static_google_cloud_securitycenter_v1_Finding_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.securitycenter.v1.Finding.class,
-              com.google.cloud.securitycenter.v1.Finding.Builder.class);
+              com.google.cloud.securitycenter.v1.Finding.class, com.google.cloud.securitycenter.v1.Finding.Builder.class);
     }
 
     // Construct using com.google.cloud.securitycenter.v1.Finding.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();
@@ -3750,13 +3485,20 @@ public Builder clear() {
         database_ = null;
         databaseBuilder_ = null;
       }
+      if (filesBuilder_ == null) {
+        files_ = java.util.Collections.emptyList();
+      } else {
+        files_ = null;
+        filesBuilder_.clear();
+      }
+      bitField0_ = (bitField0_ & ~0x00000100);
       return this;
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.securitycenter.v1.FindingOuterClass
-          .internal_static_google_cloud_securitycenter_v1_Finding_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.securitycenter.v1.FindingOuterClass.internal_static_google_cloud_securitycenter_v1_Finding_descriptor;
     }
 
     @java.lang.Override
@@ -3775,8 +3517,7 @@ public com.google.cloud.securitycenter.v1.Finding build() {
 
     @java.lang.Override
     public com.google.cloud.securitycenter.v1.Finding buildPartial() {
-      com.google.cloud.securitycenter.v1.Finding result =
-          new com.google.cloud.securitycenter.v1.Finding(this);
+      com.google.cloud.securitycenter.v1.Finding result = new com.google.cloud.securitycenter.v1.Finding(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       result.parent_ = parent_;
@@ -3898,6 +3639,15 @@ public com.google.cloud.securitycenter.v1.Finding buildPartial() {
       } else {
         result.database_ = databaseBuilder_.build();
       }
+      if (filesBuilder_ == null) {
+        if (((bitField0_ & 0x00000100) != 0)) {
+          files_ = java.util.Collections.unmodifiableList(files_);
+          bitField0_ = (bitField0_ & ~0x00000100);
+        }
+        result.files_ = files_;
+      } else {
+        result.files_ = filesBuilder_.build();
+      }
       onBuilt();
       return result;
     }
@@ -3906,39 +3656,38 @@ public com.google.cloud.securitycenter.v1.Finding buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.securitycenter.v1.Finding) {
-        return mergeFrom((com.google.cloud.securitycenter.v1.Finding) other);
+        return mergeFrom((com.google.cloud.securitycenter.v1.Finding)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -3970,7 +3719,8 @@ public Builder mergeFrom(com.google.cloud.securitycenter.v1.Finding other) {
         externalUri_ = other.externalUri_;
         onChanged();
       }
-      internalGetMutableSourceProperties().mergeFrom(other.internalGetSourceProperties());
+      internalGetMutableSourceProperties().mergeFrom(
+          other.internalGetSourceProperties());
       if (other.hasSecurityMarks()) {
         mergeSecurityMarks(other.getSecurityMarks());
       }
@@ -4002,7 +3752,8 @@ public Builder mergeFrom(com.google.cloud.securitycenter.v1.Finding other) {
       if (other.hasMuteUpdateTime()) {
         mergeMuteUpdateTime(other.getMuteUpdateTime());
       }
-      internalGetMutableExternalSystems().mergeFrom(other.internalGetExternalSystems());
+      internalGetMutableExternalSystems().mergeFrom(
+          other.internalGetExternalSystems());
       if (other.hasMitreAttack()) {
         mergeMitreAttack(other.getMitreAttack());
       }
@@ -4027,10 +3778,9 @@ public Builder mergeFrom(com.google.cloud.securitycenter.v1.Finding other) {
             connectionsBuilder_ = null;
             connections_ = other.connections_;
             bitField0_ = (bitField0_ & ~0x00000004);
-            connectionsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getConnectionsFieldBuilder()
-                    : null;
+            connectionsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getConnectionsFieldBuilder() : null;
           } else {
             connectionsBuilder_.addAllMessages(other.connections_);
           }
@@ -4058,16 +3808,16 @@ public Builder mergeFrom(com.google.cloud.securitycenter.v1.Finding other) {
             processesBuilder_ = null;
             processes_ = other.processes_;
             bitField0_ = (bitField0_ & ~0x00000008);
-            processesBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getProcessesFieldBuilder()
-                    : null;
+            processesBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getProcessesFieldBuilder() : null;
           } else {
             processesBuilder_.addAllMessages(other.processes_);
           }
         }
       }
-      internalGetMutableContacts().mergeFrom(other.internalGetContacts());
+      internalGetMutableContacts().mergeFrom(
+          other.internalGetContacts());
       if (compliancesBuilder_ == null) {
         if (!other.compliances_.isEmpty()) {
           if (compliances_.isEmpty()) {
@@ -4086,10 +3836,9 @@ public Builder mergeFrom(com.google.cloud.securitycenter.v1.Finding other) {
             compliancesBuilder_ = null;
             compliances_ = other.compliances_;
             bitField0_ = (bitField0_ & ~0x00000020);
-            compliancesBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getCompliancesFieldBuilder()
-                    : null;
+            compliancesBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getCompliancesFieldBuilder() : null;
           } else {
             compliancesBuilder_.addAllMessages(other.compliances_);
           }
@@ -4124,10 +3873,9 @@ public Builder mergeFrom(com.google.cloud.securitycenter.v1.Finding other) {
             iamBindingsBuilder_ = null;
             iamBindings_ = other.iamBindings_;
             bitField0_ = (bitField0_ & ~0x00000040);
-            iamBindingsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getIamBindingsFieldBuilder()
-                    : null;
+            iamBindingsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getIamBindingsFieldBuilder() : null;
           } else {
             iamBindingsBuilder_.addAllMessages(other.iamBindings_);
           }
@@ -4155,10 +3903,9 @@ public Builder mergeFrom(com.google.cloud.securitycenter.v1.Finding other) {
             containersBuilder_ = null;
             containers_ = other.containers_;
             bitField0_ = (bitField0_ & ~0x00000080);
-            containersBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getContainersFieldBuilder()
-                    : null;
+            containersBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getContainersFieldBuilder() : null;
           } else {
             containersBuilder_.addAllMessages(other.containers_);
           }
@@ -4170,6 +3917,32 @@ public Builder mergeFrom(com.google.cloud.securitycenter.v1.Finding other) {
       if (other.hasDatabase()) {
         mergeDatabase(other.getDatabase());
       }
+      if (filesBuilder_ == null) {
+        if (!other.files_.isEmpty()) {
+          if (files_.isEmpty()) {
+            files_ = other.files_;
+            bitField0_ = (bitField0_ & ~0x00000100);
+          } else {
+            ensureFilesIsMutable();
+            files_.addAll(other.files_);
+          }
+          onChanged();
+        }
+      } else {
+        if (!other.files_.isEmpty()) {
+          if (filesBuilder_.isEmpty()) {
+            filesBuilder_.dispose();
+            filesBuilder_ = null;
+            files_ = other.files_;
+            bitField0_ = (bitField0_ & ~0x00000100);
+            filesBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getFilesFieldBuilder() : null;
+          } else {
+            filesBuilder_.addAllMessages(other.files_);
+          }
+        }
+      }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
       return this;
@@ -4196,268 +3969,263 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            case 18:
-              {
-                parent_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 18
-            case 26:
-              {
-                resourceName_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 26
-            case 32:
-              {
-                state_ = input.readEnum();
-
-                break;
-              } // case 32
-            case 42:
-              {
-                category_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 42
-            case 50:
-              {
-                externalUri_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 50
-            case 58:
-              {
-                com.google.protobuf.MapEntry
-                    sourceProperties__ =
-                        input.readMessage(
-                            SourcePropertiesDefaultEntryHolder.defaultEntry.getParserForType(),
-                            extensionRegistry);
-                internalGetMutableSourceProperties()
-                    .getMutableMap()
-                    .put(sourceProperties__.getKey(), sourceProperties__.getValue());
-                break;
-              } // case 58
-            case 66:
-              {
-                input.readMessage(getSecurityMarksFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 66
-            case 74:
-              {
-                input.readMessage(getEventTimeFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 74
-            case 82:
-              {
-                input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 82
-            case 96:
-              {
-                severity_ = input.readEnum();
-
-                break;
-              } // case 96
-            case 114:
-              {
-                canonicalName_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 114
-            case 120:
-              {
-                mute_ = input.readEnum();
-
-                break;
-              } // case 120
-            case 136:
-              {
-                findingClass_ = input.readEnum();
-
-                break;
-              } // case 136
-            case 146:
-              {
-                input.readMessage(getIndicatorFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 146
-            case 162:
-              {
-                input.readMessage(getVulnerabilityFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 162
-            case 170:
-              {
-                input.readMessage(getMuteUpdateTimeFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 170
-            case 178:
-              {
-                com.google.protobuf.MapEntry<
-                        java.lang.String, com.google.cloud.securitycenter.v1.ExternalSystem>
-                    externalSystems__ =
-                        input.readMessage(
-                            ExternalSystemsDefaultEntryHolder.defaultEntry.getParserForType(),
-                            extensionRegistry);
-                internalGetMutableExternalSystems()
-                    .getMutableMap()
-                    .put(externalSystems__.getKey(), externalSystems__.getValue());
-                break;
-              } // case 178
-            case 202:
-              {
-                input.readMessage(getMitreAttackFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 202
-            case 210:
-              {
-                input.readMessage(getAccessFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 210
-            case 226:
-              {
-                muteInitiator_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 226
-            case 242:
-              {
-                com.google.cloud.securitycenter.v1.Process m =
-                    input.readMessage(
-                        com.google.cloud.securitycenter.v1.Process.parser(), extensionRegistry);
-                if (processesBuilder_ == null) {
-                  ensureProcessesIsMutable();
-                  processes_.add(m);
-                } else {
-                  processesBuilder_.addMessage(m);
-                }
-                break;
-              } // case 242
-            case 250:
-              {
-                com.google.cloud.securitycenter.v1.Connection m =
-                    input.readMessage(
-                        com.google.cloud.securitycenter.v1.Connection.parser(), extensionRegistry);
-                if (connectionsBuilder_ == null) {
-                  ensureConnectionsIsMutable();
-                  connections_.add(m);
-                } else {
-                  connectionsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 250
-            case 266:
-              {
-                com.google.protobuf.MapEntry<
-                        java.lang.String, com.google.cloud.securitycenter.v1.ContactDetails>
-                    contacts__ =
-                        input.readMessage(
-                            ContactsDefaultEntryHolder.defaultEntry.getParserForType(),
-                            extensionRegistry);
-                internalGetMutableContacts()
-                    .getMutableMap()
-                    .put(contacts__.getKey(), contacts__.getValue());
-                break;
-              } // case 266
-            case 274:
-              {
-                com.google.cloud.securitycenter.v1.Compliance m =
-                    input.readMessage(
-                        com.google.cloud.securitycenter.v1.Compliance.parser(), extensionRegistry);
-                if (compliancesBuilder_ == null) {
-                  ensureCompliancesIsMutable();
-                  compliances_.add(m);
-                } else {
-                  compliancesBuilder_.addMessage(m);
-                }
-                break;
-              } // case 274
-            case 290:
-              {
-                parentDisplayName_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 290
-            case 298:
-              {
-                description_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 298
-            case 306:
-              {
-                input.readMessage(getExfiltrationFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 306
-            case 314:
-              {
-                com.google.cloud.securitycenter.v1.IamBinding m =
-                    input.readMessage(
-                        com.google.cloud.securitycenter.v1.IamBinding.parser(), extensionRegistry);
-                if (iamBindingsBuilder_ == null) {
-                  ensureIamBindingsIsMutable();
-                  iamBindings_.add(m);
-                } else {
-                  iamBindingsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 314
-            case 322:
-              {
-                nextSteps_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 322
-            case 338:
-              {
-                com.google.cloud.securitycenter.v1.Container m =
-                    input.readMessage(
-                        com.google.cloud.securitycenter.v1.Container.parser(), extensionRegistry);
-                if (containersBuilder_ == null) {
-                  ensureContainersIsMutable();
-                  containers_.add(m);
-                } else {
-                  containersBuilder_.addMessage(m);
-                }
-                break;
-              } // case 338
-            case 346:
-              {
-                input.readMessage(getKubernetesFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 346
-            case 354:
-              {
-                input.readMessage(getDatabaseFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 354
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
-          } // switch (tag)
-        } // while (!done)
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            case 18: {
+              parent_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 18
+            case 26: {
+              resourceName_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 26
+            case 32: {
+              state_ = input.readEnum();
+
+              break;
+            } // case 32
+            case 42: {
+              category_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 42
+            case 50: {
+              externalUri_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 50
+            case 58: {
+              com.google.protobuf.MapEntry
+              sourceProperties__ = input.readMessage(
+                  SourcePropertiesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              internalGetMutableSourceProperties().getMutableMap().put(
+                  sourceProperties__.getKey(), sourceProperties__.getValue());
+              break;
+            } // case 58
+            case 66: {
+              input.readMessage(
+                  getSecurityMarksFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 66
+            case 74: {
+              input.readMessage(
+                  getEventTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 74
+            case 82: {
+              input.readMessage(
+                  getCreateTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 82
+            case 96: {
+              severity_ = input.readEnum();
+
+              break;
+            } // case 96
+            case 114: {
+              canonicalName_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 114
+            case 120: {
+              mute_ = input.readEnum();
+
+              break;
+            } // case 120
+            case 136: {
+              findingClass_ = input.readEnum();
+
+              break;
+            } // case 136
+            case 146: {
+              input.readMessage(
+                  getIndicatorFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 146
+            case 162: {
+              input.readMessage(
+                  getVulnerabilityFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 162
+            case 170: {
+              input.readMessage(
+                  getMuteUpdateTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 170
+            case 178: {
+              com.google.protobuf.MapEntry
+              externalSystems__ = input.readMessage(
+                  ExternalSystemsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              internalGetMutableExternalSystems().getMutableMap().put(
+                  externalSystems__.getKey(), externalSystems__.getValue());
+              break;
+            } // case 178
+            case 202: {
+              input.readMessage(
+                  getMitreAttackFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 202
+            case 210: {
+              input.readMessage(
+                  getAccessFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 210
+            case 226: {
+              muteInitiator_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 226
+            case 242: {
+              com.google.cloud.securitycenter.v1.Process m =
+                  input.readMessage(
+                      com.google.cloud.securitycenter.v1.Process.parser(),
+                      extensionRegistry);
+              if (processesBuilder_ == null) {
+                ensureProcessesIsMutable();
+                processes_.add(m);
+              } else {
+                processesBuilder_.addMessage(m);
+              }
+              break;
+            } // case 242
+            case 250: {
+              com.google.cloud.securitycenter.v1.Connection m =
+                  input.readMessage(
+                      com.google.cloud.securitycenter.v1.Connection.parser(),
+                      extensionRegistry);
+              if (connectionsBuilder_ == null) {
+                ensureConnectionsIsMutable();
+                connections_.add(m);
+              } else {
+                connectionsBuilder_.addMessage(m);
+              }
+              break;
+            } // case 250
+            case 266: {
+              com.google.protobuf.MapEntry
+              contacts__ = input.readMessage(
+                  ContactsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              internalGetMutableContacts().getMutableMap().put(
+                  contacts__.getKey(), contacts__.getValue());
+              break;
+            } // case 266
+            case 274: {
+              com.google.cloud.securitycenter.v1.Compliance m =
+                  input.readMessage(
+                      com.google.cloud.securitycenter.v1.Compliance.parser(),
+                      extensionRegistry);
+              if (compliancesBuilder_ == null) {
+                ensureCompliancesIsMutable();
+                compliances_.add(m);
+              } else {
+                compliancesBuilder_.addMessage(m);
+              }
+              break;
+            } // case 274
+            case 290: {
+              parentDisplayName_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 290
+            case 298: {
+              description_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 298
+            case 306: {
+              input.readMessage(
+                  getExfiltrationFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 306
+            case 314: {
+              com.google.cloud.securitycenter.v1.IamBinding m =
+                  input.readMessage(
+                      com.google.cloud.securitycenter.v1.IamBinding.parser(),
+                      extensionRegistry);
+              if (iamBindingsBuilder_ == null) {
+                ensureIamBindingsIsMutable();
+                iamBindings_.add(m);
+              } else {
+                iamBindingsBuilder_.addMessage(m);
+              }
+              break;
+            } // case 314
+            case 322: {
+              nextSteps_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 322
+            case 338: {
+              com.google.cloud.securitycenter.v1.Container m =
+                  input.readMessage(
+                      com.google.cloud.securitycenter.v1.Container.parser(),
+                      extensionRegistry);
+              if (containersBuilder_ == null) {
+                ensureContainersIsMutable();
+                containers_.add(m);
+              } else {
+                containersBuilder_.addMessage(m);
+              }
+              break;
+            } // case 338
+            case 346: {
+              input.readMessage(
+                  getKubernetesFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 346
+            case 354: {
+              input.readMessage(
+                  getDatabaseFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 354
+            case 370: {
+              com.google.cloud.securitycenter.v1.File m =
+                  input.readMessage(
+                      com.google.cloud.securitycenter.v1.File.parser(),
+                      extensionRegistry);
+              if (filesBuilder_ == null) {
+                ensureFilesIsMutable();
+                files_.add(m);
+              } else {
+                filesBuilder_.addMessage(m);
+              }
+              break;
+            } // case 370
+            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) {
         throw e.unwrapIOException();
       } finally {
@@ -4465,13 +4233,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * The relative resource name of this finding. See:
      * https://cloud.google.com/apis/design/resource_names#relative_resource_name
@@ -4480,13 +4245,13 @@ public Builder mergeFrom(
      * 
* * string name = 1; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -4495,8 +4260,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The relative resource name of this finding. See:
      * https://cloud.google.com/apis/design/resource_names#relative_resource_name
@@ -4505,14 +4268,15 @@ public java.lang.String getName() {
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -4520,8 +4284,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The relative resource name of this finding. See:
      * https://cloud.google.com/apis/design/resource_names#relative_resource_name
@@ -4530,22 +4292,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The relative resource name of this finding. See:
      * https://cloud.google.com/apis/design/resource_names#relative_resource_name
@@ -4554,18 +4314,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The relative resource name of this finding. See:
      * https://cloud.google.com/apis/design/resource_names#relative_resource_name
@@ -4574,16 +4331,16 @@ public Builder clearName() {
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -4591,8 +4348,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object parent_ = ""; /** - * - * *
      * The relative resource name of the source the finding belongs to. See:
      * https://cloud.google.com/apis/design/resource_names#relative_resource_name
@@ -4602,13 +4357,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string parent = 2; - * * @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; @@ -4617,8 +4372,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * The relative resource name of the source the finding belongs to. See:
      * https://cloud.google.com/apis/design/resource_names#relative_resource_name
@@ -4628,14 +4381,15 @@ public java.lang.String getParent() {
      * 
* * string parent = 2; - * * @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 { @@ -4643,8 +4397,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * The relative resource name of the source the finding belongs to. See:
      * https://cloud.google.com/apis/design/resource_names#relative_resource_name
@@ -4654,22 +4406,20 @@ public com.google.protobuf.ByteString getParentBytes() {
      * 
* * string parent = 2; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * The relative resource name of the source the finding belongs to. See:
      * https://cloud.google.com/apis/design/resource_names#relative_resource_name
@@ -4679,18 +4429,15 @@ public Builder setParent(java.lang.String value) {
      * 
* * string parent = 2; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * The relative resource name of the source the finding belongs to. See:
      * https://cloud.google.com/apis/design/resource_names#relative_resource_name
@@ -4700,16 +4447,16 @@ public Builder clearParent() {
      * 
* * string parent = 2; - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -4717,8 +4464,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object resourceName_ = ""; /** - * - * *
      * For findings on Google Cloud resources, the full resource
      * name of the Google Cloud resource this finding is for. See:
@@ -4729,13 +4474,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * string resource_name = 3; - * * @return The resourceName. */ public java.lang.String getResourceName() { java.lang.Object ref = resourceName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceName_ = s; return s; @@ -4744,8 +4489,6 @@ public java.lang.String getResourceName() { } } /** - * - * *
      * For findings on Google Cloud resources, the full resource
      * name of the Google Cloud resource this finding is for. See:
@@ -4756,14 +4499,15 @@ public java.lang.String getResourceName() {
      * 
* * string resource_name = 3; - * * @return The bytes for resourceName. */ - public com.google.protobuf.ByteString getResourceNameBytes() { + public com.google.protobuf.ByteString + getResourceNameBytes() { java.lang.Object ref = resourceName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); resourceName_ = b; return b; } else { @@ -4771,8 +4515,6 @@ public com.google.protobuf.ByteString getResourceNameBytes() { } } /** - * - * *
      * For findings on Google Cloud resources, the full resource
      * name of the Google Cloud resource this finding is for. See:
@@ -4783,22 +4525,20 @@ public com.google.protobuf.ByteString getResourceNameBytes() {
      * 
* * string resource_name = 3; - * * @param value The resourceName to set. * @return This builder for chaining. */ - public Builder setResourceName(java.lang.String value) { + public Builder setResourceName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + resourceName_ = value; onChanged(); return this; } /** - * - * *
      * For findings on Google Cloud resources, the full resource
      * name of the Google Cloud resource this finding is for. See:
@@ -4809,18 +4549,15 @@ public Builder setResourceName(java.lang.String value) {
      * 
* * string resource_name = 3; - * * @return This builder for chaining. */ public Builder clearResourceName() { - + resourceName_ = getDefaultInstance().getResourceName(); onChanged(); return this; } /** - * - * *
      * For findings on Google Cloud resources, the full resource
      * name of the Google Cloud resource this finding is for. See:
@@ -4831,16 +4568,16 @@ public Builder clearResourceName() {
      * 
* * string resource_name = 3; - * * @param value The bytes for resourceName to set. * @return This builder for chaining. */ - public Builder setResourceNameBytes(com.google.protobuf.ByteString value) { + public Builder setResourceNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + resourceName_ = value; onChanged(); return this; @@ -4848,67 +4585,51 @@ public Builder setResourceNameBytes(com.google.protobuf.ByteString value) { private int state_ = 0; /** - * - * *
      * The state of the finding.
      * 
* * .google.cloud.securitycenter.v1.Finding.State state = 4; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * The state of the finding.
      * 
* * .google.cloud.securitycenter.v1.Finding.State state = 4; - * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** - * - * *
      * The state of the finding.
      * 
* * .google.cloud.securitycenter.v1.Finding.State state = 4; - * * @return The state. */ @java.lang.Override public com.google.cloud.securitycenter.v1.Finding.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.securitycenter.v1.Finding.State result = - com.google.cloud.securitycenter.v1.Finding.State.valueOf(state_); - return result == null - ? com.google.cloud.securitycenter.v1.Finding.State.UNRECOGNIZED - : result; + com.google.cloud.securitycenter.v1.Finding.State result = com.google.cloud.securitycenter.v1.Finding.State.valueOf(state_); + return result == null ? com.google.cloud.securitycenter.v1.Finding.State.UNRECOGNIZED : result; } /** - * - * *
      * The state of the finding.
      * 
* * .google.cloud.securitycenter.v1.Finding.State state = 4; - * * @param value The state to set. * @return This builder for chaining. */ @@ -4916,24 +4637,21 @@ public Builder setState(com.google.cloud.securitycenter.v1.Finding.State value) if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The state of the finding.
      * 
* * .google.cloud.securitycenter.v1.Finding.State state = 4; - * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -4941,8 +4659,6 @@ public Builder clearState() { private java.lang.Object category_ = ""; /** - * - * *
      * The additional taxonomy group within findings from a given source.
      * This field is immutable after creation time.
@@ -4950,13 +4666,13 @@ public Builder clearState() {
      * 
* * string category = 5; - * * @return The category. */ public java.lang.String getCategory() { java.lang.Object ref = category_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); category_ = s; return s; @@ -4965,8 +4681,6 @@ public java.lang.String getCategory() { } } /** - * - * *
      * The additional taxonomy group within findings from a given source.
      * This field is immutable after creation time.
@@ -4974,14 +4688,15 @@ public java.lang.String getCategory() {
      * 
* * string category = 5; - * * @return The bytes for category. */ - public com.google.protobuf.ByteString getCategoryBytes() { + public com.google.protobuf.ByteString + getCategoryBytes() { java.lang.Object ref = category_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); category_ = b; return b; } else { @@ -4989,8 +4704,6 @@ public com.google.protobuf.ByteString getCategoryBytes() { } } /** - * - * *
      * The additional taxonomy group within findings from a given source.
      * This field is immutable after creation time.
@@ -4998,22 +4711,20 @@ public com.google.protobuf.ByteString getCategoryBytes() {
      * 
* * string category = 5; - * * @param value The category to set. * @return This builder for chaining. */ - public Builder setCategory(java.lang.String value) { + public Builder setCategory( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + category_ = value; onChanged(); return this; } /** - * - * *
      * The additional taxonomy group within findings from a given source.
      * This field is immutable after creation time.
@@ -5021,18 +4732,15 @@ public Builder setCategory(java.lang.String value) {
      * 
* * string category = 5; - * * @return This builder for chaining. */ public Builder clearCategory() { - + category_ = getDefaultInstance().getCategory(); onChanged(); return this; } /** - * - * *
      * The additional taxonomy group within findings from a given source.
      * This field is immutable after creation time.
@@ -5040,16 +4748,16 @@ public Builder clearCategory() {
      * 
* * string category = 5; - * * @param value The bytes for category to set. * @return This builder for chaining. */ - public Builder setCategoryBytes(com.google.protobuf.ByteString value) { + public Builder setCategoryBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + category_ = value; onChanged(); return this; @@ -5057,8 +4765,6 @@ public Builder setCategoryBytes(com.google.protobuf.ByteString value) { private java.lang.Object externalUri_ = ""; /** - * - * *
      * The URI that, if available, points to a web page outside of Security
      * Command Center where additional information about the finding can be found.
@@ -5066,13 +4772,13 @@ public Builder setCategoryBytes(com.google.protobuf.ByteString value) {
      * 
* * string external_uri = 6; - * * @return The externalUri. */ public java.lang.String getExternalUri() { java.lang.Object ref = externalUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); externalUri_ = s; return s; @@ -5081,8 +4787,6 @@ public java.lang.String getExternalUri() { } } /** - * - * *
      * The URI that, if available, points to a web page outside of Security
      * Command Center where additional information about the finding can be found.
@@ -5090,14 +4794,15 @@ public java.lang.String getExternalUri() {
      * 
* * string external_uri = 6; - * * @return The bytes for externalUri. */ - public com.google.protobuf.ByteString getExternalUriBytes() { + public com.google.protobuf.ByteString + getExternalUriBytes() { java.lang.Object ref = externalUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); externalUri_ = b; return b; } else { @@ -5105,8 +4810,6 @@ public com.google.protobuf.ByteString getExternalUriBytes() { } } /** - * - * *
      * The URI that, if available, points to a web page outside of Security
      * Command Center where additional information about the finding can be found.
@@ -5114,22 +4817,20 @@ public com.google.protobuf.ByteString getExternalUriBytes() {
      * 
* * string external_uri = 6; - * * @param value The externalUri to set. * @return This builder for chaining. */ - public Builder setExternalUri(java.lang.String value) { + public Builder setExternalUri( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + externalUri_ = value; onChanged(); return this; } /** - * - * *
      * The URI that, if available, points to a web page outside of Security
      * Command Center where additional information about the finding can be found.
@@ -5137,18 +4838,15 @@ public Builder setExternalUri(java.lang.String value) {
      * 
* * string external_uri = 6; - * * @return This builder for chaining. */ public Builder clearExternalUri() { - + externalUri_ = getDefaultInstance().getExternalUri(); onChanged(); return this; } /** - * - * *
      * The URI that, if available, points to a web page outside of Security
      * Command Center where additional information about the finding can be found.
@@ -5156,41 +4854,37 @@ public Builder clearExternalUri() {
      * 
* * string external_uri = 6; - * * @param value The bytes for externalUri to set. * @return This builder for chaining. */ - public Builder setExternalUriBytes(com.google.protobuf.ByteString value) { + public Builder setExternalUriBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + externalUri_ = value; onChanged(); return this; } + private com.google.protobuf.MapField< + java.lang.String, com.google.protobuf.Value> sourceProperties_; private com.google.protobuf.MapField - sourceProperties_; - - private com.google.protobuf.MapField - internalGetSourceProperties() { + internalGetSourceProperties() { if (sourceProperties_ == null) { return com.google.protobuf.MapField.emptyMapField( SourcePropertiesDefaultEntryHolder.defaultEntry); } return sourceProperties_; } - private com.google.protobuf.MapField - internalGetMutableSourceProperties() { - onChanged(); - ; + internalGetMutableSourceProperties() { + onChanged();; if (sourceProperties_ == null) { - sourceProperties_ = - com.google.protobuf.MapField.newMapField( - SourcePropertiesDefaultEntryHolder.defaultEntry); + sourceProperties_ = com.google.protobuf.MapField.newMapField( + SourcePropertiesDefaultEntryHolder.defaultEntry); } if (!sourceProperties_.isMutable()) { sourceProperties_ = sourceProperties_.copy(); @@ -5202,8 +4896,6 @@ public int getSourcePropertiesCount() { return internalGetSourceProperties().getMap().size(); } /** - * - * *
      * Source specific properties. These properties are managed by the source
      * that writes the finding. The key names in the source_properties map must be
@@ -5213,22 +4905,22 @@ public int getSourcePropertiesCount() {
      *
      * map<string, .google.protobuf.Value> source_properties = 7;
      */
+
     @java.lang.Override
-    public boolean containsSourceProperties(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsSourceProperties(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetSourceProperties().getMap().containsKey(key);
     }
-    /** Use {@link #getSourcePropertiesMap()} instead. */
+    /**
+     * Use {@link #getSourcePropertiesMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getSourceProperties() {
       return getSourcePropertiesMap();
     }
     /**
-     *
-     *
      * 
      * Source specific properties. These properties are managed by the source
      * that writes the finding. The key names in the source_properties map must be
@@ -5239,12 +4931,11 @@ public java.util.Map getSourcePrope
      * map<string, .google.protobuf.Value> source_properties = 7;
      */
     @java.lang.Override
+
     public java.util.Map getSourcePropertiesMap() {
       return internalGetSourceProperties().getMap();
     }
     /**
-     *
-     *
      * 
      * Source specific properties. These properties are managed by the source
      * that writes the finding. The key names in the source_properties map must be
@@ -5255,18 +4946,16 @@ public java.util.Map getSourcePrope
      * map<string, .google.protobuf.Value> source_properties = 7;
      */
     @java.lang.Override
+
     public com.google.protobuf.Value getSourcePropertiesOrDefault(
-        java.lang.String key, com.google.protobuf.Value defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+        java.lang.String key,
+        com.google.protobuf.Value defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
       java.util.Map map =
           internalGetSourceProperties().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * Source specific properties. These properties are managed by the source
      * that writes the finding. The key names in the source_properties map must be
@@ -5277,10 +4966,10 @@ public com.google.protobuf.Value getSourcePropertiesOrDefault(
      * map<string, .google.protobuf.Value> source_properties = 7;
      */
     @java.lang.Override
-    public com.google.protobuf.Value getSourcePropertiesOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+
+    public com.google.protobuf.Value getSourcePropertiesOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       java.util.Map map =
           internalGetSourceProperties().getMap();
       if (!map.containsKey(key)) {
@@ -5290,12 +4979,11 @@ public com.google.protobuf.Value getSourcePropertiesOrThrow(java.lang.String key
     }
 
     public Builder clearSourceProperties() {
-      internalGetMutableSourceProperties().getMutableMap().clear();
+      internalGetMutableSourceProperties().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * Source specific properties. These properties are managed by the source
      * that writes the finding. The key names in the source_properties map must be
@@ -5305,21 +4993,23 @@ public Builder clearSourceProperties() {
      *
      * map<string, .google.protobuf.Value> source_properties = 7;
      */
-    public Builder removeSourceProperties(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableSourceProperties().getMutableMap().remove(key);
+
+    public Builder removeSourceProperties(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableSourceProperties().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableSourceProperties() {
+    public java.util.Map
+    getMutableSourceProperties() {
       return internalGetMutableSourceProperties().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * Source specific properties. These properties are managed by the source
      * that writes the finding. The key names in the source_properties map must be
@@ -5329,20 +5019,19 @@ public java.util.Map getMutableSour
      *
      * map<string, .google.protobuf.Value> source_properties = 7;
      */
-    public Builder putSourceProperties(java.lang.String key, com.google.protobuf.Value value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public Builder putSourceProperties(
+        java.lang.String key,
+        com.google.protobuf.Value value) {
+      if (key == null) { throw new NullPointerException("map key"); }
       if (value == null) {
-        throw new NullPointerException("map value");
-      }
+  throw new NullPointerException("map value");
+}
 
-      internalGetMutableSourceProperties().getMutableMap().put(key, value);
+      internalGetMutableSourceProperties().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * Source specific properties. These properties are managed by the source
      * that writes the finding. The key names in the source_properties map must be
@@ -5352,72 +5041,55 @@ public Builder putSourceProperties(java.lang.String key, com.google.protobuf.Val
      *
      * map<string, .google.protobuf.Value> source_properties = 7;
      */
+
     public Builder putAllSourceProperties(
         java.util.Map values) {
-      internalGetMutableSourceProperties().getMutableMap().putAll(values);
+      internalGetMutableSourceProperties().getMutableMap()
+          .putAll(values);
       return this;
     }
 
     private com.google.cloud.securitycenter.v1.SecurityMarks securityMarks_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.securitycenter.v1.SecurityMarks,
-            com.google.cloud.securitycenter.v1.SecurityMarks.Builder,
-            com.google.cloud.securitycenter.v1.SecurityMarksOrBuilder>
-        securityMarksBuilder_;
+        com.google.cloud.securitycenter.v1.SecurityMarks, com.google.cloud.securitycenter.v1.SecurityMarks.Builder, com.google.cloud.securitycenter.v1.SecurityMarksOrBuilder> securityMarksBuilder_;
     /**
-     *
-     *
      * 
      * Output only. User specified security marks. These marks are entirely
      * managed by the user and come from the SecurityMarks resource that belongs
      * to the finding.
      * 
* - * - * .google.cloud.securitycenter.v1.SecurityMarks security_marks = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.securitycenter.v1.SecurityMarks security_marks = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the securityMarks field is set. */ public boolean hasSecurityMarks() { return securityMarksBuilder_ != null || securityMarks_ != null; } /** - * - * *
      * Output only. User specified security marks. These marks are entirely
      * managed by the user and come from the SecurityMarks resource that belongs
      * to the finding.
      * 
* - * - * .google.cloud.securitycenter.v1.SecurityMarks security_marks = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.securitycenter.v1.SecurityMarks security_marks = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The securityMarks. */ public com.google.cloud.securitycenter.v1.SecurityMarks getSecurityMarks() { if (securityMarksBuilder_ == null) { - return securityMarks_ == null - ? com.google.cloud.securitycenter.v1.SecurityMarks.getDefaultInstance() - : securityMarks_; + return securityMarks_ == null ? com.google.cloud.securitycenter.v1.SecurityMarks.getDefaultInstance() : securityMarks_; } else { return securityMarksBuilder_.getMessage(); } } /** - * - * *
      * Output only. User specified security marks. These marks are entirely
      * managed by the user and come from the SecurityMarks resource that belongs
      * to the finding.
      * 
* - * - * .google.cloud.securitycenter.v1.SecurityMarks security_marks = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.securitycenter.v1.SecurityMarks security_marks = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setSecurityMarks(com.google.cloud.securitycenter.v1.SecurityMarks value) { if (securityMarksBuilder_ == null) { @@ -5433,17 +5105,13 @@ public Builder setSecurityMarks(com.google.cloud.securitycenter.v1.SecurityMarks return this; } /** - * - * *
      * Output only. User specified security marks. These marks are entirely
      * managed by the user and come from the SecurityMarks resource that belongs
      * to the finding.
      * 
* - * - * .google.cloud.securitycenter.v1.SecurityMarks security_marks = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.securitycenter.v1.SecurityMarks security_marks = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setSecurityMarks( com.google.cloud.securitycenter.v1.SecurityMarks.Builder builderForValue) { @@ -5457,25 +5125,19 @@ public Builder setSecurityMarks( return this; } /** - * - * *
      * Output only. User specified security marks. These marks are entirely
      * managed by the user and come from the SecurityMarks resource that belongs
      * to the finding.
      * 
* - * - * .google.cloud.securitycenter.v1.SecurityMarks security_marks = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.securitycenter.v1.SecurityMarks security_marks = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeSecurityMarks(com.google.cloud.securitycenter.v1.SecurityMarks value) { if (securityMarksBuilder_ == null) { if (securityMarks_ != null) { securityMarks_ = - com.google.cloud.securitycenter.v1.SecurityMarks.newBuilder(securityMarks_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.securitycenter.v1.SecurityMarks.newBuilder(securityMarks_).mergeFrom(value).buildPartial(); } else { securityMarks_ = value; } @@ -5487,17 +5149,13 @@ public Builder mergeSecurityMarks(com.google.cloud.securitycenter.v1.SecurityMar return this; } /** - * - * *
      * Output only. User specified security marks. These marks are entirely
      * managed by the user and come from the SecurityMarks resource that belongs
      * to the finding.
      * 
* - * - * .google.cloud.securitycenter.v1.SecurityMarks security_marks = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.securitycenter.v1.SecurityMarks security_marks = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearSecurityMarks() { if (securityMarksBuilder_ == null) { @@ -5511,70 +5169,54 @@ public Builder clearSecurityMarks() { return this; } /** - * - * *
      * Output only. User specified security marks. These marks are entirely
      * managed by the user and come from the SecurityMarks resource that belongs
      * to the finding.
      * 
* - * - * .google.cloud.securitycenter.v1.SecurityMarks security_marks = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.securitycenter.v1.SecurityMarks security_marks = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.securitycenter.v1.SecurityMarks.Builder getSecurityMarksBuilder() { - + onChanged(); return getSecurityMarksFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. User specified security marks. These marks are entirely
      * managed by the user and come from the SecurityMarks resource that belongs
      * to the finding.
      * 
* - * - * .google.cloud.securitycenter.v1.SecurityMarks security_marks = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.securitycenter.v1.SecurityMarks security_marks = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.securitycenter.v1.SecurityMarksOrBuilder getSecurityMarksOrBuilder() { if (securityMarksBuilder_ != null) { return securityMarksBuilder_.getMessageOrBuilder(); } else { - return securityMarks_ == null - ? com.google.cloud.securitycenter.v1.SecurityMarks.getDefaultInstance() - : securityMarks_; + return securityMarks_ == null ? + com.google.cloud.securitycenter.v1.SecurityMarks.getDefaultInstance() : securityMarks_; } } /** - * - * *
      * Output only. User specified security marks. These marks are entirely
      * managed by the user and come from the SecurityMarks resource that belongs
      * to the finding.
      * 
* - * - * .google.cloud.securitycenter.v1.SecurityMarks security_marks = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.securitycenter.v1.SecurityMarks security_marks = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.securitycenter.v1.SecurityMarks, - com.google.cloud.securitycenter.v1.SecurityMarks.Builder, - com.google.cloud.securitycenter.v1.SecurityMarksOrBuilder> + com.google.cloud.securitycenter.v1.SecurityMarks, com.google.cloud.securitycenter.v1.SecurityMarks.Builder, com.google.cloud.securitycenter.v1.SecurityMarksOrBuilder> getSecurityMarksFieldBuilder() { if (securityMarksBuilder_ == null) { - securityMarksBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.securitycenter.v1.SecurityMarks, - com.google.cloud.securitycenter.v1.SecurityMarks.Builder, - com.google.cloud.securitycenter.v1.SecurityMarksOrBuilder>( - getSecurityMarks(), getParentForChildren(), isClean()); + securityMarksBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.securitycenter.v1.SecurityMarks, com.google.cloud.securitycenter.v1.SecurityMarks.Builder, com.google.cloud.securitycenter.v1.SecurityMarksOrBuilder>( + getSecurityMarks(), + getParentForChildren(), + isClean()); securityMarks_ = null; } return securityMarksBuilder_; @@ -5582,13 +5224,8 @@ public com.google.cloud.securitycenter.v1.SecurityMarksOrBuilder getSecurityMark private com.google.protobuf.Timestamp eventTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - eventTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> eventTimeBuilder_; /** - * - * *
      * The time the finding was first detected. If an existing finding is updated,
      * then this is the time the update occurred.
@@ -5600,15 +5237,12 @@ public com.google.cloud.securitycenter.v1.SecurityMarksOrBuilder getSecurityMark
      * 
* * .google.protobuf.Timestamp event_time = 9; - * * @return Whether the eventTime field is set. */ public boolean hasEventTime() { return eventTimeBuilder_ != null || eventTime_ != null; } /** - * - * *
      * The time the finding was first detected. If an existing finding is updated,
      * then this is the time the update occurred.
@@ -5620,7 +5254,6 @@ public boolean hasEventTime() {
      * 
* * .google.protobuf.Timestamp event_time = 9; - * * @return The eventTime. */ public com.google.protobuf.Timestamp getEventTime() { @@ -5631,8 +5264,6 @@ public com.google.protobuf.Timestamp getEventTime() { } } /** - * - * *
      * The time the finding was first detected. If an existing finding is updated,
      * then this is the time the update occurred.
@@ -5659,8 +5290,6 @@ public Builder setEventTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time the finding was first detected. If an existing finding is updated,
      * then this is the time the update occurred.
@@ -5673,7 +5302,8 @@ public Builder setEventTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp event_time = 9;
      */
-    public Builder setEventTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setEventTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (eventTimeBuilder_ == null) {
         eventTime_ = builderForValue.build();
         onChanged();
@@ -5684,8 +5314,6 @@ public Builder setEventTime(com.google.protobuf.Timestamp.Builder builderForValu
       return this;
     }
     /**
-     *
-     *
      * 
      * The time the finding was first detected. If an existing finding is updated,
      * then this is the time the update occurred.
@@ -5702,7 +5330,7 @@ public Builder mergeEventTime(com.google.protobuf.Timestamp value) {
       if (eventTimeBuilder_ == null) {
         if (eventTime_ != null) {
           eventTime_ =
-              com.google.protobuf.Timestamp.newBuilder(eventTime_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(eventTime_).mergeFrom(value).buildPartial();
         } else {
           eventTime_ = value;
         }
@@ -5714,8 +5342,6 @@ public Builder mergeEventTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time the finding was first detected. If an existing finding is updated,
      * then this is the time the update occurred.
@@ -5740,8 +5366,6 @@ public Builder clearEventTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time the finding was first detected. If an existing finding is updated,
      * then this is the time the update occurred.
@@ -5755,13 +5379,11 @@ public Builder clearEventTime() {
      * .google.protobuf.Timestamp event_time = 9;
      */
     public com.google.protobuf.Timestamp.Builder getEventTimeBuilder() {
-
+      
       onChanged();
       return getEventTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The time the finding was first detected. If an existing finding is updated,
      * then this is the time the update occurred.
@@ -5778,12 +5400,11 @@ public com.google.protobuf.TimestampOrBuilder getEventTimeOrBuilder() {
       if (eventTimeBuilder_ != null) {
         return eventTimeBuilder_.getMessageOrBuilder();
       } else {
-        return eventTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : eventTime_;
+        return eventTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : eventTime_;
       }
     }
     /**
-     *
-     *
      * 
      * The time the finding was first detected. If an existing finding is updated,
      * then this is the time the update occurred.
@@ -5797,17 +5418,14 @@ public com.google.protobuf.TimestampOrBuilder getEventTimeOrBuilder() {
      * .google.protobuf.Timestamp event_time = 9;
      */
     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> 
         getEventTimeFieldBuilder() {
       if (eventTimeBuilder_ == null) {
-        eventTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getEventTime(), getParentForChildren(), isClean());
+        eventTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getEventTime(),
+                getParentForChildren(),
+                isClean());
         eventTime_ = null;
       }
       return eventTimeBuilder_;
@@ -5815,47 +5433,34 @@ public com.google.protobuf.TimestampOrBuilder getEventTimeOrBuilder() {
 
     private com.google.protobuf.Timestamp createTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        createTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_;
     /**
-     *
-     *
      * 
      * The time at which the finding was created in Security Command Center.
      * 
* * .google.protobuf.Timestamp create_time = 10; - * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * The time at which the finding was created in Security Command Center.
      * 
* * .google.protobuf.Timestamp create_time = 10; - * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * The time at which the finding was created in Security Command Center.
      * 
@@ -5876,15 +5481,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the finding was created in Security Command Center.
      * 
* * .google.protobuf.Timestamp create_time = 10; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -5895,8 +5499,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time at which the finding was created in Security Command Center.
      * 
@@ -5907,7 +5509,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -5919,8 +5521,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the finding was created in Security Command Center.
      * 
@@ -5939,8 +5539,6 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * The time at which the finding was created in Security Command Center.
      * 
@@ -5948,13 +5546,11 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 10; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time at which the finding was created in Security Command Center.
      * 
@@ -5965,14 +5561,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * The time at which the finding was created in Security Command Center.
      * 
@@ -5980,17 +5573,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 10; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; @@ -5998,71 +5588,55 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private int severity_ = 0; /** - * - * *
      * The severity of the finding. This field is managed by the source that
      * writes the finding.
      * 
* * .google.cloud.securitycenter.v1.Finding.Severity severity = 12; - * * @return The enum numeric value on the wire for severity. */ - @java.lang.Override - public int getSeverityValue() { + @java.lang.Override public int getSeverityValue() { return severity_; } /** - * - * *
      * The severity of the finding. This field is managed by the source that
      * writes the finding.
      * 
* * .google.cloud.securitycenter.v1.Finding.Severity severity = 12; - * * @param value The enum numeric value on the wire for severity to set. * @return This builder for chaining. */ public Builder setSeverityValue(int value) { - + severity_ = value; onChanged(); return this; } /** - * - * *
      * The severity of the finding. This field is managed by the source that
      * writes the finding.
      * 
* * .google.cloud.securitycenter.v1.Finding.Severity severity = 12; - * * @return The severity. */ @java.lang.Override public com.google.cloud.securitycenter.v1.Finding.Severity getSeverity() { @SuppressWarnings("deprecation") - com.google.cloud.securitycenter.v1.Finding.Severity result = - com.google.cloud.securitycenter.v1.Finding.Severity.valueOf(severity_); - return result == null - ? com.google.cloud.securitycenter.v1.Finding.Severity.UNRECOGNIZED - : result; + com.google.cloud.securitycenter.v1.Finding.Severity result = com.google.cloud.securitycenter.v1.Finding.Severity.valueOf(severity_); + return result == null ? com.google.cloud.securitycenter.v1.Finding.Severity.UNRECOGNIZED : result; } /** - * - * *
      * The severity of the finding. This field is managed by the source that
      * writes the finding.
      * 
* * .google.cloud.securitycenter.v1.Finding.Severity severity = 12; - * * @param value The severity to set. * @return This builder for chaining. */ @@ -6070,25 +5644,22 @@ public Builder setSeverity(com.google.cloud.securitycenter.v1.Finding.Severity v if (value == null) { throw new NullPointerException(); } - + severity_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The severity of the finding. This field is managed by the source that
      * writes the finding.
      * 
* * .google.cloud.securitycenter.v1.Finding.Severity severity = 12; - * * @return This builder for chaining. */ public Builder clearSeverity() { - + severity_ = 0; onChanged(); return this; @@ -6096,8 +5667,6 @@ public Builder clearSeverity() { private java.lang.Object canonicalName_ = ""; /** - * - * *
      * The canonical name of the finding. It's either
      * "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}",
@@ -6108,13 +5677,13 @@ public Builder clearSeverity() {
      * 
* * string canonical_name = 14; - * * @return The canonicalName. */ public java.lang.String getCanonicalName() { java.lang.Object ref = canonicalName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); canonicalName_ = s; return s; @@ -6123,8 +5692,6 @@ public java.lang.String getCanonicalName() { } } /** - * - * *
      * The canonical name of the finding. It's either
      * "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}",
@@ -6135,14 +5702,15 @@ public java.lang.String getCanonicalName() {
      * 
* * string canonical_name = 14; - * * @return The bytes for canonicalName. */ - public com.google.protobuf.ByteString getCanonicalNameBytes() { + public com.google.protobuf.ByteString + getCanonicalNameBytes() { java.lang.Object ref = canonicalName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); canonicalName_ = b; return b; } else { @@ -6150,8 +5718,6 @@ public com.google.protobuf.ByteString getCanonicalNameBytes() { } } /** - * - * *
      * The canonical name of the finding. It's either
      * "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}",
@@ -6162,22 +5728,20 @@ public com.google.protobuf.ByteString getCanonicalNameBytes() {
      * 
* * string canonical_name = 14; - * * @param value The canonicalName to set. * @return This builder for chaining. */ - public Builder setCanonicalName(java.lang.String value) { + public Builder setCanonicalName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + canonicalName_ = value; onChanged(); return this; } /** - * - * *
      * The canonical name of the finding. It's either
      * "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}",
@@ -6188,18 +5752,15 @@ public Builder setCanonicalName(java.lang.String value) {
      * 
* * string canonical_name = 14; - * * @return This builder for chaining. */ public Builder clearCanonicalName() { - + canonicalName_ = getDefaultInstance().getCanonicalName(); onChanged(); return this; } /** - * - * *
      * The canonical name of the finding. It's either
      * "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}",
@@ -6210,16 +5771,16 @@ public Builder clearCanonicalName() {
      * 
* * string canonical_name = 14; - * * @param value The bytes for canonicalName to set. * @return This builder for chaining. */ - public Builder setCanonicalNameBytes(com.google.protobuf.ByteString value) { + public Builder setCanonicalNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + canonicalName_ = value; onChanged(); return this; @@ -6227,8 +5788,6 @@ public Builder setCanonicalNameBytes(com.google.protobuf.ByteString value) { private int mute_ = 0; /** - * - * *
      * Indicates the mute state of a finding (either muted, unmuted
      * or undefined). Unlike other attributes of a finding, a finding provider
@@ -6236,16 +5795,12 @@ public Builder setCanonicalNameBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.cloud.securitycenter.v1.Finding.Mute mute = 15; - * * @return The enum numeric value on the wire for mute. */ - @java.lang.Override - public int getMuteValue() { + @java.lang.Override public int getMuteValue() { return mute_; } /** - * - * *
      * Indicates the mute state of a finding (either muted, unmuted
      * or undefined). Unlike other attributes of a finding, a finding provider
@@ -6253,19 +5808,16 @@ public int getMuteValue() {
      * 
* * .google.cloud.securitycenter.v1.Finding.Mute mute = 15; - * * @param value The enum numeric value on the wire for mute to set. * @return This builder for chaining. */ public Builder setMuteValue(int value) { - + mute_ = value; onChanged(); return this; } /** - * - * *
      * Indicates the mute state of a finding (either muted, unmuted
      * or undefined). Unlike other attributes of a finding, a finding provider
@@ -6273,19 +5825,15 @@ public Builder setMuteValue(int value) {
      * 
* * .google.cloud.securitycenter.v1.Finding.Mute mute = 15; - * * @return The mute. */ @java.lang.Override public com.google.cloud.securitycenter.v1.Finding.Mute getMute() { @SuppressWarnings("deprecation") - com.google.cloud.securitycenter.v1.Finding.Mute result = - com.google.cloud.securitycenter.v1.Finding.Mute.valueOf(mute_); + com.google.cloud.securitycenter.v1.Finding.Mute result = com.google.cloud.securitycenter.v1.Finding.Mute.valueOf(mute_); return result == null ? com.google.cloud.securitycenter.v1.Finding.Mute.UNRECOGNIZED : result; } /** - * - * *
      * Indicates the mute state of a finding (either muted, unmuted
      * or undefined). Unlike other attributes of a finding, a finding provider
@@ -6293,7 +5841,6 @@ public com.google.cloud.securitycenter.v1.Finding.Mute getMute() {
      * 
* * .google.cloud.securitycenter.v1.Finding.Mute mute = 15; - * * @param value The mute to set. * @return This builder for chaining. */ @@ -6301,14 +5848,12 @@ public Builder setMute(com.google.cloud.securitycenter.v1.Finding.Mute value) { if (value == null) { throw new NullPointerException(); } - + mute_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Indicates the mute state of a finding (either muted, unmuted
      * or undefined). Unlike other attributes of a finding, a finding provider
@@ -6316,11 +5861,10 @@ public Builder setMute(com.google.cloud.securitycenter.v1.Finding.Mute value) {
      * 
* * .google.cloud.securitycenter.v1.Finding.Mute mute = 15; - * * @return This builder for chaining. */ public Builder clearMute() { - + mute_ = 0; onChanged(); return this; @@ -6328,67 +5872,51 @@ public Builder clearMute() { private int findingClass_ = 0; /** - * - * *
      * The class of the finding.
      * 
* * .google.cloud.securitycenter.v1.Finding.FindingClass finding_class = 17; - * * @return The enum numeric value on the wire for findingClass. */ - @java.lang.Override - public int getFindingClassValue() { + @java.lang.Override public int getFindingClassValue() { return findingClass_; } /** - * - * *
      * The class of the finding.
      * 
* * .google.cloud.securitycenter.v1.Finding.FindingClass finding_class = 17; - * * @param value The enum numeric value on the wire for findingClass to set. * @return This builder for chaining. */ public Builder setFindingClassValue(int value) { - + findingClass_ = value; onChanged(); return this; } /** - * - * *
      * The class of the finding.
      * 
* * .google.cloud.securitycenter.v1.Finding.FindingClass finding_class = 17; - * * @return The findingClass. */ @java.lang.Override public com.google.cloud.securitycenter.v1.Finding.FindingClass getFindingClass() { @SuppressWarnings("deprecation") - com.google.cloud.securitycenter.v1.Finding.FindingClass result = - com.google.cloud.securitycenter.v1.Finding.FindingClass.valueOf(findingClass_); - return result == null - ? com.google.cloud.securitycenter.v1.Finding.FindingClass.UNRECOGNIZED - : result; + com.google.cloud.securitycenter.v1.Finding.FindingClass result = com.google.cloud.securitycenter.v1.Finding.FindingClass.valueOf(findingClass_); + return result == null ? com.google.cloud.securitycenter.v1.Finding.FindingClass.UNRECOGNIZED : result; } /** - * - * *
      * The class of the finding.
      * 
* * .google.cloud.securitycenter.v1.Finding.FindingClass finding_class = 17; - * * @param value The findingClass to set. * @return This builder for chaining. */ @@ -6396,24 +5924,21 @@ public Builder setFindingClass(com.google.cloud.securitycenter.v1.Finding.Findin if (value == null) { throw new NullPointerException(); } - + findingClass_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The class of the finding.
      * 
* * .google.cloud.securitycenter.v1.Finding.FindingClass finding_class = 17; - * * @return This builder for chaining. */ public Builder clearFindingClass() { - + findingClass_ = 0; onChanged(); return this; @@ -6421,13 +5946,8 @@ public Builder clearFindingClass() { private com.google.cloud.securitycenter.v1.Indicator indicator_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.securitycenter.v1.Indicator, - com.google.cloud.securitycenter.v1.Indicator.Builder, - com.google.cloud.securitycenter.v1.IndicatorOrBuilder> - indicatorBuilder_; + com.google.cloud.securitycenter.v1.Indicator, com.google.cloud.securitycenter.v1.Indicator.Builder, com.google.cloud.securitycenter.v1.IndicatorOrBuilder> indicatorBuilder_; /** - * - * *
      * Represents what's commonly known as an Indicator of compromise (IoC) in
      * computer forensics. This is an artifact observed on a network or in an
@@ -6437,15 +5957,12 @@ public Builder clearFindingClass() {
      * 
* * .google.cloud.securitycenter.v1.Indicator indicator = 18; - * * @return Whether the indicator field is set. */ public boolean hasIndicator() { return indicatorBuilder_ != null || indicator_ != null; } /** - * - * *
      * Represents what's commonly known as an Indicator of compromise (IoC) in
      * computer forensics. This is an artifact observed on a network or in an
@@ -6455,21 +5972,16 @@ public boolean hasIndicator() {
      * 
* * .google.cloud.securitycenter.v1.Indicator indicator = 18; - * * @return The indicator. */ public com.google.cloud.securitycenter.v1.Indicator getIndicator() { if (indicatorBuilder_ == null) { - return indicator_ == null - ? com.google.cloud.securitycenter.v1.Indicator.getDefaultInstance() - : indicator_; + return indicator_ == null ? com.google.cloud.securitycenter.v1.Indicator.getDefaultInstance() : indicator_; } else { return indicatorBuilder_.getMessage(); } } /** - * - * *
      * Represents what's commonly known as an Indicator of compromise (IoC) in
      * computer forensics. This is an artifact observed on a network or in an
@@ -6494,8 +6006,6 @@ public Builder setIndicator(com.google.cloud.securitycenter.v1.Indicator value)
       return this;
     }
     /**
-     *
-     *
      * 
      * Represents what's commonly known as an Indicator of compromise (IoC) in
      * computer forensics. This is an artifact observed on a network or in an
@@ -6518,8 +6028,6 @@ public Builder setIndicator(
       return this;
     }
     /**
-     *
-     *
      * 
      * Represents what's commonly known as an Indicator of compromise (IoC) in
      * computer forensics. This is an artifact observed on a network or in an
@@ -6534,9 +6042,7 @@ public Builder mergeIndicator(com.google.cloud.securitycenter.v1.Indicator value
       if (indicatorBuilder_ == null) {
         if (indicator_ != null) {
           indicator_ =
-              com.google.cloud.securitycenter.v1.Indicator.newBuilder(indicator_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.securitycenter.v1.Indicator.newBuilder(indicator_).mergeFrom(value).buildPartial();
         } else {
           indicator_ = value;
         }
@@ -6548,8 +6054,6 @@ public Builder mergeIndicator(com.google.cloud.securitycenter.v1.Indicator value
       return this;
     }
     /**
-     *
-     *
      * 
      * Represents what's commonly known as an Indicator of compromise (IoC) in
      * computer forensics. This is an artifact observed on a network or in an
@@ -6572,8 +6076,6 @@ public Builder clearIndicator() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Represents what's commonly known as an Indicator of compromise (IoC) in
      * computer forensics. This is an artifact observed on a network or in an
@@ -6585,13 +6087,11 @@ public Builder clearIndicator() {
      * .google.cloud.securitycenter.v1.Indicator indicator = 18;
      */
     public com.google.cloud.securitycenter.v1.Indicator.Builder getIndicatorBuilder() {
-
+      
       onChanged();
       return getIndicatorFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Represents what's commonly known as an Indicator of compromise (IoC) in
      * computer forensics. This is an artifact observed on a network or in an
@@ -6606,14 +6106,11 @@ public com.google.cloud.securitycenter.v1.IndicatorOrBuilder getIndicatorOrBuild
       if (indicatorBuilder_ != null) {
         return indicatorBuilder_.getMessageOrBuilder();
       } else {
-        return indicator_ == null
-            ? com.google.cloud.securitycenter.v1.Indicator.getDefaultInstance()
-            : indicator_;
+        return indicator_ == null ?
+            com.google.cloud.securitycenter.v1.Indicator.getDefaultInstance() : indicator_;
       }
     }
     /**
-     *
-     *
      * 
      * Represents what's commonly known as an Indicator of compromise (IoC) in
      * computer forensics. This is an artifact observed on a network or in an
@@ -6625,17 +6122,14 @@ public com.google.cloud.securitycenter.v1.IndicatorOrBuilder getIndicatorOrBuild
      * .google.cloud.securitycenter.v1.Indicator indicator = 18;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.securitycenter.v1.Indicator,
-            com.google.cloud.securitycenter.v1.Indicator.Builder,
-            com.google.cloud.securitycenter.v1.IndicatorOrBuilder>
+        com.google.cloud.securitycenter.v1.Indicator, com.google.cloud.securitycenter.v1.Indicator.Builder, com.google.cloud.securitycenter.v1.IndicatorOrBuilder> 
         getIndicatorFieldBuilder() {
       if (indicatorBuilder_ == null) {
-        indicatorBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.securitycenter.v1.Indicator,
-                com.google.cloud.securitycenter.v1.Indicator.Builder,
-                com.google.cloud.securitycenter.v1.IndicatorOrBuilder>(
-                getIndicator(), getParentForChildren(), isClean());
+        indicatorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.securitycenter.v1.Indicator, com.google.cloud.securitycenter.v1.Indicator.Builder, com.google.cloud.securitycenter.v1.IndicatorOrBuilder>(
+                getIndicator(),
+                getParentForChildren(),
+                isClean());
         indicator_ = null;
       }
       return indicatorBuilder_;
@@ -6643,13 +6137,8 @@ public com.google.cloud.securitycenter.v1.IndicatorOrBuilder getIndicatorOrBuild
 
     private com.google.cloud.securitycenter.v1.Vulnerability vulnerability_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.securitycenter.v1.Vulnerability,
-            com.google.cloud.securitycenter.v1.Vulnerability.Builder,
-            com.google.cloud.securitycenter.v1.VulnerabilityOrBuilder>
-        vulnerabilityBuilder_;
+        com.google.cloud.securitycenter.v1.Vulnerability, com.google.cloud.securitycenter.v1.Vulnerability.Builder, com.google.cloud.securitycenter.v1.VulnerabilityOrBuilder> vulnerabilityBuilder_;
     /**
-     *
-     *
      * 
      * Represents vulnerability specific fields like cve, cvss scores etc.
      * CVE stands for Common Vulnerabilities and Exposures
@@ -6657,15 +6146,12 @@ public com.google.cloud.securitycenter.v1.IndicatorOrBuilder getIndicatorOrBuild
      * 
* * .google.cloud.securitycenter.v1.Vulnerability vulnerability = 20; - * * @return Whether the vulnerability field is set. */ public boolean hasVulnerability() { return vulnerabilityBuilder_ != null || vulnerability_ != null; } /** - * - * *
      * Represents vulnerability specific fields like cve, cvss scores etc.
      * CVE stands for Common Vulnerabilities and Exposures
@@ -6673,21 +6159,16 @@ public boolean hasVulnerability() {
      * 
* * .google.cloud.securitycenter.v1.Vulnerability vulnerability = 20; - * * @return The vulnerability. */ public com.google.cloud.securitycenter.v1.Vulnerability getVulnerability() { if (vulnerabilityBuilder_ == null) { - return vulnerability_ == null - ? com.google.cloud.securitycenter.v1.Vulnerability.getDefaultInstance() - : vulnerability_; + return vulnerability_ == null ? com.google.cloud.securitycenter.v1.Vulnerability.getDefaultInstance() : vulnerability_; } else { return vulnerabilityBuilder_.getMessage(); } } /** - * - * *
      * Represents vulnerability specific fields like cve, cvss scores etc.
      * CVE stands for Common Vulnerabilities and Exposures
@@ -6710,8 +6191,6 @@ public Builder setVulnerability(com.google.cloud.securitycenter.v1.Vulnerability
       return this;
     }
     /**
-     *
-     *
      * 
      * Represents vulnerability specific fields like cve, cvss scores etc.
      * CVE stands for Common Vulnerabilities and Exposures
@@ -6732,8 +6211,6 @@ public Builder setVulnerability(
       return this;
     }
     /**
-     *
-     *
      * 
      * Represents vulnerability specific fields like cve, cvss scores etc.
      * CVE stands for Common Vulnerabilities and Exposures
@@ -6746,9 +6223,7 @@ public Builder mergeVulnerability(com.google.cloud.securitycenter.v1.Vulnerabili
       if (vulnerabilityBuilder_ == null) {
         if (vulnerability_ != null) {
           vulnerability_ =
-              com.google.cloud.securitycenter.v1.Vulnerability.newBuilder(vulnerability_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.securitycenter.v1.Vulnerability.newBuilder(vulnerability_).mergeFrom(value).buildPartial();
         } else {
           vulnerability_ = value;
         }
@@ -6760,8 +6235,6 @@ public Builder mergeVulnerability(com.google.cloud.securitycenter.v1.Vulnerabili
       return this;
     }
     /**
-     *
-     *
      * 
      * Represents vulnerability specific fields like cve, cvss scores etc.
      * CVE stands for Common Vulnerabilities and Exposures
@@ -6782,8 +6255,6 @@ public Builder clearVulnerability() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Represents vulnerability specific fields like cve, cvss scores etc.
      * CVE stands for Common Vulnerabilities and Exposures
@@ -6793,13 +6264,11 @@ public Builder clearVulnerability() {
      * .google.cloud.securitycenter.v1.Vulnerability vulnerability = 20;
      */
     public com.google.cloud.securitycenter.v1.Vulnerability.Builder getVulnerabilityBuilder() {
-
+      
       onChanged();
       return getVulnerabilityFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Represents vulnerability specific fields like cve, cvss scores etc.
      * CVE stands for Common Vulnerabilities and Exposures
@@ -6812,14 +6281,11 @@ public com.google.cloud.securitycenter.v1.VulnerabilityOrBuilder getVulnerabilit
       if (vulnerabilityBuilder_ != null) {
         return vulnerabilityBuilder_.getMessageOrBuilder();
       } else {
-        return vulnerability_ == null
-            ? com.google.cloud.securitycenter.v1.Vulnerability.getDefaultInstance()
-            : vulnerability_;
+        return vulnerability_ == null ?
+            com.google.cloud.securitycenter.v1.Vulnerability.getDefaultInstance() : vulnerability_;
       }
     }
     /**
-     *
-     *
      * 
      * Represents vulnerability specific fields like cve, cvss scores etc.
      * CVE stands for Common Vulnerabilities and Exposures
@@ -6829,17 +6295,14 @@ public com.google.cloud.securitycenter.v1.VulnerabilityOrBuilder getVulnerabilit
      * .google.cloud.securitycenter.v1.Vulnerability vulnerability = 20;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.securitycenter.v1.Vulnerability,
-            com.google.cloud.securitycenter.v1.Vulnerability.Builder,
-            com.google.cloud.securitycenter.v1.VulnerabilityOrBuilder>
+        com.google.cloud.securitycenter.v1.Vulnerability, com.google.cloud.securitycenter.v1.Vulnerability.Builder, com.google.cloud.securitycenter.v1.VulnerabilityOrBuilder> 
         getVulnerabilityFieldBuilder() {
       if (vulnerabilityBuilder_ == null) {
-        vulnerabilityBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.securitycenter.v1.Vulnerability,
-                com.google.cloud.securitycenter.v1.Vulnerability.Builder,
-                com.google.cloud.securitycenter.v1.VulnerabilityOrBuilder>(
-                getVulnerability(), getParentForChildren(), isClean());
+        vulnerabilityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.securitycenter.v1.Vulnerability, com.google.cloud.securitycenter.v1.Vulnerability.Builder, com.google.cloud.securitycenter.v1.VulnerabilityOrBuilder>(
+                getVulnerability(),
+                getParentForChildren(),
+                isClean());
         vulnerability_ = null;
       }
       return vulnerabilityBuilder_;
@@ -6847,58 +6310,39 @@ public com.google.cloud.securitycenter.v1.VulnerabilityOrBuilder getVulnerabilit
 
     private com.google.protobuf.Timestamp muteUpdateTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        muteUpdateTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> muteUpdateTimeBuilder_;
     /**
-     *
-     *
      * 
      * Output only. The most recent time this finding was muted or unmuted.
      * 
* - * - * .google.protobuf.Timestamp mute_update_time = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp mute_update_time = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the muteUpdateTime field is set. */ public boolean hasMuteUpdateTime() { return muteUpdateTimeBuilder_ != null || muteUpdateTime_ != null; } /** - * - * *
      * Output only. The most recent time this finding was muted or unmuted.
      * 
* - * - * .google.protobuf.Timestamp mute_update_time = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp mute_update_time = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The muteUpdateTime. */ public com.google.protobuf.Timestamp getMuteUpdateTime() { if (muteUpdateTimeBuilder_ == null) { - return muteUpdateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : muteUpdateTime_; + return muteUpdateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : muteUpdateTime_; } else { return muteUpdateTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The most recent time this finding was muted or unmuted.
      * 
* - * - * .google.protobuf.Timestamp mute_update_time = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp mute_update_time = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setMuteUpdateTime(com.google.protobuf.Timestamp value) { if (muteUpdateTimeBuilder_ == null) { @@ -6914,17 +6358,14 @@ public Builder setMuteUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The most recent time this finding was muted or unmuted.
      * 
* - * - * .google.protobuf.Timestamp mute_update_time = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp mute_update_time = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setMuteUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setMuteUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (muteUpdateTimeBuilder_ == null) { muteUpdateTime_ = builderForValue.build(); onChanged(); @@ -6935,23 +6376,17 @@ public Builder setMuteUpdateTime(com.google.protobuf.Timestamp.Builder builderFo return this; } /** - * - * *
      * Output only. The most recent time this finding was muted or unmuted.
      * 
* - * - * .google.protobuf.Timestamp mute_update_time = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp mute_update_time = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeMuteUpdateTime(com.google.protobuf.Timestamp value) { if (muteUpdateTimeBuilder_ == null) { if (muteUpdateTime_ != null) { muteUpdateTime_ = - com.google.protobuf.Timestamp.newBuilder(muteUpdateTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(muteUpdateTime_).mergeFrom(value).buildPartial(); } else { muteUpdateTime_ = value; } @@ -6963,15 +6398,11 @@ public Builder mergeMuteUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The most recent time this finding was muted or unmuted.
      * 
* - * - * .google.protobuf.Timestamp mute_update_time = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp mute_update_time = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearMuteUpdateTime() { if (muteUpdateTimeBuilder_ == null) { @@ -6985,92 +6416,69 @@ public Builder clearMuteUpdateTime() { return this; } /** - * - * *
      * Output only. The most recent time this finding was muted or unmuted.
      * 
* - * - * .google.protobuf.Timestamp mute_update_time = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp mute_update_time = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getMuteUpdateTimeBuilder() { - + onChanged(); return getMuteUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The most recent time this finding was muted or unmuted.
      * 
* - * - * .google.protobuf.Timestamp mute_update_time = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp mute_update_time = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getMuteUpdateTimeOrBuilder() { if (muteUpdateTimeBuilder_ != null) { return muteUpdateTimeBuilder_.getMessageOrBuilder(); } else { - return muteUpdateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : muteUpdateTime_; + return muteUpdateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : muteUpdateTime_; } } /** - * - * *
      * Output only. The most recent time this finding was muted or unmuted.
      * 
* - * - * .google.protobuf.Timestamp mute_update_time = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp mute_update_time = 21 [(.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> getMuteUpdateTimeFieldBuilder() { if (muteUpdateTimeBuilder_ == null) { - muteUpdateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getMuteUpdateTime(), getParentForChildren(), isClean()); + muteUpdateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getMuteUpdateTime(), + getParentForChildren(), + isClean()); muteUpdateTime_ = null; } return muteUpdateTimeBuilder_; } private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.securitycenter.v1.ExternalSystem> - externalSystems_; - - private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.securitycenter.v1.ExternalSystem> - internalGetExternalSystems() { + java.lang.String, com.google.cloud.securitycenter.v1.ExternalSystem> externalSystems_; + private com.google.protobuf.MapField + internalGetExternalSystems() { if (externalSystems_ == null) { return com.google.protobuf.MapField.emptyMapField( ExternalSystemsDefaultEntryHolder.defaultEntry); } return externalSystems_; } - - private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.securitycenter.v1.ExternalSystem> - internalGetMutableExternalSystems() { - onChanged(); - ; + private com.google.protobuf.MapField + internalGetMutableExternalSystems() { + onChanged();; if (externalSystems_ == null) { - externalSystems_ = - com.google.protobuf.MapField.newMapField( - ExternalSystemsDefaultEntryHolder.defaultEntry); + externalSystems_ = com.google.protobuf.MapField.newMapField( + ExternalSystemsDefaultEntryHolder.defaultEntry); } if (!externalSystems_.isMutable()) { externalSystems_ = externalSystems_.copy(); @@ -7082,88 +6490,72 @@ public int getExternalSystemsCount() { return internalGetExternalSystems().getMap().size(); } /** - * - * *
      * Output only. Third party SIEM/SOAR fields within SCC, contains external system
      * information and external system finding fields.
      * 
* - * - * map<string, .google.cloud.securitycenter.v1.ExternalSystem> external_systems = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.cloud.securitycenter.v1.ExternalSystem> external_systems = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ + @java.lang.Override - public boolean containsExternalSystems(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsExternalSystems( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetExternalSystems().getMap().containsKey(key); } - /** Use {@link #getExternalSystemsMap()} instead. */ + /** + * Use {@link #getExternalSystemsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated - public java.util.Map - getExternalSystems() { + public java.util.Map getExternalSystems() { return getExternalSystemsMap(); } /** - * - * *
      * Output only. Third party SIEM/SOAR fields within SCC, contains external system
      * information and external system finding fields.
      * 
* - * - * map<string, .google.cloud.securitycenter.v1.ExternalSystem> external_systems = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.cloud.securitycenter.v1.ExternalSystem> external_systems = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public java.util.Map - getExternalSystemsMap() { + + public java.util.Map getExternalSystemsMap() { return internalGetExternalSystems().getMap(); } /** - * - * *
      * Output only. Third party SIEM/SOAR fields within SCC, contains external system
      * information and external system finding fields.
      * 
* - * - * map<string, .google.cloud.securitycenter.v1.ExternalSystem> external_systems = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.cloud.securitycenter.v1.ExternalSystem> external_systems = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override + public com.google.cloud.securitycenter.v1.ExternalSystem getExternalSystemsOrDefault( - java.lang.String key, com.google.cloud.securitycenter.v1.ExternalSystem defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } + java.lang.String key, + com.google.cloud.securitycenter.v1.ExternalSystem defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetExternalSystems().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * Output only. Third party SIEM/SOAR fields within SCC, contains external system
      * information and external system finding fields.
      * 
* - * - * map<string, .google.cloud.securitycenter.v1.ExternalSystem> external_systems = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.cloud.securitycenter.v1.ExternalSystem> external_systems = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override + public com.google.cloud.securitycenter.v1.ExternalSystem getExternalSystemsOrThrow( java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetExternalSystems().getMap(); if (!map.containsKey(key)) { @@ -7173,121 +6565,102 @@ public com.google.cloud.securitycenter.v1.ExternalSystem getExternalSystemsOrThr } public Builder clearExternalSystems() { - internalGetMutableExternalSystems().getMutableMap().clear(); + internalGetMutableExternalSystems().getMutableMap() + .clear(); return this; } /** - * - * *
      * Output only. Third party SIEM/SOAR fields within SCC, contains external system
      * information and external system finding fields.
      * 
* - * - * map<string, .google.cloud.securitycenter.v1.ExternalSystem> external_systems = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.cloud.securitycenter.v1.ExternalSystem> external_systems = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder removeExternalSystems(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableExternalSystems().getMutableMap().remove(key); + + public Builder removeExternalSystems( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableExternalSystems().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated public java.util.Map - getMutableExternalSystems() { + getMutableExternalSystems() { return internalGetMutableExternalSystems().getMutableMap(); } /** - * - * *
      * Output only. Third party SIEM/SOAR fields within SCC, contains external system
      * information and external system finding fields.
      * 
* - * - * map<string, .google.cloud.securitycenter.v1.ExternalSystem> external_systems = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.cloud.securitycenter.v1.ExternalSystem> external_systems = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder putExternalSystems( - java.lang.String key, com.google.cloud.securitycenter.v1.ExternalSystem value) { - if (key == null) { - throw new NullPointerException("map key"); - } + java.lang.String key, + com.google.cloud.securitycenter.v1.ExternalSystem value) { + if (key == null) { throw new NullPointerException("map key"); } if (value == null) { - throw new NullPointerException("map value"); - } + throw new NullPointerException("map value"); +} - internalGetMutableExternalSystems().getMutableMap().put(key, value); + internalGetMutableExternalSystems().getMutableMap() + .put(key, value); return this; } /** - * - * *
      * Output only. Third party SIEM/SOAR fields within SCC, contains external system
      * information and external system finding fields.
      * 
* - * - * map<string, .google.cloud.securitycenter.v1.ExternalSystem> external_systems = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.cloud.securitycenter.v1.ExternalSystem> external_systems = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ + public Builder putAllExternalSystems( java.util.Map values) { - internalGetMutableExternalSystems().getMutableMap().putAll(values); + internalGetMutableExternalSystems().getMutableMap() + .putAll(values); return this; } private com.google.cloud.securitycenter.v1.MitreAttack mitreAttack_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.securitycenter.v1.MitreAttack, - com.google.cloud.securitycenter.v1.MitreAttack.Builder, - com.google.cloud.securitycenter.v1.MitreAttackOrBuilder> - mitreAttackBuilder_; + com.google.cloud.securitycenter.v1.MitreAttack, com.google.cloud.securitycenter.v1.MitreAttack.Builder, com.google.cloud.securitycenter.v1.MitreAttackOrBuilder> mitreAttackBuilder_; /** - * - * *
      * MITRE ATT&CK tactics and techniques related to this finding.
      * See: https://attack.mitre.org
      * 
* * .google.cloud.securitycenter.v1.MitreAttack mitre_attack = 25; - * * @return Whether the mitreAttack field is set. */ public boolean hasMitreAttack() { return mitreAttackBuilder_ != null || mitreAttack_ != null; } /** - * - * *
      * MITRE ATT&CK tactics and techniques related to this finding.
      * See: https://attack.mitre.org
      * 
* * .google.cloud.securitycenter.v1.MitreAttack mitre_attack = 25; - * * @return The mitreAttack. */ public com.google.cloud.securitycenter.v1.MitreAttack getMitreAttack() { if (mitreAttackBuilder_ == null) { - return mitreAttack_ == null - ? com.google.cloud.securitycenter.v1.MitreAttack.getDefaultInstance() - : mitreAttack_; + return mitreAttack_ == null ? com.google.cloud.securitycenter.v1.MitreAttack.getDefaultInstance() : mitreAttack_; } else { return mitreAttackBuilder_.getMessage(); } } /** - * - * *
      * MITRE ATT&CK tactics and techniques related to this finding.
      * See: https://attack.mitre.org
@@ -7309,8 +6682,6 @@ public Builder setMitreAttack(com.google.cloud.securitycenter.v1.MitreAttack val
       return this;
     }
     /**
-     *
-     *
      * 
      * MITRE ATT&CK tactics and techniques related to this finding.
      * See: https://attack.mitre.org
@@ -7330,8 +6701,6 @@ public Builder setMitreAttack(
       return this;
     }
     /**
-     *
-     *
      * 
      * MITRE ATT&CK tactics and techniques related to this finding.
      * See: https://attack.mitre.org
@@ -7343,9 +6712,7 @@ public Builder mergeMitreAttack(com.google.cloud.securitycenter.v1.MitreAttack v
       if (mitreAttackBuilder_ == null) {
         if (mitreAttack_ != null) {
           mitreAttack_ =
-              com.google.cloud.securitycenter.v1.MitreAttack.newBuilder(mitreAttack_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.securitycenter.v1.MitreAttack.newBuilder(mitreAttack_).mergeFrom(value).buildPartial();
         } else {
           mitreAttack_ = value;
         }
@@ -7357,8 +6724,6 @@ public Builder mergeMitreAttack(com.google.cloud.securitycenter.v1.MitreAttack v
       return this;
     }
     /**
-     *
-     *
      * 
      * MITRE ATT&CK tactics and techniques related to this finding.
      * See: https://attack.mitre.org
@@ -7378,8 +6743,6 @@ public Builder clearMitreAttack() {
       return this;
     }
     /**
-     *
-     *
      * 
      * MITRE ATT&CK tactics and techniques related to this finding.
      * See: https://attack.mitre.org
@@ -7388,13 +6751,11 @@ public Builder clearMitreAttack() {
      * .google.cloud.securitycenter.v1.MitreAttack mitre_attack = 25;
      */
     public com.google.cloud.securitycenter.v1.MitreAttack.Builder getMitreAttackBuilder() {
-
+      
       onChanged();
       return getMitreAttackFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * MITRE ATT&CK tactics and techniques related to this finding.
      * See: https://attack.mitre.org
@@ -7406,14 +6767,11 @@ public com.google.cloud.securitycenter.v1.MitreAttackOrBuilder getMitreAttackOrB
       if (mitreAttackBuilder_ != null) {
         return mitreAttackBuilder_.getMessageOrBuilder();
       } else {
-        return mitreAttack_ == null
-            ? com.google.cloud.securitycenter.v1.MitreAttack.getDefaultInstance()
-            : mitreAttack_;
+        return mitreAttack_ == null ?
+            com.google.cloud.securitycenter.v1.MitreAttack.getDefaultInstance() : mitreAttack_;
       }
     }
     /**
-     *
-     *
      * 
      * MITRE ATT&CK tactics and techniques related to this finding.
      * See: https://attack.mitre.org
@@ -7422,17 +6780,14 @@ public com.google.cloud.securitycenter.v1.MitreAttackOrBuilder getMitreAttackOrB
      * .google.cloud.securitycenter.v1.MitreAttack mitre_attack = 25;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.securitycenter.v1.MitreAttack,
-            com.google.cloud.securitycenter.v1.MitreAttack.Builder,
-            com.google.cloud.securitycenter.v1.MitreAttackOrBuilder>
+        com.google.cloud.securitycenter.v1.MitreAttack, com.google.cloud.securitycenter.v1.MitreAttack.Builder, com.google.cloud.securitycenter.v1.MitreAttackOrBuilder> 
         getMitreAttackFieldBuilder() {
       if (mitreAttackBuilder_ == null) {
-        mitreAttackBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.securitycenter.v1.MitreAttack,
-                com.google.cloud.securitycenter.v1.MitreAttack.Builder,
-                com.google.cloud.securitycenter.v1.MitreAttackOrBuilder>(
-                getMitreAttack(), getParentForChildren(), isClean());
+        mitreAttackBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.securitycenter.v1.MitreAttack, com.google.cloud.securitycenter.v1.MitreAttack.Builder, com.google.cloud.securitycenter.v1.MitreAttackOrBuilder>(
+                getMitreAttack(),
+                getParentForChildren(),
+                isClean());
         mitreAttack_ = null;
       }
       return mitreAttackBuilder_;
@@ -7440,49 +6795,36 @@ public com.google.cloud.securitycenter.v1.MitreAttackOrBuilder getMitreAttackOrB
 
     private com.google.cloud.securitycenter.v1.Access access_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.securitycenter.v1.Access,
-            com.google.cloud.securitycenter.v1.Access.Builder,
-            com.google.cloud.securitycenter.v1.AccessOrBuilder>
-        accessBuilder_;
+        com.google.cloud.securitycenter.v1.Access, com.google.cloud.securitycenter.v1.Access.Builder, com.google.cloud.securitycenter.v1.AccessOrBuilder> accessBuilder_;
     /**
-     *
-     *
      * 
      * Access details associated to the Finding, such as more information on the
      * caller, which method was accessed, from where, etc.
      * 
* * .google.cloud.securitycenter.v1.Access access = 26; - * * @return Whether the access field is set. */ public boolean hasAccess() { return accessBuilder_ != null || access_ != null; } /** - * - * *
      * Access details associated to the Finding, such as more information on the
      * caller, which method was accessed, from where, etc.
      * 
* * .google.cloud.securitycenter.v1.Access access = 26; - * * @return The access. */ public com.google.cloud.securitycenter.v1.Access getAccess() { if (accessBuilder_ == null) { - return access_ == null - ? com.google.cloud.securitycenter.v1.Access.getDefaultInstance() - : access_; + return access_ == null ? com.google.cloud.securitycenter.v1.Access.getDefaultInstance() : access_; } else { return accessBuilder_.getMessage(); } } /** - * - * *
      * Access details associated to the Finding, such as more information on the
      * caller, which method was accessed, from where, etc.
@@ -7504,8 +6846,6 @@ public Builder setAccess(com.google.cloud.securitycenter.v1.Access value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Access details associated to the Finding, such as more information on the
      * caller, which method was accessed, from where, etc.
@@ -7513,7 +6853,8 @@ public Builder setAccess(com.google.cloud.securitycenter.v1.Access value) {
      *
      * .google.cloud.securitycenter.v1.Access access = 26;
      */
-    public Builder setAccess(com.google.cloud.securitycenter.v1.Access.Builder builderForValue) {
+    public Builder setAccess(
+        com.google.cloud.securitycenter.v1.Access.Builder builderForValue) {
       if (accessBuilder_ == null) {
         access_ = builderForValue.build();
         onChanged();
@@ -7524,8 +6865,6 @@ public Builder setAccess(com.google.cloud.securitycenter.v1.Access.Builder build
       return this;
     }
     /**
-     *
-     *
      * 
      * Access details associated to the Finding, such as more information on the
      * caller, which method was accessed, from where, etc.
@@ -7537,9 +6876,7 @@ public Builder mergeAccess(com.google.cloud.securitycenter.v1.Access value) {
       if (accessBuilder_ == null) {
         if (access_ != null) {
           access_ =
-              com.google.cloud.securitycenter.v1.Access.newBuilder(access_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.securitycenter.v1.Access.newBuilder(access_).mergeFrom(value).buildPartial();
         } else {
           access_ = value;
         }
@@ -7551,8 +6888,6 @@ public Builder mergeAccess(com.google.cloud.securitycenter.v1.Access value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Access details associated to the Finding, such as more information on the
      * caller, which method was accessed, from where, etc.
@@ -7572,8 +6907,6 @@ public Builder clearAccess() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Access details associated to the Finding, such as more information on the
      * caller, which method was accessed, from where, etc.
@@ -7582,13 +6915,11 @@ public Builder clearAccess() {
      * .google.cloud.securitycenter.v1.Access access = 26;
      */
     public com.google.cloud.securitycenter.v1.Access.Builder getAccessBuilder() {
-
+      
       onChanged();
       return getAccessFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Access details associated to the Finding, such as more information on the
      * caller, which method was accessed, from where, etc.
@@ -7600,14 +6931,11 @@ public com.google.cloud.securitycenter.v1.AccessOrBuilder getAccessOrBuilder() {
       if (accessBuilder_ != null) {
         return accessBuilder_.getMessageOrBuilder();
       } else {
-        return access_ == null
-            ? com.google.cloud.securitycenter.v1.Access.getDefaultInstance()
-            : access_;
+        return access_ == null ?
+            com.google.cloud.securitycenter.v1.Access.getDefaultInstance() : access_;
       }
     }
     /**
-     *
-     *
      * 
      * Access details associated to the Finding, such as more information on the
      * caller, which method was accessed, from where, etc.
@@ -7616,42 +6944,32 @@ public com.google.cloud.securitycenter.v1.AccessOrBuilder getAccessOrBuilder() {
      * .google.cloud.securitycenter.v1.Access access = 26;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.securitycenter.v1.Access,
-            com.google.cloud.securitycenter.v1.Access.Builder,
-            com.google.cloud.securitycenter.v1.AccessOrBuilder>
+        com.google.cloud.securitycenter.v1.Access, com.google.cloud.securitycenter.v1.Access.Builder, com.google.cloud.securitycenter.v1.AccessOrBuilder> 
         getAccessFieldBuilder() {
       if (accessBuilder_ == null) {
-        accessBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.securitycenter.v1.Access,
-                com.google.cloud.securitycenter.v1.Access.Builder,
-                com.google.cloud.securitycenter.v1.AccessOrBuilder>(
-                getAccess(), getParentForChildren(), isClean());
+        accessBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.securitycenter.v1.Access, com.google.cloud.securitycenter.v1.Access.Builder, com.google.cloud.securitycenter.v1.AccessOrBuilder>(
+                getAccess(),
+                getParentForChildren(),
+                isClean());
         access_ = null;
       }
       return accessBuilder_;
     }
 
     private java.util.List connections_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureConnectionsIsMutable() {
       if (!((bitField0_ & 0x00000004) != 0)) {
-        connections_ =
-            new java.util.ArrayList(connections_);
+        connections_ = new java.util.ArrayList(connections_);
         bitField0_ |= 0x00000004;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.securitycenter.v1.Connection,
-            com.google.cloud.securitycenter.v1.Connection.Builder,
-            com.google.cloud.securitycenter.v1.ConnectionOrBuilder>
-        connectionsBuilder_;
+        com.google.cloud.securitycenter.v1.Connection, com.google.cloud.securitycenter.v1.Connection.Builder, com.google.cloud.securitycenter.v1.ConnectionOrBuilder> connectionsBuilder_;
 
     /**
-     *
-     *
      * 
      * Contains information about the IP connection associated with the finding.
      * 
@@ -7666,8 +6984,6 @@ public java.util.List getConnecti } } /** - * - * *
      * Contains information about the IP connection associated with the finding.
      * 
@@ -7682,8 +6998,6 @@ public int getConnectionsCount() { } } /** - * - * *
      * Contains information about the IP connection associated with the finding.
      * 
@@ -7698,15 +7012,14 @@ public com.google.cloud.securitycenter.v1.Connection getConnections(int index) { } } /** - * - * *
      * Contains information about the IP connection associated with the finding.
      * 
* * repeated .google.cloud.securitycenter.v1.Connection connections = 31; */ - public Builder setConnections(int index, com.google.cloud.securitycenter.v1.Connection value) { + public Builder setConnections( + int index, com.google.cloud.securitycenter.v1.Connection value) { if (connectionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -7720,8 +7033,6 @@ public Builder setConnections(int index, com.google.cloud.securitycenter.v1.Conn return this; } /** - * - * *
      * Contains information about the IP connection associated with the finding.
      * 
@@ -7740,8 +7051,6 @@ public Builder setConnections( return this; } /** - * - * *
      * Contains information about the IP connection associated with the finding.
      * 
@@ -7762,15 +7071,14 @@ public Builder addConnections(com.google.cloud.securitycenter.v1.Connection valu return this; } /** - * - * *
      * Contains information about the IP connection associated with the finding.
      * 
* * repeated .google.cloud.securitycenter.v1.Connection connections = 31; */ - public Builder addConnections(int index, com.google.cloud.securitycenter.v1.Connection value) { + public Builder addConnections( + int index, com.google.cloud.securitycenter.v1.Connection value) { if (connectionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -7784,8 +7092,6 @@ public Builder addConnections(int index, com.google.cloud.securitycenter.v1.Conn return this; } /** - * - * *
      * Contains information about the IP connection associated with the finding.
      * 
@@ -7804,8 +7110,6 @@ public Builder addConnections( return this; } /** - * - * *
      * Contains information about the IP connection associated with the finding.
      * 
@@ -7824,8 +7128,6 @@ public Builder addConnections( return this; } /** - * - * *
      * Contains information about the IP connection associated with the finding.
      * 
@@ -7836,7 +7138,8 @@ public Builder addAllConnections( java.lang.Iterable values) { if (connectionsBuilder_ == null) { ensureConnectionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, connections_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, connections_); onChanged(); } else { connectionsBuilder_.addAllMessages(values); @@ -7844,8 +7147,6 @@ public Builder addAllConnections( return this; } /** - * - * *
      * Contains information about the IP connection associated with the finding.
      * 
@@ -7863,8 +7164,6 @@ public Builder clearConnections() { return this; } /** - * - * *
      * Contains information about the IP connection associated with the finding.
      * 
@@ -7882,20 +7181,17 @@ public Builder removeConnections(int index) { return this; } /** - * - * *
      * Contains information about the IP connection associated with the finding.
      * 
* * repeated .google.cloud.securitycenter.v1.Connection connections = 31; */ - public com.google.cloud.securitycenter.v1.Connection.Builder getConnectionsBuilder(int index) { + public com.google.cloud.securitycenter.v1.Connection.Builder getConnectionsBuilder( + int index) { return getConnectionsFieldBuilder().getBuilder(index); } /** - * - * *
      * Contains information about the IP connection associated with the finding.
      * 
@@ -7905,22 +7201,19 @@ public com.google.cloud.securitycenter.v1.Connection.Builder getConnectionsBuild public com.google.cloud.securitycenter.v1.ConnectionOrBuilder getConnectionsOrBuilder( int index) { if (connectionsBuilder_ == null) { - return connections_.get(index); - } else { + return connections_.get(index); } else { return connectionsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Contains information about the IP connection associated with the finding.
      * 
* * repeated .google.cloud.securitycenter.v1.Connection connections = 31; */ - public java.util.List - getConnectionsOrBuilderList() { + public java.util.List + getConnectionsOrBuilderList() { if (connectionsBuilder_ != null) { return connectionsBuilder_.getMessageOrBuilderList(); } else { @@ -7928,8 +7221,6 @@ public com.google.cloud.securitycenter.v1.ConnectionOrBuilder getConnectionsOrBu } } /** - * - * *
      * Contains information about the IP connection associated with the finding.
      * 
@@ -7937,48 +7228,42 @@ public com.google.cloud.securitycenter.v1.ConnectionOrBuilder getConnectionsOrBu * repeated .google.cloud.securitycenter.v1.Connection connections = 31; */ public com.google.cloud.securitycenter.v1.Connection.Builder addConnectionsBuilder() { - return getConnectionsFieldBuilder() - .addBuilder(com.google.cloud.securitycenter.v1.Connection.getDefaultInstance()); + return getConnectionsFieldBuilder().addBuilder( + com.google.cloud.securitycenter.v1.Connection.getDefaultInstance()); } /** - * - * *
      * Contains information about the IP connection associated with the finding.
      * 
* * repeated .google.cloud.securitycenter.v1.Connection connections = 31; */ - public com.google.cloud.securitycenter.v1.Connection.Builder addConnectionsBuilder(int index) { - return getConnectionsFieldBuilder() - .addBuilder(index, com.google.cloud.securitycenter.v1.Connection.getDefaultInstance()); + public com.google.cloud.securitycenter.v1.Connection.Builder addConnectionsBuilder( + int index) { + return getConnectionsFieldBuilder().addBuilder( + index, com.google.cloud.securitycenter.v1.Connection.getDefaultInstance()); } /** - * - * *
      * Contains information about the IP connection associated with the finding.
      * 
* * repeated .google.cloud.securitycenter.v1.Connection connections = 31; */ - public java.util.List - getConnectionsBuilderList() { + public java.util.List + getConnectionsBuilderList() { return getConnectionsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.securitycenter.v1.Connection, - com.google.cloud.securitycenter.v1.Connection.Builder, - com.google.cloud.securitycenter.v1.ConnectionOrBuilder> + com.google.cloud.securitycenter.v1.Connection, com.google.cloud.securitycenter.v1.Connection.Builder, com.google.cloud.securitycenter.v1.ConnectionOrBuilder> getConnectionsFieldBuilder() { if (connectionsBuilder_ == null) { - connectionsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.securitycenter.v1.Connection, - com.google.cloud.securitycenter.v1.Connection.Builder, - com.google.cloud.securitycenter.v1.ConnectionOrBuilder>( - connections_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); + connectionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.securitycenter.v1.Connection, com.google.cloud.securitycenter.v1.Connection.Builder, com.google.cloud.securitycenter.v1.ConnectionOrBuilder>( + connections_, + ((bitField0_ & 0x00000004) != 0), + getParentForChildren(), + isClean()); connections_ = null; } return connectionsBuilder_; @@ -7986,8 +7271,6 @@ public com.google.cloud.securitycenter.v1.Connection.Builder addConnectionsBuild private java.lang.Object muteInitiator_ = ""; /** - * - * *
      * First known as mute_annotation. Records additional information about the
      * mute operation e.g. mute config that muted the finding, user who muted the
@@ -7996,13 +7279,13 @@ public com.google.cloud.securitycenter.v1.Connection.Builder addConnectionsBuild
      * 
* * string mute_initiator = 28; - * * @return The muteInitiator. */ public java.lang.String getMuteInitiator() { java.lang.Object ref = muteInitiator_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); muteInitiator_ = s; return s; @@ -8011,8 +7294,6 @@ public java.lang.String getMuteInitiator() { } } /** - * - * *
      * First known as mute_annotation. Records additional information about the
      * mute operation e.g. mute config that muted the finding, user who muted the
@@ -8021,14 +7302,15 @@ public java.lang.String getMuteInitiator() {
      * 
* * string mute_initiator = 28; - * * @return The bytes for muteInitiator. */ - public com.google.protobuf.ByteString getMuteInitiatorBytes() { + public com.google.protobuf.ByteString + getMuteInitiatorBytes() { java.lang.Object ref = muteInitiator_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); muteInitiator_ = b; return b; } else { @@ -8036,8 +7318,6 @@ public com.google.protobuf.ByteString getMuteInitiatorBytes() { } } /** - * - * *
      * First known as mute_annotation. Records additional information about the
      * mute operation e.g. mute config that muted the finding, user who muted the
@@ -8046,22 +7326,20 @@ public com.google.protobuf.ByteString getMuteInitiatorBytes() {
      * 
* * string mute_initiator = 28; - * * @param value The muteInitiator to set. * @return This builder for chaining. */ - public Builder setMuteInitiator(java.lang.String value) { + public Builder setMuteInitiator( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + muteInitiator_ = value; onChanged(); return this; } /** - * - * *
      * First known as mute_annotation. Records additional information about the
      * mute operation e.g. mute config that muted the finding, user who muted the
@@ -8070,18 +7348,15 @@ public Builder setMuteInitiator(java.lang.String value) {
      * 
* * string mute_initiator = 28; - * * @return This builder for chaining. */ public Builder clearMuteInitiator() { - + muteInitiator_ = getDefaultInstance().getMuteInitiator(); onChanged(); return this; } /** - * - * *
      * First known as mute_annotation. Records additional information about the
      * mute operation e.g. mute config that muted the finding, user who muted the
@@ -8090,41 +7365,34 @@ public Builder clearMuteInitiator() {
      * 
* * string mute_initiator = 28; - * * @param value The bytes for muteInitiator to set. * @return This builder for chaining. */ - public Builder setMuteInitiatorBytes(com.google.protobuf.ByteString value) { + public Builder setMuteInitiatorBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + muteInitiator_ = value; onChanged(); return this; } private java.util.List processes_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureProcessesIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { - processes_ = - new java.util.ArrayList(processes_); + processes_ = new java.util.ArrayList(processes_); bitField0_ |= 0x00000008; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.securitycenter.v1.Process, - com.google.cloud.securitycenter.v1.Process.Builder, - com.google.cloud.securitycenter.v1.ProcessOrBuilder> - processesBuilder_; + com.google.cloud.securitycenter.v1.Process, com.google.cloud.securitycenter.v1.Process.Builder, com.google.cloud.securitycenter.v1.ProcessOrBuilder> processesBuilder_; /** - * - * *
      * Represents operating system processes associated with the Finding.
      * 
@@ -8139,8 +7407,6 @@ public java.util.List getProcessesLi } } /** - * - * *
      * Represents operating system processes associated with the Finding.
      * 
@@ -8155,8 +7421,6 @@ public int getProcessesCount() { } } /** - * - * *
      * Represents operating system processes associated with the Finding.
      * 
@@ -8171,15 +7435,14 @@ public com.google.cloud.securitycenter.v1.Process getProcesses(int index) { } } /** - * - * *
      * Represents operating system processes associated with the Finding.
      * 
* * repeated .google.cloud.securitycenter.v1.Process processes = 30; */ - public Builder setProcesses(int index, com.google.cloud.securitycenter.v1.Process value) { + public Builder setProcesses( + int index, com.google.cloud.securitycenter.v1.Process value) { if (processesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -8193,8 +7456,6 @@ public Builder setProcesses(int index, com.google.cloud.securitycenter.v1.Proces return this; } /** - * - * *
      * Represents operating system processes associated with the Finding.
      * 
@@ -8213,8 +7474,6 @@ public Builder setProcesses( return this; } /** - * - * *
      * Represents operating system processes associated with the Finding.
      * 
@@ -8235,15 +7494,14 @@ public Builder addProcesses(com.google.cloud.securitycenter.v1.Process value) { return this; } /** - * - * *
      * Represents operating system processes associated with the Finding.
      * 
* * repeated .google.cloud.securitycenter.v1.Process processes = 30; */ - public Builder addProcesses(int index, com.google.cloud.securitycenter.v1.Process value) { + public Builder addProcesses( + int index, com.google.cloud.securitycenter.v1.Process value) { if (processesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -8257,8 +7515,6 @@ public Builder addProcesses(int index, com.google.cloud.securitycenter.v1.Proces return this; } /** - * - * *
      * Represents operating system processes associated with the Finding.
      * 
@@ -8277,8 +7533,6 @@ public Builder addProcesses( return this; } /** - * - * *
      * Represents operating system processes associated with the Finding.
      * 
@@ -8297,8 +7551,6 @@ public Builder addProcesses( return this; } /** - * - * *
      * Represents operating system processes associated with the Finding.
      * 
@@ -8309,7 +7561,8 @@ public Builder addAllProcesses( java.lang.Iterable values) { if (processesBuilder_ == null) { ensureProcessesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, processes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, processes_); onChanged(); } else { processesBuilder_.addAllMessages(values); @@ -8317,8 +7570,6 @@ public Builder addAllProcesses( return this; } /** - * - * *
      * Represents operating system processes associated with the Finding.
      * 
@@ -8336,8 +7587,6 @@ public Builder clearProcesses() { return this; } /** - * - * *
      * Represents operating system processes associated with the Finding.
      * 
@@ -8355,44 +7604,39 @@ public Builder removeProcesses(int index) { return this; } /** - * - * *
      * Represents operating system processes associated with the Finding.
      * 
* * repeated .google.cloud.securitycenter.v1.Process processes = 30; */ - public com.google.cloud.securitycenter.v1.Process.Builder getProcessesBuilder(int index) { + public com.google.cloud.securitycenter.v1.Process.Builder getProcessesBuilder( + int index) { return getProcessesFieldBuilder().getBuilder(index); } /** - * - * *
      * Represents operating system processes associated with the Finding.
      * 
* * repeated .google.cloud.securitycenter.v1.Process processes = 30; */ - public com.google.cloud.securitycenter.v1.ProcessOrBuilder getProcessesOrBuilder(int index) { + public com.google.cloud.securitycenter.v1.ProcessOrBuilder getProcessesOrBuilder( + int index) { if (processesBuilder_ == null) { - return processes_.get(index); - } else { + return processes_.get(index); } else { return processesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Represents operating system processes associated with the Finding.
      * 
* * repeated .google.cloud.securitycenter.v1.Process processes = 30; */ - public java.util.List - getProcessesOrBuilderList() { + public java.util.List + getProcessesOrBuilderList() { if (processesBuilder_ != null) { return processesBuilder_.getMessageOrBuilderList(); } else { @@ -8400,8 +7644,6 @@ public com.google.cloud.securitycenter.v1.ProcessOrBuilder getProcessesOrBuilder } } /** - * - * *
      * Represents operating system processes associated with the Finding.
      * 
@@ -8409,74 +7651,63 @@ public com.google.cloud.securitycenter.v1.ProcessOrBuilder getProcessesOrBuilder * repeated .google.cloud.securitycenter.v1.Process processes = 30; */ public com.google.cloud.securitycenter.v1.Process.Builder addProcessesBuilder() { - return getProcessesFieldBuilder() - .addBuilder(com.google.cloud.securitycenter.v1.Process.getDefaultInstance()); + return getProcessesFieldBuilder().addBuilder( + com.google.cloud.securitycenter.v1.Process.getDefaultInstance()); } /** - * - * *
      * Represents operating system processes associated with the Finding.
      * 
* * repeated .google.cloud.securitycenter.v1.Process processes = 30; */ - public com.google.cloud.securitycenter.v1.Process.Builder addProcessesBuilder(int index) { - return getProcessesFieldBuilder() - .addBuilder(index, com.google.cloud.securitycenter.v1.Process.getDefaultInstance()); + public com.google.cloud.securitycenter.v1.Process.Builder addProcessesBuilder( + int index) { + return getProcessesFieldBuilder().addBuilder( + index, com.google.cloud.securitycenter.v1.Process.getDefaultInstance()); } /** - * - * *
      * Represents operating system processes associated with the Finding.
      * 
* * repeated .google.cloud.securitycenter.v1.Process processes = 30; */ - public java.util.List - getProcessesBuilderList() { + public java.util.List + getProcessesBuilderList() { return getProcessesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.securitycenter.v1.Process, - com.google.cloud.securitycenter.v1.Process.Builder, - com.google.cloud.securitycenter.v1.ProcessOrBuilder> + com.google.cloud.securitycenter.v1.Process, com.google.cloud.securitycenter.v1.Process.Builder, com.google.cloud.securitycenter.v1.ProcessOrBuilder> getProcessesFieldBuilder() { if (processesBuilder_ == null) { - processesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.securitycenter.v1.Process, - com.google.cloud.securitycenter.v1.Process.Builder, - com.google.cloud.securitycenter.v1.ProcessOrBuilder>( - processes_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean()); + processesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.securitycenter.v1.Process, com.google.cloud.securitycenter.v1.Process.Builder, com.google.cloud.securitycenter.v1.ProcessOrBuilder>( + processes_, + ((bitField0_ & 0x00000008) != 0), + getParentForChildren(), + isClean()); processes_ = null; } return processesBuilder_; } private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.securitycenter.v1.ContactDetails> - contacts_; - - private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.securitycenter.v1.ContactDetails> - internalGetContacts() { + java.lang.String, com.google.cloud.securitycenter.v1.ContactDetails> contacts_; + private com.google.protobuf.MapField + internalGetContacts() { if (contacts_ == null) { - return com.google.protobuf.MapField.emptyMapField(ContactsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + ContactsDefaultEntryHolder.defaultEntry); } return contacts_; } - - private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.securitycenter.v1.ContactDetails> - internalGetMutableContacts() { - onChanged(); - ; + private com.google.protobuf.MapField + internalGetMutableContacts() { + onChanged();; if (contacts_ == null) { - contacts_ = - com.google.protobuf.MapField.newMapField(ContactsDefaultEntryHolder.defaultEntry); + contacts_ = com.google.protobuf.MapField.newMapField( + ContactsDefaultEntryHolder.defaultEntry); } if (!contacts_.isMutable()) { contacts_ = contacts_.copy(); @@ -8488,8 +7719,6 @@ public int getContactsCount() { return internalGetContacts().getMap().size(); } /** - * - * *
      * Output only. Map containing the points of contact for the given finding. The key
      * represents the type of contact, while the value contains a list of all the
@@ -8509,27 +7738,24 @@ public int getContactsCount() {
      *     }
      * 
* - * - * map<string, .google.cloud.securitycenter.v1.ContactDetails> contacts = 33 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.cloud.securitycenter.v1.ContactDetails> contacts = 33 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ + @java.lang.Override - public boolean containsContacts(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsContacts( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetContacts().getMap().containsKey(key); } - /** Use {@link #getContactsMap()} instead. */ + /** + * Use {@link #getContactsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated - public java.util.Map - getContacts() { + public java.util.Map getContacts() { return getContactsMap(); } /** - * - * *
      * Output only. Map containing the points of contact for the given finding. The key
      * represents the type of contact, while the value contains a list of all the
@@ -8549,18 +7775,14 @@ public boolean containsContacts(java.lang.String key) {
      *     }
      * 
* - * - * map<string, .google.cloud.securitycenter.v1.ContactDetails> contacts = 33 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.cloud.securitycenter.v1.ContactDetails> contacts = 33 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public java.util.Map - getContactsMap() { + + public java.util.Map getContactsMap() { return internalGetContacts().getMap(); } /** - * - * *
      * Output only. Map containing the points of contact for the given finding. The key
      * represents the type of contact, while the value contains a list of all the
@@ -8580,23 +7802,19 @@ public boolean containsContacts(java.lang.String key) {
      *     }
      * 
* - * - * map<string, .google.cloud.securitycenter.v1.ContactDetails> contacts = 33 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.cloud.securitycenter.v1.ContactDetails> contacts = 33 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override + public com.google.cloud.securitycenter.v1.ContactDetails getContactsOrDefault( - java.lang.String key, com.google.cloud.securitycenter.v1.ContactDetails defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } + java.lang.String key, + com.google.cloud.securitycenter.v1.ContactDetails defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetContacts().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * Output only. Map containing the points of contact for the given finding. The key
      * represents the type of contact, while the value contains a list of all the
@@ -8616,16 +7834,13 @@ public com.google.cloud.securitycenter.v1.ContactDetails getContactsOrDefault(
      *     }
      * 
* - * - * map<string, .google.cloud.securitycenter.v1.ContactDetails> contacts = 33 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.cloud.securitycenter.v1.ContactDetails> contacts = 33 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override + public com.google.cloud.securitycenter.v1.ContactDetails getContactsOrThrow( java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetContacts().getMap(); if (!map.containsKey(key)) { @@ -8635,12 +7850,11 @@ public com.google.cloud.securitycenter.v1.ContactDetails getContactsOrThrow( } public Builder clearContacts() { - internalGetMutableContacts().getMutableMap().clear(); + internalGetMutableContacts().getMutableMap() + .clear(); return this; } /** - * - * *
      * Output only. Map containing the points of contact for the given finding. The key
      * represents the type of contact, while the value contains a list of all the
@@ -8660,26 +7874,25 @@ public Builder clearContacts() {
      *     }
      * 
* - * - * map<string, .google.cloud.securitycenter.v1.ContactDetails> contacts = 33 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.cloud.securitycenter.v1.ContactDetails> contacts = 33 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder removeContacts(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableContacts().getMutableMap().remove(key); + + public Builder removeContacts( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableContacts().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated public java.util.Map - getMutableContacts() { + getMutableContacts() { return internalGetMutableContacts().getMutableMap(); } /** - * - * *
      * Output only. Map containing the points of contact for the given finding. The key
      * represents the type of contact, while the value contains a list of all the
@@ -8699,25 +7912,21 @@ public Builder removeContacts(java.lang.String key) {
      *     }
      * 
* - * - * map<string, .google.cloud.securitycenter.v1.ContactDetails> contacts = 33 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.cloud.securitycenter.v1.ContactDetails> contacts = 33 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder putContacts( - java.lang.String key, com.google.cloud.securitycenter.v1.ContactDetails value) { - if (key == null) { - throw new NullPointerException("map key"); - } + java.lang.String key, + com.google.cloud.securitycenter.v1.ContactDetails value) { + if (key == null) { throw new NullPointerException("map key"); } if (value == null) { - throw new NullPointerException("map value"); - } + throw new NullPointerException("map value"); +} - internalGetMutableContacts().getMutableMap().put(key, value); + internalGetMutableContacts().getMutableMap() + .put(key, value); return this; } /** - * - * *
      * Output only. Map containing the points of contact for the given finding. The key
      * represents the type of contact, while the value contains a list of all the
@@ -8737,36 +7946,29 @@ public Builder putContacts(
      *     }
      * 
* - * - * map<string, .google.cloud.securitycenter.v1.ContactDetails> contacts = 33 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.cloud.securitycenter.v1.ContactDetails> contacts = 33 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ + public Builder putAllContacts( java.util.Map values) { - internalGetMutableContacts().getMutableMap().putAll(values); + internalGetMutableContacts().getMutableMap() + .putAll(values); return this; } private java.util.List compliances_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureCompliancesIsMutable() { if (!((bitField0_ & 0x00000020) != 0)) { - compliances_ = - new java.util.ArrayList(compliances_); + compliances_ = new java.util.ArrayList(compliances_); bitField0_ |= 0x00000020; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.securitycenter.v1.Compliance, - com.google.cloud.securitycenter.v1.Compliance.Builder, - com.google.cloud.securitycenter.v1.ComplianceOrBuilder> - compliancesBuilder_; + com.google.cloud.securitycenter.v1.Compliance, com.google.cloud.securitycenter.v1.Compliance.Builder, com.google.cloud.securitycenter.v1.ComplianceOrBuilder> compliancesBuilder_; /** - * - * *
      * Contains compliance information for security standards associated to the
      * finding.
@@ -8782,8 +7984,6 @@ public java.util.List getComplian
       }
     }
     /**
-     *
-     *
      * 
      * Contains compliance information for security standards associated to the
      * finding.
@@ -8799,8 +7999,6 @@ public int getCompliancesCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Contains compliance information for security standards associated to the
      * finding.
@@ -8816,8 +8014,6 @@ public com.google.cloud.securitycenter.v1.Compliance getCompliances(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * Contains compliance information for security standards associated to the
      * finding.
@@ -8825,7 +8021,8 @@ public com.google.cloud.securitycenter.v1.Compliance getCompliances(int index) {
      *
      * repeated .google.cloud.securitycenter.v1.Compliance compliances = 34;
      */
-    public Builder setCompliances(int index, com.google.cloud.securitycenter.v1.Compliance value) {
+    public Builder setCompliances(
+        int index, com.google.cloud.securitycenter.v1.Compliance value) {
       if (compliancesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -8839,8 +8036,6 @@ public Builder setCompliances(int index, com.google.cloud.securitycenter.v1.Comp
       return this;
     }
     /**
-     *
-     *
      * 
      * Contains compliance information for security standards associated to the
      * finding.
@@ -8860,8 +8055,6 @@ public Builder setCompliances(
       return this;
     }
     /**
-     *
-     *
      * 
      * Contains compliance information for security standards associated to the
      * finding.
@@ -8883,8 +8076,6 @@ public Builder addCompliances(com.google.cloud.securitycenter.v1.Compliance valu
       return this;
     }
     /**
-     *
-     *
      * 
      * Contains compliance information for security standards associated to the
      * finding.
@@ -8892,7 +8083,8 @@ public Builder addCompliances(com.google.cloud.securitycenter.v1.Compliance valu
      *
      * repeated .google.cloud.securitycenter.v1.Compliance compliances = 34;
      */
-    public Builder addCompliances(int index, com.google.cloud.securitycenter.v1.Compliance value) {
+    public Builder addCompliances(
+        int index, com.google.cloud.securitycenter.v1.Compliance value) {
       if (compliancesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -8906,8 +8098,6 @@ public Builder addCompliances(int index, com.google.cloud.securitycenter.v1.Comp
       return this;
     }
     /**
-     *
-     *
      * 
      * Contains compliance information for security standards associated to the
      * finding.
@@ -8927,8 +8117,6 @@ public Builder addCompliances(
       return this;
     }
     /**
-     *
-     *
      * 
      * Contains compliance information for security standards associated to the
      * finding.
@@ -8948,8 +8136,6 @@ public Builder addCompliances(
       return this;
     }
     /**
-     *
-     *
      * 
      * Contains compliance information for security standards associated to the
      * finding.
@@ -8961,7 +8147,8 @@ public Builder addAllCompliances(
         java.lang.Iterable values) {
       if (compliancesBuilder_ == null) {
         ensureCompliancesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, compliances_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, compliances_);
         onChanged();
       } else {
         compliancesBuilder_.addAllMessages(values);
@@ -8969,8 +8156,6 @@ public Builder addAllCompliances(
       return this;
     }
     /**
-     *
-     *
      * 
      * Contains compliance information for security standards associated to the
      * finding.
@@ -8989,8 +8174,6 @@ public Builder clearCompliances() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Contains compliance information for security standards associated to the
      * finding.
@@ -9009,8 +8192,6 @@ public Builder removeCompliances(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Contains compliance information for security standards associated to the
      * finding.
@@ -9018,12 +8199,11 @@ public Builder removeCompliances(int index) {
      *
      * repeated .google.cloud.securitycenter.v1.Compliance compliances = 34;
      */
-    public com.google.cloud.securitycenter.v1.Compliance.Builder getCompliancesBuilder(int index) {
+    public com.google.cloud.securitycenter.v1.Compliance.Builder getCompliancesBuilder(
+        int index) {
       return getCompliancesFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * Contains compliance information for security standards associated to the
      * finding.
@@ -9034,14 +8214,11 @@ public com.google.cloud.securitycenter.v1.Compliance.Builder getCompliancesBuild
     public com.google.cloud.securitycenter.v1.ComplianceOrBuilder getCompliancesOrBuilder(
         int index) {
       if (compliancesBuilder_ == null) {
-        return compliances_.get(index);
-      } else {
+        return compliances_.get(index);  } else {
         return compliancesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * Contains compliance information for security standards associated to the
      * finding.
@@ -9049,8 +8226,8 @@ public com.google.cloud.securitycenter.v1.ComplianceOrBuilder getCompliancesOrBu
      *
      * repeated .google.cloud.securitycenter.v1.Compliance compliances = 34;
      */
-    public java.util.List
-        getCompliancesOrBuilderList() {
+    public java.util.List 
+         getCompliancesOrBuilderList() {
       if (compliancesBuilder_ != null) {
         return compliancesBuilder_.getMessageOrBuilderList();
       } else {
@@ -9058,8 +8235,6 @@ public com.google.cloud.securitycenter.v1.ComplianceOrBuilder getCompliancesOrBu
       }
     }
     /**
-     *
-     *
      * 
      * Contains compliance information for security standards associated to the
      * finding.
@@ -9068,12 +8243,10 @@ public com.google.cloud.securitycenter.v1.ComplianceOrBuilder getCompliancesOrBu
      * repeated .google.cloud.securitycenter.v1.Compliance compliances = 34;
      */
     public com.google.cloud.securitycenter.v1.Compliance.Builder addCompliancesBuilder() {
-      return getCompliancesFieldBuilder()
-          .addBuilder(com.google.cloud.securitycenter.v1.Compliance.getDefaultInstance());
+      return getCompliancesFieldBuilder().addBuilder(
+          com.google.cloud.securitycenter.v1.Compliance.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Contains compliance information for security standards associated to the
      * finding.
@@ -9081,13 +8254,12 @@ public com.google.cloud.securitycenter.v1.Compliance.Builder addCompliancesBuild
      *
      * repeated .google.cloud.securitycenter.v1.Compliance compliances = 34;
      */
-    public com.google.cloud.securitycenter.v1.Compliance.Builder addCompliancesBuilder(int index) {
-      return getCompliancesFieldBuilder()
-          .addBuilder(index, com.google.cloud.securitycenter.v1.Compliance.getDefaultInstance());
+    public com.google.cloud.securitycenter.v1.Compliance.Builder addCompliancesBuilder(
+        int index) {
+      return getCompliancesFieldBuilder().addBuilder(
+          index, com.google.cloud.securitycenter.v1.Compliance.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Contains compliance information for security standards associated to the
      * finding.
@@ -9095,23 +8267,20 @@ public com.google.cloud.securitycenter.v1.Compliance.Builder addCompliancesBuild
      *
      * repeated .google.cloud.securitycenter.v1.Compliance compliances = 34;
      */
-    public java.util.List
-        getCompliancesBuilderList() {
+    public java.util.List 
+         getCompliancesBuilderList() {
       return getCompliancesFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.securitycenter.v1.Compliance,
-            com.google.cloud.securitycenter.v1.Compliance.Builder,
-            com.google.cloud.securitycenter.v1.ComplianceOrBuilder>
+        com.google.cloud.securitycenter.v1.Compliance, com.google.cloud.securitycenter.v1.Compliance.Builder, com.google.cloud.securitycenter.v1.ComplianceOrBuilder> 
         getCompliancesFieldBuilder() {
       if (compliancesBuilder_ == null) {
-        compliancesBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.cloud.securitycenter.v1.Compliance,
-                com.google.cloud.securitycenter.v1.Compliance.Builder,
-                com.google.cloud.securitycenter.v1.ComplianceOrBuilder>(
-                compliances_, ((bitField0_ & 0x00000020) != 0), getParentForChildren(), isClean());
+        compliancesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.cloud.securitycenter.v1.Compliance, com.google.cloud.securitycenter.v1.Compliance.Builder, com.google.cloud.securitycenter.v1.ComplianceOrBuilder>(
+                compliances_,
+                ((bitField0_ & 0x00000020) != 0),
+                getParentForChildren(),
+                isClean());
         compliances_ = null;
       }
       return compliancesBuilder_;
@@ -9119,21 +8288,19 @@ public com.google.cloud.securitycenter.v1.Compliance.Builder addCompliancesBuild
 
     private java.lang.Object parentDisplayName_ = "";
     /**
-     *
-     *
      * 
      * Output only. The human readable display name of the finding source such as
      * "Event Threat Detection" or "Security Health Analytics".
      * 
* * string parent_display_name = 36 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The parentDisplayName. */ public java.lang.String getParentDisplayName() { java.lang.Object ref = parentDisplayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parentDisplayName_ = s; return s; @@ -9142,22 +8309,21 @@ public java.lang.String getParentDisplayName() { } } /** - * - * *
      * Output only. The human readable display name of the finding source such as
      * "Event Threat Detection" or "Security Health Analytics".
      * 
* * string parent_display_name = 36 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for parentDisplayName. */ - public com.google.protobuf.ByteString getParentDisplayNameBytes() { + public com.google.protobuf.ByteString + getParentDisplayNameBytes() { java.lang.Object ref = parentDisplayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parentDisplayName_ = b; return b; } else { @@ -9165,64 +8331,57 @@ public com.google.protobuf.ByteString getParentDisplayNameBytes() { } } /** - * - * *
      * Output only. The human readable display name of the finding source such as
      * "Event Threat Detection" or "Security Health Analytics".
      * 
* * string parent_display_name = 36 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The parentDisplayName to set. * @return This builder for chaining. */ - public Builder setParentDisplayName(java.lang.String value) { + public Builder setParentDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parentDisplayName_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The human readable display name of the finding source such as
      * "Event Threat Detection" or "Security Health Analytics".
      * 
* * string parent_display_name = 36 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearParentDisplayName() { - + parentDisplayName_ = getDefaultInstance().getParentDisplayName(); onChanged(); return this; } /** - * - * *
      * Output only. The human readable display name of the finding source such as
      * "Event Threat Detection" or "Security Health Analytics".
      * 
* * string parent_display_name = 36 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for parentDisplayName to set. * @return This builder for chaining. */ - public Builder setParentDisplayNameBytes(com.google.protobuf.ByteString value) { + public Builder setParentDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parentDisplayName_ = value; onChanged(); return this; @@ -9230,20 +8389,18 @@ public Builder setParentDisplayNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object description_ = ""; /** - * - * *
      * Contains more detail about the finding.
      * 
* * string description = 37; - * * @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; @@ -9252,21 +8409,20 @@ public java.lang.String getDescription() { } } /** - * - * *
      * Contains more detail about the finding.
      * 
* * string description = 37; - * * @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 { @@ -9274,61 +8430,54 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * Contains more detail about the finding.
      * 
* * string description = 37; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { + public Builder setDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** - * - * *
      * Contains more detail about the finding.
      * 
* * string description = 37; - * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** - * - * *
      * Contains more detail about the finding.
      * 
* * string description = 37; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; @@ -9336,47 +8485,34 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { private com.google.cloud.securitycenter.v1.Exfiltration exfiltration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.securitycenter.v1.Exfiltration, - com.google.cloud.securitycenter.v1.Exfiltration.Builder, - com.google.cloud.securitycenter.v1.ExfiltrationOrBuilder> - exfiltrationBuilder_; + com.google.cloud.securitycenter.v1.Exfiltration, com.google.cloud.securitycenter.v1.Exfiltration.Builder, com.google.cloud.securitycenter.v1.ExfiltrationOrBuilder> exfiltrationBuilder_; /** - * - * *
      * Represents exfiltration associated with the Finding.
      * 
* * .google.cloud.securitycenter.v1.Exfiltration exfiltration = 38; - * * @return Whether the exfiltration field is set. */ public boolean hasExfiltration() { return exfiltrationBuilder_ != null || exfiltration_ != null; } /** - * - * *
      * Represents exfiltration associated with the Finding.
      * 
* * .google.cloud.securitycenter.v1.Exfiltration exfiltration = 38; - * * @return The exfiltration. */ public com.google.cloud.securitycenter.v1.Exfiltration getExfiltration() { if (exfiltrationBuilder_ == null) { - return exfiltration_ == null - ? com.google.cloud.securitycenter.v1.Exfiltration.getDefaultInstance() - : exfiltration_; + return exfiltration_ == null ? com.google.cloud.securitycenter.v1.Exfiltration.getDefaultInstance() : exfiltration_; } else { return exfiltrationBuilder_.getMessage(); } } /** - * - * *
      * Represents exfiltration associated with the Finding.
      * 
@@ -9397,8 +8533,6 @@ public Builder setExfiltration(com.google.cloud.securitycenter.v1.Exfiltration v return this; } /** - * - * *
      * Represents exfiltration associated with the Finding.
      * 
@@ -9417,8 +8551,6 @@ public Builder setExfiltration( return this; } /** - * - * *
      * Represents exfiltration associated with the Finding.
      * 
@@ -9429,9 +8561,7 @@ public Builder mergeExfiltration(com.google.cloud.securitycenter.v1.Exfiltration if (exfiltrationBuilder_ == null) { if (exfiltration_ != null) { exfiltration_ = - com.google.cloud.securitycenter.v1.Exfiltration.newBuilder(exfiltration_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.securitycenter.v1.Exfiltration.newBuilder(exfiltration_).mergeFrom(value).buildPartial(); } else { exfiltration_ = value; } @@ -9443,8 +8573,6 @@ public Builder mergeExfiltration(com.google.cloud.securitycenter.v1.Exfiltration return this; } /** - * - * *
      * Represents exfiltration associated with the Finding.
      * 
@@ -9463,8 +8591,6 @@ public Builder clearExfiltration() { return this; } /** - * - * *
      * Represents exfiltration associated with the Finding.
      * 
@@ -9472,13 +8598,11 @@ public Builder clearExfiltration() { * .google.cloud.securitycenter.v1.Exfiltration exfiltration = 38; */ public com.google.cloud.securitycenter.v1.Exfiltration.Builder getExfiltrationBuilder() { - + onChanged(); return getExfiltrationFieldBuilder().getBuilder(); } /** - * - * *
      * Represents exfiltration associated with the Finding.
      * 
@@ -9489,14 +8613,11 @@ public com.google.cloud.securitycenter.v1.ExfiltrationOrBuilder getExfiltrationO if (exfiltrationBuilder_ != null) { return exfiltrationBuilder_.getMessageOrBuilder(); } else { - return exfiltration_ == null - ? com.google.cloud.securitycenter.v1.Exfiltration.getDefaultInstance() - : exfiltration_; + return exfiltration_ == null ? + com.google.cloud.securitycenter.v1.Exfiltration.getDefaultInstance() : exfiltration_; } } /** - * - * *
      * Represents exfiltration associated with the Finding.
      * 
@@ -9504,42 +8625,32 @@ public com.google.cloud.securitycenter.v1.ExfiltrationOrBuilder getExfiltrationO * .google.cloud.securitycenter.v1.Exfiltration exfiltration = 38; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.securitycenter.v1.Exfiltration, - com.google.cloud.securitycenter.v1.Exfiltration.Builder, - com.google.cloud.securitycenter.v1.ExfiltrationOrBuilder> + com.google.cloud.securitycenter.v1.Exfiltration, com.google.cloud.securitycenter.v1.Exfiltration.Builder, com.google.cloud.securitycenter.v1.ExfiltrationOrBuilder> getExfiltrationFieldBuilder() { if (exfiltrationBuilder_ == null) { - exfiltrationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.securitycenter.v1.Exfiltration, - com.google.cloud.securitycenter.v1.Exfiltration.Builder, - com.google.cloud.securitycenter.v1.ExfiltrationOrBuilder>( - getExfiltration(), getParentForChildren(), isClean()); + exfiltrationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.securitycenter.v1.Exfiltration, com.google.cloud.securitycenter.v1.Exfiltration.Builder, com.google.cloud.securitycenter.v1.ExfiltrationOrBuilder>( + getExfiltration(), + getParentForChildren(), + isClean()); exfiltration_ = null; } return exfiltrationBuilder_; } private java.util.List iamBindings_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureIamBindingsIsMutable() { if (!((bitField0_ & 0x00000040) != 0)) { - iamBindings_ = - new java.util.ArrayList(iamBindings_); + iamBindings_ = new java.util.ArrayList(iamBindings_); bitField0_ |= 0x00000040; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.securitycenter.v1.IamBinding, - com.google.cloud.securitycenter.v1.IamBinding.Builder, - com.google.cloud.securitycenter.v1.IamBindingOrBuilder> - iamBindingsBuilder_; + com.google.cloud.securitycenter.v1.IamBinding, com.google.cloud.securitycenter.v1.IamBinding.Builder, com.google.cloud.securitycenter.v1.IamBindingOrBuilder> iamBindingsBuilder_; /** - * - * *
      * Represents IAM bindings associated with the Finding.
      * 
@@ -9554,8 +8665,6 @@ public java.util.List getIamBindi } } /** - * - * *
      * Represents IAM bindings associated with the Finding.
      * 
@@ -9570,8 +8679,6 @@ public int getIamBindingsCount() { } } /** - * - * *
      * Represents IAM bindings associated with the Finding.
      * 
@@ -9586,15 +8693,14 @@ public com.google.cloud.securitycenter.v1.IamBinding getIamBindings(int index) { } } /** - * - * *
      * Represents IAM bindings associated with the Finding.
      * 
* * repeated .google.cloud.securitycenter.v1.IamBinding iam_bindings = 39; */ - public Builder setIamBindings(int index, com.google.cloud.securitycenter.v1.IamBinding value) { + public Builder setIamBindings( + int index, com.google.cloud.securitycenter.v1.IamBinding value) { if (iamBindingsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -9608,8 +8714,6 @@ public Builder setIamBindings(int index, com.google.cloud.securitycenter.v1.IamB return this; } /** - * - * *
      * Represents IAM bindings associated with the Finding.
      * 
@@ -9628,8 +8732,6 @@ public Builder setIamBindings( return this; } /** - * - * *
      * Represents IAM bindings associated with the Finding.
      * 
@@ -9650,15 +8752,14 @@ public Builder addIamBindings(com.google.cloud.securitycenter.v1.IamBinding valu return this; } /** - * - * *
      * Represents IAM bindings associated with the Finding.
      * 
* * repeated .google.cloud.securitycenter.v1.IamBinding iam_bindings = 39; */ - public Builder addIamBindings(int index, com.google.cloud.securitycenter.v1.IamBinding value) { + public Builder addIamBindings( + int index, com.google.cloud.securitycenter.v1.IamBinding value) { if (iamBindingsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -9672,8 +8773,6 @@ public Builder addIamBindings(int index, com.google.cloud.securitycenter.v1.IamB return this; } /** - * - * *
      * Represents IAM bindings associated with the Finding.
      * 
@@ -9692,8 +8791,6 @@ public Builder addIamBindings( return this; } /** - * - * *
      * Represents IAM bindings associated with the Finding.
      * 
@@ -9712,8 +8809,6 @@ public Builder addIamBindings( return this; } /** - * - * *
      * Represents IAM bindings associated with the Finding.
      * 
@@ -9724,7 +8819,8 @@ public Builder addAllIamBindings( java.lang.Iterable values) { if (iamBindingsBuilder_ == null) { ensureIamBindingsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, iamBindings_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, iamBindings_); onChanged(); } else { iamBindingsBuilder_.addAllMessages(values); @@ -9732,8 +8828,6 @@ public Builder addAllIamBindings( return this; } /** - * - * *
      * Represents IAM bindings associated with the Finding.
      * 
@@ -9751,8 +8845,6 @@ public Builder clearIamBindings() { return this; } /** - * - * *
      * Represents IAM bindings associated with the Finding.
      * 
@@ -9770,20 +8862,17 @@ public Builder removeIamBindings(int index) { return this; } /** - * - * *
      * Represents IAM bindings associated with the Finding.
      * 
* * repeated .google.cloud.securitycenter.v1.IamBinding iam_bindings = 39; */ - public com.google.cloud.securitycenter.v1.IamBinding.Builder getIamBindingsBuilder(int index) { + public com.google.cloud.securitycenter.v1.IamBinding.Builder getIamBindingsBuilder( + int index) { return getIamBindingsFieldBuilder().getBuilder(index); } /** - * - * *
      * Represents IAM bindings associated with the Finding.
      * 
@@ -9793,22 +8882,19 @@ public com.google.cloud.securitycenter.v1.IamBinding.Builder getIamBindingsBuild public com.google.cloud.securitycenter.v1.IamBindingOrBuilder getIamBindingsOrBuilder( int index) { if (iamBindingsBuilder_ == null) { - return iamBindings_.get(index); - } else { + return iamBindings_.get(index); } else { return iamBindingsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Represents IAM bindings associated with the Finding.
      * 
* * repeated .google.cloud.securitycenter.v1.IamBinding iam_bindings = 39; */ - public java.util.List - getIamBindingsOrBuilderList() { + public java.util.List + getIamBindingsOrBuilderList() { if (iamBindingsBuilder_ != null) { return iamBindingsBuilder_.getMessageOrBuilderList(); } else { @@ -9816,8 +8902,6 @@ public com.google.cloud.securitycenter.v1.IamBindingOrBuilder getIamBindingsOrBu } } /** - * - * *
      * Represents IAM bindings associated with the Finding.
      * 
@@ -9825,48 +8909,42 @@ public com.google.cloud.securitycenter.v1.IamBindingOrBuilder getIamBindingsOrBu * repeated .google.cloud.securitycenter.v1.IamBinding iam_bindings = 39; */ public com.google.cloud.securitycenter.v1.IamBinding.Builder addIamBindingsBuilder() { - return getIamBindingsFieldBuilder() - .addBuilder(com.google.cloud.securitycenter.v1.IamBinding.getDefaultInstance()); + return getIamBindingsFieldBuilder().addBuilder( + com.google.cloud.securitycenter.v1.IamBinding.getDefaultInstance()); } /** - * - * *
      * Represents IAM bindings associated with the Finding.
      * 
* * repeated .google.cloud.securitycenter.v1.IamBinding iam_bindings = 39; */ - public com.google.cloud.securitycenter.v1.IamBinding.Builder addIamBindingsBuilder(int index) { - return getIamBindingsFieldBuilder() - .addBuilder(index, com.google.cloud.securitycenter.v1.IamBinding.getDefaultInstance()); + public com.google.cloud.securitycenter.v1.IamBinding.Builder addIamBindingsBuilder( + int index) { + return getIamBindingsFieldBuilder().addBuilder( + index, com.google.cloud.securitycenter.v1.IamBinding.getDefaultInstance()); } /** - * - * *
      * Represents IAM bindings associated with the Finding.
      * 
* * repeated .google.cloud.securitycenter.v1.IamBinding iam_bindings = 39; */ - public java.util.List - getIamBindingsBuilderList() { + public java.util.List + getIamBindingsBuilderList() { return getIamBindingsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.securitycenter.v1.IamBinding, - com.google.cloud.securitycenter.v1.IamBinding.Builder, - com.google.cloud.securitycenter.v1.IamBindingOrBuilder> + com.google.cloud.securitycenter.v1.IamBinding, com.google.cloud.securitycenter.v1.IamBinding.Builder, com.google.cloud.securitycenter.v1.IamBindingOrBuilder> getIamBindingsFieldBuilder() { if (iamBindingsBuilder_ == null) { - iamBindingsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.securitycenter.v1.IamBinding, - com.google.cloud.securitycenter.v1.IamBinding.Builder, - com.google.cloud.securitycenter.v1.IamBindingOrBuilder>( - iamBindings_, ((bitField0_ & 0x00000040) != 0), getParentForChildren(), isClean()); + iamBindingsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.securitycenter.v1.IamBinding, com.google.cloud.securitycenter.v1.IamBinding.Builder, com.google.cloud.securitycenter.v1.IamBindingOrBuilder>( + iamBindings_, + ((bitField0_ & 0x00000040) != 0), + getParentForChildren(), + isClean()); iamBindings_ = null; } return iamBindingsBuilder_; @@ -9874,20 +8952,18 @@ public com.google.cloud.securitycenter.v1.IamBinding.Builder addIamBindingsBuild private java.lang.Object nextSteps_ = ""; /** - * - * *
      * Next steps associate to the finding.
      * 
* * string next_steps = 40; - * * @return The nextSteps. */ public java.lang.String getNextSteps() { java.lang.Object ref = nextSteps_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextSteps_ = s; return s; @@ -9896,21 +8972,20 @@ public java.lang.String getNextSteps() { } } /** - * - * *
      * Next steps associate to the finding.
      * 
* * string next_steps = 40; - * * @return The bytes for nextSteps. */ - public com.google.protobuf.ByteString getNextStepsBytes() { + public com.google.protobuf.ByteString + getNextStepsBytes() { java.lang.Object ref = nextSteps_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextSteps_ = b; return b; } else { @@ -9918,86 +8993,72 @@ public com.google.protobuf.ByteString getNextStepsBytes() { } } /** - * - * *
      * Next steps associate to the finding.
      * 
* * string next_steps = 40; - * * @param value The nextSteps to set. * @return This builder for chaining. */ - public Builder setNextSteps(java.lang.String value) { + public Builder setNextSteps( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextSteps_ = value; onChanged(); return this; } /** - * - * *
      * Next steps associate to the finding.
      * 
* * string next_steps = 40; - * * @return This builder for chaining. */ public Builder clearNextSteps() { - + nextSteps_ = getDefaultInstance().getNextSteps(); onChanged(); return this; } /** - * - * *
      * Next steps associate to the finding.
      * 
* * string next_steps = 40; - * * @param value The bytes for nextSteps to set. * @return This builder for chaining. */ - public Builder setNextStepsBytes(com.google.protobuf.ByteString value) { + public Builder setNextStepsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextSteps_ = value; onChanged(); return this; } private java.util.List containers_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureContainersIsMutable() { if (!((bitField0_ & 0x00000080) != 0)) { - containers_ = - new java.util.ArrayList(containers_); + containers_ = new java.util.ArrayList(containers_); bitField0_ |= 0x00000080; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.securitycenter.v1.Container, - com.google.cloud.securitycenter.v1.Container.Builder, - com.google.cloud.securitycenter.v1.ContainerOrBuilder> - containersBuilder_; + com.google.cloud.securitycenter.v1.Container, com.google.cloud.securitycenter.v1.Container.Builder, com.google.cloud.securitycenter.v1.ContainerOrBuilder> containersBuilder_; /** - * - * *
      * Containers associated with the finding. containers provides information
      * for both Kubernetes and non-Kubernetes containers.
@@ -10013,8 +9074,6 @@ public java.util.List getContainer
       }
     }
     /**
-     *
-     *
      * 
      * Containers associated with the finding. containers provides information
      * for both Kubernetes and non-Kubernetes containers.
@@ -10030,8 +9089,6 @@ public int getContainersCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Containers associated with the finding. containers provides information
      * for both Kubernetes and non-Kubernetes containers.
@@ -10047,8 +9104,6 @@ public com.google.cloud.securitycenter.v1.Container getContainers(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * Containers associated with the finding. containers provides information
      * for both Kubernetes and non-Kubernetes containers.
@@ -10056,7 +9111,8 @@ public com.google.cloud.securitycenter.v1.Container getContainers(int index) {
      *
      * repeated .google.cloud.securitycenter.v1.Container containers = 42;
      */
-    public Builder setContainers(int index, com.google.cloud.securitycenter.v1.Container value) {
+    public Builder setContainers(
+        int index, com.google.cloud.securitycenter.v1.Container value) {
       if (containersBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -10070,8 +9126,6 @@ public Builder setContainers(int index, com.google.cloud.securitycenter.v1.Conta
       return this;
     }
     /**
-     *
-     *
      * 
      * Containers associated with the finding. containers provides information
      * for both Kubernetes and non-Kubernetes containers.
@@ -10091,8 +9145,6 @@ public Builder setContainers(
       return this;
     }
     /**
-     *
-     *
      * 
      * Containers associated with the finding. containers provides information
      * for both Kubernetes and non-Kubernetes containers.
@@ -10114,8 +9166,6 @@ public Builder addContainers(com.google.cloud.securitycenter.v1.Container value)
       return this;
     }
     /**
-     *
-     *
      * 
      * Containers associated with the finding. containers provides information
      * for both Kubernetes and non-Kubernetes containers.
@@ -10123,7 +9173,8 @@ public Builder addContainers(com.google.cloud.securitycenter.v1.Container value)
      *
      * repeated .google.cloud.securitycenter.v1.Container containers = 42;
      */
-    public Builder addContainers(int index, com.google.cloud.securitycenter.v1.Container value) {
+    public Builder addContainers(
+        int index, com.google.cloud.securitycenter.v1.Container value) {
       if (containersBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -10137,8 +9188,6 @@ public Builder addContainers(int index, com.google.cloud.securitycenter.v1.Conta
       return this;
     }
     /**
-     *
-     *
      * 
      * Containers associated with the finding. containers provides information
      * for both Kubernetes and non-Kubernetes containers.
@@ -10158,8 +9207,6 @@ public Builder addContainers(
       return this;
     }
     /**
-     *
-     *
      * 
      * Containers associated with the finding. containers provides information
      * for both Kubernetes and non-Kubernetes containers.
@@ -10179,8 +9226,6 @@ public Builder addContainers(
       return this;
     }
     /**
-     *
-     *
      * 
      * Containers associated with the finding. containers provides information
      * for both Kubernetes and non-Kubernetes containers.
@@ -10192,7 +9237,8 @@ public Builder addAllContainers(
         java.lang.Iterable values) {
       if (containersBuilder_ == null) {
         ensureContainersIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, containers_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, containers_);
         onChanged();
       } else {
         containersBuilder_.addAllMessages(values);
@@ -10200,8 +9246,6 @@ public Builder addAllContainers(
       return this;
     }
     /**
-     *
-     *
      * 
      * Containers associated with the finding. containers provides information
      * for both Kubernetes and non-Kubernetes containers.
@@ -10220,8 +9264,6 @@ public Builder clearContainers() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Containers associated with the finding. containers provides information
      * for both Kubernetes and non-Kubernetes containers.
@@ -10240,8 +9282,6 @@ public Builder removeContainers(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Containers associated with the finding. containers provides information
      * for both Kubernetes and non-Kubernetes containers.
@@ -10249,12 +9289,11 @@ public Builder removeContainers(int index) {
      *
      * repeated .google.cloud.securitycenter.v1.Container containers = 42;
      */
-    public com.google.cloud.securitycenter.v1.Container.Builder getContainersBuilder(int index) {
+    public com.google.cloud.securitycenter.v1.Container.Builder getContainersBuilder(
+        int index) {
       return getContainersFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * Containers associated with the finding. containers provides information
      * for both Kubernetes and non-Kubernetes containers.
@@ -10262,16 +9301,14 @@ public com.google.cloud.securitycenter.v1.Container.Builder getContainersBuilder
      *
      * repeated .google.cloud.securitycenter.v1.Container containers = 42;
      */
-    public com.google.cloud.securitycenter.v1.ContainerOrBuilder getContainersOrBuilder(int index) {
+    public com.google.cloud.securitycenter.v1.ContainerOrBuilder getContainersOrBuilder(
+        int index) {
       if (containersBuilder_ == null) {
-        return containers_.get(index);
-      } else {
+        return containers_.get(index);  } else {
         return containersBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * Containers associated with the finding. containers provides information
      * for both Kubernetes and non-Kubernetes containers.
@@ -10279,8 +9316,8 @@ public com.google.cloud.securitycenter.v1.ContainerOrBuilder getContainersOrBuil
      *
      * repeated .google.cloud.securitycenter.v1.Container containers = 42;
      */
-    public java.util.List
-        getContainersOrBuilderList() {
+    public java.util.List 
+         getContainersOrBuilderList() {
       if (containersBuilder_ != null) {
         return containersBuilder_.getMessageOrBuilderList();
       } else {
@@ -10288,8 +9325,6 @@ public com.google.cloud.securitycenter.v1.ContainerOrBuilder getContainersOrBuil
       }
     }
     /**
-     *
-     *
      * 
      * Containers associated with the finding. containers provides information
      * for both Kubernetes and non-Kubernetes containers.
@@ -10298,12 +9333,10 @@ public com.google.cloud.securitycenter.v1.ContainerOrBuilder getContainersOrBuil
      * repeated .google.cloud.securitycenter.v1.Container containers = 42;
      */
     public com.google.cloud.securitycenter.v1.Container.Builder addContainersBuilder() {
-      return getContainersFieldBuilder()
-          .addBuilder(com.google.cloud.securitycenter.v1.Container.getDefaultInstance());
+      return getContainersFieldBuilder().addBuilder(
+          com.google.cloud.securitycenter.v1.Container.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Containers associated with the finding. containers provides information
      * for both Kubernetes and non-Kubernetes containers.
@@ -10311,13 +9344,12 @@ public com.google.cloud.securitycenter.v1.Container.Builder addContainersBuilder
      *
      * repeated .google.cloud.securitycenter.v1.Container containers = 42;
      */
-    public com.google.cloud.securitycenter.v1.Container.Builder addContainersBuilder(int index) {
-      return getContainersFieldBuilder()
-          .addBuilder(index, com.google.cloud.securitycenter.v1.Container.getDefaultInstance());
+    public com.google.cloud.securitycenter.v1.Container.Builder addContainersBuilder(
+        int index) {
+      return getContainersFieldBuilder().addBuilder(
+          index, com.google.cloud.securitycenter.v1.Container.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Containers associated with the finding. containers provides information
      * for both Kubernetes and non-Kubernetes containers.
@@ -10325,23 +9357,20 @@ public com.google.cloud.securitycenter.v1.Container.Builder addContainersBuilder
      *
      * repeated .google.cloud.securitycenter.v1.Container containers = 42;
      */
-    public java.util.List
-        getContainersBuilderList() {
+    public java.util.List 
+         getContainersBuilderList() {
       return getContainersFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.securitycenter.v1.Container,
-            com.google.cloud.securitycenter.v1.Container.Builder,
-            com.google.cloud.securitycenter.v1.ContainerOrBuilder>
+        com.google.cloud.securitycenter.v1.Container, com.google.cloud.securitycenter.v1.Container.Builder, com.google.cloud.securitycenter.v1.ContainerOrBuilder> 
         getContainersFieldBuilder() {
       if (containersBuilder_ == null) {
-        containersBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.cloud.securitycenter.v1.Container,
-                com.google.cloud.securitycenter.v1.Container.Builder,
-                com.google.cloud.securitycenter.v1.ContainerOrBuilder>(
-                containers_, ((bitField0_ & 0x00000080) != 0), getParentForChildren(), isClean());
+        containersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.cloud.securitycenter.v1.Container, com.google.cloud.securitycenter.v1.Container.Builder, com.google.cloud.securitycenter.v1.ContainerOrBuilder>(
+                containers_,
+                ((bitField0_ & 0x00000080) != 0),
+                getParentForChildren(),
+                isClean());
         containers_ = null;
       }
       return containersBuilder_;
@@ -10349,47 +9378,34 @@ public com.google.cloud.securitycenter.v1.Container.Builder addContainersBuilder
 
     private com.google.cloud.securitycenter.v1.Kubernetes kubernetes_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.securitycenter.v1.Kubernetes,
-            com.google.cloud.securitycenter.v1.Kubernetes.Builder,
-            com.google.cloud.securitycenter.v1.KubernetesOrBuilder>
-        kubernetesBuilder_;
+        com.google.cloud.securitycenter.v1.Kubernetes, com.google.cloud.securitycenter.v1.Kubernetes.Builder, com.google.cloud.securitycenter.v1.KubernetesOrBuilder> kubernetesBuilder_;
     /**
-     *
-     *
      * 
      * Kubernetes resources associated with the finding.
      * 
* * .google.cloud.securitycenter.v1.Kubernetes kubernetes = 43; - * * @return Whether the kubernetes field is set. */ public boolean hasKubernetes() { return kubernetesBuilder_ != null || kubernetes_ != null; } /** - * - * *
      * Kubernetes resources associated with the finding.
      * 
* * .google.cloud.securitycenter.v1.Kubernetes kubernetes = 43; - * * @return The kubernetes. */ public com.google.cloud.securitycenter.v1.Kubernetes getKubernetes() { if (kubernetesBuilder_ == null) { - return kubernetes_ == null - ? com.google.cloud.securitycenter.v1.Kubernetes.getDefaultInstance() - : kubernetes_; + return kubernetes_ == null ? com.google.cloud.securitycenter.v1.Kubernetes.getDefaultInstance() : kubernetes_; } else { return kubernetesBuilder_.getMessage(); } } /** - * - * *
      * Kubernetes resources associated with the finding.
      * 
@@ -10410,8 +9426,6 @@ public Builder setKubernetes(com.google.cloud.securitycenter.v1.Kubernetes value return this; } /** - * - * *
      * Kubernetes resources associated with the finding.
      * 
@@ -10430,8 +9444,6 @@ public Builder setKubernetes( return this; } /** - * - * *
      * Kubernetes resources associated with the finding.
      * 
@@ -10442,9 +9454,7 @@ public Builder mergeKubernetes(com.google.cloud.securitycenter.v1.Kubernetes val if (kubernetesBuilder_ == null) { if (kubernetes_ != null) { kubernetes_ = - com.google.cloud.securitycenter.v1.Kubernetes.newBuilder(kubernetes_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.securitycenter.v1.Kubernetes.newBuilder(kubernetes_).mergeFrom(value).buildPartial(); } else { kubernetes_ = value; } @@ -10456,8 +9466,6 @@ public Builder mergeKubernetes(com.google.cloud.securitycenter.v1.Kubernetes val return this; } /** - * - * *
      * Kubernetes resources associated with the finding.
      * 
@@ -10476,8 +9484,6 @@ public Builder clearKubernetes() { return this; } /** - * - * *
      * Kubernetes resources associated with the finding.
      * 
@@ -10485,13 +9491,11 @@ public Builder clearKubernetes() { * .google.cloud.securitycenter.v1.Kubernetes kubernetes = 43; */ public com.google.cloud.securitycenter.v1.Kubernetes.Builder getKubernetesBuilder() { - + onChanged(); return getKubernetesFieldBuilder().getBuilder(); } /** - * - * *
      * Kubernetes resources associated with the finding.
      * 
@@ -10502,14 +9506,11 @@ public com.google.cloud.securitycenter.v1.KubernetesOrBuilder getKubernetesOrBui if (kubernetesBuilder_ != null) { return kubernetesBuilder_.getMessageOrBuilder(); } else { - return kubernetes_ == null - ? com.google.cloud.securitycenter.v1.Kubernetes.getDefaultInstance() - : kubernetes_; + return kubernetes_ == null ? + com.google.cloud.securitycenter.v1.Kubernetes.getDefaultInstance() : kubernetes_; } } /** - * - * *
      * Kubernetes resources associated with the finding.
      * 
@@ -10517,17 +9518,14 @@ public com.google.cloud.securitycenter.v1.KubernetesOrBuilder getKubernetesOrBui * .google.cloud.securitycenter.v1.Kubernetes kubernetes = 43; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.securitycenter.v1.Kubernetes, - com.google.cloud.securitycenter.v1.Kubernetes.Builder, - com.google.cloud.securitycenter.v1.KubernetesOrBuilder> + com.google.cloud.securitycenter.v1.Kubernetes, com.google.cloud.securitycenter.v1.Kubernetes.Builder, com.google.cloud.securitycenter.v1.KubernetesOrBuilder> getKubernetesFieldBuilder() { if (kubernetesBuilder_ == null) { - kubernetesBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.securitycenter.v1.Kubernetes, - com.google.cloud.securitycenter.v1.Kubernetes.Builder, - com.google.cloud.securitycenter.v1.KubernetesOrBuilder>( - getKubernetes(), getParentForChildren(), isClean()); + kubernetesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.securitycenter.v1.Kubernetes, com.google.cloud.securitycenter.v1.Kubernetes.Builder, com.google.cloud.securitycenter.v1.KubernetesOrBuilder>( + getKubernetes(), + getParentForChildren(), + isClean()); kubernetes_ = null; } return kubernetesBuilder_; @@ -10535,47 +9533,34 @@ public com.google.cloud.securitycenter.v1.KubernetesOrBuilder getKubernetesOrBui private com.google.cloud.securitycenter.v1.Database database_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.securitycenter.v1.Database, - com.google.cloud.securitycenter.v1.Database.Builder, - com.google.cloud.securitycenter.v1.DatabaseOrBuilder> - databaseBuilder_; + com.google.cloud.securitycenter.v1.Database, com.google.cloud.securitycenter.v1.Database.Builder, com.google.cloud.securitycenter.v1.DatabaseOrBuilder> databaseBuilder_; /** - * - * *
      * Database associated with the finding.
      * 
* * .google.cloud.securitycenter.v1.Database database = 44; - * * @return Whether the database field is set. */ public boolean hasDatabase() { return databaseBuilder_ != null || database_ != null; } /** - * - * *
      * Database associated with the finding.
      * 
* * .google.cloud.securitycenter.v1.Database database = 44; - * * @return The database. */ public com.google.cloud.securitycenter.v1.Database getDatabase() { if (databaseBuilder_ == null) { - return database_ == null - ? com.google.cloud.securitycenter.v1.Database.getDefaultInstance() - : database_; + return database_ == null ? com.google.cloud.securitycenter.v1.Database.getDefaultInstance() : database_; } else { return databaseBuilder_.getMessage(); } } /** - * - * *
      * Database associated with the finding.
      * 
@@ -10596,8 +9581,6 @@ public Builder setDatabase(com.google.cloud.securitycenter.v1.Database value) { return this; } /** - * - * *
      * Database associated with the finding.
      * 
@@ -10616,8 +9599,6 @@ public Builder setDatabase( return this; } /** - * - * *
      * Database associated with the finding.
      * 
@@ -10628,9 +9609,7 @@ public Builder mergeDatabase(com.google.cloud.securitycenter.v1.Database value) if (databaseBuilder_ == null) { if (database_ != null) { database_ = - com.google.cloud.securitycenter.v1.Database.newBuilder(database_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.securitycenter.v1.Database.newBuilder(database_).mergeFrom(value).buildPartial(); } else { database_ = value; } @@ -10642,8 +9621,6 @@ public Builder mergeDatabase(com.google.cloud.securitycenter.v1.Database value) return this; } /** - * - * *
      * Database associated with the finding.
      * 
@@ -10662,8 +9639,6 @@ public Builder clearDatabase() { return this; } /** - * - * *
      * Database associated with the finding.
      * 
@@ -10671,13 +9646,11 @@ public Builder clearDatabase() { * .google.cloud.securitycenter.v1.Database database = 44; */ public com.google.cloud.securitycenter.v1.Database.Builder getDatabaseBuilder() { - + onChanged(); return getDatabaseFieldBuilder().getBuilder(); } /** - * - * *
      * Database associated with the finding.
      * 
@@ -10688,14 +9661,11 @@ public com.google.cloud.securitycenter.v1.DatabaseOrBuilder getDatabaseOrBuilder if (databaseBuilder_ != null) { return databaseBuilder_.getMessageOrBuilder(); } else { - return database_ == null - ? com.google.cloud.securitycenter.v1.Database.getDefaultInstance() - : database_; + return database_ == null ? + com.google.cloud.securitycenter.v1.Database.getDefaultInstance() : database_; } } /** - * - * *
      * Database associated with the finding.
      * 
@@ -10703,24 +9673,333 @@ public com.google.cloud.securitycenter.v1.DatabaseOrBuilder getDatabaseOrBuilder * .google.cloud.securitycenter.v1.Database database = 44; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.securitycenter.v1.Database, - com.google.cloud.securitycenter.v1.Database.Builder, - com.google.cloud.securitycenter.v1.DatabaseOrBuilder> + com.google.cloud.securitycenter.v1.Database, com.google.cloud.securitycenter.v1.Database.Builder, com.google.cloud.securitycenter.v1.DatabaseOrBuilder> getDatabaseFieldBuilder() { if (databaseBuilder_ == null) { - databaseBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.securitycenter.v1.Database, - com.google.cloud.securitycenter.v1.Database.Builder, - com.google.cloud.securitycenter.v1.DatabaseOrBuilder>( - getDatabase(), getParentForChildren(), isClean()); + databaseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.securitycenter.v1.Database, com.google.cloud.securitycenter.v1.Database.Builder, com.google.cloud.securitycenter.v1.DatabaseOrBuilder>( + getDatabase(), + getParentForChildren(), + isClean()); database_ = null; } return databaseBuilder_; } + private java.util.List files_ = + java.util.Collections.emptyList(); + private void ensureFilesIsMutable() { + if (!((bitField0_ & 0x00000100) != 0)) { + files_ = new java.util.ArrayList(files_); + bitField0_ |= 0x00000100; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.securitycenter.v1.File, com.google.cloud.securitycenter.v1.File.Builder, com.google.cloud.securitycenter.v1.FileOrBuilder> filesBuilder_; + + /** + *
+     * File associated with the finding.
+     * 
+ * + * repeated .google.cloud.securitycenter.v1.File files = 46; + */ + public java.util.List getFilesList() { + if (filesBuilder_ == null) { + return java.util.Collections.unmodifiableList(files_); + } else { + return filesBuilder_.getMessageList(); + } + } + /** + *
+     * File associated with the finding.
+     * 
+ * + * repeated .google.cloud.securitycenter.v1.File files = 46; + */ + public int getFilesCount() { + if (filesBuilder_ == null) { + return files_.size(); + } else { + return filesBuilder_.getCount(); + } + } + /** + *
+     * File associated with the finding.
+     * 
+ * + * repeated .google.cloud.securitycenter.v1.File files = 46; + */ + public com.google.cloud.securitycenter.v1.File getFiles(int index) { + if (filesBuilder_ == null) { + return files_.get(index); + } else { + return filesBuilder_.getMessage(index); + } + } + /** + *
+     * File associated with the finding.
+     * 
+ * + * repeated .google.cloud.securitycenter.v1.File files = 46; + */ + public Builder setFiles( + int index, com.google.cloud.securitycenter.v1.File value) { + if (filesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureFilesIsMutable(); + files_.set(index, value); + onChanged(); + } else { + filesBuilder_.setMessage(index, value); + } + return this; + } + /** + *
+     * File associated with the finding.
+     * 
+ * + * repeated .google.cloud.securitycenter.v1.File files = 46; + */ + public Builder setFiles( + int index, com.google.cloud.securitycenter.v1.File.Builder builderForValue) { + if (filesBuilder_ == null) { + ensureFilesIsMutable(); + files_.set(index, builderForValue.build()); + onChanged(); + } else { + filesBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+     * File associated with the finding.
+     * 
+ * + * repeated .google.cloud.securitycenter.v1.File files = 46; + */ + public Builder addFiles(com.google.cloud.securitycenter.v1.File value) { + if (filesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureFilesIsMutable(); + files_.add(value); + onChanged(); + } else { + filesBuilder_.addMessage(value); + } + return this; + } + /** + *
+     * File associated with the finding.
+     * 
+ * + * repeated .google.cloud.securitycenter.v1.File files = 46; + */ + public Builder addFiles( + int index, com.google.cloud.securitycenter.v1.File value) { + if (filesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureFilesIsMutable(); + files_.add(index, value); + onChanged(); + } else { + filesBuilder_.addMessage(index, value); + } + return this; + } + /** + *
+     * File associated with the finding.
+     * 
+ * + * repeated .google.cloud.securitycenter.v1.File files = 46; + */ + public Builder addFiles( + com.google.cloud.securitycenter.v1.File.Builder builderForValue) { + if (filesBuilder_ == null) { + ensureFilesIsMutable(); + files_.add(builderForValue.build()); + onChanged(); + } else { + filesBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + *
+     * File associated with the finding.
+     * 
+ * + * repeated .google.cloud.securitycenter.v1.File files = 46; + */ + public Builder addFiles( + int index, com.google.cloud.securitycenter.v1.File.Builder builderForValue) { + if (filesBuilder_ == null) { + ensureFilesIsMutable(); + files_.add(index, builderForValue.build()); + onChanged(); + } else { + filesBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+     * File associated with the finding.
+     * 
+ * + * repeated .google.cloud.securitycenter.v1.File files = 46; + */ + public Builder addAllFiles( + java.lang.Iterable values) { + if (filesBuilder_ == null) { + ensureFilesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, files_); + onChanged(); + } else { + filesBuilder_.addAllMessages(values); + } + return this; + } + /** + *
+     * File associated with the finding.
+     * 
+ * + * repeated .google.cloud.securitycenter.v1.File files = 46; + */ + public Builder clearFiles() { + if (filesBuilder_ == null) { + files_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000100); + onChanged(); + } else { + filesBuilder_.clear(); + } + return this; + } + /** + *
+     * File associated with the finding.
+     * 
+ * + * repeated .google.cloud.securitycenter.v1.File files = 46; + */ + public Builder removeFiles(int index) { + if (filesBuilder_ == null) { + ensureFilesIsMutable(); + files_.remove(index); + onChanged(); + } else { + filesBuilder_.remove(index); + } + return this; + } + /** + *
+     * File associated with the finding.
+     * 
+ * + * repeated .google.cloud.securitycenter.v1.File files = 46; + */ + public com.google.cloud.securitycenter.v1.File.Builder getFilesBuilder( + int index) { + return getFilesFieldBuilder().getBuilder(index); + } + /** + *
+     * File associated with the finding.
+     * 
+ * + * repeated .google.cloud.securitycenter.v1.File files = 46; + */ + public com.google.cloud.securitycenter.v1.FileOrBuilder getFilesOrBuilder( + int index) { + if (filesBuilder_ == null) { + return files_.get(index); } else { + return filesBuilder_.getMessageOrBuilder(index); + } + } + /** + *
+     * File associated with the finding.
+     * 
+ * + * repeated .google.cloud.securitycenter.v1.File files = 46; + */ + public java.util.List + getFilesOrBuilderList() { + if (filesBuilder_ != null) { + return filesBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(files_); + } + } + /** + *
+     * File associated with the finding.
+     * 
+ * + * repeated .google.cloud.securitycenter.v1.File files = 46; + */ + public com.google.cloud.securitycenter.v1.File.Builder addFilesBuilder() { + return getFilesFieldBuilder().addBuilder( + com.google.cloud.securitycenter.v1.File.getDefaultInstance()); + } + /** + *
+     * File associated with the finding.
+     * 
+ * + * repeated .google.cloud.securitycenter.v1.File files = 46; + */ + public com.google.cloud.securitycenter.v1.File.Builder addFilesBuilder( + int index) { + return getFilesFieldBuilder().addBuilder( + index, com.google.cloud.securitycenter.v1.File.getDefaultInstance()); + } + /** + *
+     * File associated with the finding.
+     * 
+ * + * repeated .google.cloud.securitycenter.v1.File files = 46; + */ + public java.util.List + getFilesBuilderList() { + return getFilesFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.securitycenter.v1.File, com.google.cloud.securitycenter.v1.File.Builder, com.google.cloud.securitycenter.v1.FileOrBuilder> + getFilesFieldBuilder() { + if (filesBuilder_ == null) { + filesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.securitycenter.v1.File, com.google.cloud.securitycenter.v1.File.Builder, com.google.cloud.securitycenter.v1.FileOrBuilder>( + files_, + ((bitField0_ & 0x00000100) != 0), + getParentForChildren(), + isClean()); + files_ = null; + } + return filesBuilder_; + } @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -10730,12 +10009,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.securitycenter.v1.Finding) } // @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1.Finding) private static final com.google.cloud.securitycenter.v1.Finding DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.securitycenter.v1.Finding(); } @@ -10744,27 +10023,27 @@ public static com.google.cloud.securitycenter.v1.Finding getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Finding parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - 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 Finding parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + 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; @@ -10779,4 +10058,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.securitycenter.v1.Finding getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FindingName.java b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FindingName.java similarity index 100% rename from java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FindingName.java rename to owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FindingName.java diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FindingOrBuilder.java b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FindingOrBuilder.java similarity index 84% rename from java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FindingOrBuilder.java rename to owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FindingOrBuilder.java index b03a7eec0506..b8631cefd8ef 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FindingOrBuilder.java +++ b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FindingOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/securitycenter/v1/finding.proto package com.google.cloud.securitycenter.v1; -public interface FindingOrBuilder - extends +public interface FindingOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.securitycenter.v1.Finding) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The relative resource name of this finding. See:
    * https://cloud.google.com/apis/design/resource_names#relative_resource_name
@@ -34,13 +16,10 @@ public interface FindingOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The relative resource name of this finding. See:
    * https://cloud.google.com/apis/design/resource_names#relative_resource_name
@@ -49,14 +28,12 @@ public interface FindingOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The relative resource name of the source the finding belongs to. See:
    * https://cloud.google.com/apis/design/resource_names#relative_resource_name
@@ -66,13 +43,10 @@ public interface FindingOrBuilder
    * 
* * string parent = 2; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * The relative resource name of the source the finding belongs to. See:
    * https://cloud.google.com/apis/design/resource_names#relative_resource_name
@@ -82,14 +56,12 @@ public interface FindingOrBuilder
    * 
* * string parent = 2; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * For findings on Google Cloud resources, the full resource
    * name of the Google Cloud resource this finding is for. See:
@@ -100,13 +72,10 @@ public interface FindingOrBuilder
    * 
* * string resource_name = 3; - * * @return The resourceName. */ java.lang.String getResourceName(); /** - * - * *
    * For findings on Google Cloud resources, the full resource
    * name of the Google Cloud resource this finding is for. See:
@@ -117,39 +86,31 @@ public interface FindingOrBuilder
    * 
* * string resource_name = 3; - * * @return The bytes for resourceName. */ - com.google.protobuf.ByteString getResourceNameBytes(); + com.google.protobuf.ByteString + getResourceNameBytes(); /** - * - * *
    * The state of the finding.
    * 
* * .google.cloud.securitycenter.v1.Finding.State state = 4; - * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * The state of the finding.
    * 
* * .google.cloud.securitycenter.v1.Finding.State state = 4; - * * @return The state. */ com.google.cloud.securitycenter.v1.Finding.State getState(); /** - * - * *
    * The additional taxonomy group within findings from a given source.
    * This field is immutable after creation time.
@@ -157,13 +118,10 @@ public interface FindingOrBuilder
    * 
* * string category = 5; - * * @return The category. */ java.lang.String getCategory(); /** - * - * *
    * The additional taxonomy group within findings from a given source.
    * This field is immutable after creation time.
@@ -171,14 +129,12 @@ public interface FindingOrBuilder
    * 
* * string category = 5; - * * @return The bytes for category. */ - com.google.protobuf.ByteString getCategoryBytes(); + com.google.protobuf.ByteString + getCategoryBytes(); /** - * - * *
    * The URI that, if available, points to a web page outside of Security
    * Command Center where additional information about the finding can be found.
@@ -186,13 +142,10 @@ public interface FindingOrBuilder
    * 
* * string external_uri = 6; - * * @return The externalUri. */ java.lang.String getExternalUri(); /** - * - * *
    * The URI that, if available, points to a web page outside of Security
    * Command Center where additional information about the finding can be found.
@@ -200,14 +153,12 @@ public interface FindingOrBuilder
    * 
* * string external_uri = 6; - * * @return The bytes for externalUri. */ - com.google.protobuf.ByteString getExternalUriBytes(); + com.google.protobuf.ByteString + getExternalUriBytes(); /** - * - * *
    * Source specific properties. These properties are managed by the source
    * that writes the finding. The key names in the source_properties map must be
@@ -219,8 +170,6 @@ public interface FindingOrBuilder
    */
   int getSourcePropertiesCount();
   /**
-   *
-   *
    * 
    * Source specific properties. These properties are managed by the source
    * that writes the finding. The key names in the source_properties map must be
@@ -230,13 +179,15 @@ public interface FindingOrBuilder
    *
    * map<string, .google.protobuf.Value> source_properties = 7;
    */
-  boolean containsSourceProperties(java.lang.String key);
-  /** Use {@link #getSourcePropertiesMap()} instead. */
+  boolean containsSourceProperties(
+      java.lang.String key);
+  /**
+   * Use {@link #getSourcePropertiesMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getSourceProperties();
+  java.util.Map
+  getSourceProperties();
   /**
-   *
-   *
    * 
    * Source specific properties. These properties are managed by the source
    * that writes the finding. The key names in the source_properties map must be
@@ -246,10 +197,9 @@ public interface FindingOrBuilder
    *
    * map<string, .google.protobuf.Value> source_properties = 7;
    */
-  java.util.Map getSourcePropertiesMap();
+  java.util.Map
+  getSourcePropertiesMap();
   /**
-   *
-   *
    * 
    * Source specific properties. These properties are managed by the source
    * that writes the finding. The key names in the source_properties map must be
@@ -261,13 +211,11 @@ public interface FindingOrBuilder
    */
 
   /* nullable */
-  com.google.protobuf.Value getSourcePropertiesOrDefault(
+com.google.protobuf.Value getSourcePropertiesOrDefault(
       java.lang.String key,
       /* nullable */
-      com.google.protobuf.Value defaultValue);
+com.google.protobuf.Value defaultValue);
   /**
-   *
-   *
    * 
    * Source specific properties. These properties are managed by the source
    * that writes the finding. The key names in the source_properties map must be
@@ -277,58 +225,44 @@ com.google.protobuf.Value getSourcePropertiesOrDefault(
    *
    * map<string, .google.protobuf.Value> source_properties = 7;
    */
-  com.google.protobuf.Value getSourcePropertiesOrThrow(java.lang.String key);
+
+  com.google.protobuf.Value getSourcePropertiesOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * Output only. User specified security marks. These marks are entirely
    * managed by the user and come from the SecurityMarks resource that belongs
    * to the finding.
    * 
* - * - * .google.cloud.securitycenter.v1.SecurityMarks security_marks = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.securitycenter.v1.SecurityMarks security_marks = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the securityMarks field is set. */ boolean hasSecurityMarks(); /** - * - * *
    * Output only. User specified security marks. These marks are entirely
    * managed by the user and come from the SecurityMarks resource that belongs
    * to the finding.
    * 
* - * - * .google.cloud.securitycenter.v1.SecurityMarks security_marks = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.securitycenter.v1.SecurityMarks security_marks = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The securityMarks. */ com.google.cloud.securitycenter.v1.SecurityMarks getSecurityMarks(); /** - * - * *
    * Output only. User specified security marks. These marks are entirely
    * managed by the user and come from the SecurityMarks resource that belongs
    * to the finding.
    * 
* - * - * .google.cloud.securitycenter.v1.SecurityMarks security_marks = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.securitycenter.v1.SecurityMarks security_marks = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.securitycenter.v1.SecurityMarksOrBuilder getSecurityMarksOrBuilder(); /** - * - * *
    * The time the finding was first detected. If an existing finding is updated,
    * then this is the time the update occurred.
@@ -340,13 +274,10 @@ com.google.protobuf.Value getSourcePropertiesOrDefault(
    * 
* * .google.protobuf.Timestamp event_time = 9; - * * @return Whether the eventTime field is set. */ boolean hasEventTime(); /** - * - * *
    * The time the finding was first detected. If an existing finding is updated,
    * then this is the time the update occurred.
@@ -358,13 +289,10 @@ com.google.protobuf.Value getSourcePropertiesOrDefault(
    * 
* * .google.protobuf.Timestamp event_time = 9; - * * @return The eventTime. */ com.google.protobuf.Timestamp getEventTime(); /** - * - * *
    * The time the finding was first detected. If an existing finding is updated,
    * then this is the time the update occurred.
@@ -380,32 +308,24 @@ com.google.protobuf.Value getSourcePropertiesOrDefault(
   com.google.protobuf.TimestampOrBuilder getEventTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * The time at which the finding was created in Security Command Center.
    * 
* * .google.protobuf.Timestamp create_time = 10; - * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * The time at which the finding was created in Security Command Center.
    * 
* * .google.protobuf.Timestamp create_time = 10; - * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * The time at which the finding was created in Security Command Center.
    * 
@@ -415,35 +335,27 @@ com.google.protobuf.Value getSourcePropertiesOrDefault( com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * The severity of the finding. This field is managed by the source that
    * writes the finding.
    * 
* * .google.cloud.securitycenter.v1.Finding.Severity severity = 12; - * * @return The enum numeric value on the wire for severity. */ int getSeverityValue(); /** - * - * *
    * The severity of the finding. This field is managed by the source that
    * writes the finding.
    * 
* * .google.cloud.securitycenter.v1.Finding.Severity severity = 12; - * * @return The severity. */ com.google.cloud.securitycenter.v1.Finding.Severity getSeverity(); /** - * - * *
    * The canonical name of the finding. It's either
    * "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}",
@@ -454,13 +366,10 @@ com.google.protobuf.Value getSourcePropertiesOrDefault(
    * 
* * string canonical_name = 14; - * * @return The canonicalName. */ java.lang.String getCanonicalName(); /** - * - * *
    * The canonical name of the finding. It's either
    * "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}",
@@ -471,14 +380,12 @@ com.google.protobuf.Value getSourcePropertiesOrDefault(
    * 
* * string canonical_name = 14; - * * @return The bytes for canonicalName. */ - com.google.protobuf.ByteString getCanonicalNameBytes(); + com.google.protobuf.ByteString + getCanonicalNameBytes(); /** - * - * *
    * Indicates the mute state of a finding (either muted, unmuted
    * or undefined). Unlike other attributes of a finding, a finding provider
@@ -486,13 +393,10 @@ com.google.protobuf.Value getSourcePropertiesOrDefault(
    * 
* * .google.cloud.securitycenter.v1.Finding.Mute mute = 15; - * * @return The enum numeric value on the wire for mute. */ int getMuteValue(); /** - * - * *
    * Indicates the mute state of a finding (either muted, unmuted
    * or undefined). Unlike other attributes of a finding, a finding provider
@@ -500,39 +404,30 @@ com.google.protobuf.Value getSourcePropertiesOrDefault(
    * 
* * .google.cloud.securitycenter.v1.Finding.Mute mute = 15; - * * @return The mute. */ com.google.cloud.securitycenter.v1.Finding.Mute getMute(); /** - * - * *
    * The class of the finding.
    * 
* * .google.cloud.securitycenter.v1.Finding.FindingClass finding_class = 17; - * * @return The enum numeric value on the wire for findingClass. */ int getFindingClassValue(); /** - * - * *
    * The class of the finding.
    * 
* * .google.cloud.securitycenter.v1.Finding.FindingClass finding_class = 17; - * * @return The findingClass. */ com.google.cloud.securitycenter.v1.Finding.FindingClass getFindingClass(); /** - * - * *
    * Represents what's commonly known as an Indicator of compromise (IoC) in
    * computer forensics. This is an artifact observed on a network or in an
@@ -542,13 +437,10 @@ com.google.protobuf.Value getSourcePropertiesOrDefault(
    * 
* * .google.cloud.securitycenter.v1.Indicator indicator = 18; - * * @return Whether the indicator field is set. */ boolean hasIndicator(); /** - * - * *
    * Represents what's commonly known as an Indicator of compromise (IoC) in
    * computer forensics. This is an artifact observed on a network or in an
@@ -558,13 +450,10 @@ com.google.protobuf.Value getSourcePropertiesOrDefault(
    * 
* * .google.cloud.securitycenter.v1.Indicator indicator = 18; - * * @return The indicator. */ com.google.cloud.securitycenter.v1.Indicator getIndicator(); /** - * - * *
    * Represents what's commonly known as an Indicator of compromise (IoC) in
    * computer forensics. This is an artifact observed on a network or in an
@@ -578,8 +467,6 @@ com.google.protobuf.Value getSourcePropertiesOrDefault(
   com.google.cloud.securitycenter.v1.IndicatorOrBuilder getIndicatorOrBuilder();
 
   /**
-   *
-   *
    * 
    * Represents vulnerability specific fields like cve, cvss scores etc.
    * CVE stands for Common Vulnerabilities and Exposures
@@ -587,13 +474,10 @@ com.google.protobuf.Value getSourcePropertiesOrDefault(
    * 
* * .google.cloud.securitycenter.v1.Vulnerability vulnerability = 20; - * * @return Whether the vulnerability field is set. */ boolean hasVulnerability(); /** - * - * *
    * Represents vulnerability specific fields like cve, cvss scores etc.
    * CVE stands for Common Vulnerabilities and Exposures
@@ -601,13 +485,10 @@ com.google.protobuf.Value getSourcePropertiesOrDefault(
    * 
* * .google.cloud.securitycenter.v1.Vulnerability vulnerability = 20; - * * @return The vulnerability. */ com.google.cloud.securitycenter.v1.Vulnerability getVulnerability(); /** - * - * *
    * Represents vulnerability specific fields like cve, cvss scores etc.
    * CVE stands for Common Vulnerabilities and Exposures
@@ -619,151 +500,114 @@ com.google.protobuf.Value getSourcePropertiesOrDefault(
   com.google.cloud.securitycenter.v1.VulnerabilityOrBuilder getVulnerabilityOrBuilder();
 
   /**
-   *
-   *
    * 
    * Output only. The most recent time this finding was muted or unmuted.
    * 
* - * - * .google.protobuf.Timestamp mute_update_time = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp mute_update_time = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the muteUpdateTime field is set. */ boolean hasMuteUpdateTime(); /** - * - * *
    * Output only. The most recent time this finding was muted or unmuted.
    * 
* - * - * .google.protobuf.Timestamp mute_update_time = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp mute_update_time = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The muteUpdateTime. */ com.google.protobuf.Timestamp getMuteUpdateTime(); /** - * - * *
    * Output only. The most recent time this finding was muted or unmuted.
    * 
* - * - * .google.protobuf.Timestamp mute_update_time = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp mute_update_time = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getMuteUpdateTimeOrBuilder(); /** - * - * *
    * Output only. Third party SIEM/SOAR fields within SCC, contains external system
    * information and external system finding fields.
    * 
* - * - * map<string, .google.cloud.securitycenter.v1.ExternalSystem> external_systems = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.cloud.securitycenter.v1.ExternalSystem> external_systems = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ int getExternalSystemsCount(); /** - * - * *
    * Output only. Third party SIEM/SOAR fields within SCC, contains external system
    * information and external system finding fields.
    * 
* - * - * map<string, .google.cloud.securitycenter.v1.ExternalSystem> external_systems = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.cloud.securitycenter.v1.ExternalSystem> external_systems = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + boolean containsExternalSystems( + java.lang.String key); + /** + * Use {@link #getExternalSystemsMap()} instead. */ - boolean containsExternalSystems(java.lang.String key); - /** Use {@link #getExternalSystemsMap()} instead. */ @java.lang.Deprecated java.util.Map - getExternalSystems(); + getExternalSystems(); /** - * - * *
    * Output only. Third party SIEM/SOAR fields within SCC, contains external system
    * information and external system finding fields.
    * 
* - * - * map<string, .google.cloud.securitycenter.v1.ExternalSystem> external_systems = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.cloud.securitycenter.v1.ExternalSystem> external_systems = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ java.util.Map - getExternalSystemsMap(); + getExternalSystemsMap(); /** - * - * *
    * Output only. Third party SIEM/SOAR fields within SCC, contains external system
    * information and external system finding fields.
    * 
* - * - * map<string, .google.cloud.securitycenter.v1.ExternalSystem> external_systems = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.cloud.securitycenter.v1.ExternalSystem> external_systems = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ /* nullable */ - com.google.cloud.securitycenter.v1.ExternalSystem getExternalSystemsOrDefault( +com.google.cloud.securitycenter.v1.ExternalSystem getExternalSystemsOrDefault( java.lang.String key, /* nullable */ - com.google.cloud.securitycenter.v1.ExternalSystem defaultValue); +com.google.cloud.securitycenter.v1.ExternalSystem defaultValue); /** - * - * *
    * Output only. Third party SIEM/SOAR fields within SCC, contains external system
    * information and external system finding fields.
    * 
* - * - * map<string, .google.cloud.securitycenter.v1.ExternalSystem> external_systems = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.cloud.securitycenter.v1.ExternalSystem> external_systems = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - com.google.cloud.securitycenter.v1.ExternalSystem getExternalSystemsOrThrow(java.lang.String key); + + com.google.cloud.securitycenter.v1.ExternalSystem getExternalSystemsOrThrow( + java.lang.String key); /** - * - * *
    * MITRE ATT&CK tactics and techniques related to this finding.
    * See: https://attack.mitre.org
    * 
* * .google.cloud.securitycenter.v1.MitreAttack mitre_attack = 25; - * * @return Whether the mitreAttack field is set. */ boolean hasMitreAttack(); /** - * - * *
    * MITRE ATT&CK tactics and techniques related to this finding.
    * See: https://attack.mitre.org
    * 
* * .google.cloud.securitycenter.v1.MitreAttack mitre_attack = 25; - * * @return The mitreAttack. */ com.google.cloud.securitycenter.v1.MitreAttack getMitreAttack(); /** - * - * *
    * MITRE ATT&CK tactics and techniques related to this finding.
    * See: https://attack.mitre.org
@@ -774,34 +618,26 @@ com.google.cloud.securitycenter.v1.ExternalSystem getExternalSystemsOrDefault(
   com.google.cloud.securitycenter.v1.MitreAttackOrBuilder getMitreAttackOrBuilder();
 
   /**
-   *
-   *
    * 
    * Access details associated to the Finding, such as more information on the
    * caller, which method was accessed, from where, etc.
    * 
* * .google.cloud.securitycenter.v1.Access access = 26; - * * @return Whether the access field is set. */ boolean hasAccess(); /** - * - * *
    * Access details associated to the Finding, such as more information on the
    * caller, which method was accessed, from where, etc.
    * 
* * .google.cloud.securitycenter.v1.Access access = 26; - * * @return The access. */ com.google.cloud.securitycenter.v1.Access getAccess(); /** - * - * *
    * Access details associated to the Finding, such as more information on the
    * caller, which method was accessed, from where, etc.
@@ -812,18 +648,15 @@ com.google.cloud.securitycenter.v1.ExternalSystem getExternalSystemsOrDefault(
   com.google.cloud.securitycenter.v1.AccessOrBuilder getAccessOrBuilder();
 
   /**
-   *
-   *
    * 
    * Contains information about the IP connection associated with the finding.
    * 
* * repeated .google.cloud.securitycenter.v1.Connection connections = 31; */ - java.util.List getConnectionsList(); + java.util.List + getConnectionsList(); /** - * - * *
    * Contains information about the IP connection associated with the finding.
    * 
@@ -832,8 +665,6 @@ com.google.cloud.securitycenter.v1.ExternalSystem getExternalSystemsOrDefault( */ com.google.cloud.securitycenter.v1.Connection getConnections(int index); /** - * - * *
    * Contains information about the IP connection associated with the finding.
    * 
@@ -842,30 +673,25 @@ com.google.cloud.securitycenter.v1.ExternalSystem getExternalSystemsOrDefault( */ int getConnectionsCount(); /** - * - * *
    * Contains information about the IP connection associated with the finding.
    * 
* * repeated .google.cloud.securitycenter.v1.Connection connections = 31; */ - java.util.List + java.util.List getConnectionsOrBuilderList(); /** - * - * *
    * Contains information about the IP connection associated with the finding.
    * 
* * repeated .google.cloud.securitycenter.v1.Connection connections = 31; */ - com.google.cloud.securitycenter.v1.ConnectionOrBuilder getConnectionsOrBuilder(int index); + com.google.cloud.securitycenter.v1.ConnectionOrBuilder getConnectionsOrBuilder( + int index); /** - * - * *
    * First known as mute_annotation. Records additional information about the
    * mute operation e.g. mute config that muted the finding, user who muted the
@@ -874,13 +700,10 @@ com.google.cloud.securitycenter.v1.ExternalSystem getExternalSystemsOrDefault(
    * 
* * string mute_initiator = 28; - * * @return The muteInitiator. */ java.lang.String getMuteInitiator(); /** - * - * *
    * First known as mute_annotation. Records additional information about the
    * mute operation e.g. mute config that muted the finding, user who muted the
@@ -889,24 +712,21 @@ com.google.cloud.securitycenter.v1.ExternalSystem getExternalSystemsOrDefault(
    * 
* * string mute_initiator = 28; - * * @return The bytes for muteInitiator. */ - com.google.protobuf.ByteString getMuteInitiatorBytes(); + com.google.protobuf.ByteString + getMuteInitiatorBytes(); /** - * - * *
    * Represents operating system processes associated with the Finding.
    * 
* * repeated .google.cloud.securitycenter.v1.Process processes = 30; */ - java.util.List getProcessesList(); + java.util.List + getProcessesList(); /** - * - * *
    * Represents operating system processes associated with the Finding.
    * 
@@ -915,8 +735,6 @@ com.google.cloud.securitycenter.v1.ExternalSystem getExternalSystemsOrDefault( */ com.google.cloud.securitycenter.v1.Process getProcesses(int index); /** - * - * *
    * Represents operating system processes associated with the Finding.
    * 
@@ -925,30 +743,25 @@ com.google.cloud.securitycenter.v1.ExternalSystem getExternalSystemsOrDefault( */ int getProcessesCount(); /** - * - * *
    * Represents operating system processes associated with the Finding.
    * 
* * repeated .google.cloud.securitycenter.v1.Process processes = 30; */ - java.util.List + java.util.List getProcessesOrBuilderList(); /** - * - * *
    * Represents operating system processes associated with the Finding.
    * 
* * repeated .google.cloud.securitycenter.v1.Process processes = 30; */ - com.google.cloud.securitycenter.v1.ProcessOrBuilder getProcessesOrBuilder(int index); + com.google.cloud.securitycenter.v1.ProcessOrBuilder getProcessesOrBuilder( + int index); /** - * - * *
    * Output only. Map containing the points of contact for the given finding. The key
    * represents the type of contact, while the value contains a list of all the
@@ -968,14 +781,10 @@ com.google.cloud.securitycenter.v1.ExternalSystem getExternalSystemsOrDefault(
    *     }
    * 
* - * - * map<string, .google.cloud.securitycenter.v1.ContactDetails> contacts = 33 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.cloud.securitycenter.v1.ContactDetails> contacts = 33 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ int getContactsCount(); /** - * - * *
    * Output only. Map containing the points of contact for the given finding. The key
    * represents the type of contact, while the value contains a list of all the
@@ -995,17 +804,17 @@ com.google.cloud.securitycenter.v1.ExternalSystem getExternalSystemsOrDefault(
    *     }
    * 
* - * - * map<string, .google.cloud.securitycenter.v1.ContactDetails> contacts = 33 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.cloud.securitycenter.v1.ContactDetails> contacts = 33 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + boolean containsContacts( + java.lang.String key); + /** + * Use {@link #getContactsMap()} instead. */ - boolean containsContacts(java.lang.String key); - /** Use {@link #getContactsMap()} instead. */ @java.lang.Deprecated - java.util.Map getContacts(); + java.util.Map + getContacts(); /** - * - * *
    * Output only. Map containing the points of contact for the given finding. The key
    * represents the type of contact, while the value contains a list of all the
@@ -1025,15 +834,11 @@ com.google.cloud.securitycenter.v1.ExternalSystem getExternalSystemsOrDefault(
    *     }
    * 
* - * - * map<string, .google.cloud.securitycenter.v1.ContactDetails> contacts = 33 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.cloud.securitycenter.v1.ContactDetails> contacts = 33 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ java.util.Map - getContactsMap(); + getContactsMap(); /** - * - * *
    * Output only. Map containing the points of contact for the given finding. The key
    * represents the type of contact, while the value contains a list of all the
@@ -1053,19 +858,15 @@ com.google.cloud.securitycenter.v1.ExternalSystem getExternalSystemsOrDefault(
    *     }
    * 
* - * - * map<string, .google.cloud.securitycenter.v1.ContactDetails> contacts = 33 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.cloud.securitycenter.v1.ContactDetails> contacts = 33 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ /* nullable */ - com.google.cloud.securitycenter.v1.ContactDetails getContactsOrDefault( +com.google.cloud.securitycenter.v1.ContactDetails getContactsOrDefault( java.lang.String key, /* nullable */ - com.google.cloud.securitycenter.v1.ContactDetails defaultValue); +com.google.cloud.securitycenter.v1.ContactDetails defaultValue); /** - * - * *
    * Output only. Map containing the points of contact for the given finding. The key
    * represents the type of contact, while the value contains a list of all the
@@ -1085,15 +886,13 @@ com.google.cloud.securitycenter.v1.ContactDetails getContactsOrDefault(
    *     }
    * 
* - * - * map<string, .google.cloud.securitycenter.v1.ContactDetails> contacts = 33 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.cloud.securitycenter.v1.ContactDetails> contacts = 33 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - com.google.cloud.securitycenter.v1.ContactDetails getContactsOrThrow(java.lang.String key); + + com.google.cloud.securitycenter.v1.ContactDetails getContactsOrThrow( + java.lang.String key); /** - * - * *
    * Contains compliance information for security standards associated to the
    * finding.
@@ -1101,10 +900,9 @@ com.google.cloud.securitycenter.v1.ContactDetails getContactsOrDefault(
    *
    * repeated .google.cloud.securitycenter.v1.Compliance compliances = 34;
    */
-  java.util.List getCompliancesList();
+  java.util.List 
+      getCompliancesList();
   /**
-   *
-   *
    * 
    * Contains compliance information for security standards associated to the
    * finding.
@@ -1114,8 +912,6 @@ com.google.cloud.securitycenter.v1.ContactDetails getContactsOrDefault(
    */
   com.google.cloud.securitycenter.v1.Compliance getCompliances(int index);
   /**
-   *
-   *
    * 
    * Contains compliance information for security standards associated to the
    * finding.
@@ -1125,8 +921,6 @@ com.google.cloud.securitycenter.v1.ContactDetails getContactsOrDefault(
    */
   int getCompliancesCount();
   /**
-   *
-   *
    * 
    * Contains compliance information for security standards associated to the
    * finding.
@@ -1134,11 +928,9 @@ com.google.cloud.securitycenter.v1.ContactDetails getContactsOrDefault(
    *
    * repeated .google.cloud.securitycenter.v1.Compliance compliances = 34;
    */
-  java.util.List
+  java.util.List 
       getCompliancesOrBuilderList();
   /**
-   *
-   *
    * 
    * Contains compliance information for security standards associated to the
    * finding.
@@ -1146,87 +938,70 @@ com.google.cloud.securitycenter.v1.ContactDetails getContactsOrDefault(
    *
    * repeated .google.cloud.securitycenter.v1.Compliance compliances = 34;
    */
-  com.google.cloud.securitycenter.v1.ComplianceOrBuilder getCompliancesOrBuilder(int index);
+  com.google.cloud.securitycenter.v1.ComplianceOrBuilder getCompliancesOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * Output only. The human readable display name of the finding source such as
    * "Event Threat Detection" or "Security Health Analytics".
    * 
* * string parent_display_name = 36 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The parentDisplayName. */ java.lang.String getParentDisplayName(); /** - * - * *
    * Output only. The human readable display name of the finding source such as
    * "Event Threat Detection" or "Security Health Analytics".
    * 
* * string parent_display_name = 36 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for parentDisplayName. */ - com.google.protobuf.ByteString getParentDisplayNameBytes(); + com.google.protobuf.ByteString + getParentDisplayNameBytes(); /** - * - * *
    * Contains more detail about the finding.
    * 
* * string description = 37; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * Contains more detail about the finding.
    * 
* * string description = 37; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * Represents exfiltration associated with the Finding.
    * 
* * .google.cloud.securitycenter.v1.Exfiltration exfiltration = 38; - * * @return Whether the exfiltration field is set. */ boolean hasExfiltration(); /** - * - * *
    * Represents exfiltration associated with the Finding.
    * 
* * .google.cloud.securitycenter.v1.Exfiltration exfiltration = 38; - * * @return The exfiltration. */ com.google.cloud.securitycenter.v1.Exfiltration getExfiltration(); /** - * - * *
    * Represents exfiltration associated with the Finding.
    * 
@@ -1236,18 +1011,15 @@ com.google.cloud.securitycenter.v1.ContactDetails getContactsOrDefault( com.google.cloud.securitycenter.v1.ExfiltrationOrBuilder getExfiltrationOrBuilder(); /** - * - * *
    * Represents IAM bindings associated with the Finding.
    * 
* * repeated .google.cloud.securitycenter.v1.IamBinding iam_bindings = 39; */ - java.util.List getIamBindingsList(); + java.util.List + getIamBindingsList(); /** - * - * *
    * Represents IAM bindings associated with the Finding.
    * 
@@ -1256,8 +1028,6 @@ com.google.cloud.securitycenter.v1.ContactDetails getContactsOrDefault( */ com.google.cloud.securitycenter.v1.IamBinding getIamBindings(int index); /** - * - * *
    * Represents IAM bindings associated with the Finding.
    * 
@@ -1266,55 +1036,45 @@ com.google.cloud.securitycenter.v1.ContactDetails getContactsOrDefault( */ int getIamBindingsCount(); /** - * - * *
    * Represents IAM bindings associated with the Finding.
    * 
* * repeated .google.cloud.securitycenter.v1.IamBinding iam_bindings = 39; */ - java.util.List + java.util.List getIamBindingsOrBuilderList(); /** - * - * *
    * Represents IAM bindings associated with the Finding.
    * 
* * repeated .google.cloud.securitycenter.v1.IamBinding iam_bindings = 39; */ - com.google.cloud.securitycenter.v1.IamBindingOrBuilder getIamBindingsOrBuilder(int index); + com.google.cloud.securitycenter.v1.IamBindingOrBuilder getIamBindingsOrBuilder( + int index); /** - * - * *
    * Next steps associate to the finding.
    * 
* * string next_steps = 40; - * * @return The nextSteps. */ java.lang.String getNextSteps(); /** - * - * *
    * Next steps associate to the finding.
    * 
* * string next_steps = 40; - * * @return The bytes for nextSteps. */ - com.google.protobuf.ByteString getNextStepsBytes(); + com.google.protobuf.ByteString + getNextStepsBytes(); /** - * - * *
    * Containers associated with the finding. containers provides information
    * for both Kubernetes and non-Kubernetes containers.
@@ -1322,10 +1082,9 @@ com.google.cloud.securitycenter.v1.ContactDetails getContactsOrDefault(
    *
    * repeated .google.cloud.securitycenter.v1.Container containers = 42;
    */
-  java.util.List getContainersList();
+  java.util.List 
+      getContainersList();
   /**
-   *
-   *
    * 
    * Containers associated with the finding. containers provides information
    * for both Kubernetes and non-Kubernetes containers.
@@ -1335,8 +1094,6 @@ com.google.cloud.securitycenter.v1.ContactDetails getContactsOrDefault(
    */
   com.google.cloud.securitycenter.v1.Container getContainers(int index);
   /**
-   *
-   *
    * 
    * Containers associated with the finding. containers provides information
    * for both Kubernetes and non-Kubernetes containers.
@@ -1346,8 +1103,6 @@ com.google.cloud.securitycenter.v1.ContactDetails getContactsOrDefault(
    */
   int getContainersCount();
   /**
-   *
-   *
    * 
    * Containers associated with the finding. containers provides information
    * for both Kubernetes and non-Kubernetes containers.
@@ -1355,11 +1110,9 @@ com.google.cloud.securitycenter.v1.ContactDetails getContactsOrDefault(
    *
    * repeated .google.cloud.securitycenter.v1.Container containers = 42;
    */
-  java.util.List
+  java.util.List 
       getContainersOrBuilderList();
   /**
-   *
-   *
    * 
    * Containers associated with the finding. containers provides information
    * for both Kubernetes and non-Kubernetes containers.
@@ -1367,35 +1120,28 @@ com.google.cloud.securitycenter.v1.ContactDetails getContactsOrDefault(
    *
    * repeated .google.cloud.securitycenter.v1.Container containers = 42;
    */
-  com.google.cloud.securitycenter.v1.ContainerOrBuilder getContainersOrBuilder(int index);
+  com.google.cloud.securitycenter.v1.ContainerOrBuilder getContainersOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * Kubernetes resources associated with the finding.
    * 
* * .google.cloud.securitycenter.v1.Kubernetes kubernetes = 43; - * * @return Whether the kubernetes field is set. */ boolean hasKubernetes(); /** - * - * *
    * Kubernetes resources associated with the finding.
    * 
* * .google.cloud.securitycenter.v1.Kubernetes kubernetes = 43; - * * @return The kubernetes. */ com.google.cloud.securitycenter.v1.Kubernetes getKubernetes(); /** - * - * *
    * Kubernetes resources associated with the finding.
    * 
@@ -1405,32 +1151,24 @@ com.google.cloud.securitycenter.v1.ContactDetails getContactsOrDefault( com.google.cloud.securitycenter.v1.KubernetesOrBuilder getKubernetesOrBuilder(); /** - * - * *
    * Database associated with the finding.
    * 
* * .google.cloud.securitycenter.v1.Database database = 44; - * * @return Whether the database field is set. */ boolean hasDatabase(); /** - * - * *
    * Database associated with the finding.
    * 
* * .google.cloud.securitycenter.v1.Database database = 44; - * * @return The database. */ com.google.cloud.securitycenter.v1.Database getDatabase(); /** - * - * *
    * Database associated with the finding.
    * 
@@ -1438,4 +1176,48 @@ com.google.cloud.securitycenter.v1.ContactDetails getContactsOrDefault( * .google.cloud.securitycenter.v1.Database database = 44; */ com.google.cloud.securitycenter.v1.DatabaseOrBuilder getDatabaseOrBuilder(); + + /** + *
+   * File associated with the finding.
+   * 
+ * + * repeated .google.cloud.securitycenter.v1.File files = 46; + */ + java.util.List + getFilesList(); + /** + *
+   * File associated with the finding.
+   * 
+ * + * repeated .google.cloud.securitycenter.v1.File files = 46; + */ + com.google.cloud.securitycenter.v1.File getFiles(int index); + /** + *
+   * File associated with the finding.
+   * 
+ * + * repeated .google.cloud.securitycenter.v1.File files = 46; + */ + int getFilesCount(); + /** + *
+   * File associated with the finding.
+   * 
+ * + * repeated .google.cloud.securitycenter.v1.File files = 46; + */ + java.util.List + getFilesOrBuilderList(); + /** + *
+   * File associated with the finding.
+   * 
+ * + * repeated .google.cloud.securitycenter.v1.File files = 46; + */ + com.google.cloud.securitycenter.v1.FileOrBuilder getFilesOrBuilder( + int index); } diff --git a/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FindingOuterClass.java b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FindingOuterClass.java new file mode 100644 index 000000000000..2732ace560ef --- /dev/null +++ b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FindingOuterClass.java @@ -0,0 +1,221 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/securitycenter/v1/finding.proto + +package com.google.cloud.securitycenter.v1; + +public final class FindingOuterClass { + private FindingOuterClass() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public 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_securitycenter_v1_Finding_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_securitycenter_v1_Finding_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_securitycenter_v1_Finding_SourcePropertiesEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_securitycenter_v1_Finding_SourcePropertiesEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_securitycenter_v1_Finding_ExternalSystemsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_securitycenter_v1_Finding_ExternalSystemsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_securitycenter_v1_Finding_ContactsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_securitycenter_v1_Finding_ContactsEntry_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n,google/cloud/securitycenter/v1/finding" + + ".proto\022\036google.cloud.securitycenter.v1\032\037" + + "google/api/field_behavior.proto\032\031google/" + + "api/resource.proto\032+google/cloud/securit" + + "ycenter/v1/access.proto\032/google/cloud/se" + + "curitycenter/v1/compliance.proto\032/google" + + "/cloud/securitycenter/v1/connection.prot" + + "o\0324google/cloud/securitycenter/v1/contac" + + "t_details.proto\032.google/cloud/securityce" + + "nter/v1/container.proto\032-google/cloud/se" + + "curitycenter/v1/database.proto\0321google/c" + + "loud/securitycenter/v1/exfiltration.prot" + + "o\0324google/cloud/securitycenter/v1/extern" + + "al_system.proto\032)google/cloud/securityce" + + "nter/v1/file.proto\0320google/cloud/securit" + + "ycenter/v1/iam_binding.proto\032.google/clo" + + "ud/securitycenter/v1/indicator.proto\032/go" + + "ogle/cloud/securitycenter/v1/kubernetes." + + "proto\0321google/cloud/securitycenter/v1/mi" + + "tre_attack.proto\032,google/cloud/securityc" + + "enter/v1/process.proto\0323google/cloud/sec" + + "uritycenter/v1/security_marks.proto\0322goo" + + "gle/cloud/securitycenter/v1/vulnerabilit" + + "y.proto\032\034google/protobuf/struct.proto\032\037g" + + "oogle/protobuf/timestamp.proto\"\333\024\n\007Findi" + + "ng\022\014\n\004name\030\001 \001(\t\022\016\n\006parent\030\002 \001(\t\022\025\n\rreso" + + "urce_name\030\003 \001(\t\022<\n\005state\030\004 \001(\0162-.google." + + "cloud.securitycenter.v1.Finding.State\022\020\n" + + "\010category\030\005 \001(\t\022\024\n\014external_uri\030\006 \001(\t\022X\n" + + "\021source_properties\030\007 \003(\0132=.google.cloud." + + "securitycenter.v1.Finding.SourceProperti" + + "esEntry\022J\n\016security_marks\030\010 \001(\0132-.google" + + ".cloud.securitycenter.v1.SecurityMarksB\003" + + "\340A\003\022.\n\nevent_time\030\t \001(\0132\032.google.protobu" + + "f.Timestamp\022/\n\013create_time\030\n \001(\0132\032.googl" + + "e.protobuf.Timestamp\022B\n\010severity\030\014 \001(\01620" + + ".google.cloud.securitycenter.v1.Finding." + + "Severity\022\026\n\016canonical_name\030\016 \001(\t\022:\n\004mute" + + "\030\017 \001(\0162,.google.cloud.securitycenter.v1." + + "Finding.Mute\022K\n\rfinding_class\030\021 \001(\01624.go" + + "ogle.cloud.securitycenter.v1.Finding.Fin" + + "dingClass\022<\n\tindicator\030\022 \001(\0132).google.cl" + + "oud.securitycenter.v1.Indicator\022D\n\rvulne" + + "rability\030\024 \001(\0132-.google.cloud.securityce" + + "nter.v1.Vulnerability\0229\n\020mute_update_tim" + + "e\030\025 \001(\0132\032.google.protobuf.TimestampB\003\340A\003" + + "\022[\n\020external_systems\030\026 \003(\0132<.google.clou" + + "d.securitycenter.v1.Finding.ExternalSyst" + + "emsEntryB\003\340A\003\022A\n\014mitre_attack\030\031 \001(\0132+.go" + + "ogle.cloud.securitycenter.v1.MitreAttack" + + "\0226\n\006access\030\032 \001(\0132&.google.cloud.security" + + "center.v1.Access\022?\n\013connections\030\037 \003(\0132*." + + "google.cloud.securitycenter.v1.Connectio" + + "n\022\026\n\016mute_initiator\030\034 \001(\t\022:\n\tprocesses\030\036" + + " \003(\0132\'.google.cloud.securitycenter.v1.Pr" + + "ocess\022L\n\010contacts\030! \003(\01325.google.cloud.s" + + "ecuritycenter.v1.Finding.ContactsEntryB\003" + + "\340A\003\022?\n\013compliances\030\" \003(\0132*.google.cloud." + + "securitycenter.v1.Compliance\022 \n\023parent_d" + + "isplay_name\030$ \001(\tB\003\340A\003\022\023\n\013description\030% " + + "\001(\t\022B\n\014exfiltration\030& \001(\0132,.google.cloud" + + ".securitycenter.v1.Exfiltration\022@\n\014iam_b" + + "indings\030\' \003(\0132*.google.cloud.securitycen" + + "ter.v1.IamBinding\022\022\n\nnext_steps\030( \001(\t\022=\n" + + "\ncontainers\030* \003(\0132).google.cloud.securit" + + "ycenter.v1.Container\022>\n\nkubernetes\030+ \001(\013" + + "2*.google.cloud.securitycenter.v1.Kubern" + + "etes\022:\n\010database\030, \001(\0132(.google.cloud.se" + + "curitycenter.v1.Database\0223\n\005files\030. \003(\0132" + + "$.google.cloud.securitycenter.v1.File\032O\n" + + "\025SourcePropertiesEntry\022\013\n\003key\030\001 \001(\t\022%\n\005v" + + "alue\030\002 \001(\0132\026.google.protobuf.Value:\0028\001\032f" + + "\n\024ExternalSystemsEntry\022\013\n\003key\030\001 \001(\t\022=\n\005v" + + "alue\030\002 \001(\0132..google.cloud.securitycenter" + + ".v1.ExternalSystem:\0028\001\032_\n\rContactsEntry\022" + + "\013\n\003key\030\001 \001(\t\022=\n\005value\030\002 \001(\0132..google.clo" + + "ud.securitycenter.v1.ContactDetails:\0028\001\"" + + "8\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\n\n\006ACTIV" + + "E\020\001\022\014\n\010INACTIVE\020\002\"Q\n\010Severity\022\030\n\024SEVERIT" + + "Y_UNSPECIFIED\020\000\022\014\n\010CRITICAL\020\001\022\010\n\004HIGH\020\002\022" + + "\n\n\006MEDIUM\020\003\022\007\n\003LOW\020\004\"C\n\004Mute\022\024\n\020MUTE_UNS" + + "PECIFIED\020\000\022\t\n\005MUTED\020\001\022\013\n\007UNMUTED\020\002\022\r\n\tUN" + + "DEFINED\020\004\"\202\001\n\014FindingClass\022\035\n\031FINDING_CL" + + "ASS_UNSPECIFIED\020\000\022\n\n\006THREAT\020\001\022\021\n\rVULNERA" + + "BILITY\020\002\022\024\n\020MISCONFIGURATION\020\003\022\017\n\013OBSERV" + + "ATION\020\004\022\r\n\tSCC_ERROR\020\005:\333\001\352A\327\001\n%securityc" + + "enter.googleapis.com/Finding\022@organizati" + + "ons/{organization}/sources/{source}/find" + + "ings/{finding}\0224folders/{folder}/sources" + + "/{source}/findings/{finding}\0226projects/{" + + "project}/sources/{source}/findings/{find" + + "ing}B\332\001\n\"com.google.cloud.securitycenter" + + ".v1P\001ZLgoogle.golang.org/genproto/google" + + "apis/cloud/securitycenter/v1;securitycen" + + "ter\252\002\036Google.Cloud.SecurityCenter.V1\312\002\036G" + + "oogle\\Cloud\\SecurityCenter\\V1\352\002!Google::" + + "Cloud::SecurityCenter::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.cloud.securitycenter.v1.AccessProto.getDescriptor(), + com.google.cloud.securitycenter.v1.ComplianceProto.getDescriptor(), + com.google.cloud.securitycenter.v1.ConnectionProto.getDescriptor(), + com.google.cloud.securitycenter.v1.ContactDetailsProto.getDescriptor(), + com.google.cloud.securitycenter.v1.ContainerProto.getDescriptor(), + com.google.cloud.securitycenter.v1.DatabaseProto.getDescriptor(), + com.google.cloud.securitycenter.v1.ExfiltrationProto.getDescriptor(), + com.google.cloud.securitycenter.v1.ExternalSystemProto.getDescriptor(), + com.google.cloud.securitycenter.v1.FileProto.getDescriptor(), + com.google.cloud.securitycenter.v1.IamBindingProto.getDescriptor(), + com.google.cloud.securitycenter.v1.IndicatorProto.getDescriptor(), + com.google.cloud.securitycenter.v1.KubernetesProto.getDescriptor(), + com.google.cloud.securitycenter.v1.MitreAttackProto.getDescriptor(), + com.google.cloud.securitycenter.v1.ProcessProto.getDescriptor(), + com.google.cloud.securitycenter.v1.SecurityMarksOuterClass.getDescriptor(), + com.google.cloud.securitycenter.v1.VulnerabilityProto.getDescriptor(), + com.google.protobuf.StructProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_cloud_securitycenter_v1_Finding_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_securitycenter_v1_Finding_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_securitycenter_v1_Finding_descriptor, + new java.lang.String[] { "Name", "Parent", "ResourceName", "State", "Category", "ExternalUri", "SourceProperties", "SecurityMarks", "EventTime", "CreateTime", "Severity", "CanonicalName", "Mute", "FindingClass", "Indicator", "Vulnerability", "MuteUpdateTime", "ExternalSystems", "MitreAttack", "Access", "Connections", "MuteInitiator", "Processes", "Contacts", "Compliances", "ParentDisplayName", "Description", "Exfiltration", "IamBindings", "NextSteps", "Containers", "Kubernetes", "Database", "Files", }); + internal_static_google_cloud_securitycenter_v1_Finding_SourcePropertiesEntry_descriptor = + internal_static_google_cloud_securitycenter_v1_Finding_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_securitycenter_v1_Finding_SourcePropertiesEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_securitycenter_v1_Finding_SourcePropertiesEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_securitycenter_v1_Finding_ExternalSystemsEntry_descriptor = + internal_static_google_cloud_securitycenter_v1_Finding_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_securitycenter_v1_Finding_ExternalSystemsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_securitycenter_v1_Finding_ExternalSystemsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_securitycenter_v1_Finding_ContactsEntry_descriptor = + internal_static_google_cloud_securitycenter_v1_Finding_descriptor.getNestedTypes().get(2); + internal_static_google_cloud_securitycenter_v1_Finding_ContactsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_securitycenter_v1_Finding_ContactsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + 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.cloud.securitycenter.v1.AccessProto.getDescriptor(); + com.google.cloud.securitycenter.v1.ComplianceProto.getDescriptor(); + com.google.cloud.securitycenter.v1.ConnectionProto.getDescriptor(); + com.google.cloud.securitycenter.v1.ContactDetailsProto.getDescriptor(); + com.google.cloud.securitycenter.v1.ContainerProto.getDescriptor(); + com.google.cloud.securitycenter.v1.DatabaseProto.getDescriptor(); + com.google.cloud.securitycenter.v1.ExfiltrationProto.getDescriptor(); + com.google.cloud.securitycenter.v1.ExternalSystemProto.getDescriptor(); + com.google.cloud.securitycenter.v1.FileProto.getDescriptor(); + com.google.cloud.securitycenter.v1.IamBindingProto.getDescriptor(); + com.google.cloud.securitycenter.v1.IndicatorProto.getDescriptor(); + com.google.cloud.securitycenter.v1.KubernetesProto.getDescriptor(); + com.google.cloud.securitycenter.v1.MitreAttackProto.getDescriptor(); + com.google.cloud.securitycenter.v1.ProcessProto.getDescriptor(); + com.google.cloud.securitycenter.v1.SecurityMarksOuterClass.getDescriptor(); + com.google.cloud.securitycenter.v1.VulnerabilityProto.getDescriptor(); + com.google.protobuf.StructProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Folder.java b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Folder.java similarity index 67% rename from java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Folder.java rename to owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Folder.java index 258ab9d6f999..d4b7c86996f1 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Folder.java +++ b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Folder.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/securitycenter/v1/folder.proto package com.google.cloud.securitycenter.v1; /** - * - * *
  * Message that contains the resource name and display name of a folder
  * resource.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.securitycenter.v1.Folder}
  */
-public final class Folder extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Folder extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.securitycenter.v1.Folder)
     FolderOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Folder.newBuilder() to construct.
   private Folder(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Folder() {
     resourceFolder_ = "";
     resourceFolderDisplayName_ = "";
@@ -45,42 +27,38 @@ private Folder() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Folder();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.securitycenter.v1.FolderProto
-        .internal_static_google_cloud_securitycenter_v1_Folder_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.securitycenter.v1.FolderProto.internal_static_google_cloud_securitycenter_v1_Folder_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.securitycenter.v1.FolderProto
-        .internal_static_google_cloud_securitycenter_v1_Folder_fieldAccessorTable
+    return com.google.cloud.securitycenter.v1.FolderProto.internal_static_google_cloud_securitycenter_v1_Folder_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.securitycenter.v1.Folder.class,
-            com.google.cloud.securitycenter.v1.Folder.Builder.class);
+            com.google.cloud.securitycenter.v1.Folder.class, com.google.cloud.securitycenter.v1.Folder.Builder.class);
   }
 
   public static final int RESOURCE_FOLDER_FIELD_NUMBER = 1;
   private volatile java.lang.Object resourceFolder_;
   /**
-   *
-   *
    * 
    * Full resource name of this folder. See:
    * https://cloud.google.com/apis/design/resource_names#full_resource_name
    * 
* * string resource_folder = 1; - * * @return The resourceFolder. */ @java.lang.Override @@ -89,30 +67,30 @@ public java.lang.String getResourceFolder() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceFolder_ = s; return s; } } /** - * - * *
    * Full resource name of this folder. See:
    * https://cloud.google.com/apis/design/resource_names#full_resource_name
    * 
* * string resource_folder = 1; - * * @return The bytes for resourceFolder. */ @java.lang.Override - public com.google.protobuf.ByteString getResourceFolderBytes() { + public com.google.protobuf.ByteString + getResourceFolderBytes() { java.lang.Object ref = resourceFolder_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); resourceFolder_ = b; return b; } else { @@ -123,14 +101,11 @@ public com.google.protobuf.ByteString getResourceFolderBytes() { public static final int RESOURCE_FOLDER_DISPLAY_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object resourceFolderDisplayName_; /** - * - * *
    * The user defined display name for this folder.
    * 
* * string resource_folder_display_name = 2; - * * @return The resourceFolderDisplayName. */ @java.lang.Override @@ -139,29 +114,29 @@ public java.lang.String getResourceFolderDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceFolderDisplayName_ = s; return s; } } /** - * - * *
    * The user defined display name for this folder.
    * 
* * string resource_folder_display_name = 2; - * * @return The bytes for resourceFolderDisplayName. */ @java.lang.Override - public com.google.protobuf.ByteString getResourceFolderDisplayNameBytes() { + public com.google.protobuf.ByteString + getResourceFolderDisplayNameBytes() { java.lang.Object ref = resourceFolderDisplayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); resourceFolderDisplayName_ = b; return b; } else { @@ -170,7 +145,6 @@ public com.google.protobuf.ByteString getResourceFolderDisplayNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -182,7 +156,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resourceFolder_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, resourceFolder_); } @@ -202,8 +177,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, resourceFolder_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resourceFolderDisplayName_)) { - size += - com.google.protobuf.GeneratedMessageV3.computeStringSize(2, resourceFolderDisplayName_); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, resourceFolderDisplayName_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -213,16 +187,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.securitycenter.v1.Folder)) { return super.equals(obj); } - com.google.cloud.securitycenter.v1.Folder other = - (com.google.cloud.securitycenter.v1.Folder) obj; + com.google.cloud.securitycenter.v1.Folder other = (com.google.cloud.securitycenter.v1.Folder) obj; - if (!getResourceFolder().equals(other.getResourceFolder())) return false; - if (!getResourceFolderDisplayName().equals(other.getResourceFolderDisplayName())) return false; + if (!getResourceFolder() + .equals(other.getResourceFolder())) return false; + if (!getResourceFolderDisplayName() + .equals(other.getResourceFolderDisplayName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -243,104 +218,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.securitycenter.v1.Folder parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.securitycenter.v1.Folder parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.Folder parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.Folder parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.Folder parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.Folder parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.Folder parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.Folder parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.Folder parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.securitycenter.v1.Folder parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.securitycenter.v1.Folder parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.Folder parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.Folder parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.Folder parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.securitycenter.v1.Folder prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Message that contains the resource name and display name of a folder
    * resource.
@@ -348,32 +316,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.securitycenter.v1.Folder}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.securitycenter.v1.Folder)
       com.google.cloud.securitycenter.v1.FolderOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.securitycenter.v1.FolderProto
-          .internal_static_google_cloud_securitycenter_v1_Folder_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.securitycenter.v1.FolderProto.internal_static_google_cloud_securitycenter_v1_Folder_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.securitycenter.v1.FolderProto
-          .internal_static_google_cloud_securitycenter_v1_Folder_fieldAccessorTable
+      return com.google.cloud.securitycenter.v1.FolderProto.internal_static_google_cloud_securitycenter_v1_Folder_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.securitycenter.v1.Folder.class,
-              com.google.cloud.securitycenter.v1.Folder.Builder.class);
+              com.google.cloud.securitycenter.v1.Folder.class, com.google.cloud.securitycenter.v1.Folder.Builder.class);
     }
 
     // Construct using com.google.cloud.securitycenter.v1.Folder.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();
@@ -385,9 +354,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.securitycenter.v1.FolderProto
-          .internal_static_google_cloud_securitycenter_v1_Folder_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.securitycenter.v1.FolderProto.internal_static_google_cloud_securitycenter_v1_Folder_descriptor;
     }
 
     @java.lang.Override
@@ -406,8 +375,7 @@ public com.google.cloud.securitycenter.v1.Folder build() {
 
     @java.lang.Override
     public com.google.cloud.securitycenter.v1.Folder buildPartial() {
-      com.google.cloud.securitycenter.v1.Folder result =
-          new com.google.cloud.securitycenter.v1.Folder(this);
+      com.google.cloud.securitycenter.v1.Folder result = new com.google.cloud.securitycenter.v1.Folder(this);
       result.resourceFolder_ = resourceFolder_;
       result.resourceFolderDisplayName_ = resourceFolderDisplayName_;
       onBuilt();
@@ -418,39 +386,38 @@ public com.google.cloud.securitycenter.v1.Folder buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.securitycenter.v1.Folder) {
-        return mergeFrom((com.google.cloud.securitycenter.v1.Folder) other);
+        return mergeFrom((com.google.cloud.securitycenter.v1.Folder)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -493,25 +460,22 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                resourceFolder_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            case 18:
-              {
-                resourceFolderDisplayName_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              resourceFolder_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            case 18: {
+              resourceFolderDisplayName_ = input.readStringRequireUtf8();
+
+              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) {
@@ -524,21 +488,19 @@ public Builder mergeFrom(
 
     private java.lang.Object resourceFolder_ = "";
     /**
-     *
-     *
      * 
      * Full resource name of this folder. See:
      * https://cloud.google.com/apis/design/resource_names#full_resource_name
      * 
* * string resource_folder = 1; - * * @return The resourceFolder. */ public java.lang.String getResourceFolder() { java.lang.Object ref = resourceFolder_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceFolder_ = s; return s; @@ -547,22 +509,21 @@ public java.lang.String getResourceFolder() { } } /** - * - * *
      * Full resource name of this folder. See:
      * https://cloud.google.com/apis/design/resource_names#full_resource_name
      * 
* * string resource_folder = 1; - * * @return The bytes for resourceFolder. */ - public com.google.protobuf.ByteString getResourceFolderBytes() { + public com.google.protobuf.ByteString + getResourceFolderBytes() { java.lang.Object ref = resourceFolder_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); resourceFolder_ = b; return b; } else { @@ -570,64 +531,57 @@ public com.google.protobuf.ByteString getResourceFolderBytes() { } } /** - * - * *
      * Full resource name of this folder. See:
      * https://cloud.google.com/apis/design/resource_names#full_resource_name
      * 
* * string resource_folder = 1; - * * @param value The resourceFolder to set. * @return This builder for chaining. */ - public Builder setResourceFolder(java.lang.String value) { + public Builder setResourceFolder( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + resourceFolder_ = value; onChanged(); return this; } /** - * - * *
      * Full resource name of this folder. See:
      * https://cloud.google.com/apis/design/resource_names#full_resource_name
      * 
* * string resource_folder = 1; - * * @return This builder for chaining. */ public Builder clearResourceFolder() { - + resourceFolder_ = getDefaultInstance().getResourceFolder(); onChanged(); return this; } /** - * - * *
      * Full resource name of this folder. See:
      * https://cloud.google.com/apis/design/resource_names#full_resource_name
      * 
* * string resource_folder = 1; - * * @param value The bytes for resourceFolder to set. * @return This builder for chaining. */ - public Builder setResourceFolderBytes(com.google.protobuf.ByteString value) { + public Builder setResourceFolderBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + resourceFolder_ = value; onChanged(); return this; @@ -635,20 +589,18 @@ public Builder setResourceFolderBytes(com.google.protobuf.ByteString value) { private java.lang.Object resourceFolderDisplayName_ = ""; /** - * - * *
      * The user defined display name for this folder.
      * 
* * string resource_folder_display_name = 2; - * * @return The resourceFolderDisplayName. */ public java.lang.String getResourceFolderDisplayName() { java.lang.Object ref = resourceFolderDisplayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceFolderDisplayName_ = s; return s; @@ -657,21 +609,20 @@ public java.lang.String getResourceFolderDisplayName() { } } /** - * - * *
      * The user defined display name for this folder.
      * 
* * string resource_folder_display_name = 2; - * * @return The bytes for resourceFolderDisplayName. */ - public com.google.protobuf.ByteString getResourceFolderDisplayNameBytes() { + public com.google.protobuf.ByteString + getResourceFolderDisplayNameBytes() { java.lang.Object ref = resourceFolderDisplayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); resourceFolderDisplayName_ = b; return b; } else { @@ -679,68 +630,61 @@ public com.google.protobuf.ByteString getResourceFolderDisplayNameBytes() { } } /** - * - * *
      * The user defined display name for this folder.
      * 
* * string resource_folder_display_name = 2; - * * @param value The resourceFolderDisplayName to set. * @return This builder for chaining. */ - public Builder setResourceFolderDisplayName(java.lang.String value) { + public Builder setResourceFolderDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + resourceFolderDisplayName_ = value; onChanged(); return this; } /** - * - * *
      * The user defined display name for this folder.
      * 
* * string resource_folder_display_name = 2; - * * @return This builder for chaining. */ public Builder clearResourceFolderDisplayName() { - + resourceFolderDisplayName_ = getDefaultInstance().getResourceFolderDisplayName(); onChanged(); return this; } /** - * - * *
      * The user defined display name for this folder.
      * 
* * string resource_folder_display_name = 2; - * * @param value The bytes for resourceFolderDisplayName to set. * @return This builder for chaining. */ - public Builder setResourceFolderDisplayNameBytes(com.google.protobuf.ByteString value) { + public Builder setResourceFolderDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + resourceFolderDisplayName_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -750,12 +694,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.securitycenter.v1.Folder) } // @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1.Folder) private static final com.google.cloud.securitycenter.v1.Folder DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.securitycenter.v1.Folder(); } @@ -764,27 +708,27 @@ public static com.google.cloud.securitycenter.v1.Folder getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Folder parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - 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 Folder parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + 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; @@ -799,4 +743,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.securitycenter.v1.Folder getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FolderName.java b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FolderName.java similarity index 100% rename from java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FolderName.java rename to owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FolderName.java diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FolderOrBuilder.java b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FolderOrBuilder.java similarity index 60% rename from java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FolderOrBuilder.java rename to owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FolderOrBuilder.java index 325d2ec0d506..3e97d4e381a6 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FolderOrBuilder.java +++ b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FolderOrBuilder.java @@ -1,77 +1,51 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/securitycenter/v1/folder.proto package com.google.cloud.securitycenter.v1; -public interface FolderOrBuilder - extends +public interface FolderOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.securitycenter.v1.Folder) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Full resource name of this folder. See:
    * https://cloud.google.com/apis/design/resource_names#full_resource_name
    * 
* * string resource_folder = 1; - * * @return The resourceFolder. */ java.lang.String getResourceFolder(); /** - * - * *
    * Full resource name of this folder. See:
    * https://cloud.google.com/apis/design/resource_names#full_resource_name
    * 
* * string resource_folder = 1; - * * @return The bytes for resourceFolder. */ - com.google.protobuf.ByteString getResourceFolderBytes(); + com.google.protobuf.ByteString + getResourceFolderBytes(); /** - * - * *
    * The user defined display name for this folder.
    * 
* * string resource_folder_display_name = 2; - * * @return The resourceFolderDisplayName. */ java.lang.String getResourceFolderDisplayName(); /** - * - * *
    * The user defined display name for this folder.
    * 
* * string resource_folder_display_name = 2; - * * @return The bytes for resourceFolderDisplayName. */ - com.google.protobuf.ByteString getResourceFolderDisplayNameBytes(); + com.google.protobuf.ByteString + getResourceFolderDisplayNameBytes(); } diff --git a/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FolderProto.java b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FolderProto.java new file mode 100644 index 000000000000..a1295ec42756 --- /dev/null +++ b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FolderProto.java @@ -0,0 +1,55 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/securitycenter/v1/folder.proto + +package com.google.cloud.securitycenter.v1; + +public final class FolderProto { + private FolderProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public 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_securitycenter_v1_Folder_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_securitycenter_v1_Folder_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n+google/cloud/securitycenter/v1/folder." + + "proto\022\036google.cloud.securitycenter.v1\"G\n" + + "\006Folder\022\027\n\017resource_folder\030\001 \001(\t\022$\n\034reso" + + "urce_folder_display_name\030\002 \001(\tB\347\001\n\"com.g" + + "oogle.cloud.securitycenter.v1B\013FolderPro" + + "toP\001ZLgoogle.golang.org/genproto/googlea" + + "pis/cloud/securitycenter/v1;securitycent" + + "er\252\002\036Google.Cloud.SecurityCenter.V1\312\002\036Go" + + "ogle\\Cloud\\SecurityCenter\\V1\352\002!Google::C" + + "loud::SecurityCenter::V1b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + }); + internal_static_google_cloud_securitycenter_v1_Folder_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_securitycenter_v1_Folder_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_securitycenter_v1_Folder_descriptor, + new java.lang.String[] { "ResourceFolder", "ResourceFolderDisplayName", }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Geolocation.java b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Geolocation.java similarity index 64% rename from java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Geolocation.java rename to owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Geolocation.java index 7d94afd5c57d..eacad4dc537f 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Geolocation.java +++ b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Geolocation.java @@ -1,83 +1,61 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/securitycenter/v1/access.proto package com.google.cloud.securitycenter.v1; /** - * - * *
  * Represents a geographical location for a given access.
  * 
* * Protobuf type {@code google.cloud.securitycenter.v1.Geolocation} */ -public final class Geolocation extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Geolocation extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.securitycenter.v1.Geolocation) GeolocationOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Geolocation.newBuilder() to construct. private Geolocation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Geolocation() { regionCode_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Geolocation(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.securitycenter.v1.AccessProto - .internal_static_google_cloud_securitycenter_v1_Geolocation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.securitycenter.v1.AccessProto.internal_static_google_cloud_securitycenter_v1_Geolocation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.securitycenter.v1.AccessProto - .internal_static_google_cloud_securitycenter_v1_Geolocation_fieldAccessorTable + return com.google.cloud.securitycenter.v1.AccessProto.internal_static_google_cloud_securitycenter_v1_Geolocation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.securitycenter.v1.Geolocation.class, - com.google.cloud.securitycenter.v1.Geolocation.Builder.class); + com.google.cloud.securitycenter.v1.Geolocation.class, com.google.cloud.securitycenter.v1.Geolocation.Builder.class); } public static final int REGION_CODE_FIELD_NUMBER = 1; private volatile java.lang.Object regionCode_; /** - * - * *
    * A CLDR.
    * 
* * string region_code = 1; - * * @return The regionCode. */ @java.lang.Override @@ -86,29 +64,29 @@ public java.lang.String getRegionCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); regionCode_ = s; return s; } } /** - * - * *
    * A CLDR.
    * 
* * string region_code = 1; - * * @return The bytes for regionCode. */ @java.lang.Override - public com.google.protobuf.ByteString getRegionCodeBytes() { + public com.google.protobuf.ByteString + getRegionCodeBytes() { java.lang.Object ref = regionCode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); regionCode_ = b; return b; } else { @@ -117,7 +95,6 @@ public com.google.protobuf.ByteString getRegionCodeBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -129,7 +106,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(regionCode_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, regionCode_); } @@ -153,15 +131,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.securitycenter.v1.Geolocation)) { return super.equals(obj); } - com.google.cloud.securitycenter.v1.Geolocation other = - (com.google.cloud.securitycenter.v1.Geolocation) obj; + com.google.cloud.securitycenter.v1.Geolocation other = (com.google.cloud.securitycenter.v1.Geolocation) obj; - if (!getRegionCode().equals(other.getRegionCode())) return false; + if (!getRegionCode() + .equals(other.getRegionCode())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -180,136 +158,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.securitycenter.v1.Geolocation parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.securitycenter.v1.Geolocation parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.Geolocation parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.Geolocation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.Geolocation parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.Geolocation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.Geolocation parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.Geolocation parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.Geolocation parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.securitycenter.v1.Geolocation parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.securitycenter.v1.Geolocation parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.Geolocation parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.Geolocation parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.Geolocation parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.securitycenter.v1.Geolocation prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Represents a geographical location for a given access.
    * 
* * Protobuf type {@code google.cloud.securitycenter.v1.Geolocation} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.securitycenter.v1.Geolocation) com.google.cloud.securitycenter.v1.GeolocationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.securitycenter.v1.AccessProto - .internal_static_google_cloud_securitycenter_v1_Geolocation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.securitycenter.v1.AccessProto.internal_static_google_cloud_securitycenter_v1_Geolocation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.securitycenter.v1.AccessProto - .internal_static_google_cloud_securitycenter_v1_Geolocation_fieldAccessorTable + return com.google.cloud.securitycenter.v1.AccessProto.internal_static_google_cloud_securitycenter_v1_Geolocation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.securitycenter.v1.Geolocation.class, - com.google.cloud.securitycenter.v1.Geolocation.Builder.class); + com.google.cloud.securitycenter.v1.Geolocation.class, com.google.cloud.securitycenter.v1.Geolocation.Builder.class); } // Construct using com.google.cloud.securitycenter.v1.Geolocation.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(); @@ -319,9 +291,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.securitycenter.v1.AccessProto - .internal_static_google_cloud_securitycenter_v1_Geolocation_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.securitycenter.v1.AccessProto.internal_static_google_cloud_securitycenter_v1_Geolocation_descriptor; } @java.lang.Override @@ -340,8 +312,7 @@ public com.google.cloud.securitycenter.v1.Geolocation build() { @java.lang.Override public com.google.cloud.securitycenter.v1.Geolocation buildPartial() { - com.google.cloud.securitycenter.v1.Geolocation result = - new com.google.cloud.securitycenter.v1.Geolocation(this); + com.google.cloud.securitycenter.v1.Geolocation result = new com.google.cloud.securitycenter.v1.Geolocation(this); result.regionCode_ = regionCode_; onBuilt(); return result; @@ -351,39 +322,38 @@ public com.google.cloud.securitycenter.v1.Geolocation buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.securitycenter.v1.Geolocation) { - return mergeFrom((com.google.cloud.securitycenter.v1.Geolocation) other); + return mergeFrom((com.google.cloud.securitycenter.v1.Geolocation)other); } else { super.mergeFrom(other); return this; @@ -422,19 +392,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - regionCode_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + regionCode_ = input.readStringRequireUtf8(); + + 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) { @@ -447,20 +415,18 @@ public Builder mergeFrom( private java.lang.Object regionCode_ = ""; /** - * - * *
      * A CLDR.
      * 
* * string region_code = 1; - * * @return The regionCode. */ public java.lang.String getRegionCode() { java.lang.Object ref = regionCode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); regionCode_ = s; return s; @@ -469,21 +435,20 @@ public java.lang.String getRegionCode() { } } /** - * - * *
      * A CLDR.
      * 
* * string region_code = 1; - * * @return The bytes for regionCode. */ - public com.google.protobuf.ByteString getRegionCodeBytes() { + public com.google.protobuf.ByteString + getRegionCodeBytes() { java.lang.Object ref = regionCode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); regionCode_ = b; return b; } else { @@ -491,68 +456,61 @@ public com.google.protobuf.ByteString getRegionCodeBytes() { } } /** - * - * *
      * A CLDR.
      * 
* * string region_code = 1; - * * @param value The regionCode to set. * @return This builder for chaining. */ - public Builder setRegionCode(java.lang.String value) { + public Builder setRegionCode( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + regionCode_ = value; onChanged(); return this; } /** - * - * *
      * A CLDR.
      * 
* * string region_code = 1; - * * @return This builder for chaining. */ public Builder clearRegionCode() { - + regionCode_ = getDefaultInstance().getRegionCode(); onChanged(); return this; } /** - * - * *
      * A CLDR.
      * 
* * string region_code = 1; - * * @param value The bytes for regionCode to set. * @return This builder for chaining. */ - public Builder setRegionCodeBytes(com.google.protobuf.ByteString value) { + public Builder setRegionCodeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + regionCode_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -562,12 +520,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.securitycenter.v1.Geolocation) } // @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1.Geolocation) private static final com.google.cloud.securitycenter.v1.Geolocation DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.securitycenter.v1.Geolocation(); } @@ -576,27 +534,27 @@ public static com.google.cloud.securitycenter.v1.Geolocation getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Geolocation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - 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 Geolocation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + 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; @@ -611,4 +569,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.securitycenter.v1.Geolocation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GeolocationOrBuilder.java b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GeolocationOrBuilder.java new file mode 100644 index 000000000000..0b3d14d2e9d1 --- /dev/null +++ b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GeolocationOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/securitycenter/v1/access.proto + +package com.google.cloud.securitycenter.v1; + +public interface GeolocationOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.securitycenter.v1.Geolocation) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * A CLDR.
+   * 
+ * + * string region_code = 1; + * @return The regionCode. + */ + java.lang.String getRegionCode(); + /** + *
+   * A CLDR.
+   * 
+ * + * string region_code = 1; + * @return The bytes for regionCode. + */ + com.google.protobuf.ByteString + getRegionCodeBytes(); +} diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetBigQueryExportRequest.java b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetBigQueryExportRequest.java similarity index 64% rename from java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetBigQueryExportRequest.java rename to owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetBigQueryExportRequest.java index 5fd95d3dac38..022921602091 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetBigQueryExportRequest.java +++ b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetBigQueryExportRequest.java @@ -1,77 +1,56 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/securitycenter/v1/securitycenter_service.proto package com.google.cloud.securitycenter.v1; /** - * - * *
  * Request message for retrieving a big query export.
  * 
* * Protobuf type {@code google.cloud.securitycenter.v1.GetBigQueryExportRequest} */ -public final class GetBigQueryExportRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetBigQueryExportRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.securitycenter.v1.GetBigQueryExportRequest) GetBigQueryExportRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetBigQueryExportRequest.newBuilder() to construct. private GetBigQueryExportRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetBigQueryExportRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetBigQueryExportRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.securitycenter.v1.SecuritycenterService - .internal_static_google_cloud_securitycenter_v1_GetBigQueryExportRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.securitycenter.v1.SecuritycenterService.internal_static_google_cloud_securitycenter_v1_GetBigQueryExportRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.securitycenter.v1.SecuritycenterService - .internal_static_google_cloud_securitycenter_v1_GetBigQueryExportRequest_fieldAccessorTable + return com.google.cloud.securitycenter.v1.SecuritycenterService.internal_static_google_cloud_securitycenter_v1_GetBigQueryExportRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.securitycenter.v1.GetBigQueryExportRequest.class, - com.google.cloud.securitycenter.v1.GetBigQueryExportRequest.Builder.class); + com.google.cloud.securitycenter.v1.GetBigQueryExportRequest.class, com.google.cloud.securitycenter.v1.GetBigQueryExportRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. Name of the big query export to retrieve. Its format is
    * organizations/{organization}/bigQueryExports/{export_id},
@@ -79,10 +58,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * projects/{project}/bigQueryExports/{export_id}
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -91,15 +67,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. Name of the big query export to retrieve. Its format is
    * organizations/{organization}/bigQueryExports/{export_id},
@@ -107,18 +82,17 @@ public java.lang.String getName() {
    * projects/{project}/bigQueryExports/{export_id}
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -127,7 +101,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -139,7 +112,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -163,15 +137,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.securitycenter.v1.GetBigQueryExportRequest)) { return super.equals(obj); } - com.google.cloud.securitycenter.v1.GetBigQueryExportRequest other = - (com.google.cloud.securitycenter.v1.GetBigQueryExportRequest) obj; + com.google.cloud.securitycenter.v1.GetBigQueryExportRequest other = (com.google.cloud.securitycenter.v1.GetBigQueryExportRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -191,136 +165,129 @@ public int hashCode() { } public static com.google.cloud.securitycenter.v1.GetBigQueryExportRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.GetBigQueryExportRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.GetBigQueryExportRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.GetBigQueryExportRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.GetBigQueryExportRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.GetBigQueryExportRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.securitycenter.v1.GetBigQueryExportRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.securitycenter.v1.GetBigQueryExportRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.GetBigQueryExportRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.securitycenter.v1.GetBigQueryExportRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.securitycenter.v1.GetBigQueryExportRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.GetBigQueryExportRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.GetBigQueryExportRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.GetBigQueryExportRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.securitycenter.v1.GetBigQueryExportRequest prototype) { + public static Builder newBuilder(com.google.cloud.securitycenter.v1.GetBigQueryExportRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 retrieving a big query export.
    * 
* * Protobuf type {@code google.cloud.securitycenter.v1.GetBigQueryExportRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.securitycenter.v1.GetBigQueryExportRequest) com.google.cloud.securitycenter.v1.GetBigQueryExportRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.securitycenter.v1.SecuritycenterService - .internal_static_google_cloud_securitycenter_v1_GetBigQueryExportRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.securitycenter.v1.SecuritycenterService.internal_static_google_cloud_securitycenter_v1_GetBigQueryExportRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.securitycenter.v1.SecuritycenterService - .internal_static_google_cloud_securitycenter_v1_GetBigQueryExportRequest_fieldAccessorTable + return com.google.cloud.securitycenter.v1.SecuritycenterService.internal_static_google_cloud_securitycenter_v1_GetBigQueryExportRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.securitycenter.v1.GetBigQueryExportRequest.class, - com.google.cloud.securitycenter.v1.GetBigQueryExportRequest.Builder.class); + com.google.cloud.securitycenter.v1.GetBigQueryExportRequest.class, com.google.cloud.securitycenter.v1.GetBigQueryExportRequest.Builder.class); } // Construct using com.google.cloud.securitycenter.v1.GetBigQueryExportRequest.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(); @@ -330,9 +297,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.securitycenter.v1.SecuritycenterService - .internal_static_google_cloud_securitycenter_v1_GetBigQueryExportRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.securitycenter.v1.SecuritycenterService.internal_static_google_cloud_securitycenter_v1_GetBigQueryExportRequest_descriptor; } @java.lang.Override @@ -351,8 +318,7 @@ public com.google.cloud.securitycenter.v1.GetBigQueryExportRequest build() { @java.lang.Override public com.google.cloud.securitycenter.v1.GetBigQueryExportRequest buildPartial() { - com.google.cloud.securitycenter.v1.GetBigQueryExportRequest result = - new com.google.cloud.securitycenter.v1.GetBigQueryExportRequest(this); + com.google.cloud.securitycenter.v1.GetBigQueryExportRequest result = new com.google.cloud.securitycenter.v1.GetBigQueryExportRequest(this); result.name_ = name_; onBuilt(); return result; @@ -362,39 +328,38 @@ public com.google.cloud.securitycenter.v1.GetBigQueryExportRequest buildPartial( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.securitycenter.v1.GetBigQueryExportRequest) { - return mergeFrom((com.google.cloud.securitycenter.v1.GetBigQueryExportRequest) other); + return mergeFrom((com.google.cloud.securitycenter.v1.GetBigQueryExportRequest)other); } else { super.mergeFrom(other); return this; @@ -402,8 +367,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.securitycenter.v1.GetBigQueryExportRequest other) { - if (other == com.google.cloud.securitycenter.v1.GetBigQueryExportRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.securitycenter.v1.GetBigQueryExportRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -434,19 +398,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + + 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) { @@ -459,8 +421,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. Name of the big query export to retrieve. Its format is
      * organizations/{organization}/bigQueryExports/{export_id},
@@ -468,16 +428,14 @@ public Builder mergeFrom(
      * projects/{project}/bigQueryExports/{export_id}
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -486,8 +444,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. Name of the big query export to retrieve. Its format is
      * organizations/{organization}/bigQueryExports/{export_id},
@@ -495,17 +451,16 @@ public java.lang.String getName() {
      * projects/{project}/bigQueryExports/{export_id}
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -513,8 +468,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. Name of the big query export to retrieve. Its format is
      * organizations/{organization}/bigQueryExports/{export_id},
@@ -522,25 +475,21 @@ public com.google.protobuf.ByteString getNameBytes() {
      * projects/{project}/bigQueryExports/{export_id}
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. Name of the big query export to retrieve. Its format is
      * organizations/{organization}/bigQueryExports/{export_id},
@@ -548,21 +497,16 @@ public Builder setName(java.lang.String value) {
      * projects/{project}/bigQueryExports/{export_id}
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. Name of the big query export to retrieve. Its format is
      * organizations/{organization}/bigQueryExports/{export_id},
@@ -570,26 +514,24 @@ public Builder clearName() {
      * projects/{project}/bigQueryExports/{export_id}
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -599,12 +541,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.securitycenter.v1.GetBigQueryExportRequest) } // @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1.GetBigQueryExportRequest) private static final com.google.cloud.securitycenter.v1.GetBigQueryExportRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.securitycenter.v1.GetBigQueryExportRequest(); } @@ -613,27 +555,27 @@ public static com.google.cloud.securitycenter.v1.GetBigQueryExportRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetBigQueryExportRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - 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 GetBigQueryExportRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + 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; @@ -648,4 +590,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.securitycenter.v1.GetBigQueryExportRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetBigQueryExportRequestOrBuilder.java b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetBigQueryExportRequestOrBuilder.java new file mode 100644 index 000000000000..24a999b0cefd --- /dev/null +++ b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetBigQueryExportRequestOrBuilder.java @@ -0,0 +1,35 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/securitycenter/v1/securitycenter_service.proto + +package com.google.cloud.securitycenter.v1; + +public interface GetBigQueryExportRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.securitycenter.v1.GetBigQueryExportRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. Name of the big query export to retrieve. Its format is
+   * organizations/{organization}/bigQueryExports/{export_id},
+   * folders/{folder}/bigQueryExports/{export_id}, or
+   * projects/{project}/bigQueryExports/{export_id}
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. Name of the big query export to retrieve. Its format is
+   * organizations/{organization}/bigQueryExports/{export_id},
+   * folders/{folder}/bigQueryExports/{export_id}, or
+   * projects/{project}/bigQueryExports/{export_id}
+   * 
+ * + * 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-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetMuteConfigRequest.java b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetMuteConfigRequest.java similarity index 64% rename from java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetMuteConfigRequest.java rename to owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetMuteConfigRequest.java index 86b0186c636b..39a0721abe08 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetMuteConfigRequest.java +++ b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetMuteConfigRequest.java @@ -1,77 +1,56 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/securitycenter/v1/securitycenter_service.proto package com.google.cloud.securitycenter.v1; /** - * - * *
  * Request message for retrieving a mute config.
  * 
* * Protobuf type {@code google.cloud.securitycenter.v1.GetMuteConfigRequest} */ -public final class GetMuteConfigRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetMuteConfigRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.securitycenter.v1.GetMuteConfigRequest) GetMuteConfigRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetMuteConfigRequest.newBuilder() to construct. private GetMuteConfigRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetMuteConfigRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetMuteConfigRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.securitycenter.v1.SecuritycenterService - .internal_static_google_cloud_securitycenter_v1_GetMuteConfigRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.securitycenter.v1.SecuritycenterService.internal_static_google_cloud_securitycenter_v1_GetMuteConfigRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.securitycenter.v1.SecuritycenterService - .internal_static_google_cloud_securitycenter_v1_GetMuteConfigRequest_fieldAccessorTable + return com.google.cloud.securitycenter.v1.SecuritycenterService.internal_static_google_cloud_securitycenter_v1_GetMuteConfigRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.securitycenter.v1.GetMuteConfigRequest.class, - com.google.cloud.securitycenter.v1.GetMuteConfigRequest.Builder.class); + com.google.cloud.securitycenter.v1.GetMuteConfigRequest.class, com.google.cloud.securitycenter.v1.GetMuteConfigRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. Name of the mute config to retrieve. Its format is
    * organizations/{organization}/muteConfigs/{config_id},
@@ -79,10 +58,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * projects/{project}/muteConfigs/{config_id}
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -91,15 +67,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. Name of the mute config to retrieve. Its format is
    * organizations/{organization}/muteConfigs/{config_id},
@@ -107,18 +82,17 @@ public java.lang.String getName() {
    * projects/{project}/muteConfigs/{config_id}
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -127,7 +101,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -139,7 +112,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -163,15 +137,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.securitycenter.v1.GetMuteConfigRequest)) { return super.equals(obj); } - com.google.cloud.securitycenter.v1.GetMuteConfigRequest other = - (com.google.cloud.securitycenter.v1.GetMuteConfigRequest) obj; + com.google.cloud.securitycenter.v1.GetMuteConfigRequest other = (com.google.cloud.securitycenter.v1.GetMuteConfigRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -191,136 +165,129 @@ public int hashCode() { } public static com.google.cloud.securitycenter.v1.GetMuteConfigRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.GetMuteConfigRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.GetMuteConfigRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.GetMuteConfigRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.GetMuteConfigRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.GetMuteConfigRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.securitycenter.v1.GetMuteConfigRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.securitycenter.v1.GetMuteConfigRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.GetMuteConfigRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.securitycenter.v1.GetMuteConfigRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.securitycenter.v1.GetMuteConfigRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.GetMuteConfigRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.GetMuteConfigRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.GetMuteConfigRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.securitycenter.v1.GetMuteConfigRequest prototype) { + public static Builder newBuilder(com.google.cloud.securitycenter.v1.GetMuteConfigRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 retrieving a mute config.
    * 
* * Protobuf type {@code google.cloud.securitycenter.v1.GetMuteConfigRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.securitycenter.v1.GetMuteConfigRequest) com.google.cloud.securitycenter.v1.GetMuteConfigRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.securitycenter.v1.SecuritycenterService - .internal_static_google_cloud_securitycenter_v1_GetMuteConfigRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.securitycenter.v1.SecuritycenterService.internal_static_google_cloud_securitycenter_v1_GetMuteConfigRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.securitycenter.v1.SecuritycenterService - .internal_static_google_cloud_securitycenter_v1_GetMuteConfigRequest_fieldAccessorTable + return com.google.cloud.securitycenter.v1.SecuritycenterService.internal_static_google_cloud_securitycenter_v1_GetMuteConfigRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.securitycenter.v1.GetMuteConfigRequest.class, - com.google.cloud.securitycenter.v1.GetMuteConfigRequest.Builder.class); + com.google.cloud.securitycenter.v1.GetMuteConfigRequest.class, com.google.cloud.securitycenter.v1.GetMuteConfigRequest.Builder.class); } // Construct using com.google.cloud.securitycenter.v1.GetMuteConfigRequest.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(); @@ -330,9 +297,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.securitycenter.v1.SecuritycenterService - .internal_static_google_cloud_securitycenter_v1_GetMuteConfigRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.securitycenter.v1.SecuritycenterService.internal_static_google_cloud_securitycenter_v1_GetMuteConfigRequest_descriptor; } @java.lang.Override @@ -351,8 +318,7 @@ public com.google.cloud.securitycenter.v1.GetMuteConfigRequest build() { @java.lang.Override public com.google.cloud.securitycenter.v1.GetMuteConfigRequest buildPartial() { - com.google.cloud.securitycenter.v1.GetMuteConfigRequest result = - new com.google.cloud.securitycenter.v1.GetMuteConfigRequest(this); + com.google.cloud.securitycenter.v1.GetMuteConfigRequest result = new com.google.cloud.securitycenter.v1.GetMuteConfigRequest(this); result.name_ = name_; onBuilt(); return result; @@ -362,39 +328,38 @@ public com.google.cloud.securitycenter.v1.GetMuteConfigRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.securitycenter.v1.GetMuteConfigRequest) { - return mergeFrom((com.google.cloud.securitycenter.v1.GetMuteConfigRequest) other); + return mergeFrom((com.google.cloud.securitycenter.v1.GetMuteConfigRequest)other); } else { super.mergeFrom(other); return this; @@ -402,8 +367,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.securitycenter.v1.GetMuteConfigRequest other) { - if (other == com.google.cloud.securitycenter.v1.GetMuteConfigRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.securitycenter.v1.GetMuteConfigRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -434,19 +398,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + + 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) { @@ -459,8 +421,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. Name of the mute config to retrieve. Its format is
      * organizations/{organization}/muteConfigs/{config_id},
@@ -468,16 +428,14 @@ public Builder mergeFrom(
      * projects/{project}/muteConfigs/{config_id}
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -486,8 +444,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. Name of the mute config to retrieve. Its format is
      * organizations/{organization}/muteConfigs/{config_id},
@@ -495,17 +451,16 @@ public java.lang.String getName() {
      * projects/{project}/muteConfigs/{config_id}
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -513,8 +468,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. Name of the mute config to retrieve. Its format is
      * organizations/{organization}/muteConfigs/{config_id},
@@ -522,25 +475,21 @@ public com.google.protobuf.ByteString getNameBytes() {
      * projects/{project}/muteConfigs/{config_id}
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. Name of the mute config to retrieve. Its format is
      * organizations/{organization}/muteConfigs/{config_id},
@@ -548,21 +497,16 @@ public Builder setName(java.lang.String value) {
      * projects/{project}/muteConfigs/{config_id}
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. Name of the mute config to retrieve. Its format is
      * organizations/{organization}/muteConfigs/{config_id},
@@ -570,26 +514,24 @@ public Builder clearName() {
      * projects/{project}/muteConfigs/{config_id}
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -599,12 +541,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.securitycenter.v1.GetMuteConfigRequest) } // @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1.GetMuteConfigRequest) private static final com.google.cloud.securitycenter.v1.GetMuteConfigRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.securitycenter.v1.GetMuteConfigRequest(); } @@ -613,27 +555,27 @@ public static com.google.cloud.securitycenter.v1.GetMuteConfigRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetMuteConfigRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - 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 GetMuteConfigRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + 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; @@ -648,4 +590,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.securitycenter.v1.GetMuteConfigRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetMuteConfigRequestOrBuilder.java b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetMuteConfigRequestOrBuilder.java new file mode 100644 index 000000000000..c5ae6e39cf04 --- /dev/null +++ b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetMuteConfigRequestOrBuilder.java @@ -0,0 +1,35 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/securitycenter/v1/securitycenter_service.proto + +package com.google.cloud.securitycenter.v1; + +public interface GetMuteConfigRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.securitycenter.v1.GetMuteConfigRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. Name of the mute config to retrieve. Its format is
+   * organizations/{organization}/muteConfigs/{config_id},
+   * folders/{folder}/muteConfigs/{config_id}, or
+   * projects/{project}/muteConfigs/{config_id}
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. Name of the mute config to retrieve. Its format is
+   * organizations/{organization}/muteConfigs/{config_id},
+   * folders/{folder}/muteConfigs/{config_id}, or
+   * projects/{project}/muteConfigs/{config_id}
+   * 
+ * + * 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-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetNotificationConfigRequest.java b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetNotificationConfigRequest.java similarity index 61% rename from java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetNotificationConfigRequest.java rename to owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetNotificationConfigRequest.java index 20f805af20e2..309c5f1c2c24 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetNotificationConfigRequest.java +++ b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetNotificationConfigRequest.java @@ -1,86 +1,62 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/securitycenter/v1/securitycenter_service.proto package com.google.cloud.securitycenter.v1; /** - * - * *
  * Request message for getting a notification config.
  * 
* * Protobuf type {@code google.cloud.securitycenter.v1.GetNotificationConfigRequest} */ -public final class GetNotificationConfigRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetNotificationConfigRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.securitycenter.v1.GetNotificationConfigRequest) GetNotificationConfigRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetNotificationConfigRequest.newBuilder() to construct. private GetNotificationConfigRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetNotificationConfigRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetNotificationConfigRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.securitycenter.v1.SecuritycenterService - .internal_static_google_cloud_securitycenter_v1_GetNotificationConfigRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.securitycenter.v1.SecuritycenterService.internal_static_google_cloud_securitycenter_v1_GetNotificationConfigRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.securitycenter.v1.SecuritycenterService - .internal_static_google_cloud_securitycenter_v1_GetNotificationConfigRequest_fieldAccessorTable + return com.google.cloud.securitycenter.v1.SecuritycenterService.internal_static_google_cloud_securitycenter_v1_GetNotificationConfigRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.securitycenter.v1.GetNotificationConfigRequest.class, - com.google.cloud.securitycenter.v1.GetNotificationConfigRequest.Builder.class); + com.google.cloud.securitycenter.v1.GetNotificationConfigRequest.class, com.google.cloud.securitycenter.v1.GetNotificationConfigRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. Name of the notification config to get. Its format is
    * "organizations/[organization_id]/notificationConfigs/[config_id]".
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -89,32 +65,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. Name of the notification config to get. Its format is
    * "organizations/[organization_id]/notificationConfigs/[config_id]".
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -123,7 +97,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -135,7 +108,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -159,15 +133,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.securitycenter.v1.GetNotificationConfigRequest)) { return super.equals(obj); } - com.google.cloud.securitycenter.v1.GetNotificationConfigRequest other = - (com.google.cloud.securitycenter.v1.GetNotificationConfigRequest) obj; + com.google.cloud.securitycenter.v1.GetNotificationConfigRequest other = (com.google.cloud.securitycenter.v1.GetNotificationConfigRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -187,136 +161,129 @@ public int hashCode() { } public static com.google.cloud.securitycenter.v1.GetNotificationConfigRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.GetNotificationConfigRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.GetNotificationConfigRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.GetNotificationConfigRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.securitycenter.v1.GetNotificationConfigRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.securitycenter.v1.GetNotificationConfigRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.GetNotificationConfigRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.securitycenter.v1.GetNotificationConfigRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.securitycenter.v1.GetNotificationConfigRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.GetNotificationConfigRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.securitycenter.v1.GetNotificationConfigRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.securitycenter.v1.GetNotificationConfigRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.GetNotificationConfigRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.GetNotificationConfigRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.GetNotificationConfigRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.securitycenter.v1.GetNotificationConfigRequest prototype) { + public static Builder newBuilder(com.google.cloud.securitycenter.v1.GetNotificationConfigRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 getting a notification config.
    * 
* * Protobuf type {@code google.cloud.securitycenter.v1.GetNotificationConfigRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.securitycenter.v1.GetNotificationConfigRequest) com.google.cloud.securitycenter.v1.GetNotificationConfigRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.securitycenter.v1.SecuritycenterService - .internal_static_google_cloud_securitycenter_v1_GetNotificationConfigRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.securitycenter.v1.SecuritycenterService.internal_static_google_cloud_securitycenter_v1_GetNotificationConfigRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.securitycenter.v1.SecuritycenterService - .internal_static_google_cloud_securitycenter_v1_GetNotificationConfigRequest_fieldAccessorTable + return com.google.cloud.securitycenter.v1.SecuritycenterService.internal_static_google_cloud_securitycenter_v1_GetNotificationConfigRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.securitycenter.v1.GetNotificationConfigRequest.class, - com.google.cloud.securitycenter.v1.GetNotificationConfigRequest.Builder.class); + com.google.cloud.securitycenter.v1.GetNotificationConfigRequest.class, com.google.cloud.securitycenter.v1.GetNotificationConfigRequest.Builder.class); } // Construct using com.google.cloud.securitycenter.v1.GetNotificationConfigRequest.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(); @@ -326,14 +293,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.securitycenter.v1.SecuritycenterService - .internal_static_google_cloud_securitycenter_v1_GetNotificationConfigRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.securitycenter.v1.SecuritycenterService.internal_static_google_cloud_securitycenter_v1_GetNotificationConfigRequest_descriptor; } @java.lang.Override - public com.google.cloud.securitycenter.v1.GetNotificationConfigRequest - getDefaultInstanceForType() { + public com.google.cloud.securitycenter.v1.GetNotificationConfigRequest getDefaultInstanceForType() { return com.google.cloud.securitycenter.v1.GetNotificationConfigRequest.getDefaultInstance(); } @@ -348,8 +314,7 @@ public com.google.cloud.securitycenter.v1.GetNotificationConfigRequest build() { @java.lang.Override public com.google.cloud.securitycenter.v1.GetNotificationConfigRequest buildPartial() { - com.google.cloud.securitycenter.v1.GetNotificationConfigRequest result = - new com.google.cloud.securitycenter.v1.GetNotificationConfigRequest(this); + com.google.cloud.securitycenter.v1.GetNotificationConfigRequest result = new com.google.cloud.securitycenter.v1.GetNotificationConfigRequest(this); result.name_ = name_; onBuilt(); return result; @@ -359,50 +324,46 @@ public com.google.cloud.securitycenter.v1.GetNotificationConfigRequest buildPart public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.securitycenter.v1.GetNotificationConfigRequest) { - return mergeFrom((com.google.cloud.securitycenter.v1.GetNotificationConfigRequest) other); + return mergeFrom((com.google.cloud.securitycenter.v1.GetNotificationConfigRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.securitycenter.v1.GetNotificationConfigRequest other) { - if (other - == com.google.cloud.securitycenter.v1.GetNotificationConfigRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.securitycenter.v1.GetNotificationConfigRequest other) { + if (other == com.google.cloud.securitycenter.v1.GetNotificationConfigRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -433,19 +394,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + + 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) { @@ -458,23 +417,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. Name of the notification config to get. Its format is
      * "organizations/[organization_id]/notificationConfigs/[config_id]".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -483,24 +438,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. Name of the notification config to get. Its format is
      * "organizations/[organization_id]/notificationConfigs/[config_id]".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -508,77 +460,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. Name of the notification config to get. Its format is
      * "organizations/[organization_id]/notificationConfigs/[config_id]".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. Name of the notification config to get. Its format is
      * "organizations/[organization_id]/notificationConfigs/[config_id]".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. Name of the notification config to get. Its format is
      * "organizations/[organization_id]/notificationConfigs/[config_id]".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -588,43 +527,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.securitycenter.v1.GetNotificationConfigRequest) } // @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1.GetNotificationConfigRequest) - private static final com.google.cloud.securitycenter.v1.GetNotificationConfigRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.securitycenter.v1.GetNotificationConfigRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.securitycenter.v1.GetNotificationConfigRequest(); } - public static com.google.cloud.securitycenter.v1.GetNotificationConfigRequest - getDefaultInstance() { + public static com.google.cloud.securitycenter.v1.GetNotificationConfigRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetNotificationConfigRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - 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 GetNotificationConfigRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + 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; @@ -636,8 +573,9 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.cloud.securitycenter.v1.GetNotificationConfigRequest - getDefaultInstanceForType() { + public com.google.cloud.securitycenter.v1.GetNotificationConfigRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetNotificationConfigRequestOrBuilder.java b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetNotificationConfigRequestOrBuilder.java new file mode 100644 index 000000000000..7dae1ef25a2f --- /dev/null +++ b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetNotificationConfigRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/securitycenter/v1/securitycenter_service.proto + +package com.google.cloud.securitycenter.v1; + +public interface GetNotificationConfigRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.securitycenter.v1.GetNotificationConfigRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. Name of the notification config to get. Its format is
+   * "organizations/[organization_id]/notificationConfigs/[config_id]".
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. Name of the notification config to get. Its format is
+   * "organizations/[organization_id]/notificationConfigs/[config_id]".
+   * 
+ * + * 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-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetOrganizationSettingsRequest.java b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetOrganizationSettingsRequest.java similarity index 60% rename from java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetOrganizationSettingsRequest.java rename to owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetOrganizationSettingsRequest.java index 4878c2717db3..6f896d1f415b 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetOrganizationSettingsRequest.java +++ b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetOrganizationSettingsRequest.java @@ -1,87 +1,62 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/securitycenter/v1/securitycenter_service.proto package com.google.cloud.securitycenter.v1; /** - * - * *
  * Request message for getting organization settings.
  * 
* * Protobuf type {@code google.cloud.securitycenter.v1.GetOrganizationSettingsRequest} */ -public final class GetOrganizationSettingsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetOrganizationSettingsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.securitycenter.v1.GetOrganizationSettingsRequest) GetOrganizationSettingsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetOrganizationSettingsRequest.newBuilder() to construct. - private GetOrganizationSettingsRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private GetOrganizationSettingsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetOrganizationSettingsRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetOrganizationSettingsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.securitycenter.v1.SecuritycenterService - .internal_static_google_cloud_securitycenter_v1_GetOrganizationSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.securitycenter.v1.SecuritycenterService.internal_static_google_cloud_securitycenter_v1_GetOrganizationSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.securitycenter.v1.SecuritycenterService - .internal_static_google_cloud_securitycenter_v1_GetOrganizationSettingsRequest_fieldAccessorTable + return com.google.cloud.securitycenter.v1.SecuritycenterService.internal_static_google_cloud_securitycenter_v1_GetOrganizationSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.securitycenter.v1.GetOrganizationSettingsRequest.class, - com.google.cloud.securitycenter.v1.GetOrganizationSettingsRequest.Builder.class); + com.google.cloud.securitycenter.v1.GetOrganizationSettingsRequest.class, com.google.cloud.securitycenter.v1.GetOrganizationSettingsRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. Name of the organization to get organization settings for. Its
    * format is "organizations/[organization_id]/organizationSettings".
    * 
* - * - * string name = 1 [(.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 @@ -90,32 +65,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. Name of the organization to get organization settings for. Its
    * format is "organizations/[organization_id]/organizationSettings".
    * 
* - * - * string name = 1 [(.google.api.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 { @@ -124,7 +97,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -136,7 +108,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -160,15 +133,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.securitycenter.v1.GetOrganizationSettingsRequest)) { return super.equals(obj); } - com.google.cloud.securitycenter.v1.GetOrganizationSettingsRequest other = - (com.google.cloud.securitycenter.v1.GetOrganizationSettingsRequest) obj; + com.google.cloud.securitycenter.v1.GetOrganizationSettingsRequest other = (com.google.cloud.securitycenter.v1.GetOrganizationSettingsRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -188,138 +161,129 @@ public int hashCode() { } public static com.google.cloud.securitycenter.v1.GetOrganizationSettingsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.GetOrganizationSettingsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.GetOrganizationSettingsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.GetOrganizationSettingsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.securitycenter.v1.GetOrganizationSettingsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.securitycenter.v1.GetOrganizationSettingsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.GetOrganizationSettingsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.securitycenter.v1.GetOrganizationSettingsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.securitycenter.v1.GetOrganizationSettingsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.GetOrganizationSettingsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.securitycenter.v1.GetOrganizationSettingsRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.securitycenter.v1.GetOrganizationSettingsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.securitycenter.v1.GetOrganizationSettingsRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.securitycenter.v1.GetOrganizationSettingsRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.GetOrganizationSettingsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.GetOrganizationSettingsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.securitycenter.v1.GetOrganizationSettingsRequest prototype) { + public static Builder newBuilder(com.google.cloud.securitycenter.v1.GetOrganizationSettingsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 getting organization settings.
    * 
* * Protobuf type {@code google.cloud.securitycenter.v1.GetOrganizationSettingsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.securitycenter.v1.GetOrganizationSettingsRequest) com.google.cloud.securitycenter.v1.GetOrganizationSettingsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.securitycenter.v1.SecuritycenterService - .internal_static_google_cloud_securitycenter_v1_GetOrganizationSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.securitycenter.v1.SecuritycenterService.internal_static_google_cloud_securitycenter_v1_GetOrganizationSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.securitycenter.v1.SecuritycenterService - .internal_static_google_cloud_securitycenter_v1_GetOrganizationSettingsRequest_fieldAccessorTable + return com.google.cloud.securitycenter.v1.SecuritycenterService.internal_static_google_cloud_securitycenter_v1_GetOrganizationSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.securitycenter.v1.GetOrganizationSettingsRequest.class, - com.google.cloud.securitycenter.v1.GetOrganizationSettingsRequest.Builder.class); + com.google.cloud.securitycenter.v1.GetOrganizationSettingsRequest.class, com.google.cloud.securitycenter.v1.GetOrganizationSettingsRequest.Builder.class); } - // Construct using - // com.google.cloud.securitycenter.v1.GetOrganizationSettingsRequest.newBuilder() - private Builder() {} + // Construct using com.google.cloud.securitycenter.v1.GetOrganizationSettingsRequest.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(); @@ -329,14 +293,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.securitycenter.v1.SecuritycenterService - .internal_static_google_cloud_securitycenter_v1_GetOrganizationSettingsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.securitycenter.v1.SecuritycenterService.internal_static_google_cloud_securitycenter_v1_GetOrganizationSettingsRequest_descriptor; } @java.lang.Override - public com.google.cloud.securitycenter.v1.GetOrganizationSettingsRequest - getDefaultInstanceForType() { + public com.google.cloud.securitycenter.v1.GetOrganizationSettingsRequest getDefaultInstanceForType() { return com.google.cloud.securitycenter.v1.GetOrganizationSettingsRequest.getDefaultInstance(); } @@ -351,8 +314,7 @@ public com.google.cloud.securitycenter.v1.GetOrganizationSettingsRequest build() @java.lang.Override public com.google.cloud.securitycenter.v1.GetOrganizationSettingsRequest buildPartial() { - com.google.cloud.securitycenter.v1.GetOrganizationSettingsRequest result = - new com.google.cloud.securitycenter.v1.GetOrganizationSettingsRequest(this); + com.google.cloud.securitycenter.v1.GetOrganizationSettingsRequest result = new com.google.cloud.securitycenter.v1.GetOrganizationSettingsRequest(this); result.name_ = name_; onBuilt(); return result; @@ -362,50 +324,46 @@ public com.google.cloud.securitycenter.v1.GetOrganizationSettingsRequest buildPa public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.securitycenter.v1.GetOrganizationSettingsRequest) { - return mergeFrom((com.google.cloud.securitycenter.v1.GetOrganizationSettingsRequest) other); + return mergeFrom((com.google.cloud.securitycenter.v1.GetOrganizationSettingsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.securitycenter.v1.GetOrganizationSettingsRequest other) { - if (other - == com.google.cloud.securitycenter.v1.GetOrganizationSettingsRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.securitycenter.v1.GetOrganizationSettingsRequest other) { + if (other == com.google.cloud.securitycenter.v1.GetOrganizationSettingsRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -436,19 +394,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + + 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) { @@ -461,23 +417,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. Name of the organization to get organization settings for. Its
      * format is "organizations/[organization_id]/organizationSettings".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -486,24 +438,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. Name of the organization to get organization settings for. Its
      * format is "organizations/[organization_id]/organizationSettings".
      * 
* - * - * string name = 1 [(.google.api.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 { @@ -511,77 +460,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. Name of the organization to get organization settings for. Its
      * format is "organizations/[organization_id]/organizationSettings".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. Name of the organization to get organization settings for. Its
      * format is "organizations/[organization_id]/organizationSettings".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. Name of the organization to get organization settings for. Its
      * format is "organizations/[organization_id]/organizationSettings".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -591,43 +527,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.securitycenter.v1.GetOrganizationSettingsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1.GetOrganizationSettingsRequest) - private static final com.google.cloud.securitycenter.v1.GetOrganizationSettingsRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.securitycenter.v1.GetOrganizationSettingsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.securitycenter.v1.GetOrganizationSettingsRequest(); } - public static com.google.cloud.securitycenter.v1.GetOrganizationSettingsRequest - getDefaultInstance() { + public static com.google.cloud.securitycenter.v1.GetOrganizationSettingsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetOrganizationSettingsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - 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 GetOrganizationSettingsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + 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; @@ -639,8 +573,9 @@ public com.google.protobuf.Parser getParserForTy } @java.lang.Override - public com.google.cloud.securitycenter.v1.GetOrganizationSettingsRequest - getDefaultInstanceForType() { + public com.google.cloud.securitycenter.v1.GetOrganizationSettingsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetOrganizationSettingsRequestOrBuilder.java b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetOrganizationSettingsRequestOrBuilder.java new file mode 100644 index 000000000000..8fa31f23437a --- /dev/null +++ b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetOrganizationSettingsRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/securitycenter/v1/securitycenter_service.proto + +package com.google.cloud.securitycenter.v1; + +public interface GetOrganizationSettingsRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.securitycenter.v1.GetOrganizationSettingsRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. Name of the organization to get organization settings for. Its
+   * format is "organizations/[organization_id]/organizationSettings".
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. Name of the organization to get organization settings for. Its
+   * format is "organizations/[organization_id]/organizationSettings".
+   * 
+ * + * 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-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetSourceRequest.java b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetSourceRequest.java similarity index 63% rename from java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetSourceRequest.java rename to owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetSourceRequest.java index c1b7efc19515..4eed6f7c0136 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetSourceRequest.java +++ b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetSourceRequest.java @@ -1,86 +1,62 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/securitycenter/v1/securitycenter_service.proto package com.google.cloud.securitycenter.v1; /** - * - * *
  * Request message for getting a source.
  * 
* * Protobuf type {@code google.cloud.securitycenter.v1.GetSourceRequest} */ -public final class GetSourceRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetSourceRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.securitycenter.v1.GetSourceRequest) GetSourceRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetSourceRequest.newBuilder() to construct. private GetSourceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetSourceRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetSourceRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.securitycenter.v1.SecuritycenterService - .internal_static_google_cloud_securitycenter_v1_GetSourceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.securitycenter.v1.SecuritycenterService.internal_static_google_cloud_securitycenter_v1_GetSourceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.securitycenter.v1.SecuritycenterService - .internal_static_google_cloud_securitycenter_v1_GetSourceRequest_fieldAccessorTable + return com.google.cloud.securitycenter.v1.SecuritycenterService.internal_static_google_cloud_securitycenter_v1_GetSourceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.securitycenter.v1.GetSourceRequest.class, - com.google.cloud.securitycenter.v1.GetSourceRequest.Builder.class); + com.google.cloud.securitycenter.v1.GetSourceRequest.class, com.google.cloud.securitycenter.v1.GetSourceRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. Relative resource name of the source. Its format is
    * "organizations/[organization_id]/source/[source_id]".
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -89,32 +65,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. Relative resource name of the source. Its format is
    * "organizations/[organization_id]/source/[source_id]".
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -123,7 +97,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -135,7 +108,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -159,15 +133,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.securitycenter.v1.GetSourceRequest)) { return super.equals(obj); } - com.google.cloud.securitycenter.v1.GetSourceRequest other = - (com.google.cloud.securitycenter.v1.GetSourceRequest) obj; + com.google.cloud.securitycenter.v1.GetSourceRequest other = (com.google.cloud.securitycenter.v1.GetSourceRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -187,135 +161,129 @@ public int hashCode() { } public static com.google.cloud.securitycenter.v1.GetSourceRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.GetSourceRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.GetSourceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.GetSourceRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.GetSourceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.GetSourceRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.securitycenter.v1.GetSourceRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.securitycenter.v1.GetSourceRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.GetSourceRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.securitycenter.v1.GetSourceRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.securitycenter.v1.GetSourceRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.GetSourceRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.GetSourceRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.GetSourceRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.securitycenter.v1.GetSourceRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 getting a source.
    * 
* * Protobuf type {@code google.cloud.securitycenter.v1.GetSourceRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.securitycenter.v1.GetSourceRequest) com.google.cloud.securitycenter.v1.GetSourceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.securitycenter.v1.SecuritycenterService - .internal_static_google_cloud_securitycenter_v1_GetSourceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.securitycenter.v1.SecuritycenterService.internal_static_google_cloud_securitycenter_v1_GetSourceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.securitycenter.v1.SecuritycenterService - .internal_static_google_cloud_securitycenter_v1_GetSourceRequest_fieldAccessorTable + return com.google.cloud.securitycenter.v1.SecuritycenterService.internal_static_google_cloud_securitycenter_v1_GetSourceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.securitycenter.v1.GetSourceRequest.class, - com.google.cloud.securitycenter.v1.GetSourceRequest.Builder.class); + com.google.cloud.securitycenter.v1.GetSourceRequest.class, com.google.cloud.securitycenter.v1.GetSourceRequest.Builder.class); } // Construct using com.google.cloud.securitycenter.v1.GetSourceRequest.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(); @@ -325,9 +293,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.securitycenter.v1.SecuritycenterService - .internal_static_google_cloud_securitycenter_v1_GetSourceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.securitycenter.v1.SecuritycenterService.internal_static_google_cloud_securitycenter_v1_GetSourceRequest_descriptor; } @java.lang.Override @@ -346,8 +314,7 @@ public com.google.cloud.securitycenter.v1.GetSourceRequest build() { @java.lang.Override public com.google.cloud.securitycenter.v1.GetSourceRequest buildPartial() { - com.google.cloud.securitycenter.v1.GetSourceRequest result = - new com.google.cloud.securitycenter.v1.GetSourceRequest(this); + com.google.cloud.securitycenter.v1.GetSourceRequest result = new com.google.cloud.securitycenter.v1.GetSourceRequest(this); result.name_ = name_; onBuilt(); return result; @@ -357,39 +324,38 @@ public com.google.cloud.securitycenter.v1.GetSourceRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.securitycenter.v1.GetSourceRequest) { - return mergeFrom((com.google.cloud.securitycenter.v1.GetSourceRequest) other); + return mergeFrom((com.google.cloud.securitycenter.v1.GetSourceRequest)other); } else { super.mergeFrom(other); return this; @@ -397,8 +363,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.securitycenter.v1.GetSourceRequest other) { - if (other == com.google.cloud.securitycenter.v1.GetSourceRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.securitycenter.v1.GetSourceRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -429,19 +394,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + + 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) { @@ -454,23 +417,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. Relative resource name of the source. Its format is
      * "organizations/[organization_id]/source/[source_id]".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -479,24 +438,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. Relative resource name of the source. Its format is
      * "organizations/[organization_id]/source/[source_id]".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -504,77 +460,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. Relative resource name of the source. Its format is
      * "organizations/[organization_id]/source/[source_id]".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. Relative resource name of the source. Its format is
      * "organizations/[organization_id]/source/[source_id]".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. Relative resource name of the source. Its format is
      * "organizations/[organization_id]/source/[source_id]".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -584,12 +527,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.securitycenter.v1.GetSourceRequest) } // @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1.GetSourceRequest) private static final com.google.cloud.securitycenter.v1.GetSourceRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.securitycenter.v1.GetSourceRequest(); } @@ -598,27 +541,27 @@ public static com.google.cloud.securitycenter.v1.GetSourceRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetSourceRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - 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 GetSourceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + 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; @@ -633,4 +576,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.securitycenter.v1.GetSourceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetSourceRequestOrBuilder.java b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetSourceRequestOrBuilder.java new file mode 100644 index 000000000000..c25dba2e7a9a --- /dev/null +++ b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetSourceRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/securitycenter/v1/securitycenter_service.proto + +package com.google.cloud.securitycenter.v1; + +public interface GetSourceRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.securitycenter.v1.GetSourceRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. Relative resource name of the source. Its format is
+   * "organizations/[organization_id]/source/[source_id]".
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. Relative resource name of the source. Its format is
+   * "organizations/[organization_id]/source/[source_id]".
+   * 
+ * + * 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-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupAssetsRequest.java b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupAssetsRequest.java similarity index 84% rename from java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupAssetsRequest.java rename to owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupAssetsRequest.java index adfbd702f2bd..400ac2626ae2 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupAssetsRequest.java +++ b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupAssetsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/securitycenter/v1/securitycenter_service.proto package com.google.cloud.securitycenter.v1; /** - * - * *
  * Request message for grouping by assets.
  * 
* * Protobuf type {@code google.cloud.securitycenter.v1.GroupAssetsRequest} */ -public final class GroupAssetsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GroupAssetsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.securitycenter.v1.GroupAssetsRequest) GroupAssetsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GroupAssetsRequest.newBuilder() to construct. private GroupAssetsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GroupAssetsRequest() { parent_ = ""; filter_ = ""; @@ -46,45 +28,39 @@ private GroupAssetsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GroupAssetsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.securitycenter.v1.SecuritycenterService - .internal_static_google_cloud_securitycenter_v1_GroupAssetsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.securitycenter.v1.SecuritycenterService.internal_static_google_cloud_securitycenter_v1_GroupAssetsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.securitycenter.v1.SecuritycenterService - .internal_static_google_cloud_securitycenter_v1_GroupAssetsRequest_fieldAccessorTable + return com.google.cloud.securitycenter.v1.SecuritycenterService.internal_static_google_cloud_securitycenter_v1_GroupAssetsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.securitycenter.v1.GroupAssetsRequest.class, - com.google.cloud.securitycenter.v1.GroupAssetsRequest.Builder.class); + com.google.cloud.securitycenter.v1.GroupAssetsRequest.class, com.google.cloud.securitycenter.v1.GroupAssetsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. Name of the organization to groupBy. Its format is
    * "organizations/[organization_id], folders/[folder_id], or
    * projects/[project_id]".
    * 
* - * - * string parent = 1 [(.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 @@ -93,33 +69,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. Name of the organization to groupBy. Its format is
    * "organizations/[organization_id], folders/[folder_id], or
    * projects/[project_id]".
    * 
* - * - * string parent = 1 [(.google.api.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 { @@ -130,8 +104,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int FILTER_FIELD_NUMBER = 2; private volatile java.lang.Object filter_; /** - * - * *
    * Expression that defines the filter to apply across assets.
    * The expression is a list of zero or more restrictions combined via logical
@@ -183,7 +155,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string filter = 2; - * * @return The filter. */ @java.lang.Override @@ -192,15 +163,14 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** - * - * *
    * Expression that defines the filter to apply across assets.
    * The expression is a list of zero or more restrictions combined via logical
@@ -252,15 +222,16 @@ public java.lang.String getFilter() {
    * 
* * string filter = 2; - * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -271,8 +242,6 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int GROUP_BY_FIELD_NUMBER = 3; private volatile java.lang.Object groupBy_; /** - * - * *
    * Required. Expression that defines what assets fields to use for grouping.
    * The string value should follow SQL syntax: comma separated list of fields.
@@ -291,7 +260,6 @@ public com.google.protobuf.ByteString getFilterBytes() {
    * 
* * string group_by = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The groupBy. */ @java.lang.Override @@ -300,15 +268,14 @@ public java.lang.String getGroupBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); groupBy_ = s; return s; } } /** - * - * *
    * Required. Expression that defines what assets fields to use for grouping.
    * The string value should follow SQL syntax: comma separated list of fields.
@@ -327,15 +294,16 @@ public java.lang.String getGroupBy() {
    * 
* * string group_by = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for groupBy. */ @java.lang.Override - public com.google.protobuf.ByteString getGroupByBytes() { + public com.google.protobuf.ByteString + getGroupByBytes() { java.lang.Object ref = groupBy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); groupBy_ = b; return b; } else { @@ -346,8 +314,6 @@ public com.google.protobuf.ByteString getGroupByBytes() { public static final int COMPARE_DURATION_FIELD_NUMBER = 4; private com.google.protobuf.Duration compareDuration_; /** - * - * *
    * When compare_duration is set, the GroupResult's "state_change" property is
    * updated to indicate whether the asset was added, removed, or remained
@@ -374,7 +340,6 @@ public com.google.protobuf.ByteString getGroupByBytes() {
    * 
* * .google.protobuf.Duration compare_duration = 4; - * * @return Whether the compareDuration field is set. */ @java.lang.Override @@ -382,8 +347,6 @@ public boolean hasCompareDuration() { return compareDuration_ != null; } /** - * - * *
    * When compare_duration is set, the GroupResult's "state_change" property is
    * updated to indicate whether the asset was added, removed, or remained
@@ -410,18 +373,13 @@ public boolean hasCompareDuration() {
    * 
* * .google.protobuf.Duration compare_duration = 4; - * * @return The compareDuration. */ @java.lang.Override public com.google.protobuf.Duration getCompareDuration() { - return compareDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : compareDuration_; + return compareDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : compareDuration_; } /** - * - * *
    * When compare_duration is set, the GroupResult's "state_change" property is
    * updated to indicate whether the asset was added, removed, or remained
@@ -457,8 +415,6 @@ public com.google.protobuf.DurationOrBuilder getCompareDurationOrBuilder() {
   public static final int READ_TIME_FIELD_NUMBER = 5;
   private com.google.protobuf.Timestamp readTime_;
   /**
-   *
-   *
    * 
    * Time used as a reference point when filtering assets. The filter is limited
    * to assets existing at the supplied time and their values are those at that
@@ -467,7 +423,6 @@ public com.google.protobuf.DurationOrBuilder getCompareDurationOrBuilder() {
    * 
* * .google.protobuf.Timestamp read_time = 5; - * * @return Whether the readTime field is set. */ @java.lang.Override @@ -475,8 +430,6 @@ public boolean hasReadTime() { return readTime_ != null; } /** - * - * *
    * Time used as a reference point when filtering assets. The filter is limited
    * to assets existing at the supplied time and their values are those at that
@@ -485,7 +438,6 @@ public boolean hasReadTime() {
    * 
* * .google.protobuf.Timestamp read_time = 5; - * * @return The readTime. */ @java.lang.Override @@ -493,8 +445,6 @@ public com.google.protobuf.Timestamp getReadTime() { return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_; } /** - * - * *
    * Time used as a reference point when filtering assets. The filter is limited
    * to assets existing at the supplied time and their values are those at that
@@ -512,8 +462,6 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
   public static final int PAGE_TOKEN_FIELD_NUMBER = 7;
   private volatile java.lang.Object pageToken_;
   /**
-   *
-   *
    * 
    * The value returned by the last `GroupAssetsResponse`; indicates
    * that this is a continuation of a prior `GroupAssets` call, and that the
@@ -521,7 +469,6 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
    * 
* * string page_token = 7; - * * @return The pageToken. */ @java.lang.Override @@ -530,15 +477,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; } } /** - * - * *
    * The value returned by the last `GroupAssetsResponse`; indicates
    * that this is a continuation of a prior `GroupAssets` call, and that the
@@ -546,15 +492,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 7; - * * @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 { @@ -565,15 +512,12 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 8; private int pageSize_; /** - * - * *
    * The maximum number of results to return in a single response. Default is
    * 10, minimum is 1, maximum is 1000.
    * 
* * int32 page_size = 8; - * * @return The pageSize. */ @java.lang.Override @@ -582,7 +526,6 @@ public int getPageSize() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -594,7 +537,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -635,16 +579,19 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, groupBy_); } if (compareDuration_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getCompareDuration()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getCompareDuration()); } if (readTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getReadTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getReadTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, pageToken_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(8, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(8, pageSize_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -654,27 +601,33 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.securitycenter.v1.GroupAssetsRequest)) { return super.equals(obj); } - com.google.cloud.securitycenter.v1.GroupAssetsRequest other = - (com.google.cloud.securitycenter.v1.GroupAssetsRequest) obj; + com.google.cloud.securitycenter.v1.GroupAssetsRequest other = (com.google.cloud.securitycenter.v1.GroupAssetsRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getFilter().equals(other.getFilter())) return false; - if (!getGroupBy().equals(other.getGroupBy())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; + if (!getGroupBy() + .equals(other.getGroupBy())) return false; if (hasCompareDuration() != other.hasCompareDuration()) return false; if (hasCompareDuration()) { - if (!getCompareDuration().equals(other.getCompareDuration())) return false; + if (!getCompareDuration() + .equals(other.getCompareDuration())) return false; } if (hasReadTime() != other.hasReadTime()) return false; if (hasReadTime()) { - if (!getReadTime().equals(other.getReadTime())) return false; + if (!getReadTime() + .equals(other.getReadTime())) return false; } - if (!getPageToken().equals(other.getPageToken())) return false; - if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (getPageSize() + != other.getPageSize()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -710,136 +663,129 @@ public int hashCode() { } public static com.google.cloud.securitycenter.v1.GroupAssetsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.GroupAssetsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.GroupAssetsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.GroupAssetsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.GroupAssetsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.GroupAssetsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.securitycenter.v1.GroupAssetsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.securitycenter.v1.GroupAssetsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.GroupAssetsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.securitycenter.v1.GroupAssetsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.securitycenter.v1.GroupAssetsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.GroupAssetsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.GroupAssetsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.GroupAssetsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.securitycenter.v1.GroupAssetsRequest prototype) { + public static Builder newBuilder(com.google.cloud.securitycenter.v1.GroupAssetsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 grouping by assets.
    * 
* * Protobuf type {@code google.cloud.securitycenter.v1.GroupAssetsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.securitycenter.v1.GroupAssetsRequest) com.google.cloud.securitycenter.v1.GroupAssetsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.securitycenter.v1.SecuritycenterService - .internal_static_google_cloud_securitycenter_v1_GroupAssetsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.securitycenter.v1.SecuritycenterService.internal_static_google_cloud_securitycenter_v1_GroupAssetsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.securitycenter.v1.SecuritycenterService - .internal_static_google_cloud_securitycenter_v1_GroupAssetsRequest_fieldAccessorTable + return com.google.cloud.securitycenter.v1.SecuritycenterService.internal_static_google_cloud_securitycenter_v1_GroupAssetsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.securitycenter.v1.GroupAssetsRequest.class, - com.google.cloud.securitycenter.v1.GroupAssetsRequest.Builder.class); + com.google.cloud.securitycenter.v1.GroupAssetsRequest.class, com.google.cloud.securitycenter.v1.GroupAssetsRequest.Builder.class); } // Construct using com.google.cloud.securitycenter.v1.GroupAssetsRequest.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(); @@ -869,9 +815,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.securitycenter.v1.SecuritycenterService - .internal_static_google_cloud_securitycenter_v1_GroupAssetsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.securitycenter.v1.SecuritycenterService.internal_static_google_cloud_securitycenter_v1_GroupAssetsRequest_descriptor; } @java.lang.Override @@ -890,8 +836,7 @@ public com.google.cloud.securitycenter.v1.GroupAssetsRequest build() { @java.lang.Override public com.google.cloud.securitycenter.v1.GroupAssetsRequest buildPartial() { - com.google.cloud.securitycenter.v1.GroupAssetsRequest result = - new com.google.cloud.securitycenter.v1.GroupAssetsRequest(this); + com.google.cloud.securitycenter.v1.GroupAssetsRequest result = new com.google.cloud.securitycenter.v1.GroupAssetsRequest(this); result.parent_ = parent_; result.filter_ = filter_; result.groupBy_ = groupBy_; @@ -915,39 +860,38 @@ public com.google.cloud.securitycenter.v1.GroupAssetsRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.securitycenter.v1.GroupAssetsRequest) { - return mergeFrom((com.google.cloud.securitycenter.v1.GroupAssetsRequest) other); + return mergeFrom((com.google.cloud.securitycenter.v1.GroupAssetsRequest)other); } else { super.mergeFrom(other); return this; @@ -955,8 +899,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.securitycenter.v1.GroupAssetsRequest other) { - if (other == com.google.cloud.securitycenter.v1.GroupAssetsRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.securitycenter.v1.GroupAssetsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -1008,55 +951,51 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - filter_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 26: - { - groupBy_ = input.readStringRequireUtf8(); - - break; - } // case 26 - case 34: - { - input.readMessage(getCompareDurationFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 34 - case 42: - { - input.readMessage(getReadTimeFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 42 - case 58: - { - pageToken_ = input.readStringRequireUtf8(); - - break; - } // case 58 - case 64: - { - pageSize_ = input.readInt32(); - - break; - } // case 64 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + filter_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 26: { + groupBy_ = input.readStringRequireUtf8(); + + break; + } // case 26 + case 34: { + input.readMessage( + getCompareDurationFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 34 + case 42: { + input.readMessage( + getReadTimeFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 42 + case 58: { + pageToken_ = input.readStringRequireUtf8(); + + break; + } // case 58 + case 64: { + pageSize_ = input.readInt32(); + + break; + } // case 64 + 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) { @@ -1069,24 +1008,20 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. Name of the organization to groupBy. Its format is
      * "organizations/[organization_id], folders/[folder_id], or
      * projects/[project_id]".
      * 
* - * - * string parent = 1 [(.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; @@ -1095,25 +1030,22 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Name of the organization to groupBy. Its format is
      * "organizations/[organization_id], folders/[folder_id], or
      * projects/[project_id]".
      * 
* - * - * string parent = 1 [(.google.api.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 { @@ -1121,73 +1053,60 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Name of the organization to groupBy. Its format is
      * "organizations/[organization_id], folders/[folder_id], or
      * projects/[project_id]".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. Name of the organization to groupBy. Its format is
      * "organizations/[organization_id], folders/[folder_id], or
      * projects/[project_id]".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. Name of the organization to groupBy. Its format is
      * "organizations/[organization_id], folders/[folder_id], or
      * projects/[project_id]".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -1195,8 +1114,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * Expression that defines the filter to apply across assets.
      * The expression is a list of zero or more restrictions combined via logical
@@ -1248,13 +1165,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * string filter = 2; - * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -1263,8 +1180,6 @@ public java.lang.String getFilter() { } } /** - * - * *
      * Expression that defines the filter to apply across assets.
      * The expression is a list of zero or more restrictions combined via logical
@@ -1316,14 +1231,15 @@ public java.lang.String getFilter() {
      * 
* * string filter = 2; - * * @return The bytes for filter. */ - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -1331,8 +1247,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * Expression that defines the filter to apply across assets.
      * The expression is a list of zero or more restrictions combined via logical
@@ -1384,22 +1298,20 @@ public com.google.protobuf.ByteString getFilterBytes() {
      * 
* * string filter = 2; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** - * - * *
      * Expression that defines the filter to apply across assets.
      * The expression is a list of zero or more restrictions combined via logical
@@ -1451,18 +1363,15 @@ public Builder setFilter(java.lang.String value) {
      * 
* * string filter = 2; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * Expression that defines the filter to apply across assets.
      * The expression is a list of zero or more restrictions combined via logical
@@ -1514,16 +1423,16 @@ public Builder clearFilter() {
      * 
* * string filter = 2; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; @@ -1531,8 +1440,6 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { private java.lang.Object groupBy_ = ""; /** - * - * *
      * Required. Expression that defines what assets fields to use for grouping.
      * The string value should follow SQL syntax: comma separated list of fields.
@@ -1551,13 +1458,13 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) {
      * 
* * string group_by = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The groupBy. */ public java.lang.String getGroupBy() { java.lang.Object ref = groupBy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); groupBy_ = s; return s; @@ -1566,8 +1473,6 @@ public java.lang.String getGroupBy() { } } /** - * - * *
      * Required. Expression that defines what assets fields to use for grouping.
      * The string value should follow SQL syntax: comma separated list of fields.
@@ -1586,14 +1491,15 @@ public java.lang.String getGroupBy() {
      * 
* * string group_by = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for groupBy. */ - public com.google.protobuf.ByteString getGroupByBytes() { + public com.google.protobuf.ByteString + getGroupByBytes() { java.lang.Object ref = groupBy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); groupBy_ = b; return b; } else { @@ -1601,8 +1507,6 @@ public com.google.protobuf.ByteString getGroupByBytes() { } } /** - * - * *
      * Required. Expression that defines what assets fields to use for grouping.
      * The string value should follow SQL syntax: comma separated list of fields.
@@ -1621,22 +1525,20 @@ public com.google.protobuf.ByteString getGroupByBytes() {
      * 
* * string group_by = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The groupBy to set. * @return This builder for chaining. */ - public Builder setGroupBy(java.lang.String value) { + public Builder setGroupBy( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + groupBy_ = value; onChanged(); return this; } /** - * - * *
      * Required. Expression that defines what assets fields to use for grouping.
      * The string value should follow SQL syntax: comma separated list of fields.
@@ -1655,18 +1557,15 @@ public Builder setGroupBy(java.lang.String value) {
      * 
* * string group_by = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearGroupBy() { - + groupBy_ = getDefaultInstance().getGroupBy(); onChanged(); return this; } /** - * - * *
      * Required. Expression that defines what assets fields to use for grouping.
      * The string value should follow SQL syntax: comma separated list of fields.
@@ -1685,16 +1584,16 @@ public Builder clearGroupBy() {
      * 
* * string group_by = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for groupBy to set. * @return This builder for chaining. */ - public Builder setGroupByBytes(com.google.protobuf.ByteString value) { + public Builder setGroupByBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + groupBy_ = value; onChanged(); return this; @@ -1702,13 +1601,8 @@ public Builder setGroupByBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Duration compareDuration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - compareDurationBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> compareDurationBuilder_; /** - * - * *
      * When compare_duration is set, the GroupResult's "state_change" property is
      * updated to indicate whether the asset was added, removed, or remained
@@ -1735,15 +1629,12 @@ public Builder setGroupByBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.protobuf.Duration compare_duration = 4; - * * @return Whether the compareDuration field is set. */ public boolean hasCompareDuration() { return compareDurationBuilder_ != null || compareDuration_ != null; } /** - * - * *
      * When compare_duration is set, the GroupResult's "state_change" property is
      * updated to indicate whether the asset was added, removed, or remained
@@ -1770,21 +1661,16 @@ public boolean hasCompareDuration() {
      * 
* * .google.protobuf.Duration compare_duration = 4; - * * @return The compareDuration. */ public com.google.protobuf.Duration getCompareDuration() { if (compareDurationBuilder_ == null) { - return compareDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : compareDuration_; + return compareDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : compareDuration_; } else { return compareDurationBuilder_.getMessage(); } } /** - * - * *
      * When compare_duration is set, the GroupResult's "state_change" property is
      * updated to indicate whether the asset was added, removed, or remained
@@ -1826,8 +1712,6 @@ public Builder setCompareDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * When compare_duration is set, the GroupResult's "state_change" property is
      * updated to indicate whether the asset was added, removed, or remained
@@ -1855,7 +1739,8 @@ public Builder setCompareDuration(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration compare_duration = 4;
      */
-    public Builder setCompareDuration(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setCompareDuration(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (compareDurationBuilder_ == null) {
         compareDuration_ = builderForValue.build();
         onChanged();
@@ -1866,8 +1751,6 @@ public Builder setCompareDuration(com.google.protobuf.Duration.Builder builderFo
       return this;
     }
     /**
-     *
-     *
      * 
      * When compare_duration is set, the GroupResult's "state_change" property is
      * updated to indicate whether the asset was added, removed, or remained
@@ -1899,9 +1782,7 @@ public Builder mergeCompareDuration(com.google.protobuf.Duration value) {
       if (compareDurationBuilder_ == null) {
         if (compareDuration_ != null) {
           compareDuration_ =
-              com.google.protobuf.Duration.newBuilder(compareDuration_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Duration.newBuilder(compareDuration_).mergeFrom(value).buildPartial();
         } else {
           compareDuration_ = value;
         }
@@ -1913,8 +1794,6 @@ public Builder mergeCompareDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * When compare_duration is set, the GroupResult's "state_change" property is
      * updated to indicate whether the asset was added, removed, or remained
@@ -1954,8 +1833,6 @@ public Builder clearCompareDuration() {
       return this;
     }
     /**
-     *
-     *
      * 
      * When compare_duration is set, the GroupResult's "state_change" property is
      * updated to indicate whether the asset was added, removed, or remained
@@ -1984,13 +1861,11 @@ public Builder clearCompareDuration() {
      * .google.protobuf.Duration compare_duration = 4;
      */
     public com.google.protobuf.Duration.Builder getCompareDurationBuilder() {
-
+      
       onChanged();
       return getCompareDurationFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * When compare_duration is set, the GroupResult's "state_change" property is
      * updated to indicate whether the asset was added, removed, or remained
@@ -2022,14 +1897,11 @@ public com.google.protobuf.DurationOrBuilder getCompareDurationOrBuilder() {
       if (compareDurationBuilder_ != null) {
         return compareDurationBuilder_.getMessageOrBuilder();
       } else {
-        return compareDuration_ == null
-            ? com.google.protobuf.Duration.getDefaultInstance()
-            : compareDuration_;
+        return compareDuration_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : compareDuration_;
       }
     }
     /**
-     *
-     *
      * 
      * When compare_duration is set, the GroupResult's "state_change" property is
      * updated to indicate whether the asset was added, removed, or remained
@@ -2058,17 +1930,14 @@ public com.google.protobuf.DurationOrBuilder getCompareDurationOrBuilder() {
      * .google.protobuf.Duration compare_duration = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
         getCompareDurationFieldBuilder() {
       if (compareDurationBuilder_ == null) {
-        compareDurationBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getCompareDuration(), getParentForChildren(), isClean());
+        compareDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getCompareDuration(),
+                getParentForChildren(),
+                isClean());
         compareDuration_ = null;
       }
       return compareDurationBuilder_;
@@ -2076,13 +1945,8 @@ public com.google.protobuf.DurationOrBuilder getCompareDurationOrBuilder() {
 
     private com.google.protobuf.Timestamp readTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        readTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> readTimeBuilder_;
     /**
-     *
-     *
      * 
      * Time used as a reference point when filtering assets. The filter is limited
      * to assets existing at the supplied time and their values are those at that
@@ -2091,15 +1955,12 @@ public com.google.protobuf.DurationOrBuilder getCompareDurationOrBuilder() {
      * 
* * .google.protobuf.Timestamp read_time = 5; - * * @return Whether the readTime field is set. */ public boolean hasReadTime() { return readTimeBuilder_ != null || readTime_ != null; } /** - * - * *
      * Time used as a reference point when filtering assets. The filter is limited
      * to assets existing at the supplied time and their values are those at that
@@ -2108,7 +1969,6 @@ public boolean hasReadTime() {
      * 
* * .google.protobuf.Timestamp read_time = 5; - * * @return The readTime. */ public com.google.protobuf.Timestamp getReadTime() { @@ -2119,8 +1979,6 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** - * - * *
      * Time used as a reference point when filtering assets. The filter is limited
      * to assets existing at the supplied time and their values are those at that
@@ -2144,8 +2002,6 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Time used as a reference point when filtering assets. The filter is limited
      * to assets existing at the supplied time and their values are those at that
@@ -2155,7 +2011,8 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp read_time = 5;
      */
-    public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setReadTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (readTimeBuilder_ == null) {
         readTime_ = builderForValue.build();
         onChanged();
@@ -2166,8 +2023,6 @@ public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue
       return this;
     }
     /**
-     *
-     *
      * 
      * Time used as a reference point when filtering assets. The filter is limited
      * to assets existing at the supplied time and their values are those at that
@@ -2181,7 +2036,7 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       if (readTimeBuilder_ == null) {
         if (readTime_ != null) {
           readTime_ =
-              com.google.protobuf.Timestamp.newBuilder(readTime_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(readTime_).mergeFrom(value).buildPartial();
         } else {
           readTime_ = value;
         }
@@ -2193,8 +2048,6 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Time used as a reference point when filtering assets. The filter is limited
      * to assets existing at the supplied time and their values are those at that
@@ -2216,8 +2069,6 @@ public Builder clearReadTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Time used as a reference point when filtering assets. The filter is limited
      * to assets existing at the supplied time and their values are those at that
@@ -2228,13 +2079,11 @@ public Builder clearReadTime() {
      * .google.protobuf.Timestamp read_time = 5;
      */
     public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() {
-
+      
       onChanged();
       return getReadTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Time used as a reference point when filtering assets. The filter is limited
      * to assets existing at the supplied time and their values are those at that
@@ -2248,12 +2097,11 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
       if (readTimeBuilder_ != null) {
         return readTimeBuilder_.getMessageOrBuilder();
       } else {
-        return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_;
+        return readTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : readTime_;
       }
     }
     /**
-     *
-     *
      * 
      * Time used as a reference point when filtering assets. The filter is limited
      * to assets existing at the supplied time and their values are those at that
@@ -2264,17 +2112,14 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
      * .google.protobuf.Timestamp read_time = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getReadTimeFieldBuilder() {
       if (readTimeBuilder_ == null) {
-        readTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getReadTime(), getParentForChildren(), isClean());
+        readTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getReadTime(),
+                getParentForChildren(),
+                isClean());
         readTime_ = null;
       }
       return readTimeBuilder_;
@@ -2282,8 +2127,6 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
 
     private java.lang.Object pageToken_ = "";
     /**
-     *
-     *
      * 
      * The value returned by the last `GroupAssetsResponse`; indicates
      * that this is a continuation of a prior `GroupAssets` call, and that the
@@ -2291,13 +2134,13 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
      * 
* * string page_token = 7; - * * @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; @@ -2306,8 +2149,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The value returned by the last `GroupAssetsResponse`; indicates
      * that this is a continuation of a prior `GroupAssets` call, and that the
@@ -2315,14 +2156,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 7; - * * @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 { @@ -2330,8 +2172,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The value returned by the last `GroupAssetsResponse`; indicates
      * that this is a continuation of a prior `GroupAssets` call, and that the
@@ -2339,22 +2179,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 7; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * The value returned by the last `GroupAssetsResponse`; indicates
      * that this is a continuation of a prior `GroupAssets` call, and that the
@@ -2362,18 +2200,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 7; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * The value returned by the last `GroupAssetsResponse`; indicates
      * that this is a continuation of a prior `GroupAssets` call, and that the
@@ -2381,32 +2216,29 @@ public Builder clearPageToken() {
      * 
* * string page_token = 7; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of results to return in a single response. Default is
      * 10, minimum is 1, maximum is 1000.
      * 
* * int32 page_size = 8; - * * @return The pageSize. */ @java.lang.Override @@ -2414,45 +2246,39 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of results to return in a single response. Default is
      * 10, minimum is 1, maximum is 1000.
      * 
* * int32 page_size = 8; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of results to return in a single response. Default is
      * 10, minimum is 1, maximum is 1000.
      * 
* * int32 page_size = 8; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2462,12 +2288,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.securitycenter.v1.GroupAssetsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1.GroupAssetsRequest) private static final com.google.cloud.securitycenter.v1.GroupAssetsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.securitycenter.v1.GroupAssetsRequest(); } @@ -2476,27 +2302,27 @@ public static com.google.cloud.securitycenter.v1.GroupAssetsRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GroupAssetsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - 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 GroupAssetsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + 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; @@ -2511,4 +2337,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.securitycenter.v1.GroupAssetsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupAssetsRequestOrBuilder.java b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupAssetsRequestOrBuilder.java similarity index 91% rename from java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupAssetsRequestOrBuilder.java rename to owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupAssetsRequestOrBuilder.java index aa9e70654ec7..f401dcc80c26 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupAssetsRequestOrBuilder.java +++ b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupAssetsRequestOrBuilder.java @@ -1,64 +1,37 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/securitycenter/v1/securitycenter_service.proto package com.google.cloud.securitycenter.v1; -public interface GroupAssetsRequestOrBuilder - extends +public interface GroupAssetsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.securitycenter.v1.GroupAssetsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Name of the organization to groupBy. Its format is
    * "organizations/[organization_id], folders/[folder_id], or
    * projects/[project_id]".
    * 
* - * - * string parent = 1 [(.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. Name of the organization to groupBy. Its format is
    * "organizations/[organization_id], folders/[folder_id], or
    * projects/[project_id]".
    * 
* - * - * string parent = 1 [(.google.api.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(); /** - * - * *
    * Expression that defines the filter to apply across assets.
    * The expression is a list of zero or more restrictions combined via logical
@@ -110,13 +83,10 @@ public interface GroupAssetsRequestOrBuilder
    * 
* * string filter = 2; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * Expression that defines the filter to apply across assets.
    * The expression is a list of zero or more restrictions combined via logical
@@ -168,14 +138,12 @@ public interface GroupAssetsRequestOrBuilder
    * 
* * string filter = 2; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * Required. Expression that defines what assets fields to use for grouping.
    * The string value should follow SQL syntax: comma separated list of fields.
@@ -194,13 +162,10 @@ public interface GroupAssetsRequestOrBuilder
    * 
* * string group_by = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The groupBy. */ java.lang.String getGroupBy(); /** - * - * *
    * Required. Expression that defines what assets fields to use for grouping.
    * The string value should follow SQL syntax: comma separated list of fields.
@@ -219,14 +184,12 @@ public interface GroupAssetsRequestOrBuilder
    * 
* * string group_by = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for groupBy. */ - com.google.protobuf.ByteString getGroupByBytes(); + com.google.protobuf.ByteString + getGroupByBytes(); /** - * - * *
    * When compare_duration is set, the GroupResult's "state_change" property is
    * updated to indicate whether the asset was added, removed, or remained
@@ -253,13 +216,10 @@ public interface GroupAssetsRequestOrBuilder
    * 
* * .google.protobuf.Duration compare_duration = 4; - * * @return Whether the compareDuration field is set. */ boolean hasCompareDuration(); /** - * - * *
    * When compare_duration is set, the GroupResult's "state_change" property is
    * updated to indicate whether the asset was added, removed, or remained
@@ -286,13 +246,10 @@ public interface GroupAssetsRequestOrBuilder
    * 
* * .google.protobuf.Duration compare_duration = 4; - * * @return The compareDuration. */ com.google.protobuf.Duration getCompareDuration(); /** - * - * *
    * When compare_duration is set, the GroupResult's "state_change" property is
    * updated to indicate whether the asset was added, removed, or remained
@@ -323,8 +280,6 @@ public interface GroupAssetsRequestOrBuilder
   com.google.protobuf.DurationOrBuilder getCompareDurationOrBuilder();
 
   /**
-   *
-   *
    * 
    * Time used as a reference point when filtering assets. The filter is limited
    * to assets existing at the supplied time and their values are those at that
@@ -333,13 +288,10 @@ public interface GroupAssetsRequestOrBuilder
    * 
* * .google.protobuf.Timestamp read_time = 5; - * * @return Whether the readTime field is set. */ boolean hasReadTime(); /** - * - * *
    * Time used as a reference point when filtering assets. The filter is limited
    * to assets existing at the supplied time and their values are those at that
@@ -348,13 +300,10 @@ public interface GroupAssetsRequestOrBuilder
    * 
* * .google.protobuf.Timestamp read_time = 5; - * * @return The readTime. */ com.google.protobuf.Timestamp getReadTime(); /** - * - * *
    * Time used as a reference point when filtering assets. The filter is limited
    * to assets existing at the supplied time and their values are those at that
@@ -367,8 +316,6 @@ public interface GroupAssetsRequestOrBuilder
   com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * The value returned by the last `GroupAssetsResponse`; indicates
    * that this is a continuation of a prior `GroupAssets` call, and that the
@@ -376,13 +323,10 @@ public interface GroupAssetsRequestOrBuilder
    * 
* * string page_token = 7; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The value returned by the last `GroupAssetsResponse`; indicates
    * that this is a continuation of a prior `GroupAssets` call, and that the
@@ -390,21 +334,18 @@ public interface GroupAssetsRequestOrBuilder
    * 
* * string page_token = 7; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * The maximum number of results to return in a single response. Default is
    * 10, minimum is 1, maximum is 1000.
    * 
* * int32 page_size = 8; - * * @return The pageSize. */ int getPageSize(); diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupAssetsResponse.java b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupAssetsResponse.java similarity index 76% rename from java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupAssetsResponse.java rename to owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupAssetsResponse.java index 85c2f775f299..b7bed4d8d2e0 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupAssetsResponse.java +++ b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupAssetsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/securitycenter/v1/securitycenter_service.proto package com.google.cloud.securitycenter.v1; /** - * - * *
  * Response message for grouping by assets.
  * 
* * Protobuf type {@code google.cloud.securitycenter.v1.GroupAssetsResponse} */ -public final class GroupAssetsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GroupAssetsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.securitycenter.v1.GroupAssetsResponse) GroupAssetsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GroupAssetsResponse.newBuilder() to construct. private GroupAssetsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GroupAssetsResponse() { groupByResults_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,35 +26,32 @@ private GroupAssetsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GroupAssetsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.securitycenter.v1.SecuritycenterService - .internal_static_google_cloud_securitycenter_v1_GroupAssetsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.securitycenter.v1.SecuritycenterService.internal_static_google_cloud_securitycenter_v1_GroupAssetsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.securitycenter.v1.SecuritycenterService - .internal_static_google_cloud_securitycenter_v1_GroupAssetsResponse_fieldAccessorTable + return com.google.cloud.securitycenter.v1.SecuritycenterService.internal_static_google_cloud_securitycenter_v1_GroupAssetsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.securitycenter.v1.GroupAssetsResponse.class, - com.google.cloud.securitycenter.v1.GroupAssetsResponse.Builder.class); + com.google.cloud.securitycenter.v1.GroupAssetsResponse.class, com.google.cloud.securitycenter.v1.GroupAssetsResponse.Builder.class); } public static final int GROUP_BY_RESULTS_FIELD_NUMBER = 1; private java.util.List groupByResults_; /** - * - * *
    * Group results. There exists an element for each existing unique
    * combination of property/values. The element contains a count for the number
@@ -86,8 +65,6 @@ public java.util.List getGroupBy
     return groupByResults_;
   }
   /**
-   *
-   *
    * 
    * Group results. There exists an element for each existing unique
    * combination of property/values. The element contains a count for the number
@@ -97,13 +74,11 @@ public java.util.List getGroupBy
    * repeated .google.cloud.securitycenter.v1.GroupResult group_by_results = 1;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getGroupByResultsOrBuilderList() {
     return groupByResults_;
   }
   /**
-   *
-   *
    * 
    * Group results. There exists an element for each existing unique
    * combination of property/values. The element contains a count for the number
@@ -117,8 +92,6 @@ public int getGroupByResultsCount() {
     return groupByResults_.size();
   }
   /**
-   *
-   *
    * 
    * Group results. There exists an element for each existing unique
    * combination of property/values. The element contains a count for the number
@@ -132,8 +105,6 @@ public com.google.cloud.securitycenter.v1.GroupResult getGroupByResults(int inde
     return groupByResults_.get(index);
   }
   /**
-   *
-   *
    * 
    * Group results. There exists an element for each existing unique
    * combination of property/values. The element contains a count for the number
@@ -151,14 +122,11 @@ public com.google.cloud.securitycenter.v1.GroupResultOrBuilder getGroupByResults
   public static final int READ_TIME_FIELD_NUMBER = 2;
   private com.google.protobuf.Timestamp readTime_;
   /**
-   *
-   *
    * 
    * Time used for executing the groupBy request.
    * 
* * .google.protobuf.Timestamp read_time = 2; - * * @return Whether the readTime field is set. */ @java.lang.Override @@ -166,14 +134,11 @@ public boolean hasReadTime() { return readTime_ != null; } /** - * - * *
    * Time used for executing the groupBy request.
    * 
* * .google.protobuf.Timestamp read_time = 2; - * * @return The readTime. */ @java.lang.Override @@ -181,8 +146,6 @@ public com.google.protobuf.Timestamp getReadTime() { return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_; } /** - * - * *
    * Time used for executing the groupBy request.
    * 
@@ -197,15 +160,12 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() { public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results.
    * 
* * string next_page_token = 3; - * * @return The nextPageToken. */ @java.lang.Override @@ -214,30 +174,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results.
    * 
* * string next_page_token = 3; - * * @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 { @@ -248,14 +208,11 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { public static final int TOTAL_SIZE_FIELD_NUMBER = 4; private int totalSize_; /** - * - * *
    * The total number of results matching the query.
    * 
* * int32 total_size = 4; - * * @return The totalSize. */ @java.lang.Override @@ -264,7 +221,6 @@ public int getTotalSize() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -276,7 +232,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < groupByResults_.size(); i++) { output.writeMessage(1, groupByResults_.get(i)); } @@ -299,16 +256,19 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < groupByResults_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, groupByResults_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, groupByResults_.get(i)); } if (readTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getReadTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getReadTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, nextPageToken_); } if (totalSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, totalSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(4, totalSize_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -318,21 +278,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.securitycenter.v1.GroupAssetsResponse)) { return super.equals(obj); } - com.google.cloud.securitycenter.v1.GroupAssetsResponse other = - (com.google.cloud.securitycenter.v1.GroupAssetsResponse) obj; + com.google.cloud.securitycenter.v1.GroupAssetsResponse other = (com.google.cloud.securitycenter.v1.GroupAssetsResponse) obj; - if (!getGroupByResultsList().equals(other.getGroupByResultsList())) return false; + if (!getGroupByResultsList() + .equals(other.getGroupByResultsList())) return false; if (hasReadTime() != other.hasReadTime()) return false; if (hasReadTime()) { - if (!getReadTime().equals(other.getReadTime())) return false; + if (!getReadTime() + .equals(other.getReadTime())) return false; } - if (!getNextPageToken().equals(other.getNextPageToken())) return false; - if (getTotalSize() != other.getTotalSize()) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; + if (getTotalSize() + != other.getTotalSize()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -362,136 +325,129 @@ public int hashCode() { } public static com.google.cloud.securitycenter.v1.GroupAssetsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.GroupAssetsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.GroupAssetsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.GroupAssetsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.GroupAssetsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.GroupAssetsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.securitycenter.v1.GroupAssetsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.securitycenter.v1.GroupAssetsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.GroupAssetsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.securitycenter.v1.GroupAssetsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.securitycenter.v1.GroupAssetsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.GroupAssetsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.GroupAssetsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.GroupAssetsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.securitycenter.v1.GroupAssetsResponse prototype) { + public static Builder newBuilder(com.google.cloud.securitycenter.v1.GroupAssetsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 grouping by assets.
    * 
* * Protobuf type {@code google.cloud.securitycenter.v1.GroupAssetsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.securitycenter.v1.GroupAssetsResponse) com.google.cloud.securitycenter.v1.GroupAssetsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.securitycenter.v1.SecuritycenterService - .internal_static_google_cloud_securitycenter_v1_GroupAssetsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.securitycenter.v1.SecuritycenterService.internal_static_google_cloud_securitycenter_v1_GroupAssetsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.securitycenter.v1.SecuritycenterService - .internal_static_google_cloud_securitycenter_v1_GroupAssetsResponse_fieldAccessorTable + return com.google.cloud.securitycenter.v1.SecuritycenterService.internal_static_google_cloud_securitycenter_v1_GroupAssetsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.securitycenter.v1.GroupAssetsResponse.class, - com.google.cloud.securitycenter.v1.GroupAssetsResponse.Builder.class); + com.google.cloud.securitycenter.v1.GroupAssetsResponse.class, com.google.cloud.securitycenter.v1.GroupAssetsResponse.Builder.class); } // Construct using com.google.cloud.securitycenter.v1.GroupAssetsResponse.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(); @@ -516,9 +472,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.securitycenter.v1.SecuritycenterService - .internal_static_google_cloud_securitycenter_v1_GroupAssetsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.securitycenter.v1.SecuritycenterService.internal_static_google_cloud_securitycenter_v1_GroupAssetsResponse_descriptor; } @java.lang.Override @@ -537,8 +493,7 @@ public com.google.cloud.securitycenter.v1.GroupAssetsResponse build() { @java.lang.Override public com.google.cloud.securitycenter.v1.GroupAssetsResponse buildPartial() { - com.google.cloud.securitycenter.v1.GroupAssetsResponse result = - new com.google.cloud.securitycenter.v1.GroupAssetsResponse(this); + com.google.cloud.securitycenter.v1.GroupAssetsResponse result = new com.google.cloud.securitycenter.v1.GroupAssetsResponse(this); int from_bitField0_ = bitField0_; if (groupByResultsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -564,39 +519,38 @@ public com.google.cloud.securitycenter.v1.GroupAssetsResponse buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.securitycenter.v1.GroupAssetsResponse) { - return mergeFrom((com.google.cloud.securitycenter.v1.GroupAssetsResponse) other); + return mergeFrom((com.google.cloud.securitycenter.v1.GroupAssetsResponse)other); } else { super.mergeFrom(other); return this; @@ -604,8 +558,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.securitycenter.v1.GroupAssetsResponse other) { - if (other == com.google.cloud.securitycenter.v1.GroupAssetsResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.securitycenter.v1.GroupAssetsResponse.getDefaultInstance()) return this; if (groupByResultsBuilder_ == null) { if (!other.groupByResults_.isEmpty()) { if (groupByResults_.isEmpty()) { @@ -624,10 +577,9 @@ public Builder mergeFrom(com.google.cloud.securitycenter.v1.GroupAssetsResponse groupByResultsBuilder_ = null; groupByResults_ = other.groupByResults_; bitField0_ = (bitField0_ & ~0x00000001); - groupByResultsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getGroupByResultsFieldBuilder() - : null; + groupByResultsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getGroupByResultsFieldBuilder() : null; } else { groupByResultsBuilder_.addAllMessages(other.groupByResults_); } @@ -669,44 +621,42 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.securitycenter.v1.GroupResult m = - input.readMessage( - com.google.cloud.securitycenter.v1.GroupResult.parser(), extensionRegistry); - if (groupByResultsBuilder_ == null) { - ensureGroupByResultsIsMutable(); - groupByResults_.add(m); - } else { - groupByResultsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - input.readMessage(getReadTimeFieldBuilder().getBuilder(), extensionRegistry); + case 10: { + com.google.cloud.securitycenter.v1.GroupResult m = + input.readMessage( + com.google.cloud.securitycenter.v1.GroupResult.parser(), + extensionRegistry); + if (groupByResultsBuilder_ == null) { + ensureGroupByResultsIsMutable(); + groupByResults_.add(m); + } else { + groupByResultsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + input.readMessage( + getReadTimeFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 18 - case 26: - { - nextPageToken_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 26: { + nextPageToken_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 32: - { - totalSize_ = input.readInt32(); + break; + } // case 26 + case 32: { + totalSize_ = input.readInt32(); - break; - } // case 32 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 32 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -716,30 +666,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List groupByResults_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureGroupByResultsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - groupByResults_ = - new java.util.ArrayList( - groupByResults_); + groupByResults_ = new java.util.ArrayList(groupByResults_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.securitycenter.v1.GroupResult, - com.google.cloud.securitycenter.v1.GroupResult.Builder, - com.google.cloud.securitycenter.v1.GroupResultOrBuilder> - groupByResultsBuilder_; + com.google.cloud.securitycenter.v1.GroupResult, com.google.cloud.securitycenter.v1.GroupResult.Builder, com.google.cloud.securitycenter.v1.GroupResultOrBuilder> groupByResultsBuilder_; /** - * - * *
      * Group results. There exists an element for each existing unique
      * combination of property/values. The element contains a count for the number
@@ -756,8 +697,6 @@ public java.util.List getGroupBy
       }
     }
     /**
-     *
-     *
      * 
      * Group results. There exists an element for each existing unique
      * combination of property/values. The element contains a count for the number
@@ -774,8 +713,6 @@ public int getGroupByResultsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Group results. There exists an element for each existing unique
      * combination of property/values. The element contains a count for the number
@@ -792,8 +729,6 @@ public com.google.cloud.securitycenter.v1.GroupResult getGroupByResults(int inde
       }
     }
     /**
-     *
-     *
      * 
      * Group results. There exists an element for each existing unique
      * combination of property/values. The element contains a count for the number
@@ -817,8 +752,6 @@ public Builder setGroupByResults(
       return this;
     }
     /**
-     *
-     *
      * 
      * Group results. There exists an element for each existing unique
      * combination of property/values. The element contains a count for the number
@@ -839,8 +772,6 @@ public Builder setGroupByResults(
       return this;
     }
     /**
-     *
-     *
      * 
      * Group results. There exists an element for each existing unique
      * combination of property/values. The element contains a count for the number
@@ -863,8 +794,6 @@ public Builder addGroupByResults(com.google.cloud.securitycenter.v1.GroupResult
       return this;
     }
     /**
-     *
-     *
      * 
      * Group results. There exists an element for each existing unique
      * combination of property/values. The element contains a count for the number
@@ -888,8 +817,6 @@ public Builder addGroupByResults(
       return this;
     }
     /**
-     *
-     *
      * 
      * Group results. There exists an element for each existing unique
      * combination of property/values. The element contains a count for the number
@@ -910,8 +837,6 @@ public Builder addGroupByResults(
       return this;
     }
     /**
-     *
-     *
      * 
      * Group results. There exists an element for each existing unique
      * combination of property/values. The element contains a count for the number
@@ -932,8 +857,6 @@ public Builder addGroupByResults(
       return this;
     }
     /**
-     *
-     *
      * 
      * Group results. There exists an element for each existing unique
      * combination of property/values. The element contains a count for the number
@@ -946,7 +869,8 @@ public Builder addAllGroupByResults(
         java.lang.Iterable values) {
       if (groupByResultsBuilder_ == null) {
         ensureGroupByResultsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, groupByResults_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, groupByResults_);
         onChanged();
       } else {
         groupByResultsBuilder_.addAllMessages(values);
@@ -954,8 +878,6 @@ public Builder addAllGroupByResults(
       return this;
     }
     /**
-     *
-     *
      * 
      * Group results. There exists an element for each existing unique
      * combination of property/values. The element contains a count for the number
@@ -975,8 +897,6 @@ public Builder clearGroupByResults() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Group results. There exists an element for each existing unique
      * combination of property/values. The element contains a count for the number
@@ -996,8 +916,6 @@ public Builder removeGroupByResults(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Group results. There exists an element for each existing unique
      * combination of property/values. The element contains a count for the number
@@ -1011,8 +929,6 @@ public com.google.cloud.securitycenter.v1.GroupResult.Builder getGroupByResultsB
       return getGroupByResultsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * Group results. There exists an element for each existing unique
      * combination of property/values. The element contains a count for the number
@@ -1024,14 +940,11 @@ public com.google.cloud.securitycenter.v1.GroupResult.Builder getGroupByResultsB
     public com.google.cloud.securitycenter.v1.GroupResultOrBuilder getGroupByResultsOrBuilder(
         int index) {
       if (groupByResultsBuilder_ == null) {
-        return groupByResults_.get(index);
-      } else {
+        return groupByResults_.get(index);  } else {
         return groupByResultsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * Group results. There exists an element for each existing unique
      * combination of property/values. The element contains a count for the number
@@ -1040,8 +953,8 @@ public com.google.cloud.securitycenter.v1.GroupResultOrBuilder getGroupByResults
      *
      * repeated .google.cloud.securitycenter.v1.GroupResult group_by_results = 1;
      */
-    public java.util.List
-        getGroupByResultsOrBuilderList() {
+    public java.util.List 
+         getGroupByResultsOrBuilderList() {
       if (groupByResultsBuilder_ != null) {
         return groupByResultsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1049,8 +962,6 @@ public com.google.cloud.securitycenter.v1.GroupResultOrBuilder getGroupByResults
       }
     }
     /**
-     *
-     *
      * 
      * Group results. There exists an element for each existing unique
      * combination of property/values. The element contains a count for the number
@@ -1060,12 +971,10 @@ public com.google.cloud.securitycenter.v1.GroupResultOrBuilder getGroupByResults
      * repeated .google.cloud.securitycenter.v1.GroupResult group_by_results = 1;
      */
     public com.google.cloud.securitycenter.v1.GroupResult.Builder addGroupByResultsBuilder() {
-      return getGroupByResultsFieldBuilder()
-          .addBuilder(com.google.cloud.securitycenter.v1.GroupResult.getDefaultInstance());
+      return getGroupByResultsFieldBuilder().addBuilder(
+          com.google.cloud.securitycenter.v1.GroupResult.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Group results. There exists an element for each existing unique
      * combination of property/values. The element contains a count for the number
@@ -1076,12 +985,10 @@ public com.google.cloud.securitycenter.v1.GroupResult.Builder addGroupByResultsB
      */
     public com.google.cloud.securitycenter.v1.GroupResult.Builder addGroupByResultsBuilder(
         int index) {
-      return getGroupByResultsFieldBuilder()
-          .addBuilder(index, com.google.cloud.securitycenter.v1.GroupResult.getDefaultInstance());
+      return getGroupByResultsFieldBuilder().addBuilder(
+          index, com.google.cloud.securitycenter.v1.GroupResult.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Group results. There exists an element for each existing unique
      * combination of property/values. The element contains a count for the number
@@ -1090,22 +997,16 @@ public com.google.cloud.securitycenter.v1.GroupResult.Builder addGroupByResultsB
      *
      * repeated .google.cloud.securitycenter.v1.GroupResult group_by_results = 1;
      */
-    public java.util.List
-        getGroupByResultsBuilderList() {
+    public java.util.List 
+         getGroupByResultsBuilderList() {
       return getGroupByResultsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.securitycenter.v1.GroupResult,
-            com.google.cloud.securitycenter.v1.GroupResult.Builder,
-            com.google.cloud.securitycenter.v1.GroupResultOrBuilder>
+        com.google.cloud.securitycenter.v1.GroupResult, com.google.cloud.securitycenter.v1.GroupResult.Builder, com.google.cloud.securitycenter.v1.GroupResultOrBuilder> 
         getGroupByResultsFieldBuilder() {
       if (groupByResultsBuilder_ == null) {
-        groupByResultsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.cloud.securitycenter.v1.GroupResult,
-                com.google.cloud.securitycenter.v1.GroupResult.Builder,
-                com.google.cloud.securitycenter.v1.GroupResultOrBuilder>(
+        groupByResultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.cloud.securitycenter.v1.GroupResult, com.google.cloud.securitycenter.v1.GroupResult.Builder, com.google.cloud.securitycenter.v1.GroupResultOrBuilder>(
                 groupByResults_,
                 ((bitField0_ & 0x00000001) != 0),
                 getParentForChildren(),
@@ -1117,33 +1018,24 @@ public com.google.cloud.securitycenter.v1.GroupResult.Builder addGroupByResultsB
 
     private com.google.protobuf.Timestamp readTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        readTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> readTimeBuilder_;
     /**
-     *
-     *
      * 
      * Time used for executing the groupBy request.
      * 
* * .google.protobuf.Timestamp read_time = 2; - * * @return Whether the readTime field is set. */ public boolean hasReadTime() { return readTimeBuilder_ != null || readTime_ != null; } /** - * - * *
      * Time used for executing the groupBy request.
      * 
* * .google.protobuf.Timestamp read_time = 2; - * * @return The readTime. */ public com.google.protobuf.Timestamp getReadTime() { @@ -1154,8 +1046,6 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** - * - * *
      * Time used for executing the groupBy request.
      * 
@@ -1176,15 +1066,14 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time used for executing the groupBy request.
      * 
* * .google.protobuf.Timestamp read_time = 2; */ - public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setReadTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (readTimeBuilder_ == null) { readTime_ = builderForValue.build(); onChanged(); @@ -1195,8 +1084,6 @@ public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue return this; } /** - * - * *
      * Time used for executing the groupBy request.
      * 
@@ -1207,7 +1094,7 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) { if (readTimeBuilder_ == null) { if (readTime_ != null) { readTime_ = - com.google.protobuf.Timestamp.newBuilder(readTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(readTime_).mergeFrom(value).buildPartial(); } else { readTime_ = value; } @@ -1219,8 +1106,6 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time used for executing the groupBy request.
      * 
@@ -1239,8 +1124,6 @@ public Builder clearReadTime() { return this; } /** - * - * *
      * Time used for executing the groupBy request.
      * 
@@ -1248,13 +1131,11 @@ public Builder clearReadTime() { * .google.protobuf.Timestamp read_time = 2; */ public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() { - + onChanged(); return getReadTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Time used for executing the groupBy request.
      * 
@@ -1265,12 +1146,11 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() { if (readTimeBuilder_ != null) { return readTimeBuilder_.getMessageOrBuilder(); } else { - return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_; + return readTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : readTime_; } } /** - * - * *
      * Time used for executing the groupBy request.
      * 
@@ -1278,17 +1158,14 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() { * .google.protobuf.Timestamp read_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> getReadTimeFieldBuilder() { if (readTimeBuilder_ == null) { - readTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getReadTime(), getParentForChildren(), isClean()); + readTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getReadTime(), + getParentForChildren(), + isClean()); readTime_ = null; } return readTimeBuilder_; @@ -1296,21 +1173,19 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() { private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results.
      * 
* * string next_page_token = 3; - * * @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; @@ -1319,22 +1194,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results.
      * 
* * string next_page_token = 3; - * * @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 { @@ -1342,79 +1216,69 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results.
      * 
* * string next_page_token = 3; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results.
      * 
* * string next_page_token = 3; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results.
      * 
* * string next_page_token = 3; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - private int totalSize_; + private int totalSize_ ; /** - * - * *
      * The total number of results matching the query.
      * 
* * int32 total_size = 4; - * * @return The totalSize. */ @java.lang.Override @@ -1422,43 +1286,37 @@ public int getTotalSize() { return totalSize_; } /** - * - * *
      * The total number of results matching the query.
      * 
* * int32 total_size = 4; - * * @param value The totalSize to set. * @return This builder for chaining. */ public Builder setTotalSize(int value) { - + totalSize_ = value; onChanged(); return this; } /** - * - * *
      * The total number of results matching the query.
      * 
* * int32 total_size = 4; - * * @return This builder for chaining. */ public Builder clearTotalSize() { - + totalSize_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1468,12 +1326,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.securitycenter.v1.GroupAssetsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1.GroupAssetsResponse) private static final com.google.cloud.securitycenter.v1.GroupAssetsResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.securitycenter.v1.GroupAssetsResponse(); } @@ -1482,27 +1340,27 @@ public static com.google.cloud.securitycenter.v1.GroupAssetsResponse getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GroupAssetsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - 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 GroupAssetsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + 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; @@ -1517,4 +1375,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.securitycenter.v1.GroupAssetsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupAssetsResponseOrBuilder.java b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupAssetsResponseOrBuilder.java similarity index 79% rename from java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupAssetsResponseOrBuilder.java rename to owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupAssetsResponseOrBuilder.java index 98c950b780d7..8e10534269a8 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupAssetsResponseOrBuilder.java +++ b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupAssetsResponseOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/securitycenter/v1/securitycenter_service.proto package com.google.cloud.securitycenter.v1; -public interface GroupAssetsResponseOrBuilder - extends +public interface GroupAssetsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.securitycenter.v1.GroupAssetsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Group results. There exists an element for each existing unique
    * combination of property/values. The element contains a count for the number
@@ -34,10 +16,9 @@ public interface GroupAssetsResponseOrBuilder
    *
    * repeated .google.cloud.securitycenter.v1.GroupResult group_by_results = 1;
    */
-  java.util.List getGroupByResultsList();
+  java.util.List 
+      getGroupByResultsList();
   /**
-   *
-   *
    * 
    * Group results. There exists an element for each existing unique
    * combination of property/values. The element contains a count for the number
@@ -48,8 +29,6 @@ public interface GroupAssetsResponseOrBuilder
    */
   com.google.cloud.securitycenter.v1.GroupResult getGroupByResults(int index);
   /**
-   *
-   *
    * 
    * Group results. There exists an element for each existing unique
    * combination of property/values. The element contains a count for the number
@@ -60,8 +39,6 @@ public interface GroupAssetsResponseOrBuilder
    */
   int getGroupByResultsCount();
   /**
-   *
-   *
    * 
    * Group results. There exists an element for each existing unique
    * combination of property/values. The element contains a count for the number
@@ -70,11 +47,9 @@ public interface GroupAssetsResponseOrBuilder
    *
    * repeated .google.cloud.securitycenter.v1.GroupResult group_by_results = 1;
    */
-  java.util.List
+  java.util.List 
       getGroupByResultsOrBuilderList();
   /**
-   *
-   *
    * 
    * Group results. There exists an element for each existing unique
    * combination of property/values. The element contains a count for the number
@@ -83,35 +58,28 @@ public interface GroupAssetsResponseOrBuilder
    *
    * repeated .google.cloud.securitycenter.v1.GroupResult group_by_results = 1;
    */
-  com.google.cloud.securitycenter.v1.GroupResultOrBuilder getGroupByResultsOrBuilder(int index);
+  com.google.cloud.securitycenter.v1.GroupResultOrBuilder getGroupByResultsOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * Time used for executing the groupBy request.
    * 
* * .google.protobuf.Timestamp read_time = 2; - * * @return Whether the readTime field is set. */ boolean hasReadTime(); /** - * - * *
    * Time used for executing the groupBy request.
    * 
* * .google.protobuf.Timestamp read_time = 2; - * * @return The readTime. */ com.google.protobuf.Timestamp getReadTime(); /** - * - * *
    * Time used for executing the groupBy request.
    * 
@@ -121,41 +89,33 @@ public interface GroupAssetsResponseOrBuilder com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder(); /** - * - * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results.
    * 
* * string next_page_token = 3; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results.
    * 
* * string next_page_token = 3; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); /** - * - * *
    * The total number of results matching the query.
    * 
* * int32 total_size = 4; - * * @return The totalSize. */ int getTotalSize(); diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupFindingsRequest.java b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupFindingsRequest.java similarity index 84% rename from java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupFindingsRequest.java rename to owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupFindingsRequest.java index aac0ea43dbc4..cb9f9ba2ee49 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupFindingsRequest.java +++ b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupFindingsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/securitycenter/v1/securitycenter_service.proto package com.google.cloud.securitycenter.v1; /** - * - * *
  * Request message for grouping by findings.
  * 
* * Protobuf type {@code google.cloud.securitycenter.v1.GroupFindingsRequest} */ -public final class GroupFindingsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GroupFindingsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.securitycenter.v1.GroupFindingsRequest) GroupFindingsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GroupFindingsRequest.newBuilder() to construct. private GroupFindingsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GroupFindingsRequest() { parent_ = ""; filter_ = ""; @@ -46,35 +28,32 @@ private GroupFindingsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GroupFindingsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.securitycenter.v1.SecuritycenterService - .internal_static_google_cloud_securitycenter_v1_GroupFindingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.securitycenter.v1.SecuritycenterService.internal_static_google_cloud_securitycenter_v1_GroupFindingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.securitycenter.v1.SecuritycenterService - .internal_static_google_cloud_securitycenter_v1_GroupFindingsRequest_fieldAccessorTable + return com.google.cloud.securitycenter.v1.SecuritycenterService.internal_static_google_cloud_securitycenter_v1_GroupFindingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.securitycenter.v1.GroupFindingsRequest.class, - com.google.cloud.securitycenter.v1.GroupFindingsRequest.Builder.class); + com.google.cloud.securitycenter.v1.GroupFindingsRequest.class, com.google.cloud.securitycenter.v1.GroupFindingsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. Name of the source to groupBy. Its format is
    * "organizations/[organization_id]/sources/[source_id]",
@@ -85,10 +64,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * or projects/{project_id}/sources/-
    * 
* - * - * string parent = 1 [(.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 @@ -97,15 +73,14 @@ 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. Name of the source to groupBy. Its format is
    * "organizations/[organization_id]/sources/[source_id]",
@@ -116,18 +91,17 @@ public java.lang.String getParent() {
    * or projects/{project_id}/sources/-
    * 
* - * - * string parent = 1 [(.google.api.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 { @@ -138,8 +112,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int FILTER_FIELD_NUMBER = 2; private volatile java.lang.Object filter_; /** - * - * *
    * Expression that defines the filter to apply across findings.
    * The expression is a list of one or more restrictions combined via logical
@@ -189,7 +161,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string filter = 2; - * * @return The filter. */ @java.lang.Override @@ -198,15 +169,14 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** - * - * *
    * Expression that defines the filter to apply across findings.
    * The expression is a list of one or more restrictions combined via logical
@@ -256,15 +226,16 @@ public java.lang.String getFilter() {
    * 
* * string filter = 2; - * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -275,8 +246,6 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int GROUP_BY_FIELD_NUMBER = 3; private volatile java.lang.Object groupBy_; /** - * - * *
    * Required. Expression that defines what assets fields to use for grouping
    * (including `state_change`). The string value should follow SQL syntax:
@@ -292,7 +261,6 @@ public com.google.protobuf.ByteString getFilterBytes() {
    * 
* * string group_by = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The groupBy. */ @java.lang.Override @@ -301,15 +269,14 @@ public java.lang.String getGroupBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); groupBy_ = s; return s; } } /** - * - * *
    * Required. Expression that defines what assets fields to use for grouping
    * (including `state_change`). The string value should follow SQL syntax:
@@ -325,15 +292,16 @@ public java.lang.String getGroupBy() {
    * 
* * string group_by = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for groupBy. */ @java.lang.Override - public com.google.protobuf.ByteString getGroupByBytes() { + public com.google.protobuf.ByteString + getGroupByBytes() { java.lang.Object ref = groupBy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); groupBy_ = b; return b; } else { @@ -344,8 +312,6 @@ public com.google.protobuf.ByteString getGroupByBytes() { public static final int READ_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp readTime_; /** - * - * *
    * Time used as a reference point when filtering findings. The filter is
    * limited to findings existing at the supplied time and their values are
@@ -354,7 +320,6 @@ public com.google.protobuf.ByteString getGroupByBytes() {
    * 
* * .google.protobuf.Timestamp read_time = 4; - * * @return Whether the readTime field is set. */ @java.lang.Override @@ -362,8 +327,6 @@ public boolean hasReadTime() { return readTime_ != null; } /** - * - * *
    * Time used as a reference point when filtering findings. The filter is
    * limited to findings existing at the supplied time and their values are
@@ -372,7 +335,6 @@ public boolean hasReadTime() {
    * 
* * .google.protobuf.Timestamp read_time = 4; - * * @return The readTime. */ @java.lang.Override @@ -380,8 +342,6 @@ public com.google.protobuf.Timestamp getReadTime() { return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_; } /** - * - * *
    * Time used as a reference point when filtering findings. The filter is
    * limited to findings existing at the supplied time and their values are
@@ -399,8 +359,6 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
   public static final int COMPARE_DURATION_FIELD_NUMBER = 5;
   private com.google.protobuf.Duration compareDuration_;
   /**
-   *
-   *
    * 
    * When compare_duration is set, the GroupResult's "state_change" attribute is
    * updated to indicate whether the finding had its state changed, the
@@ -432,7 +390,6 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
    * 
* * .google.protobuf.Duration compare_duration = 5; - * * @return Whether the compareDuration field is set. */ @java.lang.Override @@ -440,8 +397,6 @@ public boolean hasCompareDuration() { return compareDuration_ != null; } /** - * - * *
    * When compare_duration is set, the GroupResult's "state_change" attribute is
    * updated to indicate whether the finding had its state changed, the
@@ -473,18 +428,13 @@ public boolean hasCompareDuration() {
    * 
* * .google.protobuf.Duration compare_duration = 5; - * * @return The compareDuration. */ @java.lang.Override public com.google.protobuf.Duration getCompareDuration() { - return compareDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : compareDuration_; + return compareDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : compareDuration_; } /** - * - * *
    * When compare_duration is set, the GroupResult's "state_change" attribute is
    * updated to indicate whether the finding had its state changed, the
@@ -525,8 +475,6 @@ public com.google.protobuf.DurationOrBuilder getCompareDurationOrBuilder() {
   public static final int PAGE_TOKEN_FIELD_NUMBER = 7;
   private volatile java.lang.Object pageToken_;
   /**
-   *
-   *
    * 
    * The value returned by the last `GroupFindingsResponse`; indicates
    * that this is a continuation of a prior `GroupFindings` call, and
@@ -534,7 +482,6 @@ public com.google.protobuf.DurationOrBuilder getCompareDurationOrBuilder() {
    * 
* * string page_token = 7; - * * @return The pageToken. */ @java.lang.Override @@ -543,15 +490,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; } } /** - * - * *
    * The value returned by the last `GroupFindingsResponse`; indicates
    * that this is a continuation of a prior `GroupFindings` call, and
@@ -559,15 +505,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 7; - * * @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 { @@ -578,15 +525,12 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 8; private int pageSize_; /** - * - * *
    * The maximum number of results to return in a single response. Default is
    * 10, minimum is 1, maximum is 1000.
    * 
* * int32 page_size = 8; - * * @return The pageSize. */ @java.lang.Override @@ -595,7 +539,6 @@ public int getPageSize() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -607,7 +550,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -648,16 +592,19 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, groupBy_); } if (readTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getReadTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getReadTime()); } if (compareDuration_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCompareDuration()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getCompareDuration()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, pageToken_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(8, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(8, pageSize_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -667,27 +614,33 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.securitycenter.v1.GroupFindingsRequest)) { return super.equals(obj); } - com.google.cloud.securitycenter.v1.GroupFindingsRequest other = - (com.google.cloud.securitycenter.v1.GroupFindingsRequest) obj; + com.google.cloud.securitycenter.v1.GroupFindingsRequest other = (com.google.cloud.securitycenter.v1.GroupFindingsRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getFilter().equals(other.getFilter())) return false; - if (!getGroupBy().equals(other.getGroupBy())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; + if (!getGroupBy() + .equals(other.getGroupBy())) return false; if (hasReadTime() != other.hasReadTime()) return false; if (hasReadTime()) { - if (!getReadTime().equals(other.getReadTime())) return false; + if (!getReadTime() + .equals(other.getReadTime())) return false; } if (hasCompareDuration() != other.hasCompareDuration()) return false; if (hasCompareDuration()) { - if (!getCompareDuration().equals(other.getCompareDuration())) return false; + if (!getCompareDuration() + .equals(other.getCompareDuration())) return false; } - if (!getPageToken().equals(other.getPageToken())) return false; - if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (getPageSize() + != other.getPageSize()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -723,136 +676,129 @@ public int hashCode() { } public static com.google.cloud.securitycenter.v1.GroupFindingsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.GroupFindingsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.GroupFindingsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.GroupFindingsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.GroupFindingsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.GroupFindingsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.securitycenter.v1.GroupFindingsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.securitycenter.v1.GroupFindingsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.GroupFindingsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.securitycenter.v1.GroupFindingsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.securitycenter.v1.GroupFindingsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.GroupFindingsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.GroupFindingsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.GroupFindingsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.securitycenter.v1.GroupFindingsRequest prototype) { + public static Builder newBuilder(com.google.cloud.securitycenter.v1.GroupFindingsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 grouping by findings.
    * 
* * Protobuf type {@code google.cloud.securitycenter.v1.GroupFindingsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.securitycenter.v1.GroupFindingsRequest) com.google.cloud.securitycenter.v1.GroupFindingsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.securitycenter.v1.SecuritycenterService - .internal_static_google_cloud_securitycenter_v1_GroupFindingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.securitycenter.v1.SecuritycenterService.internal_static_google_cloud_securitycenter_v1_GroupFindingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.securitycenter.v1.SecuritycenterService - .internal_static_google_cloud_securitycenter_v1_GroupFindingsRequest_fieldAccessorTable + return com.google.cloud.securitycenter.v1.SecuritycenterService.internal_static_google_cloud_securitycenter_v1_GroupFindingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.securitycenter.v1.GroupFindingsRequest.class, - com.google.cloud.securitycenter.v1.GroupFindingsRequest.Builder.class); + com.google.cloud.securitycenter.v1.GroupFindingsRequest.class, com.google.cloud.securitycenter.v1.GroupFindingsRequest.Builder.class); } // Construct using com.google.cloud.securitycenter.v1.GroupFindingsRequest.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(); @@ -882,9 +828,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.securitycenter.v1.SecuritycenterService - .internal_static_google_cloud_securitycenter_v1_GroupFindingsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.securitycenter.v1.SecuritycenterService.internal_static_google_cloud_securitycenter_v1_GroupFindingsRequest_descriptor; } @java.lang.Override @@ -903,8 +849,7 @@ public com.google.cloud.securitycenter.v1.GroupFindingsRequest build() { @java.lang.Override public com.google.cloud.securitycenter.v1.GroupFindingsRequest buildPartial() { - com.google.cloud.securitycenter.v1.GroupFindingsRequest result = - new com.google.cloud.securitycenter.v1.GroupFindingsRequest(this); + com.google.cloud.securitycenter.v1.GroupFindingsRequest result = new com.google.cloud.securitycenter.v1.GroupFindingsRequest(this); result.parent_ = parent_; result.filter_ = filter_; result.groupBy_ = groupBy_; @@ -928,39 +873,38 @@ public com.google.cloud.securitycenter.v1.GroupFindingsRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.securitycenter.v1.GroupFindingsRequest) { - return mergeFrom((com.google.cloud.securitycenter.v1.GroupFindingsRequest) other); + return mergeFrom((com.google.cloud.securitycenter.v1.GroupFindingsRequest)other); } else { super.mergeFrom(other); return this; @@ -968,8 +912,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.securitycenter.v1.GroupFindingsRequest other) { - if (other == com.google.cloud.securitycenter.v1.GroupFindingsRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.securitycenter.v1.GroupFindingsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -1021,55 +964,51 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - filter_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 26: - { - groupBy_ = input.readStringRequireUtf8(); - - break; - } // case 26 - case 34: - { - input.readMessage(getReadTimeFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 34 - case 42: - { - input.readMessage(getCompareDurationFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 42 - case 58: - { - pageToken_ = input.readStringRequireUtf8(); - - break; - } // case 58 - case 64: - { - pageSize_ = input.readInt32(); - - break; - } // case 64 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + filter_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 26: { + groupBy_ = input.readStringRequireUtf8(); + + break; + } // case 26 + case 34: { + input.readMessage( + getReadTimeFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 34 + case 42: { + input.readMessage( + getCompareDurationFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 42 + case 58: { + pageToken_ = input.readStringRequireUtf8(); + + break; + } // case 58 + case 64: { + pageSize_ = input.readInt32(); + + break; + } // case 64 + 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) { @@ -1082,8 +1021,6 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. Name of the source to groupBy. Its format is
      * "organizations/[organization_id]/sources/[source_id]",
@@ -1094,16 +1031,14 @@ public Builder mergeFrom(
      * or projects/{project_id}/sources/-
      * 
* - * - * string parent = 1 [(.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; @@ -1112,8 +1047,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Name of the source to groupBy. Its format is
      * "organizations/[organization_id]/sources/[source_id]",
@@ -1124,17 +1057,16 @@ public java.lang.String getParent() {
      * or projects/{project_id}/sources/-
      * 
* - * - * string parent = 1 [(.google.api.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 { @@ -1142,8 +1074,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Name of the source to groupBy. Its format is
      * "organizations/[organization_id]/sources/[source_id]",
@@ -1154,25 +1084,21 @@ public com.google.protobuf.ByteString getParentBytes() {
      * or projects/{project_id}/sources/-
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. Name of the source to groupBy. Its format is
      * "organizations/[organization_id]/sources/[source_id]",
@@ -1183,21 +1109,16 @@ public Builder setParent(java.lang.String value) {
      * or projects/{project_id}/sources/-
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. Name of the source to groupBy. Its format is
      * "organizations/[organization_id]/sources/[source_id]",
@@ -1208,19 +1129,17 @@ public Builder clearParent() {
      * or projects/{project_id}/sources/-
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -1228,8 +1147,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * Expression that defines the filter to apply across findings.
      * The expression is a list of one or more restrictions combined via logical
@@ -1279,13 +1196,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * string filter = 2; - * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -1294,8 +1211,6 @@ public java.lang.String getFilter() { } } /** - * - * *
      * Expression that defines the filter to apply across findings.
      * The expression is a list of one or more restrictions combined via logical
@@ -1345,14 +1260,15 @@ public java.lang.String getFilter() {
      * 
* * string filter = 2; - * * @return The bytes for filter. */ - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -1360,8 +1276,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * Expression that defines the filter to apply across findings.
      * The expression is a list of one or more restrictions combined via logical
@@ -1411,22 +1325,20 @@ public com.google.protobuf.ByteString getFilterBytes() {
      * 
* * string filter = 2; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** - * - * *
      * Expression that defines the filter to apply across findings.
      * The expression is a list of one or more restrictions combined via logical
@@ -1476,18 +1388,15 @@ public Builder setFilter(java.lang.String value) {
      * 
* * string filter = 2; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * Expression that defines the filter to apply across findings.
      * The expression is a list of one or more restrictions combined via logical
@@ -1537,16 +1446,16 @@ public Builder clearFilter() {
      * 
* * string filter = 2; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; @@ -1554,8 +1463,6 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { private java.lang.Object groupBy_ = ""; /** - * - * *
      * Required. Expression that defines what assets fields to use for grouping
      * (including `state_change`). The string value should follow SQL syntax:
@@ -1571,13 +1478,13 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) {
      * 
* * string group_by = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The groupBy. */ public java.lang.String getGroupBy() { java.lang.Object ref = groupBy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); groupBy_ = s; return s; @@ -1586,8 +1493,6 @@ public java.lang.String getGroupBy() { } } /** - * - * *
      * Required. Expression that defines what assets fields to use for grouping
      * (including `state_change`). The string value should follow SQL syntax:
@@ -1603,14 +1508,15 @@ public java.lang.String getGroupBy() {
      * 
* * string group_by = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for groupBy. */ - public com.google.protobuf.ByteString getGroupByBytes() { + public com.google.protobuf.ByteString + getGroupByBytes() { java.lang.Object ref = groupBy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); groupBy_ = b; return b; } else { @@ -1618,8 +1524,6 @@ public com.google.protobuf.ByteString getGroupByBytes() { } } /** - * - * *
      * Required. Expression that defines what assets fields to use for grouping
      * (including `state_change`). The string value should follow SQL syntax:
@@ -1635,22 +1539,20 @@ public com.google.protobuf.ByteString getGroupByBytes() {
      * 
* * string group_by = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The groupBy to set. * @return This builder for chaining. */ - public Builder setGroupBy(java.lang.String value) { + public Builder setGroupBy( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + groupBy_ = value; onChanged(); return this; } /** - * - * *
      * Required. Expression that defines what assets fields to use for grouping
      * (including `state_change`). The string value should follow SQL syntax:
@@ -1666,18 +1568,15 @@ public Builder setGroupBy(java.lang.String value) {
      * 
* * string group_by = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearGroupBy() { - + groupBy_ = getDefaultInstance().getGroupBy(); onChanged(); return this; } /** - * - * *
      * Required. Expression that defines what assets fields to use for grouping
      * (including `state_change`). The string value should follow SQL syntax:
@@ -1693,16 +1592,16 @@ public Builder clearGroupBy() {
      * 
* * string group_by = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for groupBy to set. * @return This builder for chaining. */ - public Builder setGroupByBytes(com.google.protobuf.ByteString value) { + public Builder setGroupByBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + groupBy_ = value; onChanged(); return this; @@ -1710,13 +1609,8 @@ public Builder setGroupByBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp readTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - readTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> readTimeBuilder_; /** - * - * *
      * Time used as a reference point when filtering findings. The filter is
      * limited to findings existing at the supplied time and their values are
@@ -1725,15 +1619,12 @@ public Builder setGroupByBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.protobuf.Timestamp read_time = 4; - * * @return Whether the readTime field is set. */ public boolean hasReadTime() { return readTimeBuilder_ != null || readTime_ != null; } /** - * - * *
      * Time used as a reference point when filtering findings. The filter is
      * limited to findings existing at the supplied time and their values are
@@ -1742,7 +1633,6 @@ public boolean hasReadTime() {
      * 
* * .google.protobuf.Timestamp read_time = 4; - * * @return The readTime. */ public com.google.protobuf.Timestamp getReadTime() { @@ -1753,8 +1643,6 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** - * - * *
      * Time used as a reference point when filtering findings. The filter is
      * limited to findings existing at the supplied time and their values are
@@ -1778,8 +1666,6 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Time used as a reference point when filtering findings. The filter is
      * limited to findings existing at the supplied time and their values are
@@ -1789,7 +1675,8 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp read_time = 4;
      */
-    public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setReadTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (readTimeBuilder_ == null) {
         readTime_ = builderForValue.build();
         onChanged();
@@ -1800,8 +1687,6 @@ public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue
       return this;
     }
     /**
-     *
-     *
      * 
      * Time used as a reference point when filtering findings. The filter is
      * limited to findings existing at the supplied time and their values are
@@ -1815,7 +1700,7 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       if (readTimeBuilder_ == null) {
         if (readTime_ != null) {
           readTime_ =
-              com.google.protobuf.Timestamp.newBuilder(readTime_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(readTime_).mergeFrom(value).buildPartial();
         } else {
           readTime_ = value;
         }
@@ -1827,8 +1712,6 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Time used as a reference point when filtering findings. The filter is
      * limited to findings existing at the supplied time and their values are
@@ -1850,8 +1733,6 @@ public Builder clearReadTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Time used as a reference point when filtering findings. The filter is
      * limited to findings existing at the supplied time and their values are
@@ -1862,13 +1743,11 @@ public Builder clearReadTime() {
      * .google.protobuf.Timestamp read_time = 4;
      */
     public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() {
-
+      
       onChanged();
       return getReadTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Time used as a reference point when filtering findings. The filter is
      * limited to findings existing at the supplied time and their values are
@@ -1882,12 +1761,11 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
       if (readTimeBuilder_ != null) {
         return readTimeBuilder_.getMessageOrBuilder();
       } else {
-        return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_;
+        return readTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : readTime_;
       }
     }
     /**
-     *
-     *
      * 
      * Time used as a reference point when filtering findings. The filter is
      * limited to findings existing at the supplied time and their values are
@@ -1898,17 +1776,14 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
      * .google.protobuf.Timestamp read_time = 4;
      */
     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> 
         getReadTimeFieldBuilder() {
       if (readTimeBuilder_ == null) {
-        readTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getReadTime(), getParentForChildren(), isClean());
+        readTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getReadTime(),
+                getParentForChildren(),
+                isClean());
         readTime_ = null;
       }
       return readTimeBuilder_;
@@ -1916,13 +1791,8 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
 
     private com.google.protobuf.Duration compareDuration_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
-        compareDurationBuilder_;
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> compareDurationBuilder_;
     /**
-     *
-     *
      * 
      * When compare_duration is set, the GroupResult's "state_change" attribute is
      * updated to indicate whether the finding had its state changed, the
@@ -1954,15 +1824,12 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
      * 
* * .google.protobuf.Duration compare_duration = 5; - * * @return Whether the compareDuration field is set. */ public boolean hasCompareDuration() { return compareDurationBuilder_ != null || compareDuration_ != null; } /** - * - * *
      * When compare_duration is set, the GroupResult's "state_change" attribute is
      * updated to indicate whether the finding had its state changed, the
@@ -1994,21 +1861,16 @@ public boolean hasCompareDuration() {
      * 
* * .google.protobuf.Duration compare_duration = 5; - * * @return The compareDuration. */ public com.google.protobuf.Duration getCompareDuration() { if (compareDurationBuilder_ == null) { - return compareDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : compareDuration_; + return compareDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : compareDuration_; } else { return compareDurationBuilder_.getMessage(); } } /** - * - * *
      * When compare_duration is set, the GroupResult's "state_change" attribute is
      * updated to indicate whether the finding had its state changed, the
@@ -2055,8 +1917,6 @@ public Builder setCompareDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * When compare_duration is set, the GroupResult's "state_change" attribute is
      * updated to indicate whether the finding had its state changed, the
@@ -2089,7 +1949,8 @@ public Builder setCompareDuration(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration compare_duration = 5;
      */
-    public Builder setCompareDuration(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setCompareDuration(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (compareDurationBuilder_ == null) {
         compareDuration_ = builderForValue.build();
         onChanged();
@@ -2100,8 +1961,6 @@ public Builder setCompareDuration(com.google.protobuf.Duration.Builder builderFo
       return this;
     }
     /**
-     *
-     *
      * 
      * When compare_duration is set, the GroupResult's "state_change" attribute is
      * updated to indicate whether the finding had its state changed, the
@@ -2138,9 +1997,7 @@ public Builder mergeCompareDuration(com.google.protobuf.Duration value) {
       if (compareDurationBuilder_ == null) {
         if (compareDuration_ != null) {
           compareDuration_ =
-              com.google.protobuf.Duration.newBuilder(compareDuration_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Duration.newBuilder(compareDuration_).mergeFrom(value).buildPartial();
         } else {
           compareDuration_ = value;
         }
@@ -2152,8 +2009,6 @@ public Builder mergeCompareDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * When compare_duration is set, the GroupResult's "state_change" attribute is
      * updated to indicate whether the finding had its state changed, the
@@ -2198,8 +2053,6 @@ public Builder clearCompareDuration() {
       return this;
     }
     /**
-     *
-     *
      * 
      * When compare_duration is set, the GroupResult's "state_change" attribute is
      * updated to indicate whether the finding had its state changed, the
@@ -2233,13 +2086,11 @@ public Builder clearCompareDuration() {
      * .google.protobuf.Duration compare_duration = 5;
      */
     public com.google.protobuf.Duration.Builder getCompareDurationBuilder() {
-
+      
       onChanged();
       return getCompareDurationFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * When compare_duration is set, the GroupResult's "state_change" attribute is
      * updated to indicate whether the finding had its state changed, the
@@ -2276,14 +2127,11 @@ public com.google.protobuf.DurationOrBuilder getCompareDurationOrBuilder() {
       if (compareDurationBuilder_ != null) {
         return compareDurationBuilder_.getMessageOrBuilder();
       } else {
-        return compareDuration_ == null
-            ? com.google.protobuf.Duration.getDefaultInstance()
-            : compareDuration_;
+        return compareDuration_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : compareDuration_;
       }
     }
     /**
-     *
-     *
      * 
      * When compare_duration is set, the GroupResult's "state_change" attribute is
      * updated to indicate whether the finding had its state changed, the
@@ -2317,17 +2165,14 @@ public com.google.protobuf.DurationOrBuilder getCompareDurationOrBuilder() {
      * .google.protobuf.Duration compare_duration = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
         getCompareDurationFieldBuilder() {
       if (compareDurationBuilder_ == null) {
-        compareDurationBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getCompareDuration(), getParentForChildren(), isClean());
+        compareDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getCompareDuration(),
+                getParentForChildren(),
+                isClean());
         compareDuration_ = null;
       }
       return compareDurationBuilder_;
@@ -2335,8 +2180,6 @@ public com.google.protobuf.DurationOrBuilder getCompareDurationOrBuilder() {
 
     private java.lang.Object pageToken_ = "";
     /**
-     *
-     *
      * 
      * The value returned by the last `GroupFindingsResponse`; indicates
      * that this is a continuation of a prior `GroupFindings` call, and
@@ -2344,13 +2187,13 @@ public com.google.protobuf.DurationOrBuilder getCompareDurationOrBuilder() {
      * 
* * string page_token = 7; - * * @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; @@ -2359,8 +2202,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The value returned by the last `GroupFindingsResponse`; indicates
      * that this is a continuation of a prior `GroupFindings` call, and
@@ -2368,14 +2209,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 7; - * * @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 { @@ -2383,8 +2225,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The value returned by the last `GroupFindingsResponse`; indicates
      * that this is a continuation of a prior `GroupFindings` call, and
@@ -2392,22 +2232,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 7; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * The value returned by the last `GroupFindingsResponse`; indicates
      * that this is a continuation of a prior `GroupFindings` call, and
@@ -2415,18 +2253,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 7; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * The value returned by the last `GroupFindingsResponse`; indicates
      * that this is a continuation of a prior `GroupFindings` call, and
@@ -2434,32 +2269,29 @@ public Builder clearPageToken() {
      * 
* * string page_token = 7; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of results to return in a single response. Default is
      * 10, minimum is 1, maximum is 1000.
      * 
* * int32 page_size = 8; - * * @return The pageSize. */ @java.lang.Override @@ -2467,45 +2299,39 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of results to return in a single response. Default is
      * 10, minimum is 1, maximum is 1000.
      * 
* * int32 page_size = 8; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of results to return in a single response. Default is
      * 10, minimum is 1, maximum is 1000.
      * 
* * int32 page_size = 8; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2515,12 +2341,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.securitycenter.v1.GroupFindingsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1.GroupFindingsRequest) private static final com.google.cloud.securitycenter.v1.GroupFindingsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.securitycenter.v1.GroupFindingsRequest(); } @@ -2529,27 +2355,27 @@ public static com.google.cloud.securitycenter.v1.GroupFindingsRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GroupFindingsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - 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 GroupFindingsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + 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; @@ -2564,4 +2390,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.securitycenter.v1.GroupFindingsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupFindingsRequestOrBuilder.java b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupFindingsRequestOrBuilder.java similarity index 91% rename from java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupFindingsRequestOrBuilder.java rename to owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupFindingsRequestOrBuilder.java index e0b072d72abd..d5dc95c97c83 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupFindingsRequestOrBuilder.java +++ b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupFindingsRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/securitycenter/v1/securitycenter_service.proto package com.google.cloud.securitycenter.v1; -public interface GroupFindingsRequestOrBuilder - extends +public interface GroupFindingsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.securitycenter.v1.GroupFindingsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Name of the source to groupBy. Its format is
    * "organizations/[organization_id]/sources/[source_id]",
@@ -36,16 +18,11 @@ public interface GroupFindingsRequestOrBuilder
    * or projects/{project_id}/sources/-
    * 
* - * - * string parent = 1 [(.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. Name of the source to groupBy. Its format is
    * "organizations/[organization_id]/sources/[source_id]",
@@ -56,17 +33,13 @@ public interface GroupFindingsRequestOrBuilder
    * or projects/{project_id}/sources/-
    * 
* - * - * string parent = 1 [(.google.api.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(); /** - * - * *
    * Expression that defines the filter to apply across findings.
    * The expression is a list of one or more restrictions combined via logical
@@ -116,13 +89,10 @@ public interface GroupFindingsRequestOrBuilder
    * 
* * string filter = 2; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * Expression that defines the filter to apply across findings.
    * The expression is a list of one or more restrictions combined via logical
@@ -172,14 +142,12 @@ public interface GroupFindingsRequestOrBuilder
    * 
* * string filter = 2; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * Required. Expression that defines what assets fields to use for grouping
    * (including `state_change`). The string value should follow SQL syntax:
@@ -195,13 +163,10 @@ public interface GroupFindingsRequestOrBuilder
    * 
* * string group_by = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The groupBy. */ java.lang.String getGroupBy(); /** - * - * *
    * Required. Expression that defines what assets fields to use for grouping
    * (including `state_change`). The string value should follow SQL syntax:
@@ -217,14 +182,12 @@ public interface GroupFindingsRequestOrBuilder
    * 
* * string group_by = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for groupBy. */ - com.google.protobuf.ByteString getGroupByBytes(); + com.google.protobuf.ByteString + getGroupByBytes(); /** - * - * *
    * Time used as a reference point when filtering findings. The filter is
    * limited to findings existing at the supplied time and their values are
@@ -233,13 +196,10 @@ public interface GroupFindingsRequestOrBuilder
    * 
* * .google.protobuf.Timestamp read_time = 4; - * * @return Whether the readTime field is set. */ boolean hasReadTime(); /** - * - * *
    * Time used as a reference point when filtering findings. The filter is
    * limited to findings existing at the supplied time and their values are
@@ -248,13 +208,10 @@ public interface GroupFindingsRequestOrBuilder
    * 
* * .google.protobuf.Timestamp read_time = 4; - * * @return The readTime. */ com.google.protobuf.Timestamp getReadTime(); /** - * - * *
    * Time used as a reference point when filtering findings. The filter is
    * limited to findings existing at the supplied time and their values are
@@ -267,8 +224,6 @@ public interface GroupFindingsRequestOrBuilder
   com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * When compare_duration is set, the GroupResult's "state_change" attribute is
    * updated to indicate whether the finding had its state changed, the
@@ -300,13 +255,10 @@ public interface GroupFindingsRequestOrBuilder
    * 
* * .google.protobuf.Duration compare_duration = 5; - * * @return Whether the compareDuration field is set. */ boolean hasCompareDuration(); /** - * - * *
    * When compare_duration is set, the GroupResult's "state_change" attribute is
    * updated to indicate whether the finding had its state changed, the
@@ -338,13 +290,10 @@ public interface GroupFindingsRequestOrBuilder
    * 
* * .google.protobuf.Duration compare_duration = 5; - * * @return The compareDuration. */ com.google.protobuf.Duration getCompareDuration(); /** - * - * *
    * When compare_duration is set, the GroupResult's "state_change" attribute is
    * updated to indicate whether the finding had its state changed, the
@@ -380,8 +329,6 @@ public interface GroupFindingsRequestOrBuilder
   com.google.protobuf.DurationOrBuilder getCompareDurationOrBuilder();
 
   /**
-   *
-   *
    * 
    * The value returned by the last `GroupFindingsResponse`; indicates
    * that this is a continuation of a prior `GroupFindings` call, and
@@ -389,13 +336,10 @@ public interface GroupFindingsRequestOrBuilder
    * 
* * string page_token = 7; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The value returned by the last `GroupFindingsResponse`; indicates
    * that this is a continuation of a prior `GroupFindings` call, and
@@ -403,21 +347,18 @@ public interface GroupFindingsRequestOrBuilder
    * 
* * string page_token = 7; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * The maximum number of results to return in a single response. Default is
    * 10, minimum is 1, maximum is 1000.
    * 
* * int32 page_size = 8; - * * @return The pageSize. */ int getPageSize(); diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupFindingsResponse.java b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupFindingsResponse.java similarity index 76% rename from java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupFindingsResponse.java rename to owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupFindingsResponse.java index 9c91066ff8cc..f8b0a126359e 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupFindingsResponse.java +++ b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupFindingsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/securitycenter/v1/securitycenter_service.proto package com.google.cloud.securitycenter.v1; /** - * - * *
  * Response message for group by findings.
  * 
* * Protobuf type {@code google.cloud.securitycenter.v1.GroupFindingsResponse} */ -public final class GroupFindingsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GroupFindingsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.securitycenter.v1.GroupFindingsResponse) GroupFindingsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GroupFindingsResponse.newBuilder() to construct. private GroupFindingsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GroupFindingsResponse() { groupByResults_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,35 +26,32 @@ private GroupFindingsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GroupFindingsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.securitycenter.v1.SecuritycenterService - .internal_static_google_cloud_securitycenter_v1_GroupFindingsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.securitycenter.v1.SecuritycenterService.internal_static_google_cloud_securitycenter_v1_GroupFindingsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.securitycenter.v1.SecuritycenterService - .internal_static_google_cloud_securitycenter_v1_GroupFindingsResponse_fieldAccessorTable + return com.google.cloud.securitycenter.v1.SecuritycenterService.internal_static_google_cloud_securitycenter_v1_GroupFindingsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.securitycenter.v1.GroupFindingsResponse.class, - com.google.cloud.securitycenter.v1.GroupFindingsResponse.Builder.class); + com.google.cloud.securitycenter.v1.GroupFindingsResponse.class, com.google.cloud.securitycenter.v1.GroupFindingsResponse.Builder.class); } public static final int GROUP_BY_RESULTS_FIELD_NUMBER = 1; private java.util.List groupByResults_; /** - * - * *
    * Group results. There exists an element for each existing unique
    * combination of property/values. The element contains a count for the number
@@ -86,8 +65,6 @@ public java.util.List getGroupBy
     return groupByResults_;
   }
   /**
-   *
-   *
    * 
    * Group results. There exists an element for each existing unique
    * combination of property/values. The element contains a count for the number
@@ -97,13 +74,11 @@ public java.util.List getGroupBy
    * repeated .google.cloud.securitycenter.v1.GroupResult group_by_results = 1;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getGroupByResultsOrBuilderList() {
     return groupByResults_;
   }
   /**
-   *
-   *
    * 
    * Group results. There exists an element for each existing unique
    * combination of property/values. The element contains a count for the number
@@ -117,8 +92,6 @@ public int getGroupByResultsCount() {
     return groupByResults_.size();
   }
   /**
-   *
-   *
    * 
    * Group results. There exists an element for each existing unique
    * combination of property/values. The element contains a count for the number
@@ -132,8 +105,6 @@ public com.google.cloud.securitycenter.v1.GroupResult getGroupByResults(int inde
     return groupByResults_.get(index);
   }
   /**
-   *
-   *
    * 
    * Group results. There exists an element for each existing unique
    * combination of property/values. The element contains a count for the number
@@ -151,14 +122,11 @@ public com.google.cloud.securitycenter.v1.GroupResultOrBuilder getGroupByResults
   public static final int READ_TIME_FIELD_NUMBER = 2;
   private com.google.protobuf.Timestamp readTime_;
   /**
-   *
-   *
    * 
    * Time used for executing the groupBy request.
    * 
* * .google.protobuf.Timestamp read_time = 2; - * * @return Whether the readTime field is set. */ @java.lang.Override @@ -166,14 +134,11 @@ public boolean hasReadTime() { return readTime_ != null; } /** - * - * *
    * Time used for executing the groupBy request.
    * 
* * .google.protobuf.Timestamp read_time = 2; - * * @return The readTime. */ @java.lang.Override @@ -181,8 +146,6 @@ public com.google.protobuf.Timestamp getReadTime() { return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_; } /** - * - * *
    * Time used for executing the groupBy request.
    * 
@@ -197,15 +160,12 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() { public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results.
    * 
* * string next_page_token = 3; - * * @return The nextPageToken. */ @java.lang.Override @@ -214,30 +174,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results.
    * 
* * string next_page_token = 3; - * * @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 { @@ -248,14 +208,11 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { public static final int TOTAL_SIZE_FIELD_NUMBER = 4; private int totalSize_; /** - * - * *
    * The total number of results matching the query.
    * 
* * int32 total_size = 4; - * * @return The totalSize. */ @java.lang.Override @@ -264,7 +221,6 @@ public int getTotalSize() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -276,7 +232,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < groupByResults_.size(); i++) { output.writeMessage(1, groupByResults_.get(i)); } @@ -299,16 +256,19 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < groupByResults_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, groupByResults_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, groupByResults_.get(i)); } if (readTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getReadTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getReadTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, nextPageToken_); } if (totalSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, totalSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(4, totalSize_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -318,21 +278,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.securitycenter.v1.GroupFindingsResponse)) { return super.equals(obj); } - com.google.cloud.securitycenter.v1.GroupFindingsResponse other = - (com.google.cloud.securitycenter.v1.GroupFindingsResponse) obj; + com.google.cloud.securitycenter.v1.GroupFindingsResponse other = (com.google.cloud.securitycenter.v1.GroupFindingsResponse) obj; - if (!getGroupByResultsList().equals(other.getGroupByResultsList())) return false; + if (!getGroupByResultsList() + .equals(other.getGroupByResultsList())) return false; if (hasReadTime() != other.hasReadTime()) return false; if (hasReadTime()) { - if (!getReadTime().equals(other.getReadTime())) return false; + if (!getReadTime() + .equals(other.getReadTime())) return false; } - if (!getNextPageToken().equals(other.getNextPageToken())) return false; - if (getTotalSize() != other.getTotalSize()) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; + if (getTotalSize() + != other.getTotalSize()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -362,136 +325,129 @@ public int hashCode() { } public static com.google.cloud.securitycenter.v1.GroupFindingsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.GroupFindingsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.GroupFindingsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.GroupFindingsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.GroupFindingsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.GroupFindingsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.securitycenter.v1.GroupFindingsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.securitycenter.v1.GroupFindingsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.GroupFindingsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.securitycenter.v1.GroupFindingsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.securitycenter.v1.GroupFindingsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.GroupFindingsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.GroupFindingsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.GroupFindingsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.securitycenter.v1.GroupFindingsResponse prototype) { + public static Builder newBuilder(com.google.cloud.securitycenter.v1.GroupFindingsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 group by findings.
    * 
* * Protobuf type {@code google.cloud.securitycenter.v1.GroupFindingsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.securitycenter.v1.GroupFindingsResponse) com.google.cloud.securitycenter.v1.GroupFindingsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.securitycenter.v1.SecuritycenterService - .internal_static_google_cloud_securitycenter_v1_GroupFindingsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.securitycenter.v1.SecuritycenterService.internal_static_google_cloud_securitycenter_v1_GroupFindingsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.securitycenter.v1.SecuritycenterService - .internal_static_google_cloud_securitycenter_v1_GroupFindingsResponse_fieldAccessorTable + return com.google.cloud.securitycenter.v1.SecuritycenterService.internal_static_google_cloud_securitycenter_v1_GroupFindingsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.securitycenter.v1.GroupFindingsResponse.class, - com.google.cloud.securitycenter.v1.GroupFindingsResponse.Builder.class); + com.google.cloud.securitycenter.v1.GroupFindingsResponse.class, com.google.cloud.securitycenter.v1.GroupFindingsResponse.Builder.class); } // Construct using com.google.cloud.securitycenter.v1.GroupFindingsResponse.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(); @@ -516,9 +472,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.securitycenter.v1.SecuritycenterService - .internal_static_google_cloud_securitycenter_v1_GroupFindingsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.securitycenter.v1.SecuritycenterService.internal_static_google_cloud_securitycenter_v1_GroupFindingsResponse_descriptor; } @java.lang.Override @@ -537,8 +493,7 @@ public com.google.cloud.securitycenter.v1.GroupFindingsResponse build() { @java.lang.Override public com.google.cloud.securitycenter.v1.GroupFindingsResponse buildPartial() { - com.google.cloud.securitycenter.v1.GroupFindingsResponse result = - new com.google.cloud.securitycenter.v1.GroupFindingsResponse(this); + com.google.cloud.securitycenter.v1.GroupFindingsResponse result = new com.google.cloud.securitycenter.v1.GroupFindingsResponse(this); int from_bitField0_ = bitField0_; if (groupByResultsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -564,39 +519,38 @@ public com.google.cloud.securitycenter.v1.GroupFindingsResponse buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.securitycenter.v1.GroupFindingsResponse) { - return mergeFrom((com.google.cloud.securitycenter.v1.GroupFindingsResponse) other); + return mergeFrom((com.google.cloud.securitycenter.v1.GroupFindingsResponse)other); } else { super.mergeFrom(other); return this; @@ -604,8 +558,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.securitycenter.v1.GroupFindingsResponse other) { - if (other == com.google.cloud.securitycenter.v1.GroupFindingsResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.securitycenter.v1.GroupFindingsResponse.getDefaultInstance()) return this; if (groupByResultsBuilder_ == null) { if (!other.groupByResults_.isEmpty()) { if (groupByResults_.isEmpty()) { @@ -624,10 +577,9 @@ public Builder mergeFrom(com.google.cloud.securitycenter.v1.GroupFindingsRespons groupByResultsBuilder_ = null; groupByResults_ = other.groupByResults_; bitField0_ = (bitField0_ & ~0x00000001); - groupByResultsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getGroupByResultsFieldBuilder() - : null; + groupByResultsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getGroupByResultsFieldBuilder() : null; } else { groupByResultsBuilder_.addAllMessages(other.groupByResults_); } @@ -669,44 +621,42 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.securitycenter.v1.GroupResult m = - input.readMessage( - com.google.cloud.securitycenter.v1.GroupResult.parser(), extensionRegistry); - if (groupByResultsBuilder_ == null) { - ensureGroupByResultsIsMutable(); - groupByResults_.add(m); - } else { - groupByResultsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - input.readMessage(getReadTimeFieldBuilder().getBuilder(), extensionRegistry); + case 10: { + com.google.cloud.securitycenter.v1.GroupResult m = + input.readMessage( + com.google.cloud.securitycenter.v1.GroupResult.parser(), + extensionRegistry); + if (groupByResultsBuilder_ == null) { + ensureGroupByResultsIsMutable(); + groupByResults_.add(m); + } else { + groupByResultsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + input.readMessage( + getReadTimeFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 18 - case 26: - { - nextPageToken_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 26: { + nextPageToken_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 32: - { - totalSize_ = input.readInt32(); + break; + } // case 26 + case 32: { + totalSize_ = input.readInt32(); - break; - } // case 32 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 32 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -716,30 +666,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List groupByResults_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureGroupByResultsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - groupByResults_ = - new java.util.ArrayList( - groupByResults_); + groupByResults_ = new java.util.ArrayList(groupByResults_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.securitycenter.v1.GroupResult, - com.google.cloud.securitycenter.v1.GroupResult.Builder, - com.google.cloud.securitycenter.v1.GroupResultOrBuilder> - groupByResultsBuilder_; + com.google.cloud.securitycenter.v1.GroupResult, com.google.cloud.securitycenter.v1.GroupResult.Builder, com.google.cloud.securitycenter.v1.GroupResultOrBuilder> groupByResultsBuilder_; /** - * - * *
      * Group results. There exists an element for each existing unique
      * combination of property/values. The element contains a count for the number
@@ -756,8 +697,6 @@ public java.util.List getGroupBy
       }
     }
     /**
-     *
-     *
      * 
      * Group results. There exists an element for each existing unique
      * combination of property/values. The element contains a count for the number
@@ -774,8 +713,6 @@ public int getGroupByResultsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Group results. There exists an element for each existing unique
      * combination of property/values. The element contains a count for the number
@@ -792,8 +729,6 @@ public com.google.cloud.securitycenter.v1.GroupResult getGroupByResults(int inde
       }
     }
     /**
-     *
-     *
      * 
      * Group results. There exists an element for each existing unique
      * combination of property/values. The element contains a count for the number
@@ -817,8 +752,6 @@ public Builder setGroupByResults(
       return this;
     }
     /**
-     *
-     *
      * 
      * Group results. There exists an element for each existing unique
      * combination of property/values. The element contains a count for the number
@@ -839,8 +772,6 @@ public Builder setGroupByResults(
       return this;
     }
     /**
-     *
-     *
      * 
      * Group results. There exists an element for each existing unique
      * combination of property/values. The element contains a count for the number
@@ -863,8 +794,6 @@ public Builder addGroupByResults(com.google.cloud.securitycenter.v1.GroupResult
       return this;
     }
     /**
-     *
-     *
      * 
      * Group results. There exists an element for each existing unique
      * combination of property/values. The element contains a count for the number
@@ -888,8 +817,6 @@ public Builder addGroupByResults(
       return this;
     }
     /**
-     *
-     *
      * 
      * Group results. There exists an element for each existing unique
      * combination of property/values. The element contains a count for the number
@@ -910,8 +837,6 @@ public Builder addGroupByResults(
       return this;
     }
     /**
-     *
-     *
      * 
      * Group results. There exists an element for each existing unique
      * combination of property/values. The element contains a count for the number
@@ -932,8 +857,6 @@ public Builder addGroupByResults(
       return this;
     }
     /**
-     *
-     *
      * 
      * Group results. There exists an element for each existing unique
      * combination of property/values. The element contains a count for the number
@@ -946,7 +869,8 @@ public Builder addAllGroupByResults(
         java.lang.Iterable values) {
       if (groupByResultsBuilder_ == null) {
         ensureGroupByResultsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, groupByResults_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, groupByResults_);
         onChanged();
       } else {
         groupByResultsBuilder_.addAllMessages(values);
@@ -954,8 +878,6 @@ public Builder addAllGroupByResults(
       return this;
     }
     /**
-     *
-     *
      * 
      * Group results. There exists an element for each existing unique
      * combination of property/values. The element contains a count for the number
@@ -975,8 +897,6 @@ public Builder clearGroupByResults() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Group results. There exists an element for each existing unique
      * combination of property/values. The element contains a count for the number
@@ -996,8 +916,6 @@ public Builder removeGroupByResults(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Group results. There exists an element for each existing unique
      * combination of property/values. The element contains a count for the number
@@ -1011,8 +929,6 @@ public com.google.cloud.securitycenter.v1.GroupResult.Builder getGroupByResultsB
       return getGroupByResultsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * Group results. There exists an element for each existing unique
      * combination of property/values. The element contains a count for the number
@@ -1024,14 +940,11 @@ public com.google.cloud.securitycenter.v1.GroupResult.Builder getGroupByResultsB
     public com.google.cloud.securitycenter.v1.GroupResultOrBuilder getGroupByResultsOrBuilder(
         int index) {
       if (groupByResultsBuilder_ == null) {
-        return groupByResults_.get(index);
-      } else {
+        return groupByResults_.get(index);  } else {
         return groupByResultsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * Group results. There exists an element for each existing unique
      * combination of property/values. The element contains a count for the number
@@ -1040,8 +953,8 @@ public com.google.cloud.securitycenter.v1.GroupResultOrBuilder getGroupByResults
      *
      * repeated .google.cloud.securitycenter.v1.GroupResult group_by_results = 1;
      */
-    public java.util.List
-        getGroupByResultsOrBuilderList() {
+    public java.util.List 
+         getGroupByResultsOrBuilderList() {
       if (groupByResultsBuilder_ != null) {
         return groupByResultsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1049,8 +962,6 @@ public com.google.cloud.securitycenter.v1.GroupResultOrBuilder getGroupByResults
       }
     }
     /**
-     *
-     *
      * 
      * Group results. There exists an element for each existing unique
      * combination of property/values. The element contains a count for the number
@@ -1060,12 +971,10 @@ public com.google.cloud.securitycenter.v1.GroupResultOrBuilder getGroupByResults
      * repeated .google.cloud.securitycenter.v1.GroupResult group_by_results = 1;
      */
     public com.google.cloud.securitycenter.v1.GroupResult.Builder addGroupByResultsBuilder() {
-      return getGroupByResultsFieldBuilder()
-          .addBuilder(com.google.cloud.securitycenter.v1.GroupResult.getDefaultInstance());
+      return getGroupByResultsFieldBuilder().addBuilder(
+          com.google.cloud.securitycenter.v1.GroupResult.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Group results. There exists an element for each existing unique
      * combination of property/values. The element contains a count for the number
@@ -1076,12 +985,10 @@ public com.google.cloud.securitycenter.v1.GroupResult.Builder addGroupByResultsB
      */
     public com.google.cloud.securitycenter.v1.GroupResult.Builder addGroupByResultsBuilder(
         int index) {
-      return getGroupByResultsFieldBuilder()
-          .addBuilder(index, com.google.cloud.securitycenter.v1.GroupResult.getDefaultInstance());
+      return getGroupByResultsFieldBuilder().addBuilder(
+          index, com.google.cloud.securitycenter.v1.GroupResult.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Group results. There exists an element for each existing unique
      * combination of property/values. The element contains a count for the number
@@ -1090,22 +997,16 @@ public com.google.cloud.securitycenter.v1.GroupResult.Builder addGroupByResultsB
      *
      * repeated .google.cloud.securitycenter.v1.GroupResult group_by_results = 1;
      */
-    public java.util.List
-        getGroupByResultsBuilderList() {
+    public java.util.List 
+         getGroupByResultsBuilderList() {
       return getGroupByResultsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.securitycenter.v1.GroupResult,
-            com.google.cloud.securitycenter.v1.GroupResult.Builder,
-            com.google.cloud.securitycenter.v1.GroupResultOrBuilder>
+        com.google.cloud.securitycenter.v1.GroupResult, com.google.cloud.securitycenter.v1.GroupResult.Builder, com.google.cloud.securitycenter.v1.GroupResultOrBuilder> 
         getGroupByResultsFieldBuilder() {
       if (groupByResultsBuilder_ == null) {
-        groupByResultsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.cloud.securitycenter.v1.GroupResult,
-                com.google.cloud.securitycenter.v1.GroupResult.Builder,
-                com.google.cloud.securitycenter.v1.GroupResultOrBuilder>(
+        groupByResultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.cloud.securitycenter.v1.GroupResult, com.google.cloud.securitycenter.v1.GroupResult.Builder, com.google.cloud.securitycenter.v1.GroupResultOrBuilder>(
                 groupByResults_,
                 ((bitField0_ & 0x00000001) != 0),
                 getParentForChildren(),
@@ -1117,33 +1018,24 @@ public com.google.cloud.securitycenter.v1.GroupResult.Builder addGroupByResultsB
 
     private com.google.protobuf.Timestamp readTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        readTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> readTimeBuilder_;
     /**
-     *
-     *
      * 
      * Time used for executing the groupBy request.
      * 
* * .google.protobuf.Timestamp read_time = 2; - * * @return Whether the readTime field is set. */ public boolean hasReadTime() { return readTimeBuilder_ != null || readTime_ != null; } /** - * - * *
      * Time used for executing the groupBy request.
      * 
* * .google.protobuf.Timestamp read_time = 2; - * * @return The readTime. */ public com.google.protobuf.Timestamp getReadTime() { @@ -1154,8 +1046,6 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** - * - * *
      * Time used for executing the groupBy request.
      * 
@@ -1176,15 +1066,14 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time used for executing the groupBy request.
      * 
* * .google.protobuf.Timestamp read_time = 2; */ - public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setReadTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (readTimeBuilder_ == null) { readTime_ = builderForValue.build(); onChanged(); @@ -1195,8 +1084,6 @@ public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue return this; } /** - * - * *
      * Time used for executing the groupBy request.
      * 
@@ -1207,7 +1094,7 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) { if (readTimeBuilder_ == null) { if (readTime_ != null) { readTime_ = - com.google.protobuf.Timestamp.newBuilder(readTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(readTime_).mergeFrom(value).buildPartial(); } else { readTime_ = value; } @@ -1219,8 +1106,6 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time used for executing the groupBy request.
      * 
@@ -1239,8 +1124,6 @@ public Builder clearReadTime() { return this; } /** - * - * *
      * Time used for executing the groupBy request.
      * 
@@ -1248,13 +1131,11 @@ public Builder clearReadTime() { * .google.protobuf.Timestamp read_time = 2; */ public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() { - + onChanged(); return getReadTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Time used for executing the groupBy request.
      * 
@@ -1265,12 +1146,11 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() { if (readTimeBuilder_ != null) { return readTimeBuilder_.getMessageOrBuilder(); } else { - return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_; + return readTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : readTime_; } } /** - * - * *
      * Time used for executing the groupBy request.
      * 
@@ -1278,17 +1158,14 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() { * .google.protobuf.Timestamp read_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> getReadTimeFieldBuilder() { if (readTimeBuilder_ == null) { - readTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getReadTime(), getParentForChildren(), isClean()); + readTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getReadTime(), + getParentForChildren(), + isClean()); readTime_ = null; } return readTimeBuilder_; @@ -1296,21 +1173,19 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() { private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results.
      * 
* * string next_page_token = 3; - * * @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; @@ -1319,22 +1194,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results.
      * 
* * string next_page_token = 3; - * * @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 { @@ -1342,79 +1216,69 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results.
      * 
* * string next_page_token = 3; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results.
      * 
* * string next_page_token = 3; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results.
      * 
* * string next_page_token = 3; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - private int totalSize_; + private int totalSize_ ; /** - * - * *
      * The total number of results matching the query.
      * 
* * int32 total_size = 4; - * * @return The totalSize. */ @java.lang.Override @@ -1422,43 +1286,37 @@ public int getTotalSize() { return totalSize_; } /** - * - * *
      * The total number of results matching the query.
      * 
* * int32 total_size = 4; - * * @param value The totalSize to set. * @return This builder for chaining. */ public Builder setTotalSize(int value) { - + totalSize_ = value; onChanged(); return this; } /** - * - * *
      * The total number of results matching the query.
      * 
* * int32 total_size = 4; - * * @return This builder for chaining. */ public Builder clearTotalSize() { - + totalSize_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1468,12 +1326,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.securitycenter.v1.GroupFindingsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1.GroupFindingsResponse) private static final com.google.cloud.securitycenter.v1.GroupFindingsResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.securitycenter.v1.GroupFindingsResponse(); } @@ -1482,27 +1340,27 @@ public static com.google.cloud.securitycenter.v1.GroupFindingsResponse getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GroupFindingsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - 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 GroupFindingsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + 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; @@ -1517,4 +1375,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.securitycenter.v1.GroupFindingsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupFindingsResponseOrBuilder.java b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupFindingsResponseOrBuilder.java similarity index 79% rename from java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupFindingsResponseOrBuilder.java rename to owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupFindingsResponseOrBuilder.java index 8a33fee8c5c2..c283f526218e 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupFindingsResponseOrBuilder.java +++ b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupFindingsResponseOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/securitycenter/v1/securitycenter_service.proto package com.google.cloud.securitycenter.v1; -public interface GroupFindingsResponseOrBuilder - extends +public interface GroupFindingsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.securitycenter.v1.GroupFindingsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Group results. There exists an element for each existing unique
    * combination of property/values. The element contains a count for the number
@@ -34,10 +16,9 @@ public interface GroupFindingsResponseOrBuilder
    *
    * repeated .google.cloud.securitycenter.v1.GroupResult group_by_results = 1;
    */
-  java.util.List getGroupByResultsList();
+  java.util.List 
+      getGroupByResultsList();
   /**
-   *
-   *
    * 
    * Group results. There exists an element for each existing unique
    * combination of property/values. The element contains a count for the number
@@ -48,8 +29,6 @@ public interface GroupFindingsResponseOrBuilder
    */
   com.google.cloud.securitycenter.v1.GroupResult getGroupByResults(int index);
   /**
-   *
-   *
    * 
    * Group results. There exists an element for each existing unique
    * combination of property/values. The element contains a count for the number
@@ -60,8 +39,6 @@ public interface GroupFindingsResponseOrBuilder
    */
   int getGroupByResultsCount();
   /**
-   *
-   *
    * 
    * Group results. There exists an element for each existing unique
    * combination of property/values. The element contains a count for the number
@@ -70,11 +47,9 @@ public interface GroupFindingsResponseOrBuilder
    *
    * repeated .google.cloud.securitycenter.v1.GroupResult group_by_results = 1;
    */
-  java.util.List
+  java.util.List 
       getGroupByResultsOrBuilderList();
   /**
-   *
-   *
    * 
    * Group results. There exists an element for each existing unique
    * combination of property/values. The element contains a count for the number
@@ -83,35 +58,28 @@ public interface GroupFindingsResponseOrBuilder
    *
    * repeated .google.cloud.securitycenter.v1.GroupResult group_by_results = 1;
    */
-  com.google.cloud.securitycenter.v1.GroupResultOrBuilder getGroupByResultsOrBuilder(int index);
+  com.google.cloud.securitycenter.v1.GroupResultOrBuilder getGroupByResultsOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * Time used for executing the groupBy request.
    * 
* * .google.protobuf.Timestamp read_time = 2; - * * @return Whether the readTime field is set. */ boolean hasReadTime(); /** - * - * *
    * Time used for executing the groupBy request.
    * 
* * .google.protobuf.Timestamp read_time = 2; - * * @return The readTime. */ com.google.protobuf.Timestamp getReadTime(); /** - * - * *
    * Time used for executing the groupBy request.
    * 
@@ -121,41 +89,33 @@ public interface GroupFindingsResponseOrBuilder com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder(); /** - * - * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results.
    * 
* * string next_page_token = 3; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results.
    * 
* * string next_page_token = 3; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); /** - * - * *
    * The total number of results matching the query.
    * 
* * int32 total_size = 4; - * * @return The totalSize. */ int getTotalSize(); diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupResult.java b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupResult.java similarity index 62% rename from java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupResult.java rename to owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupResult.java index 4ac479e87483..a426be19aaa0 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupResult.java +++ b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupResult.java @@ -1,102 +1,83 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/securitycenter/v1/securitycenter_service.proto package com.google.cloud.securitycenter.v1; /** - * - * *
  * Result containing the properties and count of a groupBy request.
  * 
* * Protobuf type {@code google.cloud.securitycenter.v1.GroupResult} */ -public final class GroupResult extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GroupResult extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.securitycenter.v1.GroupResult) GroupResultOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GroupResult.newBuilder() to construct. private GroupResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private GroupResult() {} + private GroupResult() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GroupResult(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.securitycenter.v1.SecuritycenterService - .internal_static_google_cloud_securitycenter_v1_GroupResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.securitycenter.v1.SecuritycenterService.internal_static_google_cloud_securitycenter_v1_GroupResult_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 1: return internalGetProperties(); 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.securitycenter.v1.SecuritycenterService - .internal_static_google_cloud_securitycenter_v1_GroupResult_fieldAccessorTable + return com.google.cloud.securitycenter.v1.SecuritycenterService.internal_static_google_cloud_securitycenter_v1_GroupResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.securitycenter.v1.GroupResult.class, - com.google.cloud.securitycenter.v1.GroupResult.Builder.class); + com.google.cloud.securitycenter.v1.GroupResult.class, com.google.cloud.securitycenter.v1.GroupResult.Builder.class); } public static final int PROPERTIES_FIELD_NUMBER = 1; - private static final class PropertiesDefaultEntryHolder { - static final com.google.protobuf.MapEntry - defaultEntry = + static final com.google.protobuf.MapEntry< + java.lang.String, com.google.protobuf.Value> defaultEntry = com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.securitycenter.v1.SecuritycenterService - .internal_static_google_cloud_securitycenter_v1_GroupResult_PropertiesEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - com.google.protobuf.Value.getDefaultInstance()); - } - - private com.google.protobuf.MapField properties_; - + .newDefaultInstance( + com.google.cloud.securitycenter.v1.SecuritycenterService.internal_static_google_cloud_securitycenter_v1_GroupResult_PropertiesEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.protobuf.Value.getDefaultInstance()); + } + private com.google.protobuf.MapField< + java.lang.String, com.google.protobuf.Value> properties_; private com.google.protobuf.MapField - internalGetProperties() { + internalGetProperties() { if (properties_ == null) { - return com.google.protobuf.MapField.emptyMapField(PropertiesDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + PropertiesDefaultEntryHolder.defaultEntry); } return properties_; } @@ -105,30 +86,28 @@ public int getPropertiesCount() { return internalGetProperties().getMap().size(); } /** - * - * *
    * Properties matching the groupBy fields in the request.
    * 
* * map<string, .google.protobuf.Value> properties = 1; */ + @java.lang.Override - public boolean containsProperties(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsProperties( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetProperties().getMap().containsKey(key); } - /** Use {@link #getPropertiesMap()} instead. */ + /** + * Use {@link #getPropertiesMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getProperties() { return getPropertiesMap(); } /** - * - * *
    * Properties matching the groupBy fields in the request.
    * 
@@ -136,12 +115,11 @@ public java.util.Map getProperties( * map<string, .google.protobuf.Value> properties = 1; */ @java.lang.Override + public java.util.Map getPropertiesMap() { return internalGetProperties().getMap(); } /** - * - * *
    * Properties matching the groupBy fields in the request.
    * 
@@ -149,18 +127,16 @@ public java.util.Map getPropertiesM * map<string, .google.protobuf.Value> properties = 1; */ @java.lang.Override + public com.google.protobuf.Value getPropertiesOrDefault( - java.lang.String key, com.google.protobuf.Value defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } + java.lang.String key, + com.google.protobuf.Value defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetProperties().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * Properties matching the groupBy fields in the request.
    * 
@@ -168,10 +144,10 @@ public com.google.protobuf.Value getPropertiesOrDefault( * map<string, .google.protobuf.Value> properties = 1; */ @java.lang.Override - public com.google.protobuf.Value getPropertiesOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + + public com.google.protobuf.Value getPropertiesOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetProperties().getMap(); if (!map.containsKey(key)) { @@ -183,14 +159,11 @@ public com.google.protobuf.Value getPropertiesOrThrow(java.lang.String key) { public static final int COUNT_FIELD_NUMBER = 2; private long count_; /** - * - * *
    * Total count of resources for the given properties.
    * 
* * int64 count = 2; - * * @return The count. */ @java.lang.Override @@ -199,7 +172,6 @@ public long getCount() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -211,9 +183,14 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetProperties(), PropertiesDefaultEntryHolder.defaultEntry, 1); + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetProperties(), + PropertiesDefaultEntryHolder.defaultEntry, + 1); if (count_ != 0L) { output.writeInt64(2, count_); } @@ -226,18 +203,19 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - for (java.util.Map.Entry entry : - internalGetProperties().getMap().entrySet()) { - com.google.protobuf.MapEntry properties__ = - PropertiesDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, properties__); + for (java.util.Map.Entry entry + : internalGetProperties().getMap().entrySet()) { + com.google.protobuf.MapEntry + properties__ = PropertiesDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, properties__); } if (count_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, count_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(2, count_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -247,16 +225,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.securitycenter.v1.GroupResult)) { return super.equals(obj); } - com.google.cloud.securitycenter.v1.GroupResult other = - (com.google.cloud.securitycenter.v1.GroupResult) obj; + com.google.cloud.securitycenter.v1.GroupResult other = (com.google.cloud.securitycenter.v1.GroupResult) obj; - if (!internalGetProperties().equals(other.internalGetProperties())) return false; - if (getCount() != other.getCount()) return false; + if (!internalGetProperties().equals( + other.internalGetProperties())) return false; + if (getCount() + != other.getCount()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -273,162 +252,159 @@ public int hashCode() { hash = (53 * hash) + internalGetProperties().hashCode(); } hash = (37 * hash) + COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getCount()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.securitycenter.v1.GroupResult parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.securitycenter.v1.GroupResult parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.GroupResult parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.GroupResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.GroupResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.GroupResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.GroupResult parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.GroupResult parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.GroupResult parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.securitycenter.v1.GroupResult parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.securitycenter.v1.GroupResult parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.GroupResult parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.GroupResult parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.GroupResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.securitycenter.v1.GroupResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Result containing the properties and count of a groupBy request.
    * 
* * Protobuf type {@code google.cloud.securitycenter.v1.GroupResult} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.securitycenter.v1.GroupResult) com.google.cloud.securitycenter.v1.GroupResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.securitycenter.v1.SecuritycenterService - .internal_static_google_cloud_securitycenter_v1_GroupResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.securitycenter.v1.SecuritycenterService.internal_static_google_cloud_securitycenter_v1_GroupResult_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 1: return internalGetProperties(); 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 1: return internalGetMutableProperties(); 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.securitycenter.v1.SecuritycenterService - .internal_static_google_cloud_securitycenter_v1_GroupResult_fieldAccessorTable + return com.google.cloud.securitycenter.v1.SecuritycenterService.internal_static_google_cloud_securitycenter_v1_GroupResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.securitycenter.v1.GroupResult.class, - com.google.cloud.securitycenter.v1.GroupResult.Builder.class); + com.google.cloud.securitycenter.v1.GroupResult.class, com.google.cloud.securitycenter.v1.GroupResult.Builder.class); } // Construct using com.google.cloud.securitycenter.v1.GroupResult.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(); @@ -439,9 +415,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.securitycenter.v1.SecuritycenterService - .internal_static_google_cloud_securitycenter_v1_GroupResult_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.securitycenter.v1.SecuritycenterService.internal_static_google_cloud_securitycenter_v1_GroupResult_descriptor; } @java.lang.Override @@ -460,8 +436,7 @@ public com.google.cloud.securitycenter.v1.GroupResult build() { @java.lang.Override public com.google.cloud.securitycenter.v1.GroupResult buildPartial() { - com.google.cloud.securitycenter.v1.GroupResult result = - new com.google.cloud.securitycenter.v1.GroupResult(this); + com.google.cloud.securitycenter.v1.GroupResult result = new com.google.cloud.securitycenter.v1.GroupResult(this); int from_bitField0_ = bitField0_; result.properties_ = internalGetProperties(); result.properties_.makeImmutable(); @@ -474,39 +449,38 @@ public com.google.cloud.securitycenter.v1.GroupResult buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.securitycenter.v1.GroupResult) { - return mergeFrom((com.google.cloud.securitycenter.v1.GroupResult) other); + return mergeFrom((com.google.cloud.securitycenter.v1.GroupResult)other); } else { super.mergeFrom(other); return this; @@ -515,7 +489,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.cloud.securitycenter.v1.GroupResult other) { if (other == com.google.cloud.securitycenter.v1.GroupResult.getDefaultInstance()) return this; - internalGetMutableProperties().mergeFrom(other.internalGetProperties()); + internalGetMutableProperties().mergeFrom( + other.internalGetProperties()); if (other.getCount() != 0L) { setCount(other.getCount()); } @@ -545,31 +520,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.protobuf.MapEntry - properties__ = - input.readMessage( - PropertiesDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableProperties() - .getMutableMap() - .put(properties__.getKey(), properties__.getValue()); - break; - } // case 10 - case 16: - { - count_ = input.readInt64(); - - break; - } // case 16 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.protobuf.MapEntry + properties__ = input.readMessage( + PropertiesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableProperties().getMutableMap().put( + properties__.getKey(), properties__.getValue()); + break; + } // case 10 + case 16: { + count_ = input.readInt64(); + + 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) { @@ -579,27 +548,24 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private com.google.protobuf.MapField properties_; - + private com.google.protobuf.MapField< + java.lang.String, com.google.protobuf.Value> properties_; private com.google.protobuf.MapField - internalGetProperties() { + internalGetProperties() { if (properties_ == null) { return com.google.protobuf.MapField.emptyMapField( PropertiesDefaultEntryHolder.defaultEntry); } return properties_; } - private com.google.protobuf.MapField - internalGetMutableProperties() { - onChanged(); - ; + internalGetMutableProperties() { + onChanged();; if (properties_ == null) { - properties_ = - com.google.protobuf.MapField.newMapField(PropertiesDefaultEntryHolder.defaultEntry); + properties_ = com.google.protobuf.MapField.newMapField( + PropertiesDefaultEntryHolder.defaultEntry); } if (!properties_.isMutable()) { properties_ = properties_.copy(); @@ -611,30 +577,28 @@ public int getPropertiesCount() { return internalGetProperties().getMap().size(); } /** - * - * *
      * Properties matching the groupBy fields in the request.
      * 
* * map<string, .google.protobuf.Value> properties = 1; */ + @java.lang.Override - public boolean containsProperties(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsProperties( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetProperties().getMap().containsKey(key); } - /** Use {@link #getPropertiesMap()} instead. */ + /** + * Use {@link #getPropertiesMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getProperties() { return getPropertiesMap(); } /** - * - * *
      * Properties matching the groupBy fields in the request.
      * 
@@ -642,12 +606,11 @@ public java.util.Map getProperties( * map<string, .google.protobuf.Value> properties = 1; */ @java.lang.Override + public java.util.Map getPropertiesMap() { return internalGetProperties().getMap(); } /** - * - * *
      * Properties matching the groupBy fields in the request.
      * 
@@ -655,18 +618,16 @@ public java.util.Map getPropertiesM * map<string, .google.protobuf.Value> properties = 1; */ @java.lang.Override + public com.google.protobuf.Value getPropertiesOrDefault( - java.lang.String key, com.google.protobuf.Value defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } + java.lang.String key, + com.google.protobuf.Value defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetProperties().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * Properties matching the groupBy fields in the request.
      * 
@@ -674,10 +635,10 @@ public com.google.protobuf.Value getPropertiesOrDefault( * map<string, .google.protobuf.Value> properties = 1; */ @java.lang.Override - public com.google.protobuf.Value getPropertiesOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + + public com.google.protobuf.Value getPropertiesOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetProperties().getMap(); if (!map.containsKey(key)) { @@ -687,75 +648,74 @@ public com.google.protobuf.Value getPropertiesOrThrow(java.lang.String key) { } public Builder clearProperties() { - internalGetMutableProperties().getMutableMap().clear(); + internalGetMutableProperties().getMutableMap() + .clear(); return this; } /** - * - * *
      * Properties matching the groupBy fields in the request.
      * 
* * map<string, .google.protobuf.Value> properties = 1; */ - public Builder removeProperties(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableProperties().getMutableMap().remove(key); + + public Builder removeProperties( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableProperties().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated - public java.util.Map getMutableProperties() { + public java.util.Map + getMutableProperties() { return internalGetMutableProperties().getMutableMap(); } /** - * - * *
      * Properties matching the groupBy fields in the request.
      * 
* * map<string, .google.protobuf.Value> properties = 1; */ - public Builder putProperties(java.lang.String key, com.google.protobuf.Value value) { - if (key == null) { - throw new NullPointerException("map key"); - } + public Builder putProperties( + java.lang.String key, + com.google.protobuf.Value value) { + if (key == null) { throw new NullPointerException("map key"); } if (value == null) { - throw new NullPointerException("map value"); - } + throw new NullPointerException("map value"); +} - internalGetMutableProperties().getMutableMap().put(key, value); + internalGetMutableProperties().getMutableMap() + .put(key, value); return this; } /** - * - * *
      * Properties matching the groupBy fields in the request.
      * 
* * map<string, .google.protobuf.Value> properties = 1; */ + public Builder putAllProperties( java.util.Map values) { - internalGetMutableProperties().getMutableMap().putAll(values); + internalGetMutableProperties().getMutableMap() + .putAll(values); return this; } - private long count_; + private long count_ ; /** - * - * *
      * Total count of resources for the given properties.
      * 
* * int64 count = 2; - * * @return The count. */ @java.lang.Override @@ -763,43 +723,37 @@ public long getCount() { return count_; } /** - * - * *
      * Total count of resources for the given properties.
      * 
* * int64 count = 2; - * * @param value The count to set. * @return This builder for chaining. */ public Builder setCount(long value) { - + count_ = value; onChanged(); return this; } /** - * - * *
      * Total count of resources for the given properties.
      * 
* * int64 count = 2; - * * @return This builder for chaining. */ public Builder clearCount() { - + count_ = 0L; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -809,12 +763,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.securitycenter.v1.GroupResult) } // @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1.GroupResult) private static final com.google.cloud.securitycenter.v1.GroupResult DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.securitycenter.v1.GroupResult(); } @@ -823,27 +777,27 @@ public static com.google.cloud.securitycenter.v1.GroupResult getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GroupResult parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - 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 GroupResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + 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; @@ -858,4 +812,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.securitycenter.v1.GroupResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupResultOrBuilder.java b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupResultOrBuilder.java similarity index 56% rename from java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupResultOrBuilder.java rename to owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupResultOrBuilder.java index 85083b4c550e..cf6bc3f339b3 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupResultOrBuilder.java +++ b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupResultOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/securitycenter/v1/securitycenter_service.proto package com.google.cloud.securitycenter.v1; -public interface GroupResultOrBuilder - extends +public interface GroupResultOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.securitycenter.v1.GroupResult) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Properties matching the groupBy fields in the request.
    * 
@@ -34,31 +16,30 @@ public interface GroupResultOrBuilder */ int getPropertiesCount(); /** - * - * *
    * Properties matching the groupBy fields in the request.
    * 
* * map<string, .google.protobuf.Value> properties = 1; */ - boolean containsProperties(java.lang.String key); - /** Use {@link #getPropertiesMap()} instead. */ + boolean containsProperties( + java.lang.String key); + /** + * Use {@link #getPropertiesMap()} instead. + */ @java.lang.Deprecated - java.util.Map getProperties(); + java.util.Map + getProperties(); /** - * - * *
    * Properties matching the groupBy fields in the request.
    * 
* * map<string, .google.protobuf.Value> properties = 1; */ - java.util.Map getPropertiesMap(); + java.util.Map + getPropertiesMap(); /** - * - * *
    * Properties matching the groupBy fields in the request.
    * 
@@ -67,30 +48,27 @@ public interface GroupResultOrBuilder */ /* nullable */ - com.google.protobuf.Value getPropertiesOrDefault( +com.google.protobuf.Value getPropertiesOrDefault( java.lang.String key, /* nullable */ - com.google.protobuf.Value defaultValue); +com.google.protobuf.Value defaultValue); /** - * - * *
    * Properties matching the groupBy fields in the request.
    * 
* * map<string, .google.protobuf.Value> properties = 1; */ - com.google.protobuf.Value getPropertiesOrThrow(java.lang.String key); + + com.google.protobuf.Value getPropertiesOrThrow( + java.lang.String key); /** - * - * *
    * Total count of resources for the given properties.
    * 
* * int64 count = 2; - * * @return The count. */ long getCount(); diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/IamBinding.java b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/IamBinding.java similarity index 69% rename from java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/IamBinding.java rename to owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/IamBinding.java index bfa268dda2e2..9e468029fed9 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/IamBinding.java +++ b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/IamBinding.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/securitycenter/v1/iam_binding.proto package com.google.cloud.securitycenter.v1; /** - * - * *
  * Represents a particular IAM binding, which captures a member's role addition,
  * removal, or state.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.securitycenter.v1.IamBinding}
  */
-public final class IamBinding extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class IamBinding extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.securitycenter.v1.IamBinding)
     IamBindingOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use IamBinding.newBuilder() to construct.
   private IamBinding(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private IamBinding() {
     action_ = 0;
     role_ = "";
@@ -46,43 +28,39 @@ private IamBinding() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new IamBinding();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.securitycenter.v1.IamBindingProto
-        .internal_static_google_cloud_securitycenter_v1_IamBinding_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.securitycenter.v1.IamBindingProto.internal_static_google_cloud_securitycenter_v1_IamBinding_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.securitycenter.v1.IamBindingProto
-        .internal_static_google_cloud_securitycenter_v1_IamBinding_fieldAccessorTable
+    return com.google.cloud.securitycenter.v1.IamBindingProto.internal_static_google_cloud_securitycenter_v1_IamBinding_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.securitycenter.v1.IamBinding.class,
-            com.google.cloud.securitycenter.v1.IamBinding.Builder.class);
+            com.google.cloud.securitycenter.v1.IamBinding.class, com.google.cloud.securitycenter.v1.IamBinding.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * The type of action performed on a Binding in a policy.
    * 
* * Protobuf enum {@code google.cloud.securitycenter.v1.IamBinding.Action} */ - public enum Action implements com.google.protobuf.ProtocolMessageEnum { + public enum Action + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Unspecified.
      * 
@@ -91,8 +69,6 @@ public enum Action implements com.google.protobuf.ProtocolMessageEnum { */ ACTION_UNSPECIFIED(0), /** - * - * *
      * Addition of a Binding.
      * 
@@ -101,8 +77,6 @@ public enum Action implements com.google.protobuf.ProtocolMessageEnum { */ ADD(1), /** - * - * *
      * Removal of a Binding.
      * 
@@ -114,8 +88,6 @@ public enum Action implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Unspecified.
      * 
@@ -124,8 +96,6 @@ public enum Action implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ACTION_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Addition of a Binding.
      * 
@@ -134,8 +104,6 @@ public enum Action implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ADD_VALUE = 1; /** - * - * *
      * Removal of a Binding.
      * 
@@ -144,6 +112,7 @@ public enum Action implements com.google.protobuf.ProtocolMessageEnum { */ public static final int REMOVE_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -168,49 +137,49 @@ public static Action valueOf(int value) { */ public static Action forNumber(int value) { switch (value) { - case 0: - return ACTION_UNSPECIFIED; - case 1: - return ADD; - case 2: - return REMOVE; - default: - return null; + case 0: return ACTION_UNSPECIFIED; + case 1: return ADD; + case 2: return REMOVE; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + Action> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Action findValueByNumber(int number) { + return Action.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Action findValueByNumber(int number) { - return Action.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.securitycenter.v1.IamBinding.getDescriptor().getEnumTypes().get(0); } private static final Action[] VALUES = values(); - public static Action valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Action valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -230,53 +199,39 @@ private Action(int value) { public static final int ACTION_FIELD_NUMBER = 1; private int action_; /** - * - * *
    * The action that was performed on a Binding.
    * 
* * .google.cloud.securitycenter.v1.IamBinding.Action action = 1; - * * @return The enum numeric value on the wire for action. */ - @java.lang.Override - public int getActionValue() { + @java.lang.Override public int getActionValue() { return action_; } /** - * - * *
    * The action that was performed on a Binding.
    * 
* * .google.cloud.securitycenter.v1.IamBinding.Action action = 1; - * * @return The action. */ - @java.lang.Override - public com.google.cloud.securitycenter.v1.IamBinding.Action getAction() { + @java.lang.Override public com.google.cloud.securitycenter.v1.IamBinding.Action getAction() { @SuppressWarnings("deprecation") - com.google.cloud.securitycenter.v1.IamBinding.Action result = - com.google.cloud.securitycenter.v1.IamBinding.Action.valueOf(action_); - return result == null - ? com.google.cloud.securitycenter.v1.IamBinding.Action.UNRECOGNIZED - : result; + com.google.cloud.securitycenter.v1.IamBinding.Action result = com.google.cloud.securitycenter.v1.IamBinding.Action.valueOf(action_); + return result == null ? com.google.cloud.securitycenter.v1.IamBinding.Action.UNRECOGNIZED : result; } public static final int ROLE_FIELD_NUMBER = 2; private volatile java.lang.Object role_; /** - * - * *
    * Role that is assigned to "members".
    * For example, "roles/viewer", "roles/editor", or "roles/owner".
    * 
* * string role = 2; - * * @return The role. */ @java.lang.Override @@ -285,30 +240,30 @@ public java.lang.String getRole() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); role_ = s; return s; } } /** - * - * *
    * Role that is assigned to "members".
    * For example, "roles/viewer", "roles/editor", or "roles/owner".
    * 
* * string role = 2; - * * @return The bytes for role. */ @java.lang.Override - public com.google.protobuf.ByteString getRoleBytes() { + public com.google.protobuf.ByteString + getRoleBytes() { java.lang.Object ref = role_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); role_ = b; return b; } else { @@ -319,15 +274,12 @@ public com.google.protobuf.ByteString getRoleBytes() { public static final int MEMBER_FIELD_NUMBER = 3; private volatile java.lang.Object member_; /** - * - * *
    * A single identity requesting access for a Cloud Platform resource,
    * e.g. "foo@google.com".
    * 
* * string member = 3; - * * @return The member. */ @java.lang.Override @@ -336,30 +288,30 @@ public java.lang.String getMember() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); member_ = s; return s; } } /** - * - * *
    * A single identity requesting access for a Cloud Platform resource,
    * e.g. "foo@google.com".
    * 
* * string member = 3; - * * @return The bytes for member. */ @java.lang.Override - public com.google.protobuf.ByteString getMemberBytes() { + public com.google.protobuf.ByteString + getMemberBytes() { java.lang.Object ref = member_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); member_ = b; return b; } else { @@ -368,7 +320,6 @@ public com.google.protobuf.ByteString getMemberBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -380,9 +331,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (action_ - != com.google.cloud.securitycenter.v1.IamBinding.Action.ACTION_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (action_ != com.google.cloud.securitycenter.v1.IamBinding.Action.ACTION_UNSPECIFIED.getNumber()) { output.writeEnum(1, action_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(role_)) { @@ -400,9 +351,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (action_ - != com.google.cloud.securitycenter.v1.IamBinding.Action.ACTION_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, action_); + if (action_ != com.google.cloud.securitycenter.v1.IamBinding.Action.ACTION_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, action_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(role_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, role_); @@ -418,17 +369,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.securitycenter.v1.IamBinding)) { return super.equals(obj); } - com.google.cloud.securitycenter.v1.IamBinding other = - (com.google.cloud.securitycenter.v1.IamBinding) obj; + com.google.cloud.securitycenter.v1.IamBinding other = (com.google.cloud.securitycenter.v1.IamBinding) obj; if (action_ != other.action_) return false; - if (!getRole().equals(other.getRole())) return false; - if (!getMember().equals(other.getMember())) return false; + if (!getRole() + .equals(other.getRole())) return false; + if (!getMember() + .equals(other.getMember())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -451,104 +403,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.securitycenter.v1.IamBinding parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.securitycenter.v1.IamBinding parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.IamBinding parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.IamBinding parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.IamBinding parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.IamBinding parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.IamBinding parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.IamBinding parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.IamBinding parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.securitycenter.v1.IamBinding parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.securitycenter.v1.IamBinding parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.IamBinding parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.IamBinding parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.IamBinding parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.securitycenter.v1.IamBinding prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Represents a particular IAM binding, which captures a member's role addition,
    * removal, or state.
@@ -556,32 +501,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.securitycenter.v1.IamBinding}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.securitycenter.v1.IamBinding)
       com.google.cloud.securitycenter.v1.IamBindingOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.securitycenter.v1.IamBindingProto
-          .internal_static_google_cloud_securitycenter_v1_IamBinding_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.securitycenter.v1.IamBindingProto.internal_static_google_cloud_securitycenter_v1_IamBinding_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.securitycenter.v1.IamBindingProto
-          .internal_static_google_cloud_securitycenter_v1_IamBinding_fieldAccessorTable
+      return com.google.cloud.securitycenter.v1.IamBindingProto.internal_static_google_cloud_securitycenter_v1_IamBinding_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.securitycenter.v1.IamBinding.class,
-              com.google.cloud.securitycenter.v1.IamBinding.Builder.class);
+              com.google.cloud.securitycenter.v1.IamBinding.class, com.google.cloud.securitycenter.v1.IamBinding.Builder.class);
     }
 
     // Construct using com.google.cloud.securitycenter.v1.IamBinding.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();
@@ -595,9 +541,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.securitycenter.v1.IamBindingProto
-          .internal_static_google_cloud_securitycenter_v1_IamBinding_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.securitycenter.v1.IamBindingProto.internal_static_google_cloud_securitycenter_v1_IamBinding_descriptor;
     }
 
     @java.lang.Override
@@ -616,8 +562,7 @@ public com.google.cloud.securitycenter.v1.IamBinding build() {
 
     @java.lang.Override
     public com.google.cloud.securitycenter.v1.IamBinding buildPartial() {
-      com.google.cloud.securitycenter.v1.IamBinding result =
-          new com.google.cloud.securitycenter.v1.IamBinding(this);
+      com.google.cloud.securitycenter.v1.IamBinding result = new com.google.cloud.securitycenter.v1.IamBinding(this);
       result.action_ = action_;
       result.role_ = role_;
       result.member_ = member_;
@@ -629,39 +574,38 @@ public com.google.cloud.securitycenter.v1.IamBinding buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.securitycenter.v1.IamBinding) {
-        return mergeFrom((com.google.cloud.securitycenter.v1.IamBinding) other);
+        return mergeFrom((com.google.cloud.securitycenter.v1.IamBinding)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -707,31 +651,27 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                action_ = input.readEnum();
-
-                break;
-              } // case 8
-            case 18:
-              {
-                role_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 18
-            case 26:
-              {
-                member_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              action_ = input.readEnum();
+
+              break;
+            } // case 8
+            case 18: {
+              role_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 18
+            case 26: {
+              member_ = input.readStringRequireUtf8();
+
+              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) {
@@ -744,67 +684,51 @@ public Builder mergeFrom(
 
     private int action_ = 0;
     /**
-     *
-     *
      * 
      * The action that was performed on a Binding.
      * 
* * .google.cloud.securitycenter.v1.IamBinding.Action action = 1; - * * @return The enum numeric value on the wire for action. */ - @java.lang.Override - public int getActionValue() { + @java.lang.Override public int getActionValue() { return action_; } /** - * - * *
      * The action that was performed on a Binding.
      * 
* * .google.cloud.securitycenter.v1.IamBinding.Action action = 1; - * * @param value The enum numeric value on the wire for action to set. * @return This builder for chaining. */ public Builder setActionValue(int value) { - + action_ = value; onChanged(); return this; } /** - * - * *
      * The action that was performed on a Binding.
      * 
* * .google.cloud.securitycenter.v1.IamBinding.Action action = 1; - * * @return The action. */ @java.lang.Override public com.google.cloud.securitycenter.v1.IamBinding.Action getAction() { @SuppressWarnings("deprecation") - com.google.cloud.securitycenter.v1.IamBinding.Action result = - com.google.cloud.securitycenter.v1.IamBinding.Action.valueOf(action_); - return result == null - ? com.google.cloud.securitycenter.v1.IamBinding.Action.UNRECOGNIZED - : result; + com.google.cloud.securitycenter.v1.IamBinding.Action result = com.google.cloud.securitycenter.v1.IamBinding.Action.valueOf(action_); + return result == null ? com.google.cloud.securitycenter.v1.IamBinding.Action.UNRECOGNIZED : result; } /** - * - * *
      * The action that was performed on a Binding.
      * 
* * .google.cloud.securitycenter.v1.IamBinding.Action action = 1; - * * @param value The action to set. * @return This builder for chaining. */ @@ -812,24 +736,21 @@ public Builder setAction(com.google.cloud.securitycenter.v1.IamBinding.Action va if (value == null) { throw new NullPointerException(); } - + action_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The action that was performed on a Binding.
      * 
* * .google.cloud.securitycenter.v1.IamBinding.Action action = 1; - * * @return This builder for chaining. */ public Builder clearAction() { - + action_ = 0; onChanged(); return this; @@ -837,21 +758,19 @@ public Builder clearAction() { private java.lang.Object role_ = ""; /** - * - * *
      * Role that is assigned to "members".
      * For example, "roles/viewer", "roles/editor", or "roles/owner".
      * 
* * string role = 2; - * * @return The role. */ public java.lang.String getRole() { java.lang.Object ref = role_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); role_ = s; return s; @@ -860,22 +779,21 @@ public java.lang.String getRole() { } } /** - * - * *
      * Role that is assigned to "members".
      * For example, "roles/viewer", "roles/editor", or "roles/owner".
      * 
* * string role = 2; - * * @return The bytes for role. */ - public com.google.protobuf.ByteString getRoleBytes() { + public com.google.protobuf.ByteString + getRoleBytes() { java.lang.Object ref = role_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); role_ = b; return b; } else { @@ -883,64 +801,57 @@ public com.google.protobuf.ByteString getRoleBytes() { } } /** - * - * *
      * Role that is assigned to "members".
      * For example, "roles/viewer", "roles/editor", or "roles/owner".
      * 
* * string role = 2; - * * @param value The role to set. * @return This builder for chaining. */ - public Builder setRole(java.lang.String value) { + public Builder setRole( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + role_ = value; onChanged(); return this; } /** - * - * *
      * Role that is assigned to "members".
      * For example, "roles/viewer", "roles/editor", or "roles/owner".
      * 
* * string role = 2; - * * @return This builder for chaining. */ public Builder clearRole() { - + role_ = getDefaultInstance().getRole(); onChanged(); return this; } /** - * - * *
      * Role that is assigned to "members".
      * For example, "roles/viewer", "roles/editor", or "roles/owner".
      * 
* * string role = 2; - * * @param value The bytes for role to set. * @return This builder for chaining. */ - public Builder setRoleBytes(com.google.protobuf.ByteString value) { + public Builder setRoleBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + role_ = value; onChanged(); return this; @@ -948,21 +859,19 @@ public Builder setRoleBytes(com.google.protobuf.ByteString value) { private java.lang.Object member_ = ""; /** - * - * *
      * A single identity requesting access for a Cloud Platform resource,
      * e.g. "foo@google.com".
      * 
* * string member = 3; - * * @return The member. */ public java.lang.String getMember() { java.lang.Object ref = member_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); member_ = s; return s; @@ -971,22 +880,21 @@ public java.lang.String getMember() { } } /** - * - * *
      * A single identity requesting access for a Cloud Platform resource,
      * e.g. "foo@google.com".
      * 
* * string member = 3; - * * @return The bytes for member. */ - public com.google.protobuf.ByteString getMemberBytes() { + public com.google.protobuf.ByteString + getMemberBytes() { java.lang.Object ref = member_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); member_ = b; return b; } else { @@ -994,71 +902,64 @@ public com.google.protobuf.ByteString getMemberBytes() { } } /** - * - * *
      * A single identity requesting access for a Cloud Platform resource,
      * e.g. "foo@google.com".
      * 
* * string member = 3; - * * @param value The member to set. * @return This builder for chaining. */ - public Builder setMember(java.lang.String value) { + public Builder setMember( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + member_ = value; onChanged(); return this; } /** - * - * *
      * A single identity requesting access for a Cloud Platform resource,
      * e.g. "foo@google.com".
      * 
* * string member = 3; - * * @return This builder for chaining. */ public Builder clearMember() { - + member_ = getDefaultInstance().getMember(); onChanged(); return this; } /** - * - * *
      * A single identity requesting access for a Cloud Platform resource,
      * e.g. "foo@google.com".
      * 
* * string member = 3; - * * @param value The bytes for member to set. * @return This builder for chaining. */ - public Builder setMemberBytes(com.google.protobuf.ByteString value) { + public Builder setMemberBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + member_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1068,12 +969,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.securitycenter.v1.IamBinding) } // @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1.IamBinding) private static final com.google.cloud.securitycenter.v1.IamBinding DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.securitycenter.v1.IamBinding(); } @@ -1082,27 +983,27 @@ public static com.google.cloud.securitycenter.v1.IamBinding getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IamBinding parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - 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 IamBinding parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + 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; @@ -1117,4 +1018,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.securitycenter.v1.IamBinding getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/IamBindingOrBuilder.java b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/IamBindingOrBuilder.java similarity index 67% rename from java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/IamBindingOrBuilder.java rename to owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/IamBindingOrBuilder.java index c5fed6b3156e..5a36e59aa7ea 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/IamBindingOrBuilder.java +++ b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/IamBindingOrBuilder.java @@ -1,104 +1,72 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/securitycenter/v1/iam_binding.proto package com.google.cloud.securitycenter.v1; -public interface IamBindingOrBuilder - extends +public interface IamBindingOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.securitycenter.v1.IamBinding) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The action that was performed on a Binding.
    * 
* * .google.cloud.securitycenter.v1.IamBinding.Action action = 1; - * * @return The enum numeric value on the wire for action. */ int getActionValue(); /** - * - * *
    * The action that was performed on a Binding.
    * 
* * .google.cloud.securitycenter.v1.IamBinding.Action action = 1; - * * @return The action. */ com.google.cloud.securitycenter.v1.IamBinding.Action getAction(); /** - * - * *
    * Role that is assigned to "members".
    * For example, "roles/viewer", "roles/editor", or "roles/owner".
    * 
* * string role = 2; - * * @return The role. */ java.lang.String getRole(); /** - * - * *
    * Role that is assigned to "members".
    * For example, "roles/viewer", "roles/editor", or "roles/owner".
    * 
* * string role = 2; - * * @return The bytes for role. */ - com.google.protobuf.ByteString getRoleBytes(); + com.google.protobuf.ByteString + getRoleBytes(); /** - * - * *
    * A single identity requesting access for a Cloud Platform resource,
    * e.g. "foo@google.com".
    * 
* * string member = 3; - * * @return The member. */ java.lang.String getMember(); /** - * - * *
    * A single identity requesting access for a Cloud Platform resource,
    * e.g. "foo@google.com".
    * 
* * string member = 3; - * * @return The bytes for member. */ - com.google.protobuf.ByteString getMemberBytes(); + com.google.protobuf.ByteString + getMemberBytes(); } diff --git a/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/IamBindingProto.java b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/IamBindingProto.java new file mode 100644 index 000000000000..eb64b7e0ba30 --- /dev/null +++ b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/IamBindingProto.java @@ -0,0 +1,58 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/securitycenter/v1/iam_binding.proto + +package com.google.cloud.securitycenter.v1; + +public final class IamBindingProto { + private IamBindingProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public 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_securitycenter_v1_IamBinding_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_securitycenter_v1_IamBinding_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n0google/cloud/securitycenter/v1/iam_bin" + + "ding.proto\022\036google.cloud.securitycenter." + + "v1\"\244\001\n\nIamBinding\022A\n\006action\030\001 \001(\01621.goog" + + "le.cloud.securitycenter.v1.IamBinding.Ac" + + "tion\022\014\n\004role\030\002 \001(\t\022\016\n\006member\030\003 \001(\t\"5\n\006Ac" + + "tion\022\026\n\022ACTION_UNSPECIFIED\020\000\022\007\n\003ADD\020\001\022\n\n" + + "\006REMOVE\020\002B\353\001\n\"com.google.cloud.securityc" + + "enter.v1B\017IamBindingProtoP\001ZLgoogle.gola" + + "ng.org/genproto/googleapis/cloud/securit" + + "ycenter/v1;securitycenter\252\002\036Google.Cloud" + + ".SecurityCenter.V1\312\002\036Google\\Cloud\\Securi" + + "tyCenter\\V1\352\002!Google::Cloud::SecurityCen" + + "ter::V1b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + }); + internal_static_google_cloud_securitycenter_v1_IamBinding_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_securitycenter_v1_IamBinding_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_securitycenter_v1_IamBinding_descriptor, + new java.lang.String[] { "Action", "Role", "Member", }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Indicator.java b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Indicator.java similarity index 62% rename from java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Indicator.java rename to owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Indicator.java index 86e10b41f5b8..722462009048 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Indicator.java +++ b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Indicator.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/securitycenter/v1/indicator.proto package com.google.cloud.securitycenter.v1; /** - * - * *
  * Represents what's commonly known as an Indicator of compromise (IoC) in
  * computer forensics. This is an artifact observed on a network or in an
@@ -30,16 +13,15 @@
  *
  * Protobuf type {@code google.cloud.securitycenter.v1.Indicator}
  */
-public final class Indicator extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Indicator extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.securitycenter.v1.Indicator)
     IndicatorOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Indicator.newBuilder() to construct.
   private Indicator(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Indicator() {
     ipAddresses_ = com.google.protobuf.LazyStringArrayList.EMPTY;
     domains_ = com.google.protobuf.LazyStringArrayList.EMPTY;
@@ -49,297 +31,222 @@ private Indicator() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Indicator();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.securitycenter.v1.IndicatorProto
-        .internal_static_google_cloud_securitycenter_v1_Indicator_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.securitycenter.v1.IndicatorProto.internal_static_google_cloud_securitycenter_v1_Indicator_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.securitycenter.v1.IndicatorProto
-        .internal_static_google_cloud_securitycenter_v1_Indicator_fieldAccessorTable
+    return com.google.cloud.securitycenter.v1.IndicatorProto.internal_static_google_cloud_securitycenter_v1_Indicator_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.securitycenter.v1.Indicator.class,
-            com.google.cloud.securitycenter.v1.Indicator.Builder.class);
+            com.google.cloud.securitycenter.v1.Indicator.class, com.google.cloud.securitycenter.v1.Indicator.Builder.class);
   }
 
-  public interface ProcessSignatureOrBuilder
-      extends
+  public interface ProcessSignatureOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.cloud.securitycenter.v1.Indicator.ProcessSignature)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * Signature indicating that a binary family was matched.
      * 
* - * - * .google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature memory_hash_signature = 6; - * - * + * .google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature memory_hash_signature = 6; * @return Whether the memoryHashSignature field is set. */ boolean hasMemoryHashSignature(); /** - * - * *
      * Signature indicating that a binary family was matched.
      * 
* - * - * .google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature memory_hash_signature = 6; - * - * + * .google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature memory_hash_signature = 6; * @return The memoryHashSignature. */ - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature - getMemoryHashSignature(); + com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature getMemoryHashSignature(); /** - * - * *
      * Signature indicating that a binary family was matched.
      * 
* - * - * .google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature memory_hash_signature = 6; - * + * .google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature memory_hash_signature = 6; */ - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignatureOrBuilder - getMemoryHashSignatureOrBuilder(); + com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignatureOrBuilder getMemoryHashSignatureOrBuilder(); /** - * - * *
      * Signature indicating that a YARA rule was matched.
      * 
* - * - * .google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature yara_rule_signature = 7; - * - * + * .google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature yara_rule_signature = 7; * @return Whether the yaraRuleSignature field is set. */ boolean hasYaraRuleSignature(); /** - * - * *
      * Signature indicating that a YARA rule was matched.
      * 
* - * - * .google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature yara_rule_signature = 7; - * - * + * .google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature yara_rule_signature = 7; * @return The yaraRuleSignature. */ - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature - getYaraRuleSignature(); + com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature getYaraRuleSignature(); /** - * - * *
      * Signature indicating that a YARA rule was matched.
      * 
* - * - * .google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature yara_rule_signature = 7; - * + * .google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature yara_rule_signature = 7; */ - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignatureOrBuilder - getYaraRuleSignatureOrBuilder(); + com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignatureOrBuilder getYaraRuleSignatureOrBuilder(); - public com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.SignatureCase - getSignatureCase(); + public com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.SignatureCase getSignatureCase(); } /** - * - * *
    * Indicates what signature matched this process.
    * 
* * Protobuf type {@code google.cloud.securitycenter.v1.Indicator.ProcessSignature} */ - public static final class ProcessSignature extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class ProcessSignature extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.securitycenter.v1.Indicator.ProcessSignature) ProcessSignatureOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ProcessSignature.newBuilder() to construct. private ProcessSignature(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ProcessSignature() {} + private ProcessSignature() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ProcessSignature(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.securitycenter.v1.IndicatorProto - .internal_static_google_cloud_securitycenter_v1_Indicator_ProcessSignature_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.securitycenter.v1.IndicatorProto.internal_static_google_cloud_securitycenter_v1_Indicator_ProcessSignature_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.securitycenter.v1.IndicatorProto - .internal_static_google_cloud_securitycenter_v1_Indicator_ProcessSignature_fieldAccessorTable + return com.google.cloud.securitycenter.v1.IndicatorProto.internal_static_google_cloud_securitycenter_v1_Indicator_ProcessSignature_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.class, - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.Builder.class); + com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.class, com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.Builder.class); } - public interface MemoryHashSignatureOrBuilder - extends + public interface MemoryHashSignatureOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature) com.google.protobuf.MessageOrBuilder { /** - * - * *
        * The binary family.
        * 
* * string binary_family = 1; - * * @return The binaryFamily. */ java.lang.String getBinaryFamily(); /** - * - * *
        * The binary family.
        * 
* * string binary_family = 1; - * * @return The bytes for binaryFamily. */ - com.google.protobuf.ByteString getBinaryFamilyBytes(); + com.google.protobuf.ByteString + getBinaryFamilyBytes(); /** - * - * *
        * The list of memory hash detections contributing to the binary family
        * match.
        * 
* - * - * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection detections = 4; - * + * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection detections = 4; */ - java.util.List< - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature - .Detection> + java.util.List getDetectionsList(); /** - * - * *
        * The list of memory hash detections contributing to the binary family
        * match.
        * 
* - * - * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection detections = 4; - * + * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection detections = 4; */ - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection - getDetections(int index); + com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection getDetections(int index); /** - * - * *
        * The list of memory hash detections contributing to the binary family
        * match.
        * 
* - * - * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection detections = 4; - * + * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection detections = 4; */ int getDetectionsCount(); /** - * - * *
        * The list of memory hash detections contributing to the binary family
        * match.
        * 
* - * - * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection detections = 4; - * + * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection detections = 4; */ - java.util.List< - ? extends - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature - .DetectionOrBuilder> + java.util.List getDetectionsOrBuilderList(); /** - * - * *
        * The list of memory hash detections contributing to the binary family
        * match.
        * 
* - * - * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection detections = 4; - * + * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection detections = 4; */ - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature - .DetectionOrBuilder - getDetectionsOrBuilder(int index); + com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.DetectionOrBuilder getDetectionsOrBuilder( + int index); } /** - * - * *
      * A signature corresponding to memory page hashes.
      * 
* - * Protobuf type {@code - * google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature} + * Protobuf type {@code google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature} */ - public static final class MemoryHashSignature extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class MemoryHashSignature extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature) MemoryHashSignatureOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use MemoryHashSignature.newBuilder() to construct. private MemoryHashSignature(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private MemoryHashSignature() { binaryFamily_ = ""; detections_ = java.util.Collections.emptyList(); @@ -347,142 +254,120 @@ private MemoryHashSignature() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new MemoryHashSignature(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.securitycenter.v1.IndicatorProto - .internal_static_google_cloud_securitycenter_v1_Indicator_ProcessSignature_MemoryHashSignature_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.securitycenter.v1.IndicatorProto.internal_static_google_cloud_securitycenter_v1_Indicator_ProcessSignature_MemoryHashSignature_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.securitycenter.v1.IndicatorProto - .internal_static_google_cloud_securitycenter_v1_Indicator_ProcessSignature_MemoryHashSignature_fieldAccessorTable + return com.google.cloud.securitycenter.v1.IndicatorProto.internal_static_google_cloud_securitycenter_v1_Indicator_ProcessSignature_MemoryHashSignature_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature - .class, - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature - .Builder.class); + com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.class, com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Builder.class); } - public interface DetectionOrBuilder - extends + public interface DetectionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection) com.google.protobuf.MessageOrBuilder { /** - * - * *
          * The name of the binary associated with the memory hash
          * signature detection.
          * 
* * string binary = 2; - * * @return The binary. */ java.lang.String getBinary(); /** - * - * *
          * The name of the binary associated with the memory hash
          * signature detection.
          * 
* * string binary = 2; - * * @return The bytes for binary. */ - com.google.protobuf.ByteString getBinaryBytes(); + com.google.protobuf.ByteString + getBinaryBytes(); /** - * - * *
          * The percentage of memory page hashes in the signature
          * that were matched.
          * 
* * double percent_pages_matched = 3; - * * @return The percentPagesMatched. */ double getPercentPagesMatched(); } /** - * - * *
        * Memory hash detection contributing to the binary family match.
        * 
* - * Protobuf type {@code - * google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection} + * Protobuf type {@code google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection} */ - public static final class Detection extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Detection extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection) DetectionOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Detection.newBuilder() to construct. private Detection(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Detection() { binary_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Detection(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.securitycenter.v1.IndicatorProto - .internal_static_google_cloud_securitycenter_v1_Indicator_ProcessSignature_MemoryHashSignature_Detection_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.securitycenter.v1.IndicatorProto.internal_static_google_cloud_securitycenter_v1_Indicator_ProcessSignature_MemoryHashSignature_Detection_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.securitycenter.v1.IndicatorProto - .internal_static_google_cloud_securitycenter_v1_Indicator_ProcessSignature_MemoryHashSignature_Detection_fieldAccessorTable + return com.google.cloud.securitycenter.v1.IndicatorProto.internal_static_google_cloud_securitycenter_v1_Indicator_ProcessSignature_MemoryHashSignature_Detection_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature - .Detection.class, - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature - .Detection.Builder.class); + com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection.class, com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection.Builder.class); } public static final int BINARY_FIELD_NUMBER = 2; private volatile java.lang.Object binary_; /** - * - * *
          * The name of the binary associated with the memory hash
          * signature detection.
          * 
* * string binary = 2; - * * @return The binary. */ @java.lang.Override @@ -491,30 +376,30 @@ public java.lang.String getBinary() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); binary_ = s; return s; } } /** - * - * *
          * The name of the binary associated with the memory hash
          * signature detection.
          * 
* * string binary = 2; - * * @return The bytes for binary. */ @java.lang.Override - public com.google.protobuf.ByteString getBinaryBytes() { + public com.google.protobuf.ByteString + getBinaryBytes() { java.lang.Object ref = binary_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); binary_ = b; return b; } else { @@ -525,15 +410,12 @@ public com.google.protobuf.ByteString getBinaryBytes() { public static final int PERCENT_PAGES_MATCHED_FIELD_NUMBER = 3; private double percentPagesMatched_; /** - * - * *
          * The percentage of memory page hashes in the signature
          * that were matched.
          * 
* * double percent_pages_matched = 3; - * * @return The percentPagesMatched. */ @java.lang.Override @@ -542,7 +424,6 @@ public double getPercentPagesMatched() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -555,7 +436,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(binary_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, binary_); } @@ -575,8 +456,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, binary_); } if (java.lang.Double.doubleToRawLongBits(percentPagesMatched_) != 0) { - size += - com.google.protobuf.CodedOutputStream.computeDoubleSize(3, percentPagesMatched_); + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize(3, percentPagesMatched_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -586,24 +467,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.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature - .Detection)) { + if (!(obj instanceof com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection)) { return super.equals(obj); } - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature - .Detection - other = - (com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature - .Detection) - obj; - - if (!getBinary().equals(other.getBinary())) return false; + com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection other = (com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection) obj; + + if (!getBinary() + .equals(other.getBinary())) return false; if (java.lang.Double.doubleToLongBits(getPercentPagesMatched()) - != java.lang.Double.doubleToLongBits(other.getPercentPagesMatched())) return false; + != java.lang.Double.doubleToLongBits( + other.getPercentPagesMatched())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -618,128 +493,95 @@ public int hashCode() { hash = (37 * hash) + BINARY_FIELD_NUMBER; hash = (53 * hash) + getBinary().hashCode(); hash = (37 * hash) + PERCENT_PAGES_MATCHED_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getPercentPagesMatched())); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getPercentPagesMatched())); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.securitycenter.v1.Indicator.ProcessSignature - .MemoryHashSignature.Detection - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.securitycenter.v1.Indicator.ProcessSignature - .MemoryHashSignature.Detection - parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection 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.securitycenter.v1.Indicator.ProcessSignature - .MemoryHashSignature.Detection - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.securitycenter.v1.Indicator.ProcessSignature - .MemoryHashSignature.Detection - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.securitycenter.v1.Indicator.ProcessSignature - .MemoryHashSignature.Detection - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.securitycenter.v1.Indicator.ProcessSignature - .MemoryHashSignature.Detection - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.securitycenter.v1.Indicator.ProcessSignature - .MemoryHashSignature.Detection - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.securitycenter.v1.Indicator.ProcessSignature - .MemoryHashSignature.Detection - 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.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection 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.securitycenter.v1.Indicator.ProcessSignature - .MemoryHashSignature.Detection - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input); + public static com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.securitycenter.v1.Indicator.ProcessSignature - .MemoryHashSignature.Detection - parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.securitycenter.v1.Indicator.ProcessSignature - .MemoryHashSignature.Detection - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.securitycenter.v1.Indicator.ProcessSignature - .MemoryHashSignature.Detection - 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.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection 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.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature - .Detection - prototype) { + public static Builder newBuilder(com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -749,46 +591,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
          * Memory hash detection contributing to the binary family match.
          * 
* - * Protobuf type {@code - * google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection} + * Protobuf type {@code google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection) - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature - .DetectionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.securitycenter.v1.IndicatorProto - .internal_static_google_cloud_securitycenter_v1_Indicator_ProcessSignature_MemoryHashSignature_Detection_descriptor; + com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.DetectionOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.securitycenter.v1.IndicatorProto.internal_static_google_cloud_securitycenter_v1_Indicator_ProcessSignature_MemoryHashSignature_Detection_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.securitycenter.v1.IndicatorProto - .internal_static_google_cloud_securitycenter_v1_Indicator_ProcessSignature_MemoryHashSignature_Detection_fieldAccessorTable + return com.google.cloud.securitycenter.v1.IndicatorProto.internal_static_google_cloud_securitycenter_v1_Indicator_ProcessSignature_MemoryHashSignature_Detection_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature - .MemoryHashSignature.Detection.class, - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature - .MemoryHashSignature.Detection.Builder.class); + com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection.class, com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection.Builder.class); } - // Construct using - // com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection.newBuilder() - private Builder() {} + // Construct using com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection.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(); @@ -800,26 +635,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.securitycenter.v1.IndicatorProto - .internal_static_google_cloud_securitycenter_v1_Indicator_ProcessSignature_MemoryHashSignature_Detection_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.securitycenter.v1.IndicatorProto.internal_static_google_cloud_securitycenter_v1_Indicator_ProcessSignature_MemoryHashSignature_Detection_descriptor; } @java.lang.Override - public com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature - .Detection - getDefaultInstanceForType() { - return com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature - .Detection.getDefaultInstance(); + public com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection getDefaultInstanceForType() { + return com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature - .Detection - build() { - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature - .Detection - result = buildPartial(); + public com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection build() { + com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -827,14 +655,8 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature - .Detection - buildPartial() { - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature - .Detection - result = - new com.google.cloud.securitycenter.v1.Indicator.ProcessSignature - .MemoryHashSignature.Detection(this); + public com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection buildPartial() { + com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection result = new com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection(this); result.binary_ = binary_; result.percentPagesMatched_ = percentPagesMatched_; onBuilt(); @@ -845,60 +667,46 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature - .Detection) { - return mergeFrom( - (com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature - .Detection) - other); + if (other instanceof com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection) { + return mergeFrom((com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature - .Detection - other) { - if (other - == com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature - .Detection.getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection other) { + if (other == com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection.getDefaultInstance()) return this; if (!other.getBinary().isEmpty()) { binary_ = other.binary_; onChanged(); @@ -932,25 +740,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 18: - { - binary_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 25: - { - percentPagesMatched_ = input.readDouble(); - - break; - } // case 25 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 18: { + binary_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 25: { + percentPagesMatched_ = input.readDouble(); + + break; + } // case 25 + 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) { @@ -963,21 +768,19 @@ public Builder mergeFrom( private java.lang.Object binary_ = ""; /** - * - * *
            * The name of the binary associated with the memory hash
            * signature detection.
            * 
* * string binary = 2; - * * @return The binary. */ public java.lang.String getBinary() { java.lang.Object ref = binary_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); binary_ = s; return s; @@ -986,22 +789,21 @@ public java.lang.String getBinary() { } } /** - * - * *
            * The name of the binary associated with the memory hash
            * signature detection.
            * 
* * string binary = 2; - * * @return The bytes for binary. */ - public com.google.protobuf.ByteString getBinaryBytes() { + public com.google.protobuf.ByteString + getBinaryBytes() { java.lang.Object ref = binary_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); binary_ = b; return b; } else { @@ -1009,80 +811,70 @@ public com.google.protobuf.ByteString getBinaryBytes() { } } /** - * - * *
            * The name of the binary associated with the memory hash
            * signature detection.
            * 
* * string binary = 2; - * * @param value The binary to set. * @return This builder for chaining. */ - public Builder setBinary(java.lang.String value) { + public Builder setBinary( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + binary_ = value; onChanged(); return this; } /** - * - * *
            * The name of the binary associated with the memory hash
            * signature detection.
            * 
* * string binary = 2; - * * @return This builder for chaining. */ public Builder clearBinary() { - + binary_ = getDefaultInstance().getBinary(); onChanged(); return this; } /** - * - * *
            * The name of the binary associated with the memory hash
            * signature detection.
            * 
* * string binary = 2; - * * @param value The bytes for binary to set. * @return This builder for chaining. */ - public Builder setBinaryBytes(com.google.protobuf.ByteString value) { + public Builder setBinaryBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + binary_ = value; onChanged(); return this; } - private double percentPagesMatched_; + private double percentPagesMatched_ ; /** - * - * *
            * The percentage of memory page hashes in the signature
            * that were matched.
            * 
* * double percent_pages_matched = 3; - * * @return The percentPagesMatched. */ @java.lang.Override @@ -1090,43 +882,36 @@ public double getPercentPagesMatched() { return percentPagesMatched_; } /** - * - * *
            * The percentage of memory page hashes in the signature
            * that were matched.
            * 
* * double percent_pages_matched = 3; - * * @param value The percentPagesMatched to set. * @return This builder for chaining. */ public Builder setPercentPagesMatched(double value) { - + percentPagesMatched_ = value; onChanged(); return this; } /** - * - * *
            * The percentage of memory page hashes in the signature
            * that were matched.
            * 
* * double percent_pages_matched = 3; - * * @return This builder for chaining. */ public Builder clearPercentPagesMatched() { - + percentPagesMatched_ = 0D; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1139,48 +924,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection) } // @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection) - private static final com.google.cloud.securitycenter.v1.Indicator.ProcessSignature - .MemoryHashSignature.Detection - DEFAULT_INSTANCE; - + private static final com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature - .Detection(); + DEFAULT_INSTANCE = new com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection(); } - public static com.google.cloud.securitycenter.v1.Indicator.ProcessSignature - .MemoryHashSignature.Detection - getDefaultInstance() { + public static com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Detection parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - 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 Detection parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1192,24 +970,20 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature - .Detection - getDefaultInstanceForType() { + public com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int BINARY_FAMILY_FIELD_NUMBER = 1; private volatile java.lang.Object binaryFamily_; /** - * - * *
        * The binary family.
        * 
* * string binary_family = 1; - * * @return The binaryFamily. */ @java.lang.Override @@ -1218,29 +992,29 @@ public java.lang.String getBinaryFamily() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); binaryFamily_ = s; return s; } } /** - * - * *
        * The binary family.
        * 
* * string binary_family = 1; - * * @return The bytes for binaryFamily. */ @java.lang.Override - public com.google.protobuf.ByteString getBinaryFamilyBytes() { + public com.google.protobuf.ByteString + getBinaryFamilyBytes() { java.lang.Object ref = binaryFamily_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); binaryFamily_ = b; return b; } else { @@ -1249,104 +1023,71 @@ public com.google.protobuf.ByteString getBinaryFamilyBytes() { } public static final int DETECTIONS_FIELD_NUMBER = 4; - private java.util.List< - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature - .Detection> - detections_; + private java.util.List detections_; /** - * - * *
        * The list of memory hash detections contributing to the binary family
        * match.
        * 
* - * - * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection detections = 4; - * + * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection detections = 4; */ @java.lang.Override - public java.util.List< - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature - .Detection> - getDetectionsList() { + public java.util.List getDetectionsList() { return detections_; } /** - * - * *
        * The list of memory hash detections contributing to the binary family
        * match.
        * 
* - * - * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection detections = 4; - * + * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection detections = 4; */ @java.lang.Override - public java.util.List< - ? extends - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature - .DetectionOrBuilder> + public java.util.List getDetectionsOrBuilderList() { return detections_; } /** - * - * *
        * The list of memory hash detections contributing to the binary family
        * match.
        * 
* - * - * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection detections = 4; - * + * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection detections = 4; */ @java.lang.Override public int getDetectionsCount() { return detections_.size(); } /** - * - * *
        * The list of memory hash detections contributing to the binary family
        * match.
        * 
* - * - * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection detections = 4; - * + * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection detections = 4; */ @java.lang.Override - public com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature - .Detection - getDetections(int index) { + public com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection getDetections(int index) { return detections_.get(index); } /** - * - * *
        * The list of memory hash detections contributing to the binary family
        * match.
        * 
* - * - * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection detections = 4; - * + * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection detections = 4; */ @java.lang.Override - public com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature - .DetectionOrBuilder - getDetectionsOrBuilder(int index) { + public com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.DetectionOrBuilder getDetectionsOrBuilder( + int index) { return detections_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1358,7 +1099,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(binaryFamily_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, binaryFamily_); } @@ -1378,7 +1120,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, binaryFamily_); } for (int i = 0; i < detections_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, detections_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, detections_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1388,18 +1131,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.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature)) { + if (!(obj instanceof com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature)) { return super.equals(obj); } - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature other = - (com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature) obj; + com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature other = (com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature) obj; - if (!getBinaryFamily().equals(other.getBinaryFamily())) return false; - if (!getDetectionsList().equals(other.getDetectionsList())) return false; + if (!getBinaryFamily() + .equals(other.getBinaryFamily())) return false; + if (!getDetectionsList() + .equals(other.getDetectionsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1422,116 +1164,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.securitycenter.v1.Indicator.ProcessSignature - .MemoryHashSignature - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.securitycenter.v1.Indicator.ProcessSignature - .MemoryHashSignature - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature 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.securitycenter.v1.Indicator.ProcessSignature - .MemoryHashSignature - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.securitycenter.v1.Indicator.ProcessSignature - .MemoryHashSignature - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.securitycenter.v1.Indicator.ProcessSignature - .MemoryHashSignature - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.securitycenter.v1.Indicator.ProcessSignature - .MemoryHashSignature - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.securitycenter.v1.Indicator.ProcessSignature - .MemoryHashSignature - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.securitycenter.v1.Indicator.ProcessSignature - .MemoryHashSignature - 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.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature 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.securitycenter.v1.Indicator.ProcessSignature - .MemoryHashSignature - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.securitycenter.v1.Indicator.ProcessSignature - .MemoryHashSignature - parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.securitycenter.v1.Indicator.ProcessSignature - .MemoryHashSignature - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.securitycenter.v1.Indicator.ProcessSignature - .MemoryHashSignature - 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.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature 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.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature - prototype) { + public static Builder newBuilder(com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1541,46 +1255,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
        * A signature corresponding to memory page hashes.
        * 
* - * Protobuf type {@code - * google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature} + * Protobuf type {@code google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature) - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature - .MemoryHashSignatureOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.securitycenter.v1.IndicatorProto - .internal_static_google_cloud_securitycenter_v1_Indicator_ProcessSignature_MemoryHashSignature_descriptor; + com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignatureOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.securitycenter.v1.IndicatorProto.internal_static_google_cloud_securitycenter_v1_Indicator_ProcessSignature_MemoryHashSignature_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.securitycenter.v1.IndicatorProto - .internal_static_google_cloud_securitycenter_v1_Indicator_ProcessSignature_MemoryHashSignature_fieldAccessorTable + return com.google.cloud.securitycenter.v1.IndicatorProto.internal_static_google_cloud_securitycenter_v1_Indicator_ProcessSignature_MemoryHashSignature_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature - .class, - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature - .Builder.class); + com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.class, com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Builder.class); } - // Construct using - // com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.newBuilder() - private Builder() {} + // Construct using com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.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(); @@ -1597,23 +1304,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.securitycenter.v1.IndicatorProto - .internal_static_google_cloud_securitycenter_v1_Indicator_ProcessSignature_MemoryHashSignature_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.securitycenter.v1.IndicatorProto.internal_static_google_cloud_securitycenter_v1_Indicator_ProcessSignature_MemoryHashSignature_descriptor; } @java.lang.Override - public com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature - getDefaultInstanceForType() { - return com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature - .getDefaultInstance(); + public com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature getDefaultInstanceForType() { + return com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature - build() { - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature result = - buildPartial(); + public com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature build() { + com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -1621,11 +1324,8 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature - buildPartial() { - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature result = - new com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature( - this); + public com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature buildPartial() { + com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature result = new com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature(this); int from_bitField0_ = bitField0_; result.binaryFamily_ = binaryFamily_; if (detectionsBuilder_ == null) { @@ -1645,57 +1345,46 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature) { - return mergeFrom( - (com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature) - other); + if (other instanceof com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature) { + return mergeFrom((com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature - other) { - if (other - == com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature other) { + if (other == com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.getDefaultInstance()) return this; if (!other.getBinaryFamily().isEmpty()) { binaryFamily_ = other.binaryFamily_; onChanged(); @@ -1718,10 +1407,9 @@ public Builder mergeFrom( detectionsBuilder_ = null; detections_ = other.detections_; bitField0_ = (bitField0_ & ~0x00000001); - detectionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getDetectionsFieldBuilder() - : null; + detectionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getDetectionsFieldBuilder() : null; } else { detectionsBuilder_.addAllMessages(other.detections_); } @@ -1753,36 +1441,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - binaryFamily_ = input.readStringRequireUtf8(); + case 10: { + binaryFamily_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 34: - { - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature - .MemoryHashSignature.Detection - m = - input.readMessage( - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature - .MemoryHashSignature.Detection.parser(), - extensionRegistry); - if (detectionsBuilder_ == null) { - ensureDetectionsIsMutable(); - detections_.add(m); - } else { - detectionsBuilder_.addMessage(m); - } - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 10 + case 34: { + com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection m = + input.readMessage( + com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection.parser(), + extensionRegistry); + if (detectionsBuilder_ == null) { + ensureDetectionsIsMutable(); + detections_.add(m); + } else { + detectionsBuilder_.addMessage(m); + } + 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) { @@ -1792,25 +1474,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object binaryFamily_ = ""; /** - * - * *
          * The binary family.
          * 
* * string binary_family = 1; - * * @return The binaryFamily. */ public java.lang.String getBinaryFamily() { java.lang.Object ref = binaryFamily_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); binaryFamily_ = s; return s; @@ -1819,21 +1498,20 @@ public java.lang.String getBinaryFamily() { } } /** - * - * *
          * The binary family.
          * 
* * string binary_family = 1; - * * @return The bytes for binaryFamily. */ - public com.google.protobuf.ByteString getBinaryFamilyBytes() { + public com.google.protobuf.ByteString + getBinaryFamilyBytes() { java.lang.Object ref = binaryFamily_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); binaryFamily_ = b; return b; } else { @@ -1841,106 +1519,80 @@ public com.google.protobuf.ByteString getBinaryFamilyBytes() { } } /** - * - * *
          * The binary family.
          * 
* * string binary_family = 1; - * * @param value The binaryFamily to set. * @return This builder for chaining. */ - public Builder setBinaryFamily(java.lang.String value) { + public Builder setBinaryFamily( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + binaryFamily_ = value; onChanged(); return this; } /** - * - * *
          * The binary family.
          * 
* * string binary_family = 1; - * * @return This builder for chaining. */ public Builder clearBinaryFamily() { - + binaryFamily_ = getDefaultInstance().getBinaryFamily(); onChanged(); return this; } /** - * - * *
          * The binary family.
          * 
* * string binary_family = 1; - * * @param value The bytes for binaryFamily to set. * @return This builder for chaining. */ - public Builder setBinaryFamilyBytes(com.google.protobuf.ByteString value) { + public Builder setBinaryFamilyBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + binaryFamily_ = value; onChanged(); return this; } - private java.util.List< - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature - .Detection> - detections_ = java.util.Collections.emptyList(); - + private java.util.List detections_ = + java.util.Collections.emptyList(); private void ensureDetectionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - detections_ = - new java.util.ArrayList< - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature - .MemoryHashSignature.Detection>(detections_); + detections_ = new java.util.ArrayList(detections_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature - .Detection, - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature - .Detection.Builder, - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature - .DetectionOrBuilder> - detectionsBuilder_; + com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection, com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection.Builder, com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.DetectionOrBuilder> detectionsBuilder_; /** - * - * *
          * The list of memory hash detections contributing to the binary family
          * match.
          * 
* - * - * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection detections = 4; - * + * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection detections = 4; */ - public java.util.List< - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature - .Detection> - getDetectionsList() { + public java.util.List getDetectionsList() { if (detectionsBuilder_ == null) { return java.util.Collections.unmodifiableList(detections_); } else { @@ -1948,16 +1600,12 @@ private void ensureDetectionsIsMutable() { } } /** - * - * *
          * The list of memory hash detections contributing to the binary family
          * match.
          * 
* - * - * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection detections = 4; - * + * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection detections = 4; */ public int getDetectionsCount() { if (detectionsBuilder_ == null) { @@ -1967,20 +1615,14 @@ public int getDetectionsCount() { } } /** - * - * *
          * The list of memory hash detections contributing to the binary family
          * match.
          * 
* - * - * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection detections = 4; - * + * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection detections = 4; */ - public com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature - .Detection - getDetections(int index) { + public com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection getDetections(int index) { if (detectionsBuilder_ == null) { return detections_.get(index); } else { @@ -1988,22 +1630,15 @@ public int getDetectionsCount() { } } /** - * - * *
          * The list of memory hash detections contributing to the binary family
          * match.
          * 
* - * - * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection detections = 4; - * + * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection detections = 4; */ public Builder setDetections( - int index, - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature - .Detection - value) { + int index, com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection value) { if (detectionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2017,22 +1652,15 @@ public Builder setDetections( return this; } /** - * - * *
          * The list of memory hash detections contributing to the binary family
          * match.
          * 
* - * - * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection detections = 4; - * + * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection detections = 4; */ public Builder setDetections( - int index, - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature - .Detection.Builder - builderForValue) { + int index, com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection.Builder builderForValue) { if (detectionsBuilder_ == null) { ensureDetectionsIsMutable(); detections_.set(index, builderForValue.build()); @@ -2043,21 +1671,14 @@ public Builder setDetections( return this; } /** - * - * *
          * The list of memory hash detections contributing to the binary family
          * match.
          * 
* - * - * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection detections = 4; - * + * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection detections = 4; */ - public Builder addDetections( - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature - .Detection - value) { + public Builder addDetections(com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection value) { if (detectionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2071,22 +1692,15 @@ public Builder addDetections( return this; } /** - * - * *
          * The list of memory hash detections contributing to the binary family
          * match.
          * 
* - * - * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection detections = 4; - * + * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection detections = 4; */ public Builder addDetections( - int index, - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature - .Detection - value) { + int index, com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection value) { if (detectionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2100,21 +1714,15 @@ public Builder addDetections( return this; } /** - * - * *
          * The list of memory hash detections contributing to the binary family
          * match.
          * 
* - * - * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection detections = 4; - * + * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection detections = 4; */ public Builder addDetections( - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature - .Detection.Builder - builderForValue) { + com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection.Builder builderForValue) { if (detectionsBuilder_ == null) { ensureDetectionsIsMutable(); detections_.add(builderForValue.build()); @@ -2125,22 +1733,15 @@ public Builder addDetections( return this; } /** - * - * *
          * The list of memory hash detections contributing to the binary family
          * match.
          * 
* - * - * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection detections = 4; - * + * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection detections = 4; */ public Builder addDetections( - int index, - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature - .Detection.Builder - builderForValue) { + int index, com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection.Builder builderForValue) { if (detectionsBuilder_ == null) { ensureDetectionsIsMutable(); detections_.add(index, builderForValue.build()); @@ -2151,26 +1752,19 @@ public Builder addDetections( return this; } /** - * - * *
          * The list of memory hash detections contributing to the binary family
          * match.
          * 
* - * - * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection detections = 4; - * + * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection detections = 4; */ public Builder addAllDetections( - java.lang.Iterable< - ? extends - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature - .MemoryHashSignature.Detection> - values) { + java.lang.Iterable values) { if (detectionsBuilder_ == null) { ensureDetectionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, detections_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, detections_); onChanged(); } else { detectionsBuilder_.addAllMessages(values); @@ -2178,16 +1772,12 @@ public Builder addAllDetections( return this; } /** - * - * *
          * The list of memory hash detections contributing to the binary family
          * match.
          * 
* - * - * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection detections = 4; - * + * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection detections = 4; */ public Builder clearDetections() { if (detectionsBuilder_ == null) { @@ -2200,16 +1790,12 @@ public Builder clearDetections() { return this; } /** - * - * *
          * The list of memory hash detections contributing to the binary family
          * match.
          * 
* - * - * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection detections = 4; - * + * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection detections = 4; */ public Builder removeDetections(int index) { if (detectionsBuilder_ == null) { @@ -2222,60 +1808,42 @@ public Builder removeDetections(int index) { return this; } /** - * - * *
          * The list of memory hash detections contributing to the binary family
          * match.
          * 
* - * - * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection detections = 4; - * + * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection detections = 4; */ - public com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature - .Detection.Builder - getDetectionsBuilder(int index) { + public com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection.Builder getDetectionsBuilder( + int index) { return getDetectionsFieldBuilder().getBuilder(index); } /** - * - * *
          * The list of memory hash detections contributing to the binary family
          * match.
          * 
* - * - * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection detections = 4; - * + * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection detections = 4; */ - public com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature - .DetectionOrBuilder - getDetectionsOrBuilder(int index) { + public com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.DetectionOrBuilder getDetectionsOrBuilder( + int index) { if (detectionsBuilder_ == null) { - return detections_.get(index); - } else { + return detections_.get(index); } else { return detectionsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
          * The list of memory hash detections contributing to the binary family
          * match.
          * 
* - * - * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection detections = 4; - * + * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection detections = 4; */ - public java.util.List< - ? extends - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature - .MemoryHashSignature.DetectionOrBuilder> - getDetectionsOrBuilderList() { + public java.util.List + getDetectionsOrBuilderList() { if (detectionsBuilder_ != null) { return detectionsBuilder_.getMessageOrBuilderList(); } else { @@ -2283,82 +1851,48 @@ public Builder removeDetections(int index) { } } /** - * - * *
          * The list of memory hash detections contributing to the binary family
          * match.
          * 
* - * - * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection detections = 4; - * + * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection detections = 4; */ - public com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature - .Detection.Builder - addDetectionsBuilder() { - return getDetectionsFieldBuilder() - .addBuilder( - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature - .Detection.getDefaultInstance()); + public com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection.Builder addDetectionsBuilder() { + return getDetectionsFieldBuilder().addBuilder( + com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection.getDefaultInstance()); } /** - * - * *
          * The list of memory hash detections contributing to the binary family
          * match.
          * 
* - * - * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection detections = 4; - * + * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection detections = 4; */ - public com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature - .Detection.Builder - addDetectionsBuilder(int index) { - return getDetectionsFieldBuilder() - .addBuilder( - index, - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature - .Detection.getDefaultInstance()); + public com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection.Builder addDetectionsBuilder( + int index) { + return getDetectionsFieldBuilder().addBuilder( + index, com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection.getDefaultInstance()); } /** - * - * *
          * The list of memory hash detections contributing to the binary family
          * match.
          * 
* - * - * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection detections = 4; - * + * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection detections = 4; */ - public java.util.List< - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature - .Detection.Builder> - getDetectionsBuilderList() { + public java.util.List + getDetectionsBuilderList() { return getDetectionsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature - .Detection, - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature - .Detection.Builder, - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature - .DetectionOrBuilder> + com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection, com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection.Builder, com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.DetectionOrBuilder> getDetectionsFieldBuilder() { if (detectionsBuilder_ == null) { - detectionsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature - .MemoryHashSignature.Detection, - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature - .MemoryHashSignature.Detection.Builder, - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature - .MemoryHashSignature.DetectionOrBuilder>( + detectionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection, com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection.Builder, com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.DetectionOrBuilder>( detections_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -2367,7 +1901,6 @@ public Builder removeDetections(int index) { } return detectionsBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2380,47 +1913,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature) } // @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature) - private static final com.google.cloud.securitycenter.v1.Indicator.ProcessSignature - .MemoryHashSignature - DEFAULT_INSTANCE; - + private static final com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature(); + DEFAULT_INSTANCE = new com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature(); } - public static com.google.cloud.securitycenter.v1.Indicator.ProcessSignature - .MemoryHashSignature - getDefaultInstance() { + public static com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MemoryHashSignature parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - 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 MemoryHashSignature parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + 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; @@ -2432,105 +1959,89 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature - getDefaultInstanceForType() { + public com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface YaraRuleSignatureOrBuilder - extends + public interface YaraRuleSignatureOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature) com.google.protobuf.MessageOrBuilder { /** - * - * *
        * The name of the YARA rule.
        * 
* * string yara_rule = 5; - * * @return The yaraRule. */ java.lang.String getYaraRule(); /** - * - * *
        * The name of the YARA rule.
        * 
* * string yara_rule = 5; - * * @return The bytes for yaraRule. */ - com.google.protobuf.ByteString getYaraRuleBytes(); + com.google.protobuf.ByteString + getYaraRuleBytes(); } /** - * - * *
      * A signature corresponding to a YARA rule.
      * 
* - * Protobuf type {@code - * google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature} + * Protobuf type {@code google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature} */ - public static final class YaraRuleSignature extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class YaraRuleSignature extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature) YaraRuleSignatureOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use YaraRuleSignature.newBuilder() to construct. private YaraRuleSignature(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private YaraRuleSignature() { yaraRule_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new YaraRuleSignature(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.securitycenter.v1.IndicatorProto - .internal_static_google_cloud_securitycenter_v1_Indicator_ProcessSignature_YaraRuleSignature_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.securitycenter.v1.IndicatorProto.internal_static_google_cloud_securitycenter_v1_Indicator_ProcessSignature_YaraRuleSignature_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.securitycenter.v1.IndicatorProto - .internal_static_google_cloud_securitycenter_v1_Indicator_ProcessSignature_YaraRuleSignature_fieldAccessorTable + return com.google.cloud.securitycenter.v1.IndicatorProto.internal_static_google_cloud_securitycenter_v1_Indicator_ProcessSignature_YaraRuleSignature_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature - .class, - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature - .Builder.class); + com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature.class, com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature.Builder.class); } public static final int YARA_RULE_FIELD_NUMBER = 5; private volatile java.lang.Object yaraRule_; /** - * - * *
        * The name of the YARA rule.
        * 
* * string yara_rule = 5; - * * @return The yaraRule. */ @java.lang.Override @@ -2539,29 +2050,29 @@ public java.lang.String getYaraRule() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); yaraRule_ = s; return s; } } /** - * - * *
        * The name of the YARA rule.
        * 
* * string yara_rule = 5; - * * @return The bytes for yaraRule. */ @java.lang.Override - public com.google.protobuf.ByteString getYaraRuleBytes() { + public com.google.protobuf.ByteString + getYaraRuleBytes() { java.lang.Object ref = yaraRule_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); yaraRule_ = b; return b; } else { @@ -2570,7 +2081,6 @@ public com.google.protobuf.ByteString getYaraRuleBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2582,7 +2092,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(yaraRule_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, yaraRule_); } @@ -2606,17 +2117,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature)) { + if (!(obj instanceof com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature)) { return super.equals(obj); } - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature other = - (com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature) obj; + com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature other = (com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature) obj; - if (!getYaraRule().equals(other.getYaraRule())) return false; + if (!getYaraRule() + .equals(other.getYaraRule())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -2635,104 +2144,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature 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.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature - 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.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature 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.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature - parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature - 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.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature 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.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature - prototype) { + public static Builder newBuilder(com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2742,45 +2235,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
        * A signature corresponding to a YARA rule.
        * 
* - * Protobuf type {@code - * google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature} + * Protobuf type {@code google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature) com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignatureOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.securitycenter.v1.IndicatorProto - .internal_static_google_cloud_securitycenter_v1_Indicator_ProcessSignature_YaraRuleSignature_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.securitycenter.v1.IndicatorProto.internal_static_google_cloud_securitycenter_v1_Indicator_ProcessSignature_YaraRuleSignature_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.securitycenter.v1.IndicatorProto - .internal_static_google_cloud_securitycenter_v1_Indicator_ProcessSignature_YaraRuleSignature_fieldAccessorTable + return com.google.cloud.securitycenter.v1.IndicatorProto.internal_static_google_cloud_securitycenter_v1_Indicator_ProcessSignature_YaraRuleSignature_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature - .class, - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature - .Builder.class); + com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature.class, com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature.Builder.class); } - // Construct using - // com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature.newBuilder() - private Builder() {} + // Construct using com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature.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(); @@ -2790,23 +2277,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.securitycenter.v1.IndicatorProto - .internal_static_google_cloud_securitycenter_v1_Indicator_ProcessSignature_YaraRuleSignature_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.securitycenter.v1.IndicatorProto.internal_static_google_cloud_securitycenter_v1_Indicator_ProcessSignature_YaraRuleSignature_descriptor; } @java.lang.Override - public com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature - getDefaultInstanceForType() { - return com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature - .getDefaultInstance(); + public com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature getDefaultInstanceForType() { + return com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature - build() { - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature result = - buildPartial(); + public com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature build() { + com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -2814,11 +2297,8 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature - buildPartial() { - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature result = - new com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature( - this); + public com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature buildPartial() { + com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature result = new com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature(this); result.yaraRule_ = yaraRule_; onBuilt(); return result; @@ -2828,56 +2308,46 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature) { - return mergeFrom( - (com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature) - other); + if (other instanceof com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature) { + return mergeFrom((com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature other) { - if (other - == com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature other) { + if (other == com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature.getDefaultInstance()) return this; if (!other.getYaraRule().isEmpty()) { yaraRule_ = other.yaraRule_; onChanged(); @@ -2908,19 +2378,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 42: - { - yaraRule_ = input.readStringRequireUtf8(); + case 42: { + yaraRule_ = input.readStringRequireUtf8(); - break; - } // case 42 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -2933,20 +2401,18 @@ public Builder mergeFrom( private java.lang.Object yaraRule_ = ""; /** - * - * *
          * The name of the YARA rule.
          * 
* * string yara_rule = 5; - * * @return The yaraRule. */ public java.lang.String getYaraRule() { java.lang.Object ref = yaraRule_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); yaraRule_ = s; return s; @@ -2955,21 +2421,20 @@ public java.lang.String getYaraRule() { } } /** - * - * *
          * The name of the YARA rule.
          * 
* * string yara_rule = 5; - * * @return The bytes for yaraRule. */ - public com.google.protobuf.ByteString getYaraRuleBytes() { + public com.google.protobuf.ByteString + getYaraRuleBytes() { java.lang.Object ref = yaraRule_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); yaraRule_ = b; return b; } else { @@ -2977,66 +2442,58 @@ public com.google.protobuf.ByteString getYaraRuleBytes() { } } /** - * - * *
          * The name of the YARA rule.
          * 
* * string yara_rule = 5; - * * @param value The yaraRule to set. * @return This builder for chaining. */ - public Builder setYaraRule(java.lang.String value) { + public Builder setYaraRule( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + yaraRule_ = value; onChanged(); return this; } /** - * - * *
          * The name of the YARA rule.
          * 
* * string yara_rule = 5; - * * @return This builder for chaining. */ public Builder clearYaraRule() { - + yaraRule_ = getDefaultInstance().getYaraRule(); onChanged(); return this; } /** - * - * *
          * The name of the YARA rule.
          * 
* * string yara_rule = 5; - * * @param value The bytes for yaraRule to set. * @return This builder for chaining. */ - public Builder setYaraRuleBytes(com.google.protobuf.ByteString value) { + public Builder setYaraRuleBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + yaraRule_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3049,46 +2506,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature) } // @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature) - private static final com.google.cloud.securitycenter.v1.Indicator.ProcessSignature - .YaraRuleSignature - DEFAULT_INSTANCE; - + private static final com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature(); + DEFAULT_INSTANCE = new com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature(); } - public static com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature - getDefaultInstance() { + public static com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public YaraRuleSignature parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - 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 YaraRuleSignature parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + 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; @@ -3100,24 +2552,21 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature - getDefaultInstanceForType() { + public com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int signatureCase_ = 0; private java.lang.Object signature_; - public enum SignatureCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { MEMORY_HASH_SIGNATURE(6), YARA_RULE_SIGNATURE(7), SIGNATURE_NOT_SET(0); private final int value; - private SignatureCase(int value) { this.value = value; } @@ -3133,38 +2582,30 @@ public static SignatureCase valueOf(int value) { public static SignatureCase forNumber(int value) { switch (value) { - case 6: - return MEMORY_HASH_SIGNATURE; - case 7: - return YARA_RULE_SIGNATURE; - case 0: - return SIGNATURE_NOT_SET; - default: - return null; + case 6: return MEMORY_HASH_SIGNATURE; + case 7: return YARA_RULE_SIGNATURE; + case 0: return SIGNATURE_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public SignatureCase getSignatureCase() { - return SignatureCase.forNumber(signatureCase_); + public SignatureCase + getSignatureCase() { + return SignatureCase.forNumber( + signatureCase_); } public static final int MEMORY_HASH_SIGNATURE_FIELD_NUMBER = 6; /** - * - * *
      * Signature indicating that a binary family was matched.
      * 
* - * - * .google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature memory_hash_signature = 6; - * - * + * .google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature memory_hash_signature = 6; * @return Whether the memoryHashSignature field is set. */ @java.lang.Override @@ -3172,63 +2613,42 @@ public boolean hasMemoryHashSignature() { return signatureCase_ == 6; } /** - * - * *
      * Signature indicating that a binary family was matched.
      * 
* - * - * .google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature memory_hash_signature = 6; - * - * + * .google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature memory_hash_signature = 6; * @return The memoryHashSignature. */ @java.lang.Override - public com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature - getMemoryHashSignature() { + public com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature getMemoryHashSignature() { if (signatureCase_ == 6) { - return (com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature) - signature_; + return (com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature) signature_; } - return com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature - .getDefaultInstance(); + return com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.getDefaultInstance(); } /** - * - * *
      * Signature indicating that a binary family was matched.
      * 
* - * - * .google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature memory_hash_signature = 6; - * + * .google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature memory_hash_signature = 6; */ @java.lang.Override - public com.google.cloud.securitycenter.v1.Indicator.ProcessSignature - .MemoryHashSignatureOrBuilder - getMemoryHashSignatureOrBuilder() { + public com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignatureOrBuilder getMemoryHashSignatureOrBuilder() { if (signatureCase_ == 6) { - return (com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature) - signature_; + return (com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature) signature_; } - return com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature - .getDefaultInstance(); + return com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.getDefaultInstance(); } public static final int YARA_RULE_SIGNATURE_FIELD_NUMBER = 7; /** - * - * *
      * Signature indicating that a YARA rule was matched.
      * 
* - * - * .google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature yara_rule_signature = 7; - * - * + * .google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature yara_rule_signature = 7; * @return Whether the yaraRuleSignature field is set. */ @java.lang.Override @@ -3236,52 +2656,36 @@ public boolean hasYaraRuleSignature() { return signatureCase_ == 7; } /** - * - * *
      * Signature indicating that a YARA rule was matched.
      * 
* - * - * .google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature yara_rule_signature = 7; - * - * + * .google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature yara_rule_signature = 7; * @return The yaraRuleSignature. */ @java.lang.Override - public com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature - getYaraRuleSignature() { + public com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature getYaraRuleSignature() { if (signatureCase_ == 7) { - return (com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature) - signature_; + return (com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature) signature_; } - return com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature - .getDefaultInstance(); + return com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature.getDefaultInstance(); } /** - * - * *
      * Signature indicating that a YARA rule was matched.
      * 
* - * - * .google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature yara_rule_signature = 7; - * + * .google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature yara_rule_signature = 7; */ @java.lang.Override - public com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignatureOrBuilder - getYaraRuleSignatureOrBuilder() { + public com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignatureOrBuilder getYaraRuleSignatureOrBuilder() { if (signatureCase_ == 7) { - return (com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature) - signature_; + return (com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature) signature_; } - return com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature - .getDefaultInstance(); + return com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3293,18 +2697,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 (signatureCase_ == 6) { - output.writeMessage( - 6, - (com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature) - signature_); + output.writeMessage(6, (com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature) signature_); } if (signatureCase_ == 7) { - output.writeMessage( - 7, - (com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature) - signature_); + output.writeMessage(7, (com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature) signature_); } getUnknownFields().writeTo(output); } @@ -3316,18 +2715,12 @@ public int getSerializedSize() { size = 0; if (signatureCase_ == 6) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 6, - (com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature) - signature_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, (com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature) signature_); } if (signatureCase_ == 7) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 7, - (com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature) - signature_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, (com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature) signature_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -3337,21 +2730,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.securitycenter.v1.Indicator.ProcessSignature)) { return super.equals(obj); } - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature other = - (com.google.cloud.securitycenter.v1.Indicator.ProcessSignature) obj; + com.google.cloud.securitycenter.v1.Indicator.ProcessSignature other = (com.google.cloud.securitycenter.v1.Indicator.ProcessSignature) obj; if (!getSignatureCase().equals(other.getSignatureCase())) return false; switch (signatureCase_) { case 6: - if (!getMemoryHashSignature().equals(other.getMemoryHashSignature())) return false; + if (!getMemoryHashSignature() + .equals(other.getMemoryHashSignature())) return false; break; case 7: - if (!getYaraRuleSignature().equals(other.getYaraRuleSignature())) return false; + if (!getYaraRuleSignature() + .equals(other.getYaraRuleSignature())) return false; break; case 0: default: @@ -3385,94 +2779,87 @@ public int hashCode() { } public static com.google.cloud.securitycenter.v1.Indicator.ProcessSignature parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.Indicator.ProcessSignature parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.Indicator.ProcessSignature parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.Indicator.ProcessSignature parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.securitycenter.v1.Indicator.ProcessSignature parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.securitycenter.v1.Indicator.ProcessSignature parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.Indicator.ProcessSignature parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.securitycenter.v1.Indicator.ProcessSignature parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.securitycenter.v1.Indicator.ProcessSignature parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.Indicator.ProcessSignature parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.securitycenter.v1.Indicator.ProcessSignature parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.securitycenter.v1.Indicator.ProcessSignature parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.Indicator.ProcessSignature parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.Indicator.ProcessSignature parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.Indicator.ProcessSignature parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature prototype) { + public static Builder newBuilder(com.google.cloud.securitycenter.v1.Indicator.ProcessSignature prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -3482,41 +2869,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Indicates what signature matched this process.
      * 
* * Protobuf type {@code google.cloud.securitycenter.v1.Indicator.ProcessSignature} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.securitycenter.v1.Indicator.ProcessSignature) com.google.cloud.securitycenter.v1.Indicator.ProcessSignatureOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.securitycenter.v1.IndicatorProto - .internal_static_google_cloud_securitycenter_v1_Indicator_ProcessSignature_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.securitycenter.v1.IndicatorProto.internal_static_google_cloud_securitycenter_v1_Indicator_ProcessSignature_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.securitycenter.v1.IndicatorProto - .internal_static_google_cloud_securitycenter_v1_Indicator_ProcessSignature_fieldAccessorTable + return com.google.cloud.securitycenter.v1.IndicatorProto.internal_static_google_cloud_securitycenter_v1_Indicator_ProcessSignature_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.class, - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.Builder.class); + com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.class, com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.Builder.class); } // Construct using com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.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(); @@ -3532,14 +2917,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.securitycenter.v1.IndicatorProto - .internal_static_google_cloud_securitycenter_v1_Indicator_ProcessSignature_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.securitycenter.v1.IndicatorProto.internal_static_google_cloud_securitycenter_v1_Indicator_ProcessSignature_descriptor; } @java.lang.Override - public com.google.cloud.securitycenter.v1.Indicator.ProcessSignature - getDefaultInstanceForType() { + public com.google.cloud.securitycenter.v1.Indicator.ProcessSignature getDefaultInstanceForType() { return com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.getDefaultInstance(); } @@ -3554,8 +2938,7 @@ public com.google.cloud.securitycenter.v1.Indicator.ProcessSignature build() { @java.lang.Override public com.google.cloud.securitycenter.v1.Indicator.ProcessSignature buildPartial() { - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature result = - new com.google.cloud.securitycenter.v1.Indicator.ProcessSignature(this); + com.google.cloud.securitycenter.v1.Indicator.ProcessSignature result = new com.google.cloud.securitycenter.v1.Indicator.ProcessSignature(this); if (signatureCase_ == 6) { if (memoryHashSignatureBuilder_ == null) { result.signature_ = signature_; @@ -3579,67 +2962,58 @@ public com.google.cloud.securitycenter.v1.Indicator.ProcessSignature buildPartia public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.securitycenter.v1.Indicator.ProcessSignature) { - return mergeFrom((com.google.cloud.securitycenter.v1.Indicator.ProcessSignature) other); + return mergeFrom((com.google.cloud.securitycenter.v1.Indicator.ProcessSignature)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature other) { - if (other - == com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.securitycenter.v1.Indicator.ProcessSignature other) { + if (other == com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.getDefaultInstance()) return this; switch (other.getSignatureCase()) { - case MEMORY_HASH_SIGNATURE: - { - mergeMemoryHashSignature(other.getMemoryHashSignature()); - break; - } - case YARA_RULE_SIGNATURE: - { - mergeYaraRuleSignature(other.getYaraRuleSignature()); - break; - } - case SIGNATURE_NOT_SET: - { - break; - } + case MEMORY_HASH_SIGNATURE: { + mergeMemoryHashSignature(other.getMemoryHashSignature()); + break; + } + case YARA_RULE_SIGNATURE: { + mergeYaraRuleSignature(other.getYaraRuleSignature()); + break; + } + case SIGNATURE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -3667,27 +3041,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 50: - { - input.readMessage( - getMemoryHashSignatureFieldBuilder().getBuilder(), extensionRegistry); - signatureCase_ = 6; - break; - } // case 50 - case 58: - { - input.readMessage( - getYaraRuleSignatureFieldBuilder().getBuilder(), extensionRegistry); - signatureCase_ = 7; - break; - } // case 58 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 50: { + input.readMessage( + getMemoryHashSignatureFieldBuilder().getBuilder(), + extensionRegistry); + signatureCase_ = 6; + break; + } // case 50 + case 58: { + input.readMessage( + getYaraRuleSignatureFieldBuilder().getBuilder(), + extensionRegistry); + signatureCase_ = 7; + break; + } // case 58 + 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) { @@ -3697,12 +3070,12 @@ public Builder mergeFrom( } // finally return this; } - private int signatureCase_ = 0; private java.lang.Object signature_; - - public SignatureCase getSignatureCase() { - return SignatureCase.forNumber(signatureCase_); + public SignatureCase + getSignatureCase() { + return SignatureCase.forNumber( + signatureCase_); } public Builder clearSignature() { @@ -3712,24 +3085,15 @@ public Builder clearSignature() { return this; } + private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature, - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature - .Builder, - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature - .MemoryHashSignatureOrBuilder> - memoryHashSignatureBuilder_; + com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature, com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Builder, com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignatureOrBuilder> memoryHashSignatureBuilder_; /** - * - * *
        * Signature indicating that a binary family was matched.
        * 
* - * - * .google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature memory_hash_signature = 6; - * - * + * .google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature memory_hash_signature = 6; * @return Whether the memoryHashSignature field is set. */ @java.lang.Override @@ -3737,50 +3101,35 @@ public boolean hasMemoryHashSignature() { return signatureCase_ == 6; } /** - * - * *
        * Signature indicating that a binary family was matched.
        * 
* - * - * .google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature memory_hash_signature = 6; - * - * + * .google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature memory_hash_signature = 6; * @return The memoryHashSignature. */ @java.lang.Override - public com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature - getMemoryHashSignature() { + public com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature getMemoryHashSignature() { if (memoryHashSignatureBuilder_ == null) { if (signatureCase_ == 6) { - return (com.google.cloud.securitycenter.v1.Indicator.ProcessSignature - .MemoryHashSignature) - signature_; + return (com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature) signature_; } - return com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature - .getDefaultInstance(); + return com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.getDefaultInstance(); } else { if (signatureCase_ == 6) { return memoryHashSignatureBuilder_.getMessage(); } - return com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature - .getDefaultInstance(); + return com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.getDefaultInstance(); } } /** - * - * *
        * Signature indicating that a binary family was matched.
        * 
* - * - * .google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature memory_hash_signature = 6; - * + * .google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature memory_hash_signature = 6; */ - public Builder setMemoryHashSignature( - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature value) { + public Builder setMemoryHashSignature(com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature value) { if (memoryHashSignatureBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3794,19 +3143,14 @@ public Builder setMemoryHashSignature( return this; } /** - * - * *
        * Signature indicating that a binary family was matched.
        * 
* - * - * .google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature memory_hash_signature = 6; - * + * .google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature memory_hash_signature = 6; */ public Builder setMemoryHashSignature( - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Builder - builderForValue) { + com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Builder builderForValue) { if (memoryHashSignatureBuilder_ == null) { signature_ = builderForValue.build(); onChanged(); @@ -3817,31 +3161,18 @@ public Builder setMemoryHashSignature( return this; } /** - * - * *
        * Signature indicating that a binary family was matched.
        * 
* - * - * .google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature memory_hash_signature = 6; - * + * .google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature memory_hash_signature = 6; */ - public Builder mergeMemoryHashSignature( - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature value) { + public Builder mergeMemoryHashSignature(com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature value) { if (memoryHashSignatureBuilder_ == null) { - if (signatureCase_ == 6 - && signature_ - != com.google.cloud.securitycenter.v1.Indicator.ProcessSignature - .MemoryHashSignature.getDefaultInstance()) { - signature_ = - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature - .newBuilder( - (com.google.cloud.securitycenter.v1.Indicator.ProcessSignature - .MemoryHashSignature) - signature_) - .mergeFrom(value) - .buildPartial(); + if (signatureCase_ == 6 && + signature_ != com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.getDefaultInstance()) { + signature_ = com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.newBuilder((com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature) signature_) + .mergeFrom(value).buildPartial(); } else { signature_ = value; } @@ -3857,15 +3188,11 @@ public Builder mergeMemoryHashSignature( return this; } /** - * - * *
        * Signature indicating that a binary family was matched.
        * 
* - * - * .google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature memory_hash_signature = 6; - * + * .google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature memory_hash_signature = 6; */ public Builder clearMemoryHashSignature() { if (memoryHashSignatureBuilder_ == null) { @@ -3884,110 +3211,67 @@ public Builder clearMemoryHashSignature() { return this; } /** - * - * *
        * Signature indicating that a binary family was matched.
        * 
* - * - * .google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature memory_hash_signature = 6; - * + * .google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature memory_hash_signature = 6; */ - public com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature - .Builder - getMemoryHashSignatureBuilder() { + public com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Builder getMemoryHashSignatureBuilder() { return getMemoryHashSignatureFieldBuilder().getBuilder(); } /** - * - * *
        * Signature indicating that a binary family was matched.
        * 
* - * - * .google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature memory_hash_signature = 6; - * + * .google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature memory_hash_signature = 6; */ @java.lang.Override - public com.google.cloud.securitycenter.v1.Indicator.ProcessSignature - .MemoryHashSignatureOrBuilder - getMemoryHashSignatureOrBuilder() { + public com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignatureOrBuilder getMemoryHashSignatureOrBuilder() { if ((signatureCase_ == 6) && (memoryHashSignatureBuilder_ != null)) { return memoryHashSignatureBuilder_.getMessageOrBuilder(); } else { if (signatureCase_ == 6) { - return (com.google.cloud.securitycenter.v1.Indicator.ProcessSignature - .MemoryHashSignature) - signature_; + return (com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature) signature_; } - return com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature - .getDefaultInstance(); + return com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.getDefaultInstance(); } } /** - * - * *
        * Signature indicating that a binary family was matched.
        * 
* - * - * .google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature memory_hash_signature = 6; - * + * .google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature memory_hash_signature = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature, - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature - .Builder, - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature - .MemoryHashSignatureOrBuilder> + com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature, com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Builder, com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignatureOrBuilder> getMemoryHashSignatureFieldBuilder() { if (memoryHashSignatureBuilder_ == null) { if (!(signatureCase_ == 6)) { - signature_ = - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature - .getDefaultInstance(); + signature_ = com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.getDefaultInstance(); } - memoryHashSignatureBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature, - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature - .Builder, - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature - .MemoryHashSignatureOrBuilder>( - (com.google.cloud.securitycenter.v1.Indicator.ProcessSignature - .MemoryHashSignature) - signature_, + memoryHashSignatureBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature, com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Builder, com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignatureOrBuilder>( + (com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature) signature_, getParentForChildren(), isClean()); signature_ = null; } signatureCase_ = 6; - onChanged(); - ; + onChanged();; return memoryHashSignatureBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature, - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature - .Builder, - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature - .YaraRuleSignatureOrBuilder> - yaraRuleSignatureBuilder_; + com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature, com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature.Builder, com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignatureOrBuilder> yaraRuleSignatureBuilder_; /** - * - * *
        * Signature indicating that a YARA rule was matched.
        * 
* - * - * .google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature yara_rule_signature = 7; - * - * + * .google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature yara_rule_signature = 7; * @return Whether the yaraRuleSignature field is set. */ @java.lang.Override @@ -3995,49 +3279,35 @@ public boolean hasYaraRuleSignature() { return signatureCase_ == 7; } /** - * - * *
        * Signature indicating that a YARA rule was matched.
        * 
* - * - * .google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature yara_rule_signature = 7; - * - * + * .google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature yara_rule_signature = 7; * @return The yaraRuleSignature. */ @java.lang.Override - public com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature - getYaraRuleSignature() { + public com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature getYaraRuleSignature() { if (yaraRuleSignatureBuilder_ == null) { if (signatureCase_ == 7) { - return (com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature) - signature_; + return (com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature) signature_; } - return com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature - .getDefaultInstance(); + return com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature.getDefaultInstance(); } else { if (signatureCase_ == 7) { return yaraRuleSignatureBuilder_.getMessage(); } - return com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature - .getDefaultInstance(); + return com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature.getDefaultInstance(); } } /** - * - * *
        * Signature indicating that a YARA rule was matched.
        * 
* - * - * .google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature yara_rule_signature = 7; - * + * .google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature yara_rule_signature = 7; */ - public Builder setYaraRuleSignature( - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature value) { + public Builder setYaraRuleSignature(com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature value) { if (yaraRuleSignatureBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4051,19 +3321,14 @@ public Builder setYaraRuleSignature( return this; } /** - * - * *
        * Signature indicating that a YARA rule was matched.
        * 
* - * - * .google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature yara_rule_signature = 7; - * + * .google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature yara_rule_signature = 7; */ public Builder setYaraRuleSignature( - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature.Builder - builderForValue) { + com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature.Builder builderForValue) { if (yaraRuleSignatureBuilder_ == null) { signature_ = builderForValue.build(); onChanged(); @@ -4074,31 +3339,18 @@ public Builder setYaraRuleSignature( return this; } /** - * - * *
        * Signature indicating that a YARA rule was matched.
        * 
* - * - * .google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature yara_rule_signature = 7; - * + * .google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature yara_rule_signature = 7; */ - public Builder mergeYaraRuleSignature( - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature value) { + public Builder mergeYaraRuleSignature(com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature value) { if (yaraRuleSignatureBuilder_ == null) { - if (signatureCase_ == 7 - && signature_ - != com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature - .getDefaultInstance()) { - signature_ = - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature - .newBuilder( - (com.google.cloud.securitycenter.v1.Indicator.ProcessSignature - .YaraRuleSignature) - signature_) - .mergeFrom(value) - .buildPartial(); + if (signatureCase_ == 7 && + signature_ != com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature.getDefaultInstance()) { + signature_ = com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature.newBuilder((com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature) signature_) + .mergeFrom(value).buildPartial(); } else { signature_ = value; } @@ -4114,15 +3366,11 @@ public Builder mergeYaraRuleSignature( return this; } /** - * - * *
        * Signature indicating that a YARA rule was matched.
        * 
* - * - * .google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature yara_rule_signature = 7; - * + * .google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature yara_rule_signature = 7; */ public Builder clearYaraRuleSignature() { if (yaraRuleSignatureBuilder_ == null) { @@ -4141,89 +3389,58 @@ public Builder clearYaraRuleSignature() { return this; } /** - * - * *
        * Signature indicating that a YARA rule was matched.
        * 
* - * - * .google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature yara_rule_signature = 7; - * + * .google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature yara_rule_signature = 7; */ - public com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature.Builder - getYaraRuleSignatureBuilder() { + public com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature.Builder getYaraRuleSignatureBuilder() { return getYaraRuleSignatureFieldBuilder().getBuilder(); } /** - * - * *
        * Signature indicating that a YARA rule was matched.
        * 
* - * - * .google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature yara_rule_signature = 7; - * + * .google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature yara_rule_signature = 7; */ @java.lang.Override - public com.google.cloud.securitycenter.v1.Indicator.ProcessSignature - .YaraRuleSignatureOrBuilder - getYaraRuleSignatureOrBuilder() { + public com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignatureOrBuilder getYaraRuleSignatureOrBuilder() { if ((signatureCase_ == 7) && (yaraRuleSignatureBuilder_ != null)) { return yaraRuleSignatureBuilder_.getMessageOrBuilder(); } else { if (signatureCase_ == 7) { - return (com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature) - signature_; + return (com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature) signature_; } - return com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature - .getDefaultInstance(); + return com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature.getDefaultInstance(); } } /** - * - * *
        * Signature indicating that a YARA rule was matched.
        * 
* - * - * .google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature yara_rule_signature = 7; - * + * .google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature yara_rule_signature = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature, - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature - .Builder, - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature - .YaraRuleSignatureOrBuilder> + com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature, com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature.Builder, com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignatureOrBuilder> getYaraRuleSignatureFieldBuilder() { if (yaraRuleSignatureBuilder_ == null) { if (!(signatureCase_ == 7)) { - signature_ = - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature - .getDefaultInstance(); + signature_ = com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature.getDefaultInstance(); } - yaraRuleSignatureBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature, - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature - .Builder, - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature - .YaraRuleSignatureOrBuilder>( - (com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature) - signature_, + yaraRuleSignatureBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature, com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature.Builder, com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignatureOrBuilder>( + (com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature) signature_, getParentForChildren(), isClean()); signature_ = null; } signatureCase_ = 7; - onChanged(); - ; + onChanged();; return yaraRuleSignatureBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -4236,44 +3453,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.securitycenter.v1.Indicator.ProcessSignature) } // @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1.Indicator.ProcessSignature) - private static final com.google.cloud.securitycenter.v1.Indicator.ProcessSignature - DEFAULT_INSTANCE; - + private static final com.google.cloud.securitycenter.v1.Indicator.ProcessSignature DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.securitycenter.v1.Indicator.ProcessSignature(); } - public static com.google.cloud.securitycenter.v1.Indicator.ProcessSignature - getDefaultInstance() { + public static com.google.cloud.securitycenter.v1.Indicator.ProcessSignature getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ProcessSignature parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - 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 ProcessSignature parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + 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; @@ -4285,51 +3499,43 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.securitycenter.v1.Indicator.ProcessSignature - getDefaultInstanceForType() { + public com.google.cloud.securitycenter.v1.Indicator.ProcessSignature getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int IP_ADDRESSES_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList ipAddresses_; /** - * - * *
    * List of ip addresses associated to the Finding.
    * 
* * repeated string ip_addresses = 1; - * * @return A list containing the ipAddresses. */ - public com.google.protobuf.ProtocolStringList getIpAddressesList() { + public com.google.protobuf.ProtocolStringList + getIpAddressesList() { return ipAddresses_; } /** - * - * *
    * List of ip addresses associated to the Finding.
    * 
* * repeated string ip_addresses = 1; - * * @return The count of ipAddresses. */ public int getIpAddressesCount() { return ipAddresses_.size(); } /** - * - * *
    * List of ip addresses associated to the Finding.
    * 
* * repeated string ip_addresses = 1; - * * @param index The index of the element to return. * @return The ipAddresses at the given index. */ @@ -4337,60 +3543,50 @@ public java.lang.String getIpAddresses(int index) { return ipAddresses_.get(index); } /** - * - * *
    * List of ip addresses associated to the Finding.
    * 
* * repeated string ip_addresses = 1; - * * @param index The index of the value to return. * @return The bytes of the ipAddresses at the given index. */ - public com.google.protobuf.ByteString getIpAddressesBytes(int index) { + public com.google.protobuf.ByteString + getIpAddressesBytes(int index) { return ipAddresses_.getByteString(index); } public static final int DOMAINS_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList domains_; /** - * - * *
    * List of domains associated to the Finding.
    * 
* * repeated string domains = 2; - * * @return A list containing the domains. */ - public com.google.protobuf.ProtocolStringList getDomainsList() { + public com.google.protobuf.ProtocolStringList + getDomainsList() { return domains_; } /** - * - * *
    * List of domains associated to the Finding.
    * 
* * repeated string domains = 2; - * * @return The count of domains. */ public int getDomainsCount() { return domains_.size(); } /** - * - * *
    * List of domains associated to the Finding.
    * 
* * repeated string domains = 2; - * * @param index The index of the element to return. * @return The domains at the given index. */ @@ -4398,142 +3594,115 @@ public java.lang.String getDomains(int index) { return domains_.get(index); } /** - * - * *
    * List of domains associated to the Finding.
    * 
* * repeated string domains = 2; - * * @param index The index of the value to return. * @return The bytes of the domains at the given index. */ - public com.google.protobuf.ByteString getDomainsBytes(int index) { + public com.google.protobuf.ByteString + getDomainsBytes(int index) { return domains_.getByteString(index); } public static final int SIGNATURES_FIELD_NUMBER = 3; private java.util.List signatures_; /** - * - * *
    * The list of matched signatures indicating that the given
    * process is present in the environment.
    * 
* - * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature signatures = 3; - * + * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature signatures = 3; */ @java.lang.Override - public java.util.List - getSignaturesList() { + public java.util.List getSignaturesList() { return signatures_; } /** - * - * *
    * The list of matched signatures indicating that the given
    * process is present in the environment.
    * 
* - * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature signatures = 3; - * + * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature signatures = 3; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.securitycenter.v1.Indicator.ProcessSignatureOrBuilder> + public java.util.List getSignaturesOrBuilderList() { return signatures_; } /** - * - * *
    * The list of matched signatures indicating that the given
    * process is present in the environment.
    * 
* - * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature signatures = 3; - * + * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature signatures = 3; */ @java.lang.Override public int getSignaturesCount() { return signatures_.size(); } /** - * - * *
    * The list of matched signatures indicating that the given
    * process is present in the environment.
    * 
* - * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature signatures = 3; - * + * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature signatures = 3; */ @java.lang.Override public com.google.cloud.securitycenter.v1.Indicator.ProcessSignature getSignatures(int index) { return signatures_.get(index); } /** - * - * *
    * The list of matched signatures indicating that the given
    * process is present in the environment.
    * 
* - * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature signatures = 3; - * + * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature signatures = 3; */ @java.lang.Override - public com.google.cloud.securitycenter.v1.Indicator.ProcessSignatureOrBuilder - getSignaturesOrBuilder(int index) { + public com.google.cloud.securitycenter.v1.Indicator.ProcessSignatureOrBuilder getSignaturesOrBuilder( + int index) { return signatures_.get(index); } public static final int URIS_FIELD_NUMBER = 4; private com.google.protobuf.LazyStringList uris_; /** - * - * *
    * The list of URIs associated to the Findings.
    * 
* * repeated string uris = 4; - * * @return A list containing the uris. */ - public com.google.protobuf.ProtocolStringList getUrisList() { + public com.google.protobuf.ProtocolStringList + getUrisList() { return uris_; } /** - * - * *
    * The list of URIs associated to the Findings.
    * 
* * repeated string uris = 4; - * * @return The count of uris. */ public int getUrisCount() { return uris_.size(); } /** - * - * *
    * The list of URIs associated to the Findings.
    * 
* * repeated string uris = 4; - * * @param index The index of the element to return. * @return The uris at the given index. */ @@ -4541,23 +3710,20 @@ public java.lang.String getUris(int index) { return uris_.get(index); } /** - * - * *
    * The list of URIs associated to the Findings.
    * 
* * repeated string uris = 4; - * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - public com.google.protobuf.ByteString getUrisBytes(int index) { + public com.google.protobuf.ByteString + getUrisBytes(int index) { return uris_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -4569,7 +3735,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < ipAddresses_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, ipAddresses_.getRaw(i)); } @@ -4608,7 +3775,8 @@ public int getSerializedSize() { size += 1 * getDomainsList().size(); } for (int i = 0; i < signatures_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, signatures_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, signatures_.get(i)); } { int dataSize = 0; @@ -4626,18 +3794,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.securitycenter.v1.Indicator)) { return super.equals(obj); } - com.google.cloud.securitycenter.v1.Indicator other = - (com.google.cloud.securitycenter.v1.Indicator) obj; + com.google.cloud.securitycenter.v1.Indicator other = (com.google.cloud.securitycenter.v1.Indicator) obj; - if (!getIpAddressesList().equals(other.getIpAddressesList())) return false; - if (!getDomainsList().equals(other.getDomainsList())) return false; - if (!getSignaturesList().equals(other.getSignaturesList())) return false; - if (!getUrisList().equals(other.getUrisList())) return false; + if (!getIpAddressesList() + .equals(other.getIpAddressesList())) return false; + if (!getDomainsList() + .equals(other.getDomainsList())) return false; + if (!getSignaturesList() + .equals(other.getSignaturesList())) return false; + if (!getUrisList() + .equals(other.getUrisList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -4670,104 +3841,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.securitycenter.v1.Indicator parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.securitycenter.v1.Indicator parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.Indicator parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.Indicator parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.Indicator parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.Indicator parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.Indicator parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.Indicator parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.Indicator parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.securitycenter.v1.Indicator parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.securitycenter.v1.Indicator parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.Indicator parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.Indicator parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.Indicator parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.securitycenter.v1.Indicator prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 what's commonly known as an Indicator of compromise (IoC) in
    * computer forensics. This is an artifact observed on a network or in an
@@ -4777,32 +3941,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.securitycenter.v1.Indicator}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.securitycenter.v1.Indicator)
       com.google.cloud.securitycenter.v1.IndicatorOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.securitycenter.v1.IndicatorProto
-          .internal_static_google_cloud_securitycenter_v1_Indicator_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.securitycenter.v1.IndicatorProto.internal_static_google_cloud_securitycenter_v1_Indicator_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.securitycenter.v1.IndicatorProto
-          .internal_static_google_cloud_securitycenter_v1_Indicator_fieldAccessorTable
+      return com.google.cloud.securitycenter.v1.IndicatorProto.internal_static_google_cloud_securitycenter_v1_Indicator_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.securitycenter.v1.Indicator.class,
-              com.google.cloud.securitycenter.v1.Indicator.Builder.class);
+              com.google.cloud.securitycenter.v1.Indicator.class, com.google.cloud.securitycenter.v1.Indicator.Builder.class);
     }
 
     // Construct using com.google.cloud.securitycenter.v1.Indicator.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();
@@ -4823,9 +3988,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.securitycenter.v1.IndicatorProto
-          .internal_static_google_cloud_securitycenter_v1_Indicator_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.securitycenter.v1.IndicatorProto.internal_static_google_cloud_securitycenter_v1_Indicator_descriptor;
     }
 
     @java.lang.Override
@@ -4844,8 +4009,7 @@ public com.google.cloud.securitycenter.v1.Indicator build() {
 
     @java.lang.Override
     public com.google.cloud.securitycenter.v1.Indicator buildPartial() {
-      com.google.cloud.securitycenter.v1.Indicator result =
-          new com.google.cloud.securitycenter.v1.Indicator(this);
+      com.google.cloud.securitycenter.v1.Indicator result = new com.google.cloud.securitycenter.v1.Indicator(this);
       int from_bitField0_ = bitField0_;
       if (((bitField0_ & 0x00000001) != 0)) {
         ipAddresses_ = ipAddresses_.getUnmodifiableView();
@@ -4879,39 +4043,38 @@ public com.google.cloud.securitycenter.v1.Indicator buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.securitycenter.v1.Indicator) {
-        return mergeFrom((com.google.cloud.securitycenter.v1.Indicator) other);
+        return mergeFrom((com.google.cloud.securitycenter.v1.Indicator)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -4958,10 +4121,9 @@ public Builder mergeFrom(com.google.cloud.securitycenter.v1.Indicator other) {
             signaturesBuilder_ = null;
             signatures_ = other.signatures_;
             bitField0_ = (bitField0_ & ~0x00000004);
-            signaturesBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getSignaturesFieldBuilder()
-                    : null;
+            signaturesBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getSignaturesFieldBuilder() : null;
           } else {
             signaturesBuilder_.addAllMessages(other.signatures_);
           }
@@ -5003,48 +4165,43 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureIpAddressesIsMutable();
-                ipAddresses_.add(s);
-                break;
-              } // case 10
-            case 18:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureDomainsIsMutable();
-                domains_.add(s);
-                break;
-              } // case 18
-            case 26:
-              {
-                com.google.cloud.securitycenter.v1.Indicator.ProcessSignature m =
-                    input.readMessage(
-                        com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.parser(),
-                        extensionRegistry);
-                if (signaturesBuilder_ == null) {
-                  ensureSignaturesIsMutable();
-                  signatures_.add(m);
-                } else {
-                  signaturesBuilder_.addMessage(m);
-                }
-                break;
-              } // case 26
-            case 34:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureUrisIsMutable();
-                uris_.add(s);
-                break;
-              } // case 34
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureIpAddressesIsMutable();
+              ipAddresses_.add(s);
+              break;
+            } // case 10
+            case 18: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureDomainsIsMutable();
+              domains_.add(s);
+              break;
+            } // case 18
+            case 26: {
+              com.google.cloud.securitycenter.v1.Indicator.ProcessSignature m =
+                  input.readMessage(
+                      com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.parser(),
+                      extensionRegistry);
+              if (signaturesBuilder_ == null) {
+                ensureSignaturesIsMutable();
+                signatures_.add(m);
+              } else {
+                signaturesBuilder_.addMessage(m);
+              }
+              break;
+            } // case 26
+            case 34: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureUrisIsMutable();
+              uris_.add(s);
+              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) {
@@ -5054,55 +4211,44 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
-    private com.google.protobuf.LazyStringList ipAddresses_ =
-        com.google.protobuf.LazyStringArrayList.EMPTY;
-
+    private com.google.protobuf.LazyStringList ipAddresses_ = com.google.protobuf.LazyStringArrayList.EMPTY;
     private void ensureIpAddressesIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         ipAddresses_ = new com.google.protobuf.LazyStringArrayList(ipAddresses_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
     /**
-     *
-     *
      * 
      * List of ip addresses associated to the Finding.
      * 
* * repeated string ip_addresses = 1; - * * @return A list containing the ipAddresses. */ - public com.google.protobuf.ProtocolStringList getIpAddressesList() { + public com.google.protobuf.ProtocolStringList + getIpAddressesList() { return ipAddresses_.getUnmodifiableView(); } /** - * - * *
      * List of ip addresses associated to the Finding.
      * 
* * repeated string ip_addresses = 1; - * * @return The count of ipAddresses. */ public int getIpAddressesCount() { return ipAddresses_.size(); } /** - * - * *
      * List of ip addresses associated to the Finding.
      * 
* * repeated string ip_addresses = 1; - * * @param index The index of the element to return. * @return The ipAddresses at the given index. */ @@ -5110,90 +4256,80 @@ public java.lang.String getIpAddresses(int index) { return ipAddresses_.get(index); } /** - * - * *
      * List of ip addresses associated to the Finding.
      * 
* * repeated string ip_addresses = 1; - * * @param index The index of the value to return. * @return The bytes of the ipAddresses at the given index. */ - public com.google.protobuf.ByteString getIpAddressesBytes(int index) { + public com.google.protobuf.ByteString + getIpAddressesBytes(int index) { return ipAddresses_.getByteString(index); } /** - * - * *
      * List of ip addresses associated to the Finding.
      * 
* * repeated string ip_addresses = 1; - * * @param index The index to set the value at. * @param value The ipAddresses to set. * @return This builder for chaining. */ - public Builder setIpAddresses(int index, java.lang.String value) { + public Builder setIpAddresses( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureIpAddressesIsMutable(); + throw new NullPointerException(); + } + ensureIpAddressesIsMutable(); ipAddresses_.set(index, value); onChanged(); return this; } /** - * - * *
      * List of ip addresses associated to the Finding.
      * 
* * repeated string ip_addresses = 1; - * * @param value The ipAddresses to add. * @return This builder for chaining. */ - public Builder addIpAddresses(java.lang.String value) { + public Builder addIpAddresses( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureIpAddressesIsMutable(); + throw new NullPointerException(); + } + ensureIpAddressesIsMutable(); ipAddresses_.add(value); onChanged(); return this; } /** - * - * *
      * List of ip addresses associated to the Finding.
      * 
* * repeated string ip_addresses = 1; - * * @param values The ipAddresses to add. * @return This builder for chaining. */ - public Builder addAllIpAddresses(java.lang.Iterable values) { + public Builder addAllIpAddresses( + java.lang.Iterable values) { ensureIpAddressesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, ipAddresses_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, ipAddresses_); onChanged(); return this; } /** - * - * *
      * List of ip addresses associated to the Finding.
      * 
* * repeated string ip_addresses = 1; - * * @return This builder for chaining. */ public Builder clearIpAddresses() { @@ -5203,74 +4339,62 @@ public Builder clearIpAddresses() { return this; } /** - * - * *
      * List of ip addresses associated to the Finding.
      * 
* * repeated string ip_addresses = 1; - * * @param value The bytes of the ipAddresses to add. * @return This builder for chaining. */ - public Builder addIpAddressesBytes(com.google.protobuf.ByteString value) { + public Builder addIpAddressesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureIpAddressesIsMutable(); ipAddresses_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList domains_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList domains_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureDomainsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { domains_ = new com.google.protobuf.LazyStringArrayList(domains_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
      * List of domains associated to the Finding.
      * 
* * repeated string domains = 2; - * * @return A list containing the domains. */ - public com.google.protobuf.ProtocolStringList getDomainsList() { + public com.google.protobuf.ProtocolStringList + getDomainsList() { return domains_.getUnmodifiableView(); } /** - * - * *
      * List of domains associated to the Finding.
      * 
* * repeated string domains = 2; - * * @return The count of domains. */ public int getDomainsCount() { return domains_.size(); } /** - * - * *
      * List of domains associated to the Finding.
      * 
* * repeated string domains = 2; - * * @param index The index of the element to return. * @return The domains at the given index. */ @@ -5278,90 +4402,80 @@ public java.lang.String getDomains(int index) { return domains_.get(index); } /** - * - * *
      * List of domains associated to the Finding.
      * 
* * repeated string domains = 2; - * * @param index The index of the value to return. * @return The bytes of the domains at the given index. */ - public com.google.protobuf.ByteString getDomainsBytes(int index) { + public com.google.protobuf.ByteString + getDomainsBytes(int index) { return domains_.getByteString(index); } /** - * - * *
      * List of domains associated to the Finding.
      * 
* * repeated string domains = 2; - * * @param index The index to set the value at. * @param value The domains to set. * @return This builder for chaining. */ - public Builder setDomains(int index, java.lang.String value) { + public Builder setDomains( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureDomainsIsMutable(); + throw new NullPointerException(); + } + ensureDomainsIsMutable(); domains_.set(index, value); onChanged(); return this; } /** - * - * *
      * List of domains associated to the Finding.
      * 
* * repeated string domains = 2; - * * @param value The domains to add. * @return This builder for chaining. */ - public Builder addDomains(java.lang.String value) { + public Builder addDomains( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureDomainsIsMutable(); + throw new NullPointerException(); + } + ensureDomainsIsMutable(); domains_.add(value); onChanged(); return this; } /** - * - * *
      * List of domains associated to the Finding.
      * 
* * repeated string domains = 2; - * * @param values The domains to add. * @return This builder for chaining. */ - public Builder addAllDomains(java.lang.Iterable values) { + public Builder addAllDomains( + java.lang.Iterable values) { ensureDomainsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, domains_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, domains_); onChanged(); return this; } /** - * - * *
      * List of domains associated to the Finding.
      * 
* * repeated string domains = 2; - * * @return This builder for chaining. */ public Builder clearDomains() { @@ -5371,59 +4485,47 @@ public Builder clearDomains() { return this; } /** - * - * *
      * List of domains associated to the Finding.
      * 
* * repeated string domains = 2; - * * @param value The bytes of the domains to add. * @return This builder for chaining. */ - public Builder addDomainsBytes(com.google.protobuf.ByteString value) { + public Builder addDomainsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureDomainsIsMutable(); domains_.add(value); onChanged(); return this; } - private java.util.List - signatures_ = java.util.Collections.emptyList(); - + private java.util.List signatures_ = + java.util.Collections.emptyList(); private void ensureSignaturesIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - signatures_ = - new java.util.ArrayList( - signatures_); + signatures_ = new java.util.ArrayList(signatures_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature, - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.Builder, - com.google.cloud.securitycenter.v1.Indicator.ProcessSignatureOrBuilder> - signaturesBuilder_; + com.google.cloud.securitycenter.v1.Indicator.ProcessSignature, com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.Builder, com.google.cloud.securitycenter.v1.Indicator.ProcessSignatureOrBuilder> signaturesBuilder_; /** - * - * *
      * The list of matched signatures indicating that the given
      * process is present in the environment.
      * 
* - * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature signatures = 3; - * + * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature signatures = 3; */ - public java.util.List - getSignaturesList() { + public java.util.List getSignaturesList() { if (signaturesBuilder_ == null) { return java.util.Collections.unmodifiableList(signatures_); } else { @@ -5431,15 +4533,12 @@ private void ensureSignaturesIsMutable() { } } /** - * - * *
      * The list of matched signatures indicating that the given
      * process is present in the environment.
      * 
* - * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature signatures = 3; - * + * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature signatures = 3; */ public int getSignaturesCount() { if (signaturesBuilder_ == null) { @@ -5449,15 +4548,12 @@ public int getSignaturesCount() { } } /** - * - * *
      * The list of matched signatures indicating that the given
      * process is present in the environment.
      * 
* - * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature signatures = 3; - * + * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature signatures = 3; */ public com.google.cloud.securitycenter.v1.Indicator.ProcessSignature getSignatures(int index) { if (signaturesBuilder_ == null) { @@ -5467,15 +4563,12 @@ public com.google.cloud.securitycenter.v1.Indicator.ProcessSignature getSignatur } } /** - * - * *
      * The list of matched signatures indicating that the given
      * process is present in the environment.
      * 
* - * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature signatures = 3; - * + * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature signatures = 3; */ public Builder setSignatures( int index, com.google.cloud.securitycenter.v1.Indicator.ProcessSignature value) { @@ -5492,19 +4585,15 @@ public Builder setSignatures( return this; } /** - * - * *
      * The list of matched signatures indicating that the given
      * process is present in the environment.
      * 
* - * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature signatures = 3; - * + * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature signatures = 3; */ public Builder setSignatures( - int index, - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.Builder builderForValue) { + int index, com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.Builder builderForValue) { if (signaturesBuilder_ == null) { ensureSignaturesIsMutable(); signatures_.set(index, builderForValue.build()); @@ -5515,18 +4604,14 @@ public Builder setSignatures( return this; } /** - * - * *
      * The list of matched signatures indicating that the given
      * process is present in the environment.
      * 
* - * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature signatures = 3; - * + * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature signatures = 3; */ - public Builder addSignatures( - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature value) { + public Builder addSignatures(com.google.cloud.securitycenter.v1.Indicator.ProcessSignature value) { if (signaturesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5540,15 +4625,12 @@ public Builder addSignatures( return this; } /** - * - * *
      * The list of matched signatures indicating that the given
      * process is present in the environment.
      * 
* - * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature signatures = 3; - * + * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature signatures = 3; */ public Builder addSignatures( int index, com.google.cloud.securitycenter.v1.Indicator.ProcessSignature value) { @@ -5565,15 +4647,12 @@ public Builder addSignatures( return this; } /** - * - * *
      * The list of matched signatures indicating that the given
      * process is present in the environment.
      * 
* - * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature signatures = 3; - * + * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature signatures = 3; */ public Builder addSignatures( com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.Builder builderForValue) { @@ -5587,19 +4666,15 @@ public Builder addSignatures( return this; } /** - * - * *
      * The list of matched signatures indicating that the given
      * process is present in the environment.
      * 
* - * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature signatures = 3; - * + * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature signatures = 3; */ public Builder addSignatures( - int index, - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.Builder builderForValue) { + int index, com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.Builder builderForValue) { if (signaturesBuilder_ == null) { ensureSignaturesIsMutable(); signatures_.add(index, builderForValue.build()); @@ -5610,22 +4685,19 @@ public Builder addSignatures( return this; } /** - * - * *
      * The list of matched signatures indicating that the given
      * process is present in the environment.
      * 
* - * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature signatures = 3; - * + * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature signatures = 3; */ public Builder addAllSignatures( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (signaturesBuilder_ == null) { ensureSignaturesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, signatures_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, signatures_); onChanged(); } else { signaturesBuilder_.addAllMessages(values); @@ -5633,15 +4705,12 @@ public Builder addAllSignatures( return this; } /** - * - * *
      * The list of matched signatures indicating that the given
      * process is present in the environment.
      * 
* - * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature signatures = 3; - * + * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature signatures = 3; */ public Builder clearSignatures() { if (signaturesBuilder_ == null) { @@ -5654,15 +4723,12 @@ public Builder clearSignatures() { return this; } /** - * - * *
      * The list of matched signatures indicating that the given
      * process is present in the environment.
      * 
* - * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature signatures = 3; - * + * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature signatures = 3; */ public Builder removeSignatures(int index) { if (signaturesBuilder_ == null) { @@ -5675,53 +4741,42 @@ public Builder removeSignatures(int index) { return this; } /** - * - * *
      * The list of matched signatures indicating that the given
      * process is present in the environment.
      * 
* - * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature signatures = 3; - * + * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature signatures = 3; */ - public com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.Builder - getSignaturesBuilder(int index) { + public com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.Builder getSignaturesBuilder( + int index) { return getSignaturesFieldBuilder().getBuilder(index); } /** - * - * *
      * The list of matched signatures indicating that the given
      * process is present in the environment.
      * 
* - * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature signatures = 3; - * + * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature signatures = 3; */ - public com.google.cloud.securitycenter.v1.Indicator.ProcessSignatureOrBuilder - getSignaturesOrBuilder(int index) { + public com.google.cloud.securitycenter.v1.Indicator.ProcessSignatureOrBuilder getSignaturesOrBuilder( + int index) { if (signaturesBuilder_ == null) { - return signatures_.get(index); - } else { + return signatures_.get(index); } else { return signaturesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The list of matched signatures indicating that the given
      * process is present in the environment.
      * 
* - * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature signatures = 3; - * + * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature signatures = 3; */ - public java.util.List< - ? extends com.google.cloud.securitycenter.v1.Indicator.ProcessSignatureOrBuilder> - getSignaturesOrBuilderList() { + public java.util.List + getSignaturesOrBuilderList() { if (signaturesBuilder_ != null) { return signaturesBuilder_.getMessageOrBuilderList(); } else { @@ -5729,119 +4784,93 @@ public Builder removeSignatures(int index) { } } /** - * - * *
      * The list of matched signatures indicating that the given
      * process is present in the environment.
      * 
* - * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature signatures = 3; - * + * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature signatures = 3; */ - public com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.Builder - addSignaturesBuilder() { - return getSignaturesFieldBuilder() - .addBuilder( - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.getDefaultInstance()); + public com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.Builder addSignaturesBuilder() { + return getSignaturesFieldBuilder().addBuilder( + com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.getDefaultInstance()); } /** - * - * *
      * The list of matched signatures indicating that the given
      * process is present in the environment.
      * 
* - * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature signatures = 3; - * + * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature signatures = 3; */ - public com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.Builder - addSignaturesBuilder(int index) { - return getSignaturesFieldBuilder() - .addBuilder( - index, - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.getDefaultInstance()); + public com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.Builder addSignaturesBuilder( + int index) { + return getSignaturesFieldBuilder().addBuilder( + index, com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.getDefaultInstance()); } /** - * - * *
      * The list of matched signatures indicating that the given
      * process is present in the environment.
      * 
* - * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature signatures = 3; - * + * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature signatures = 3; */ - public java.util.List - getSignaturesBuilderList() { + public java.util.List + getSignaturesBuilderList() { return getSignaturesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature, - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.Builder, - com.google.cloud.securitycenter.v1.Indicator.ProcessSignatureOrBuilder> + com.google.cloud.securitycenter.v1.Indicator.ProcessSignature, com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.Builder, com.google.cloud.securitycenter.v1.Indicator.ProcessSignatureOrBuilder> getSignaturesFieldBuilder() { if (signaturesBuilder_ == null) { - signaturesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature, - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.Builder, - com.google.cloud.securitycenter.v1.Indicator.ProcessSignatureOrBuilder>( - signatures_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); + signaturesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.securitycenter.v1.Indicator.ProcessSignature, com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.Builder, com.google.cloud.securitycenter.v1.Indicator.ProcessSignatureOrBuilder>( + signatures_, + ((bitField0_ & 0x00000004) != 0), + getParentForChildren(), + isClean()); signatures_ = null; } return signaturesBuilder_; } - private com.google.protobuf.LazyStringList uris_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList uris_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureUrisIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { uris_ = new com.google.protobuf.LazyStringArrayList(uris_); bitField0_ |= 0x00000008; - } + } } /** - * - * *
      * The list of URIs associated to the Findings.
      * 
* * repeated string uris = 4; - * * @return A list containing the uris. */ - public com.google.protobuf.ProtocolStringList getUrisList() { + public com.google.protobuf.ProtocolStringList + getUrisList() { return uris_.getUnmodifiableView(); } /** - * - * *
      * The list of URIs associated to the Findings.
      * 
* * repeated string uris = 4; - * * @return The count of uris. */ public int getUrisCount() { return uris_.size(); } /** - * - * *
      * The list of URIs associated to the Findings.
      * 
* * repeated string uris = 4; - * * @param index The index of the element to return. * @return The uris at the given index. */ @@ -5849,90 +4878,80 @@ public java.lang.String getUris(int index) { return uris_.get(index); } /** - * - * *
      * The list of URIs associated to the Findings.
      * 
* * repeated string uris = 4; - * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - public com.google.protobuf.ByteString getUrisBytes(int index) { + public com.google.protobuf.ByteString + getUrisBytes(int index) { return uris_.getByteString(index); } /** - * - * *
      * The list of URIs associated to the Findings.
      * 
* * repeated string uris = 4; - * * @param index The index to set the value at. * @param value The uris to set. * @return This builder for chaining. */ - public Builder setUris(int index, java.lang.String value) { + public Builder setUris( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUrisIsMutable(); + throw new NullPointerException(); + } + ensureUrisIsMutable(); uris_.set(index, value); onChanged(); return this; } /** - * - * *
      * The list of URIs associated to the Findings.
      * 
* * repeated string uris = 4; - * * @param value The uris to add. * @return This builder for chaining. */ - public Builder addUris(java.lang.String value) { + public Builder addUris( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUrisIsMutable(); + throw new NullPointerException(); + } + ensureUrisIsMutable(); uris_.add(value); onChanged(); return this; } /** - * - * *
      * The list of URIs associated to the Findings.
      * 
* * repeated string uris = 4; - * * @param values The uris to add. * @return This builder for chaining. */ - public Builder addAllUris(java.lang.Iterable values) { + public Builder addAllUris( + java.lang.Iterable values) { ensureUrisIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, uris_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, uris_); onChanged(); return this; } /** - * - * *
      * The list of URIs associated to the Findings.
      * 
* * repeated string uris = 4; - * * @return This builder for chaining. */ public Builder clearUris() { @@ -5942,30 +4961,28 @@ public Builder clearUris() { return this; } /** - * - * *
      * The list of URIs associated to the Findings.
      * 
* * repeated string uris = 4; - * * @param value The bytes of the uris to add. * @return This builder for chaining. */ - public Builder addUrisBytes(com.google.protobuf.ByteString value) { + public Builder addUrisBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUrisIsMutable(); uris_.add(value); onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -5975,12 +4992,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.securitycenter.v1.Indicator) } // @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1.Indicator) private static final com.google.cloud.securitycenter.v1.Indicator DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.securitycenter.v1.Indicator(); } @@ -5989,27 +5006,27 @@ public static com.google.cloud.securitycenter.v1.Indicator getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Indicator parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - 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 Indicator parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + 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; @@ -6024,4 +5041,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.securitycenter.v1.Indicator getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/IndicatorOrBuilder.java b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/IndicatorOrBuilder.java similarity index 74% rename from java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/IndicatorOrBuilder.java rename to owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/IndicatorOrBuilder.java index 6f1809dba728..ce60352257fc 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/IndicatorOrBuilder.java +++ b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/IndicatorOrBuilder.java @@ -1,241 +1,181 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/securitycenter/v1/indicator.proto package com.google.cloud.securitycenter.v1; -public interface IndicatorOrBuilder - extends +public interface IndicatorOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.securitycenter.v1.Indicator) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * List of ip addresses associated to the Finding.
    * 
* * repeated string ip_addresses = 1; - * * @return A list containing the ipAddresses. */ - java.util.List getIpAddressesList(); + java.util.List + getIpAddressesList(); /** - * - * *
    * List of ip addresses associated to the Finding.
    * 
* * repeated string ip_addresses = 1; - * * @return The count of ipAddresses. */ int getIpAddressesCount(); /** - * - * *
    * List of ip addresses associated to the Finding.
    * 
* * repeated string ip_addresses = 1; - * * @param index The index of the element to return. * @return The ipAddresses at the given index. */ java.lang.String getIpAddresses(int index); /** - * - * *
    * List of ip addresses associated to the Finding.
    * 
* * repeated string ip_addresses = 1; - * * @param index The index of the value to return. * @return The bytes of the ipAddresses at the given index. */ - com.google.protobuf.ByteString getIpAddressesBytes(int index); + com.google.protobuf.ByteString + getIpAddressesBytes(int index); /** - * - * *
    * List of domains associated to the Finding.
    * 
* * repeated string domains = 2; - * * @return A list containing the domains. */ - java.util.List getDomainsList(); + java.util.List + getDomainsList(); /** - * - * *
    * List of domains associated to the Finding.
    * 
* * repeated string domains = 2; - * * @return The count of domains. */ int getDomainsCount(); /** - * - * *
    * List of domains associated to the Finding.
    * 
* * repeated string domains = 2; - * * @param index The index of the element to return. * @return The domains at the given index. */ java.lang.String getDomains(int index); /** - * - * *
    * List of domains associated to the Finding.
    * 
* * repeated string domains = 2; - * * @param index The index of the value to return. * @return The bytes of the domains at the given index. */ - com.google.protobuf.ByteString getDomainsBytes(int index); + com.google.protobuf.ByteString + getDomainsBytes(int index); /** - * - * *
    * The list of matched signatures indicating that the given
    * process is present in the environment.
    * 
* - * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature signatures = 3; - * + * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature signatures = 3; */ - java.util.List getSignaturesList(); + java.util.List + getSignaturesList(); /** - * - * *
    * The list of matched signatures indicating that the given
    * process is present in the environment.
    * 
* - * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature signatures = 3; - * + * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature signatures = 3; */ com.google.cloud.securitycenter.v1.Indicator.ProcessSignature getSignatures(int index); /** - * - * *
    * The list of matched signatures indicating that the given
    * process is present in the environment.
    * 
* - * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature signatures = 3; - * + * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature signatures = 3; */ int getSignaturesCount(); /** - * - * *
    * The list of matched signatures indicating that the given
    * process is present in the environment.
    * 
* - * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature signatures = 3; - * + * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature signatures = 3; */ - java.util.List + java.util.List getSignaturesOrBuilderList(); /** - * - * *
    * The list of matched signatures indicating that the given
    * process is present in the environment.
    * 
* - * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature signatures = 3; - * + * repeated .google.cloud.securitycenter.v1.Indicator.ProcessSignature signatures = 3; */ com.google.cloud.securitycenter.v1.Indicator.ProcessSignatureOrBuilder getSignaturesOrBuilder( int index); /** - * - * *
    * The list of URIs associated to the Findings.
    * 
* * repeated string uris = 4; - * * @return A list containing the uris. */ - java.util.List getUrisList(); + java.util.List + getUrisList(); /** - * - * *
    * The list of URIs associated to the Findings.
    * 
* * repeated string uris = 4; - * * @return The count of uris. */ int getUrisCount(); /** - * - * *
    * The list of URIs associated to the Findings.
    * 
* * repeated string uris = 4; - * * @param index The index of the element to return. * @return The uris at the given index. */ java.lang.String getUris(int index); /** - * - * *
    * The list of URIs associated to the Findings.
    * 
* * repeated string uris = 4; - * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - com.google.protobuf.ByteString getUrisBytes(int index); + com.google.protobuf.ByteString + getUrisBytes(int index); } diff --git a/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/IndicatorProto.java b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/IndicatorProto.java new file mode 100644 index 000000000000..d721840403de --- /dev/null +++ b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/IndicatorProto.java @@ -0,0 +1,114 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/securitycenter/v1/indicator.proto + +package com.google.cloud.securitycenter.v1; + +public final class IndicatorProto { + private IndicatorProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public 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_securitycenter_v1_Indicator_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_securitycenter_v1_Indicator_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_securitycenter_v1_Indicator_ProcessSignature_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_securitycenter_v1_Indicator_ProcessSignature_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_securitycenter_v1_Indicator_ProcessSignature_MemoryHashSignature_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_securitycenter_v1_Indicator_ProcessSignature_MemoryHashSignature_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_securitycenter_v1_Indicator_ProcessSignature_MemoryHashSignature_Detection_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_securitycenter_v1_Indicator_ProcessSignature_MemoryHashSignature_Detection_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_securitycenter_v1_Indicator_ProcessSignature_YaraRuleSignature_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_securitycenter_v1_Indicator_ProcessSignature_YaraRuleSignature_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n.google/cloud/securitycenter/v1/indicat" + + "or.proto\022\036google.cloud.securitycenter.v1" + + "\"\221\005\n\tIndicator\022\024\n\014ip_addresses\030\001 \003(\t\022\017\n\007" + + "domains\030\002 \003(\t\022N\n\nsignatures\030\003 \003(\0132:.goog" + + "le.cloud.securitycenter.v1.Indicator.Pro" + + "cessSignature\022\014\n\004uris\030\004 \003(\t\032\376\003\n\020ProcessS" + + "ignature\022o\n\025memory_hash_signature\030\006 \001(\0132" + + "N.google.cloud.securitycenter.v1.Indicat" + + "or.ProcessSignature.MemoryHashSignatureH" + + "\000\022k\n\023yara_rule_signature\030\007 \001(\0132L.google." + + "cloud.securitycenter.v1.Indicator.Proces" + + "sSignature.YaraRuleSignatureH\000\032\326\001\n\023Memor" + + "yHashSignature\022\025\n\rbinary_family\030\001 \001(\t\022l\n" + + "\ndetections\030\004 \003(\0132X.google.cloud.securit" + + "ycenter.v1.Indicator.ProcessSignature.Me" + + "moryHashSignature.Detection\032:\n\tDetection" + + "\022\016\n\006binary\030\002 \001(\t\022\035\n\025percent_pages_matche" + + "d\030\003 \001(\001\032&\n\021YaraRuleSignature\022\021\n\tyara_rul" + + "e\030\005 \001(\tB\013\n\tsignatureB\352\001\n\"com.google.clou" + + "d.securitycenter.v1B\016IndicatorProtoP\001ZLg" + + "oogle.golang.org/genproto/googleapis/clo" + + "ud/securitycenter/v1;securitycenter\252\002\036Go" + + "ogle.Cloud.SecurityCenter.V1\312\002\036Google\\Cl" + + "oud\\SecurityCenter\\V1\352\002!Google::Cloud::S" + + "ecurityCenter::V1b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + }); + internal_static_google_cloud_securitycenter_v1_Indicator_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_securitycenter_v1_Indicator_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_securitycenter_v1_Indicator_descriptor, + new java.lang.String[] { "IpAddresses", "Domains", "Signatures", "Uris", }); + internal_static_google_cloud_securitycenter_v1_Indicator_ProcessSignature_descriptor = + internal_static_google_cloud_securitycenter_v1_Indicator_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_securitycenter_v1_Indicator_ProcessSignature_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_securitycenter_v1_Indicator_ProcessSignature_descriptor, + new java.lang.String[] { "MemoryHashSignature", "YaraRuleSignature", "Signature", }); + internal_static_google_cloud_securitycenter_v1_Indicator_ProcessSignature_MemoryHashSignature_descriptor = + internal_static_google_cloud_securitycenter_v1_Indicator_ProcessSignature_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_securitycenter_v1_Indicator_ProcessSignature_MemoryHashSignature_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_securitycenter_v1_Indicator_ProcessSignature_MemoryHashSignature_descriptor, + new java.lang.String[] { "BinaryFamily", "Detections", }); + internal_static_google_cloud_securitycenter_v1_Indicator_ProcessSignature_MemoryHashSignature_Detection_descriptor = + internal_static_google_cloud_securitycenter_v1_Indicator_ProcessSignature_MemoryHashSignature_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_securitycenter_v1_Indicator_ProcessSignature_MemoryHashSignature_Detection_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_securitycenter_v1_Indicator_ProcessSignature_MemoryHashSignature_Detection_descriptor, + new java.lang.String[] { "Binary", "PercentPagesMatched", }); + internal_static_google_cloud_securitycenter_v1_Indicator_ProcessSignature_YaraRuleSignature_descriptor = + internal_static_google_cloud_securitycenter_v1_Indicator_ProcessSignature_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_securitycenter_v1_Indicator_ProcessSignature_YaraRuleSignature_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_securitycenter_v1_Indicator_ProcessSignature_YaraRuleSignature_descriptor, + new java.lang.String[] { "YaraRule", }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Kubernetes.java b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Kubernetes.java similarity index 75% rename from java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Kubernetes.java rename to owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Kubernetes.java index 56558d9aad8a..e14d88e91f02 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Kubernetes.java +++ b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Kubernetes.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/securitycenter/v1/kubernetes.proto package com.google.cloud.securitycenter.v1; /** - * - * *
  * Kubernetes related attributes.
  * 
* * Protobuf type {@code google.cloud.securitycenter.v1.Kubernetes} */ -public final class Kubernetes extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Kubernetes extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.securitycenter.v1.Kubernetes) KubernetesOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Kubernetes.newBuilder() to construct. private Kubernetes(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Kubernetes() { pods_ = java.util.Collections.emptyList(); nodes_ = java.util.Collections.emptyList(); @@ -48,88 +30,74 @@ private Kubernetes() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Kubernetes(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.securitycenter.v1.KubernetesProto - .internal_static_google_cloud_securitycenter_v1_Kubernetes_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.securitycenter.v1.KubernetesProto.internal_static_google_cloud_securitycenter_v1_Kubernetes_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.securitycenter.v1.KubernetesProto - .internal_static_google_cloud_securitycenter_v1_Kubernetes_fieldAccessorTable + return com.google.cloud.securitycenter.v1.KubernetesProto.internal_static_google_cloud_securitycenter_v1_Kubernetes_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.securitycenter.v1.Kubernetes.class, - com.google.cloud.securitycenter.v1.Kubernetes.Builder.class); + com.google.cloud.securitycenter.v1.Kubernetes.class, com.google.cloud.securitycenter.v1.Kubernetes.Builder.class); } - public interface PodOrBuilder - extends + public interface PodOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.securitycenter.v1.Kubernetes.Pod) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Kubernetes Pod namespace.
      * 
* * string ns = 1; - * * @return The ns. */ java.lang.String getNs(); /** - * - * *
      * Kubernetes Pod namespace.
      * 
* * string ns = 1; - * * @return The bytes for ns. */ - com.google.protobuf.ByteString getNsBytes(); + com.google.protobuf.ByteString + getNsBytes(); /** - * - * *
      * Kubernetes Pod name.
      * 
* * string name = 2; - * * @return The name. */ java.lang.String getName(); /** - * - * *
      * Kubernetes Pod name.
      * 
* * string name = 2; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
      * Pod labels.  For Kubernetes containers, these are applied to the
      * container.
@@ -137,10 +105,9 @@ public interface PodOrBuilder
      *
      * repeated .google.cloud.securitycenter.v1.Label labels = 3;
      */
-    java.util.List getLabelsList();
+    java.util.List 
+        getLabelsList();
     /**
-     *
-     *
      * 
      * Pod labels.  For Kubernetes containers, these are applied to the
      * container.
@@ -150,8 +117,6 @@ public interface PodOrBuilder
      */
     com.google.cloud.securitycenter.v1.Label getLabels(int index);
     /**
-     *
-     *
      * 
      * Pod labels.  For Kubernetes containers, these are applied to the
      * container.
@@ -161,8 +126,6 @@ public interface PodOrBuilder
      */
     int getLabelsCount();
     /**
-     *
-     *
      * 
      * Pod labels.  For Kubernetes containers, these are applied to the
      * container.
@@ -170,11 +133,9 @@ public interface PodOrBuilder
      *
      * repeated .google.cloud.securitycenter.v1.Label labels = 3;
      */
-    java.util.List
+    java.util.List 
         getLabelsOrBuilderList();
     /**
-     *
-     *
      * 
      * Pod labels.  For Kubernetes containers, these are applied to the
      * container.
@@ -182,21 +143,19 @@ public interface PodOrBuilder
      *
      * repeated .google.cloud.securitycenter.v1.Label labels = 3;
      */
-    com.google.cloud.securitycenter.v1.LabelOrBuilder getLabelsOrBuilder(int index);
+    com.google.cloud.securitycenter.v1.LabelOrBuilder getLabelsOrBuilder(
+        int index);
 
     /**
-     *
-     *
      * 
      * Pod containers associated with this finding, if any.
      * 
* * repeated .google.cloud.securitycenter.v1.Container containers = 4; */ - java.util.List getContainersList(); + java.util.List + getContainersList(); /** - * - * *
      * Pod containers associated with this finding, if any.
      * 
@@ -205,8 +164,6 @@ public interface PodOrBuilder */ com.google.cloud.securitycenter.v1.Container getContainers(int index); /** - * - * *
      * Pod containers associated with this finding, if any.
      * 
@@ -215,46 +172,40 @@ public interface PodOrBuilder */ int getContainersCount(); /** - * - * *
      * Pod containers associated with this finding, if any.
      * 
* * repeated .google.cloud.securitycenter.v1.Container containers = 4; */ - java.util.List + java.util.List getContainersOrBuilderList(); /** - * - * *
      * Pod containers associated with this finding, if any.
      * 
* * repeated .google.cloud.securitycenter.v1.Container containers = 4; */ - com.google.cloud.securitycenter.v1.ContainerOrBuilder getContainersOrBuilder(int index); + com.google.cloud.securitycenter.v1.ContainerOrBuilder getContainersOrBuilder( + int index); } /** - * - * *
    * Kubernetes Pod.
    * 
* * Protobuf type {@code google.cloud.securitycenter.v1.Kubernetes.Pod} */ - public static final class Pod extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Pod extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.securitycenter.v1.Kubernetes.Pod) PodOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Pod.newBuilder() to construct. private Pod(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Pod() { ns_ = ""; name_ = ""; @@ -264,41 +215,37 @@ private Pod() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Pod(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.securitycenter.v1.KubernetesProto - .internal_static_google_cloud_securitycenter_v1_Kubernetes_Pod_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.securitycenter.v1.KubernetesProto.internal_static_google_cloud_securitycenter_v1_Kubernetes_Pod_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.securitycenter.v1.KubernetesProto - .internal_static_google_cloud_securitycenter_v1_Kubernetes_Pod_fieldAccessorTable + return com.google.cloud.securitycenter.v1.KubernetesProto.internal_static_google_cloud_securitycenter_v1_Kubernetes_Pod_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.securitycenter.v1.Kubernetes.Pod.class, - com.google.cloud.securitycenter.v1.Kubernetes.Pod.Builder.class); + com.google.cloud.securitycenter.v1.Kubernetes.Pod.class, com.google.cloud.securitycenter.v1.Kubernetes.Pod.Builder.class); } public static final int NS_FIELD_NUMBER = 1; private volatile java.lang.Object ns_; /** - * - * *
      * Kubernetes Pod namespace.
      * 
* * string ns = 1; - * * @return The ns. */ @java.lang.Override @@ -307,29 +254,29 @@ public java.lang.String getNs() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ns_ = s; return s; } } /** - * - * *
      * Kubernetes Pod namespace.
      * 
* * string ns = 1; - * * @return The bytes for ns. */ @java.lang.Override - public com.google.protobuf.ByteString getNsBytes() { + public com.google.protobuf.ByteString + getNsBytes() { java.lang.Object ref = ns_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); ns_ = b; return b; } else { @@ -340,14 +287,11 @@ public com.google.protobuf.ByteString getNsBytes() { public static final int NAME_FIELD_NUMBER = 2; private volatile java.lang.Object name_; /** - * - * *
      * Kubernetes Pod name.
      * 
* * string name = 2; - * * @return The name. */ @java.lang.Override @@ -356,29 +300,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
      * Kubernetes Pod name.
      * 
* * string name = 2; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -389,8 +333,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int LABELS_FIELD_NUMBER = 3; private java.util.List labels_; /** - * - * *
      * Pod labels.  For Kubernetes containers, these are applied to the
      * container.
@@ -403,8 +345,6 @@ public java.util.List getLabelsList()
       return labels_;
     }
     /**
-     *
-     *
      * 
      * Pod labels.  For Kubernetes containers, these are applied to the
      * container.
@@ -413,13 +353,11 @@ public java.util.List getLabelsList()
      * repeated .google.cloud.securitycenter.v1.Label labels = 3;
      */
     @java.lang.Override
-    public java.util.List
+    public java.util.List 
         getLabelsOrBuilderList() {
       return labels_;
     }
     /**
-     *
-     *
      * 
      * Pod labels.  For Kubernetes containers, these are applied to the
      * container.
@@ -432,8 +370,6 @@ public int getLabelsCount() {
       return labels_.size();
     }
     /**
-     *
-     *
      * 
      * Pod labels.  For Kubernetes containers, these are applied to the
      * container.
@@ -446,8 +382,6 @@ public com.google.cloud.securitycenter.v1.Label getLabels(int index) {
       return labels_.get(index);
     }
     /**
-     *
-     *
      * 
      * Pod labels.  For Kubernetes containers, these are applied to the
      * container.
@@ -456,15 +390,14 @@ public com.google.cloud.securitycenter.v1.Label getLabels(int index) {
      * repeated .google.cloud.securitycenter.v1.Label labels = 3;
      */
     @java.lang.Override
-    public com.google.cloud.securitycenter.v1.LabelOrBuilder getLabelsOrBuilder(int index) {
+    public com.google.cloud.securitycenter.v1.LabelOrBuilder getLabelsOrBuilder(
+        int index) {
       return labels_.get(index);
     }
 
     public static final int CONTAINERS_FIELD_NUMBER = 4;
     private java.util.List containers_;
     /**
-     *
-     *
      * 
      * Pod containers associated with this finding, if any.
      * 
@@ -476,8 +409,6 @@ public java.util.List getContainer return containers_; } /** - * - * *
      * Pod containers associated with this finding, if any.
      * 
@@ -485,13 +416,11 @@ public java.util.List getContainer * repeated .google.cloud.securitycenter.v1.Container containers = 4; */ @java.lang.Override - public java.util.List + public java.util.List getContainersOrBuilderList() { return containers_; } /** - * - * *
      * Pod containers associated with this finding, if any.
      * 
@@ -503,8 +432,6 @@ public int getContainersCount() { return containers_.size(); } /** - * - * *
      * Pod containers associated with this finding, if any.
      * 
@@ -516,8 +443,6 @@ public com.google.cloud.securitycenter.v1.Container getContainers(int index) { return containers_.get(index); } /** - * - * *
      * Pod containers associated with this finding, if any.
      * 
@@ -525,12 +450,12 @@ public com.google.cloud.securitycenter.v1.Container getContainers(int index) { * repeated .google.cloud.securitycenter.v1.Container containers = 4; */ @java.lang.Override - public com.google.cloud.securitycenter.v1.ContainerOrBuilder getContainersOrBuilder(int index) { + public com.google.cloud.securitycenter.v1.ContainerOrBuilder getContainersOrBuilder( + int index) { return containers_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -542,7 +467,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ns_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, ns_); } @@ -571,10 +497,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, name_); } for (int i = 0; i < labels_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, labels_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, labels_.get(i)); } for (int i = 0; i < containers_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, containers_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, containers_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -584,18 +512,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.securitycenter.v1.Kubernetes.Pod)) { return super.equals(obj); } - com.google.cloud.securitycenter.v1.Kubernetes.Pod other = - (com.google.cloud.securitycenter.v1.Kubernetes.Pod) obj; + com.google.cloud.securitycenter.v1.Kubernetes.Pod other = (com.google.cloud.securitycenter.v1.Kubernetes.Pod) obj; - if (!getNs().equals(other.getNs())) return false; - if (!getName().equals(other.getName())) return false; - if (!getLabelsList().equals(other.getLabelsList())) return false; - if (!getContainersList().equals(other.getContainersList())) return false; + if (!getNs() + .equals(other.getNs())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getLabelsList() + .equals(other.getLabelsList())) return false; + if (!getContainersList() + .equals(other.getContainersList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -625,93 +556,87 @@ public int hashCode() { } public static com.google.cloud.securitycenter.v1.Kubernetes.Pod parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.Kubernetes.Pod parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.Kubernetes.Pod parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.Kubernetes.Pod parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.Kubernetes.Pod parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.Kubernetes.Pod parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.securitycenter.v1.Kubernetes.Pod parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.securitycenter.v1.Kubernetes.Pod parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.Kubernetes.Pod parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.securitycenter.v1.Kubernetes.Pod parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.securitycenter.v1.Kubernetes.Pod parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.Kubernetes.Pod parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.Kubernetes.Pod parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.Kubernetes.Pod parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.securitycenter.v1.Kubernetes.Pod prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -721,41 +646,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Kubernetes Pod.
      * 
* * Protobuf type {@code google.cloud.securitycenter.v1.Kubernetes.Pod} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.securitycenter.v1.Kubernetes.Pod) com.google.cloud.securitycenter.v1.Kubernetes.PodOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.securitycenter.v1.KubernetesProto - .internal_static_google_cloud_securitycenter_v1_Kubernetes_Pod_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.securitycenter.v1.KubernetesProto.internal_static_google_cloud_securitycenter_v1_Kubernetes_Pod_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.securitycenter.v1.KubernetesProto - .internal_static_google_cloud_securitycenter_v1_Kubernetes_Pod_fieldAccessorTable + return com.google.cloud.securitycenter.v1.KubernetesProto.internal_static_google_cloud_securitycenter_v1_Kubernetes_Pod_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.securitycenter.v1.Kubernetes.Pod.class, - com.google.cloud.securitycenter.v1.Kubernetes.Pod.Builder.class); + com.google.cloud.securitycenter.v1.Kubernetes.Pod.class, com.google.cloud.securitycenter.v1.Kubernetes.Pod.Builder.class); } // Construct using com.google.cloud.securitycenter.v1.Kubernetes.Pod.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(); @@ -781,9 +704,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.securitycenter.v1.KubernetesProto - .internal_static_google_cloud_securitycenter_v1_Kubernetes_Pod_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.securitycenter.v1.KubernetesProto.internal_static_google_cloud_securitycenter_v1_Kubernetes_Pod_descriptor; } @java.lang.Override @@ -802,8 +725,7 @@ public com.google.cloud.securitycenter.v1.Kubernetes.Pod build() { @java.lang.Override public com.google.cloud.securitycenter.v1.Kubernetes.Pod buildPartial() { - com.google.cloud.securitycenter.v1.Kubernetes.Pod result = - new com.google.cloud.securitycenter.v1.Kubernetes.Pod(this); + com.google.cloud.securitycenter.v1.Kubernetes.Pod result = new com.google.cloud.securitycenter.v1.Kubernetes.Pod(this); int from_bitField0_ = bitField0_; result.ns_ = ns_; result.name_ = name_; @@ -833,41 +755,38 @@ public com.google.cloud.securitycenter.v1.Kubernetes.Pod buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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.securitycenter.v1.Kubernetes.Pod) { - return mergeFrom((com.google.cloud.securitycenter.v1.Kubernetes.Pod) other); + return mergeFrom((com.google.cloud.securitycenter.v1.Kubernetes.Pod)other); } else { super.mergeFrom(other); return this; @@ -875,8 +794,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.securitycenter.v1.Kubernetes.Pod other) { - if (other == com.google.cloud.securitycenter.v1.Kubernetes.Pod.getDefaultInstance()) - return this; + if (other == com.google.cloud.securitycenter.v1.Kubernetes.Pod.getDefaultInstance()) return this; if (!other.getNs().isEmpty()) { ns_ = other.ns_; onChanged(); @@ -903,10 +821,9 @@ public Builder mergeFrom(com.google.cloud.securitycenter.v1.Kubernetes.Pod other labelsBuilder_ = null; labels_ = other.labels_; bitField0_ = (bitField0_ & ~0x00000001); - labelsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getLabelsFieldBuilder() - : null; + labelsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getLabelsFieldBuilder() : null; } else { labelsBuilder_.addAllMessages(other.labels_); } @@ -930,10 +847,9 @@ public Builder mergeFrom(com.google.cloud.securitycenter.v1.Kubernetes.Pod other containersBuilder_ = null; containers_ = other.containers_; bitField0_ = (bitField0_ & ~0x00000002); - containersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getContainersFieldBuilder() - : null; + containersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getContainersFieldBuilder() : null; } else { containersBuilder_.addAllMessages(other.containers_); } @@ -965,51 +881,48 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - ns_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 26: - { - com.google.cloud.securitycenter.v1.Label m = - input.readMessage( - com.google.cloud.securitycenter.v1.Label.parser(), extensionRegistry); - if (labelsBuilder_ == null) { - ensureLabelsIsMutable(); - labels_.add(m); - } else { - labelsBuilder_.addMessage(m); - } - break; - } // case 26 - case 34: - { - com.google.cloud.securitycenter.v1.Container m = - input.readMessage( - com.google.cloud.securitycenter.v1.Container.parser(), extensionRegistry); - if (containersBuilder_ == null) { - ensureContainersIsMutable(); - containers_.add(m); - } else { - containersBuilder_.addMessage(m); - } - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + ns_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + name_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 26: { + com.google.cloud.securitycenter.v1.Label m = + input.readMessage( + com.google.cloud.securitycenter.v1.Label.parser(), + extensionRegistry); + if (labelsBuilder_ == null) { + ensureLabelsIsMutable(); + labels_.add(m); + } else { + labelsBuilder_.addMessage(m); + } + break; + } // case 26 + case 34: { + com.google.cloud.securitycenter.v1.Container m = + input.readMessage( + com.google.cloud.securitycenter.v1.Container.parser(), + extensionRegistry); + if (containersBuilder_ == null) { + ensureContainersIsMutable(); + containers_.add(m); + } else { + containersBuilder_.addMessage(m); + } + 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) { @@ -1019,25 +932,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object ns_ = ""; /** - * - * *
        * Kubernetes Pod namespace.
        * 
* * string ns = 1; - * * @return The ns. */ public java.lang.String getNs() { java.lang.Object ref = ns_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ns_ = s; return s; @@ -1046,21 +956,20 @@ public java.lang.String getNs() { } } /** - * - * *
        * Kubernetes Pod namespace.
        * 
* * string ns = 1; - * * @return The bytes for ns. */ - public com.google.protobuf.ByteString getNsBytes() { + public com.google.protobuf.ByteString + getNsBytes() { java.lang.Object ref = ns_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); ns_ = b; return b; } else { @@ -1068,61 +977,54 @@ public com.google.protobuf.ByteString getNsBytes() { } } /** - * - * *
        * Kubernetes Pod namespace.
        * 
* * string ns = 1; - * * @param value The ns to set. * @return This builder for chaining. */ - public Builder setNs(java.lang.String value) { + public Builder setNs( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + ns_ = value; onChanged(); return this; } /** - * - * *
        * Kubernetes Pod namespace.
        * 
* * string ns = 1; - * * @return This builder for chaining. */ public Builder clearNs() { - + ns_ = getDefaultInstance().getNs(); onChanged(); return this; } /** - * - * *
        * Kubernetes Pod namespace.
        * 
* * string ns = 1; - * * @param value The bytes for ns to set. * @return This builder for chaining. */ - public Builder setNsBytes(com.google.protobuf.ByteString value) { + public Builder setNsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ns_ = value; onChanged(); return this; @@ -1130,20 +1032,18 @@ public Builder setNsBytes(com.google.protobuf.ByteString value) { private java.lang.Object name_ = ""; /** - * - * *
        * Kubernetes Pod name.
        * 
* * string name = 2; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1152,21 +1052,20 @@ public java.lang.String getName() { } } /** - * - * *
        * Kubernetes Pod name.
        * 
* * string name = 2; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1174,85 +1073,72 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
        * Kubernetes Pod name.
        * 
* * string name = 2; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
        * Kubernetes Pod name.
        * 
* * string name = 2; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
        * Kubernetes Pod name.
        * 
* * string name = 2; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } private java.util.List labels_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureLabelsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { labels_ = new java.util.ArrayList(labels_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.securitycenter.v1.Label, - com.google.cloud.securitycenter.v1.Label.Builder, - com.google.cloud.securitycenter.v1.LabelOrBuilder> - labelsBuilder_; + com.google.cloud.securitycenter.v1.Label, com.google.cloud.securitycenter.v1.Label.Builder, com.google.cloud.securitycenter.v1.LabelOrBuilder> labelsBuilder_; /** - * - * *
        * Pod labels.  For Kubernetes containers, these are applied to the
        * container.
@@ -1268,8 +1154,6 @@ public java.util.List getLabelsList()
         }
       }
       /**
-       *
-       *
        * 
        * Pod labels.  For Kubernetes containers, these are applied to the
        * container.
@@ -1285,8 +1169,6 @@ public int getLabelsCount() {
         }
       }
       /**
-       *
-       *
        * 
        * Pod labels.  For Kubernetes containers, these are applied to the
        * container.
@@ -1302,8 +1184,6 @@ public com.google.cloud.securitycenter.v1.Label getLabels(int index) {
         }
       }
       /**
-       *
-       *
        * 
        * Pod labels.  For Kubernetes containers, these are applied to the
        * container.
@@ -1311,7 +1191,8 @@ public com.google.cloud.securitycenter.v1.Label getLabels(int index) {
        *
        * repeated .google.cloud.securitycenter.v1.Label labels = 3;
        */
-      public Builder setLabels(int index, com.google.cloud.securitycenter.v1.Label value) {
+      public Builder setLabels(
+          int index, com.google.cloud.securitycenter.v1.Label value) {
         if (labelsBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -1325,8 +1206,6 @@ public Builder setLabels(int index, com.google.cloud.securitycenter.v1.Label val
         return this;
       }
       /**
-       *
-       *
        * 
        * Pod labels.  For Kubernetes containers, these are applied to the
        * container.
@@ -1346,8 +1225,6 @@ public Builder setLabels(
         return this;
       }
       /**
-       *
-       *
        * 
        * Pod labels.  For Kubernetes containers, these are applied to the
        * container.
@@ -1369,8 +1246,6 @@ public Builder addLabels(com.google.cloud.securitycenter.v1.Label value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Pod labels.  For Kubernetes containers, these are applied to the
        * container.
@@ -1378,7 +1253,8 @@ public Builder addLabels(com.google.cloud.securitycenter.v1.Label value) {
        *
        * repeated .google.cloud.securitycenter.v1.Label labels = 3;
        */
-      public Builder addLabels(int index, com.google.cloud.securitycenter.v1.Label value) {
+      public Builder addLabels(
+          int index, com.google.cloud.securitycenter.v1.Label value) {
         if (labelsBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -1392,8 +1268,6 @@ public Builder addLabels(int index, com.google.cloud.securitycenter.v1.Label val
         return this;
       }
       /**
-       *
-       *
        * 
        * Pod labels.  For Kubernetes containers, these are applied to the
        * container.
@@ -1401,7 +1275,8 @@ public Builder addLabels(int index, com.google.cloud.securitycenter.v1.Label val
        *
        * repeated .google.cloud.securitycenter.v1.Label labels = 3;
        */
-      public Builder addLabels(com.google.cloud.securitycenter.v1.Label.Builder builderForValue) {
+      public Builder addLabels(
+          com.google.cloud.securitycenter.v1.Label.Builder builderForValue) {
         if (labelsBuilder_ == null) {
           ensureLabelsIsMutable();
           labels_.add(builderForValue.build());
@@ -1412,8 +1287,6 @@ public Builder addLabels(com.google.cloud.securitycenter.v1.Label.Builder builde
         return this;
       }
       /**
-       *
-       *
        * 
        * Pod labels.  For Kubernetes containers, these are applied to the
        * container.
@@ -1433,8 +1306,6 @@ public Builder addLabels(
         return this;
       }
       /**
-       *
-       *
        * 
        * Pod labels.  For Kubernetes containers, these are applied to the
        * container.
@@ -1446,7 +1317,8 @@ public Builder addAllLabels(
           java.lang.Iterable values) {
         if (labelsBuilder_ == null) {
           ensureLabelsIsMutable();
-          com.google.protobuf.AbstractMessageLite.Builder.addAll(values, labels_);
+          com.google.protobuf.AbstractMessageLite.Builder.addAll(
+              values, labels_);
           onChanged();
         } else {
           labelsBuilder_.addAllMessages(values);
@@ -1454,8 +1326,6 @@ public Builder addAllLabels(
         return this;
       }
       /**
-       *
-       *
        * 
        * Pod labels.  For Kubernetes containers, these are applied to the
        * container.
@@ -1474,8 +1344,6 @@ public Builder clearLabels() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Pod labels.  For Kubernetes containers, these are applied to the
        * container.
@@ -1494,8 +1362,6 @@ public Builder removeLabels(int index) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Pod labels.  For Kubernetes containers, these are applied to the
        * container.
@@ -1503,12 +1369,11 @@ public Builder removeLabels(int index) {
        *
        * repeated .google.cloud.securitycenter.v1.Label labels = 3;
        */
-      public com.google.cloud.securitycenter.v1.Label.Builder getLabelsBuilder(int index) {
+      public com.google.cloud.securitycenter.v1.Label.Builder getLabelsBuilder(
+          int index) {
         return getLabelsFieldBuilder().getBuilder(index);
       }
       /**
-       *
-       *
        * 
        * Pod labels.  For Kubernetes containers, these are applied to the
        * container.
@@ -1516,16 +1381,14 @@ public com.google.cloud.securitycenter.v1.Label.Builder getLabelsBuilder(int ind
        *
        * repeated .google.cloud.securitycenter.v1.Label labels = 3;
        */
-      public com.google.cloud.securitycenter.v1.LabelOrBuilder getLabelsOrBuilder(int index) {
+      public com.google.cloud.securitycenter.v1.LabelOrBuilder getLabelsOrBuilder(
+          int index) {
         if (labelsBuilder_ == null) {
-          return labels_.get(index);
-        } else {
+          return labels_.get(index);  } else {
           return labelsBuilder_.getMessageOrBuilder(index);
         }
       }
       /**
-       *
-       *
        * 
        * Pod labels.  For Kubernetes containers, these are applied to the
        * container.
@@ -1533,8 +1396,8 @@ public com.google.cloud.securitycenter.v1.LabelOrBuilder getLabelsOrBuilder(int
        *
        * repeated .google.cloud.securitycenter.v1.Label labels = 3;
        */
-      public java.util.List
-          getLabelsOrBuilderList() {
+      public java.util.List 
+           getLabelsOrBuilderList() {
         if (labelsBuilder_ != null) {
           return labelsBuilder_.getMessageOrBuilderList();
         } else {
@@ -1542,8 +1405,6 @@ public com.google.cloud.securitycenter.v1.LabelOrBuilder getLabelsOrBuilder(int
         }
       }
       /**
-       *
-       *
        * 
        * Pod labels.  For Kubernetes containers, these are applied to the
        * container.
@@ -1552,12 +1413,10 @@ public com.google.cloud.securitycenter.v1.LabelOrBuilder getLabelsOrBuilder(int
        * repeated .google.cloud.securitycenter.v1.Label labels = 3;
        */
       public com.google.cloud.securitycenter.v1.Label.Builder addLabelsBuilder() {
-        return getLabelsFieldBuilder()
-            .addBuilder(com.google.cloud.securitycenter.v1.Label.getDefaultInstance());
+        return getLabelsFieldBuilder().addBuilder(
+            com.google.cloud.securitycenter.v1.Label.getDefaultInstance());
       }
       /**
-       *
-       *
        * 
        * Pod labels.  For Kubernetes containers, these are applied to the
        * container.
@@ -1565,13 +1424,12 @@ public com.google.cloud.securitycenter.v1.Label.Builder addLabelsBuilder() {
        *
        * repeated .google.cloud.securitycenter.v1.Label labels = 3;
        */
-      public com.google.cloud.securitycenter.v1.Label.Builder addLabelsBuilder(int index) {
-        return getLabelsFieldBuilder()
-            .addBuilder(index, com.google.cloud.securitycenter.v1.Label.getDefaultInstance());
+      public com.google.cloud.securitycenter.v1.Label.Builder addLabelsBuilder(
+          int index) {
+        return getLabelsFieldBuilder().addBuilder(
+            index, com.google.cloud.securitycenter.v1.Label.getDefaultInstance());
       }
       /**
-       *
-       *
        * 
        * Pod labels.  For Kubernetes containers, these are applied to the
        * container.
@@ -1579,48 +1437,38 @@ public com.google.cloud.securitycenter.v1.Label.Builder addLabelsBuilder(int ind
        *
        * repeated .google.cloud.securitycenter.v1.Label labels = 3;
        */
-      public java.util.List
-          getLabelsBuilderList() {
+      public java.util.List 
+           getLabelsBuilderList() {
         return getLabelsFieldBuilder().getBuilderList();
       }
-
       private com.google.protobuf.RepeatedFieldBuilderV3<
-              com.google.cloud.securitycenter.v1.Label,
-              com.google.cloud.securitycenter.v1.Label.Builder,
-              com.google.cloud.securitycenter.v1.LabelOrBuilder>
+          com.google.cloud.securitycenter.v1.Label, com.google.cloud.securitycenter.v1.Label.Builder, com.google.cloud.securitycenter.v1.LabelOrBuilder> 
           getLabelsFieldBuilder() {
         if (labelsBuilder_ == null) {
-          labelsBuilder_ =
-              new com.google.protobuf.RepeatedFieldBuilderV3<
-                  com.google.cloud.securitycenter.v1.Label,
-                  com.google.cloud.securitycenter.v1.Label.Builder,
-                  com.google.cloud.securitycenter.v1.LabelOrBuilder>(
-                  labels_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+          labelsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+              com.google.cloud.securitycenter.v1.Label, com.google.cloud.securitycenter.v1.Label.Builder, com.google.cloud.securitycenter.v1.LabelOrBuilder>(
+                  labels_,
+                  ((bitField0_ & 0x00000001) != 0),
+                  getParentForChildren(),
+                  isClean());
           labels_ = null;
         }
         return labelsBuilder_;
       }
 
       private java.util.List containers_ =
-          java.util.Collections.emptyList();
-
+        java.util.Collections.emptyList();
       private void ensureContainersIsMutable() {
         if (!((bitField0_ & 0x00000002) != 0)) {
-          containers_ =
-              new java.util.ArrayList(containers_);
+          containers_ = new java.util.ArrayList(containers_);
           bitField0_ |= 0x00000002;
-        }
+         }
       }
 
       private com.google.protobuf.RepeatedFieldBuilderV3<
-              com.google.cloud.securitycenter.v1.Container,
-              com.google.cloud.securitycenter.v1.Container.Builder,
-              com.google.cloud.securitycenter.v1.ContainerOrBuilder>
-          containersBuilder_;
+          com.google.cloud.securitycenter.v1.Container, com.google.cloud.securitycenter.v1.Container.Builder, com.google.cloud.securitycenter.v1.ContainerOrBuilder> containersBuilder_;
 
       /**
-       *
-       *
        * 
        * Pod containers associated with this finding, if any.
        * 
@@ -1635,8 +1483,6 @@ public java.util.List getContainer } } /** - * - * *
        * Pod containers associated with this finding, if any.
        * 
@@ -1651,8 +1497,6 @@ public int getContainersCount() { } } /** - * - * *
        * Pod containers associated with this finding, if any.
        * 
@@ -1667,15 +1511,14 @@ public com.google.cloud.securitycenter.v1.Container getContainers(int index) { } } /** - * - * *
        * Pod containers associated with this finding, if any.
        * 
* * repeated .google.cloud.securitycenter.v1.Container containers = 4; */ - public Builder setContainers(int index, com.google.cloud.securitycenter.v1.Container value) { + public Builder setContainers( + int index, com.google.cloud.securitycenter.v1.Container value) { if (containersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1689,8 +1532,6 @@ public Builder setContainers(int index, com.google.cloud.securitycenter.v1.Conta return this; } /** - * - * *
        * Pod containers associated with this finding, if any.
        * 
@@ -1709,8 +1550,6 @@ public Builder setContainers( return this; } /** - * - * *
        * Pod containers associated with this finding, if any.
        * 
@@ -1731,15 +1570,14 @@ public Builder addContainers(com.google.cloud.securitycenter.v1.Container value) return this; } /** - * - * *
        * Pod containers associated with this finding, if any.
        * 
* * repeated .google.cloud.securitycenter.v1.Container containers = 4; */ - public Builder addContainers(int index, com.google.cloud.securitycenter.v1.Container value) { + public Builder addContainers( + int index, com.google.cloud.securitycenter.v1.Container value) { if (containersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1753,8 +1591,6 @@ public Builder addContainers(int index, com.google.cloud.securitycenter.v1.Conta return this; } /** - * - * *
        * Pod containers associated with this finding, if any.
        * 
@@ -1773,8 +1609,6 @@ public Builder addContainers( return this; } /** - * - * *
        * Pod containers associated with this finding, if any.
        * 
@@ -1793,8 +1627,6 @@ public Builder addContainers( return this; } /** - * - * *
        * Pod containers associated with this finding, if any.
        * 
@@ -1805,7 +1637,8 @@ public Builder addAllContainers( java.lang.Iterable values) { if (containersBuilder_ == null) { ensureContainersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, containers_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, containers_); onChanged(); } else { containersBuilder_.addAllMessages(values); @@ -1813,8 +1646,6 @@ public Builder addAllContainers( return this; } /** - * - * *
        * Pod containers associated with this finding, if any.
        * 
@@ -1832,8 +1663,6 @@ public Builder clearContainers() { return this; } /** - * - * *
        * Pod containers associated with this finding, if any.
        * 
@@ -1851,20 +1680,17 @@ public Builder removeContainers(int index) { return this; } /** - * - * *
        * Pod containers associated with this finding, if any.
        * 
* * repeated .google.cloud.securitycenter.v1.Container containers = 4; */ - public com.google.cloud.securitycenter.v1.Container.Builder getContainersBuilder(int index) { + public com.google.cloud.securitycenter.v1.Container.Builder getContainersBuilder( + int index) { return getContainersFieldBuilder().getBuilder(index); } /** - * - * *
        * Pod containers associated with this finding, if any.
        * 
@@ -1874,22 +1700,19 @@ public com.google.cloud.securitycenter.v1.Container.Builder getContainersBuilder public com.google.cloud.securitycenter.v1.ContainerOrBuilder getContainersOrBuilder( int index) { if (containersBuilder_ == null) { - return containers_.get(index); - } else { + return containers_.get(index); } else { return containersBuilder_.getMessageOrBuilder(index); } } /** - * - * *
        * Pod containers associated with this finding, if any.
        * 
* * repeated .google.cloud.securitycenter.v1.Container containers = 4; */ - public java.util.List - getContainersOrBuilderList() { + public java.util.List + getContainersOrBuilderList() { if (containersBuilder_ != null) { return containersBuilder_.getMessageOrBuilderList(); } else { @@ -1897,8 +1720,6 @@ public com.google.cloud.securitycenter.v1.ContainerOrBuilder getContainersOrBuil } } /** - * - * *
        * Pod containers associated with this finding, if any.
        * 
@@ -1906,53 +1727,46 @@ public com.google.cloud.securitycenter.v1.ContainerOrBuilder getContainersOrBuil * repeated .google.cloud.securitycenter.v1.Container containers = 4; */ public com.google.cloud.securitycenter.v1.Container.Builder addContainersBuilder() { - return getContainersFieldBuilder() - .addBuilder(com.google.cloud.securitycenter.v1.Container.getDefaultInstance()); + return getContainersFieldBuilder().addBuilder( + com.google.cloud.securitycenter.v1.Container.getDefaultInstance()); } /** - * - * *
        * Pod containers associated with this finding, if any.
        * 
* * repeated .google.cloud.securitycenter.v1.Container containers = 4; */ - public com.google.cloud.securitycenter.v1.Container.Builder addContainersBuilder(int index) { - return getContainersFieldBuilder() - .addBuilder(index, com.google.cloud.securitycenter.v1.Container.getDefaultInstance()); + public com.google.cloud.securitycenter.v1.Container.Builder addContainersBuilder( + int index) { + return getContainersFieldBuilder().addBuilder( + index, com.google.cloud.securitycenter.v1.Container.getDefaultInstance()); } /** - * - * *
        * Pod containers associated with this finding, if any.
        * 
* * repeated .google.cloud.securitycenter.v1.Container containers = 4; */ - public java.util.List - getContainersBuilderList() { + public java.util.List + getContainersBuilderList() { return getContainersFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.securitycenter.v1.Container, - com.google.cloud.securitycenter.v1.Container.Builder, - com.google.cloud.securitycenter.v1.ContainerOrBuilder> + com.google.cloud.securitycenter.v1.Container, com.google.cloud.securitycenter.v1.Container.Builder, com.google.cloud.securitycenter.v1.ContainerOrBuilder> getContainersFieldBuilder() { if (containersBuilder_ == null) { - containersBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.securitycenter.v1.Container, - com.google.cloud.securitycenter.v1.Container.Builder, - com.google.cloud.securitycenter.v1.ContainerOrBuilder>( - containers_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); + containersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.securitycenter.v1.Container, com.google.cloud.securitycenter.v1.Container.Builder, com.google.cloud.securitycenter.v1.ContainerOrBuilder>( + containers_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); containers_ = null; } return containersBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1965,12 +1779,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.securitycenter.v1.Kubernetes.Pod) } // @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1.Kubernetes.Pod) private static final com.google.cloud.securitycenter.v1.Kubernetes.Pod DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.securitycenter.v1.Kubernetes.Pod(); } @@ -1979,28 +1793,27 @@ public static com.google.cloud.securitycenter.v1.Kubernetes.Pod getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Pod parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - 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 Pod parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + 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; @@ -2015,101 +1828,89 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.securitycenter.v1.Kubernetes.Pod getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface NodeOrBuilder - extends + public interface NodeOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.securitycenter.v1.Kubernetes.Node) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Full Resource name of the Compute Engine VM running the
      * cluster node.
      * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
      * Full Resource name of the Compute Engine VM running the
      * cluster node.
      * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } /** - * - * *
    * Kubernetes Nodes associated with the finding.
    * 
* * Protobuf type {@code google.cloud.securitycenter.v1.Kubernetes.Node} */ - public static final class Node extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Node extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.securitycenter.v1.Kubernetes.Node) NodeOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Node.newBuilder() to construct. private Node(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Node() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Node(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.securitycenter.v1.KubernetesProto - .internal_static_google_cloud_securitycenter_v1_Kubernetes_Node_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.securitycenter.v1.KubernetesProto.internal_static_google_cloud_securitycenter_v1_Kubernetes_Node_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.securitycenter.v1.KubernetesProto - .internal_static_google_cloud_securitycenter_v1_Kubernetes_Node_fieldAccessorTable + return com.google.cloud.securitycenter.v1.KubernetesProto.internal_static_google_cloud_securitycenter_v1_Kubernetes_Node_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.securitycenter.v1.Kubernetes.Node.class, - com.google.cloud.securitycenter.v1.Kubernetes.Node.Builder.class); + com.google.cloud.securitycenter.v1.Kubernetes.Node.class, com.google.cloud.securitycenter.v1.Kubernetes.Node.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
      * Full Resource name of the Compute Engine VM running the
      * cluster node.
      * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -2118,30 +1919,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; } } /** - * - * *
      * Full Resource name of the Compute Engine VM running the
      * cluster node.
      * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -2150,7 +1951,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2162,7 +1962,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -2186,15 +1987,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.securitycenter.v1.Kubernetes.Node)) { return super.equals(obj); } - com.google.cloud.securitycenter.v1.Kubernetes.Node other = - (com.google.cloud.securitycenter.v1.Kubernetes.Node) obj; + com.google.cloud.securitycenter.v1.Kubernetes.Node other = (com.google.cloud.securitycenter.v1.Kubernetes.Node) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -2214,93 +2015,87 @@ public int hashCode() { } public static com.google.cloud.securitycenter.v1.Kubernetes.Node parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.Kubernetes.Node parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.Kubernetes.Node parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.Kubernetes.Node parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.Kubernetes.Node parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.Kubernetes.Node parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.securitycenter.v1.Kubernetes.Node parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.securitycenter.v1.Kubernetes.Node parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.Kubernetes.Node parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.securitycenter.v1.Kubernetes.Node parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.securitycenter.v1.Kubernetes.Node parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.Kubernetes.Node parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.Kubernetes.Node parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.Kubernetes.Node parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.securitycenter.v1.Kubernetes.Node prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2310,41 +2105,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Kubernetes Nodes associated with the finding.
      * 
* * Protobuf type {@code google.cloud.securitycenter.v1.Kubernetes.Node} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.securitycenter.v1.Kubernetes.Node) com.google.cloud.securitycenter.v1.Kubernetes.NodeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.securitycenter.v1.KubernetesProto - .internal_static_google_cloud_securitycenter_v1_Kubernetes_Node_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.securitycenter.v1.KubernetesProto.internal_static_google_cloud_securitycenter_v1_Kubernetes_Node_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.securitycenter.v1.KubernetesProto - .internal_static_google_cloud_securitycenter_v1_Kubernetes_Node_fieldAccessorTable + return com.google.cloud.securitycenter.v1.KubernetesProto.internal_static_google_cloud_securitycenter_v1_Kubernetes_Node_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.securitycenter.v1.Kubernetes.Node.class, - com.google.cloud.securitycenter.v1.Kubernetes.Node.Builder.class); + com.google.cloud.securitycenter.v1.Kubernetes.Node.class, com.google.cloud.securitycenter.v1.Kubernetes.Node.Builder.class); } // Construct using com.google.cloud.securitycenter.v1.Kubernetes.Node.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(); @@ -2354,9 +2147,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.securitycenter.v1.KubernetesProto - .internal_static_google_cloud_securitycenter_v1_Kubernetes_Node_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.securitycenter.v1.KubernetesProto.internal_static_google_cloud_securitycenter_v1_Kubernetes_Node_descriptor; } @java.lang.Override @@ -2375,8 +2168,7 @@ public com.google.cloud.securitycenter.v1.Kubernetes.Node build() { @java.lang.Override public com.google.cloud.securitycenter.v1.Kubernetes.Node buildPartial() { - com.google.cloud.securitycenter.v1.Kubernetes.Node result = - new com.google.cloud.securitycenter.v1.Kubernetes.Node(this); + com.google.cloud.securitycenter.v1.Kubernetes.Node result = new com.google.cloud.securitycenter.v1.Kubernetes.Node(this); result.name_ = name_; onBuilt(); return result; @@ -2386,41 +2178,38 @@ public com.google.cloud.securitycenter.v1.Kubernetes.Node buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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.securitycenter.v1.Kubernetes.Node) { - return mergeFrom((com.google.cloud.securitycenter.v1.Kubernetes.Node) other); + return mergeFrom((com.google.cloud.securitycenter.v1.Kubernetes.Node)other); } else { super.mergeFrom(other); return this; @@ -2428,8 +2217,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.securitycenter.v1.Kubernetes.Node other) { - if (other == com.google.cloud.securitycenter.v1.Kubernetes.Node.getDefaultInstance()) - return this; + if (other == com.google.cloud.securitycenter.v1.Kubernetes.Node.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -2460,19 +2248,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + + 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) { @@ -2485,21 +2271,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
        * Full Resource name of the Compute Engine VM running the
        * cluster node.
        * 
* * string name = 1; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -2508,22 +2292,21 @@ public java.lang.String getName() { } } /** - * - * *
        * Full Resource name of the Compute Engine VM running the
        * cluster node.
        * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -2531,69 +2314,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
        * Full Resource name of the Compute Engine VM running the
        * cluster node.
        * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
        * Full Resource name of the Compute Engine VM running the
        * cluster node.
        * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
        * Full Resource name of the Compute Engine VM running the
        * cluster node.
        * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2606,12 +2381,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.securitycenter.v1.Kubernetes.Node) } // @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1.Kubernetes.Node) private static final com.google.cloud.securitycenter.v1.Kubernetes.Node DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.securitycenter.v1.Kubernetes.Node(); } @@ -2620,28 +2395,27 @@ public static com.google.cloud.securitycenter.v1.Kubernetes.Node getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Node parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - 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 Node parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + 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; @@ -2656,51 +2430,43 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.securitycenter.v1.Kubernetes.Node getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface NodePoolOrBuilder - extends + public interface NodePoolOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.securitycenter.v1.Kubernetes.NodePool) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Kubernetes Node pool name.
      * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
      * Kubernetes Node pool name.
      * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
      * Nodes associated with the finding.
      * 
* * repeated .google.cloud.securitycenter.v1.Kubernetes.Node nodes = 2; */ - java.util.List getNodesList(); + java.util.List + getNodesList(); /** - * - * *
      * Nodes associated with the finding.
      * 
@@ -2709,8 +2475,6 @@ public interface NodePoolOrBuilder */ com.google.cloud.securitycenter.v1.Kubernetes.Node getNodes(int index); /** - * - * *
      * Nodes associated with the finding.
      * 
@@ -2719,46 +2483,40 @@ public interface NodePoolOrBuilder */ int getNodesCount(); /** - * - * *
      * Nodes associated with the finding.
      * 
* * repeated .google.cloud.securitycenter.v1.Kubernetes.Node nodes = 2; */ - java.util.List + java.util.List getNodesOrBuilderList(); /** - * - * *
      * Nodes associated with the finding.
      * 
* * repeated .google.cloud.securitycenter.v1.Kubernetes.Node nodes = 2; */ - com.google.cloud.securitycenter.v1.Kubernetes.NodeOrBuilder getNodesOrBuilder(int index); + com.google.cloud.securitycenter.v1.Kubernetes.NodeOrBuilder getNodesOrBuilder( + int index); } /** - * - * *
    * Provides GKE Node Pool information.
    * 
* * Protobuf type {@code google.cloud.securitycenter.v1.Kubernetes.NodePool} */ - public static final class NodePool extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class NodePool extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.securitycenter.v1.Kubernetes.NodePool) NodePoolOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use NodePool.newBuilder() to construct. private NodePool(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private NodePool() { name_ = ""; nodes_ = java.util.Collections.emptyList(); @@ -2766,41 +2524,37 @@ private NodePool() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new NodePool(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.securitycenter.v1.KubernetesProto - .internal_static_google_cloud_securitycenter_v1_Kubernetes_NodePool_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.securitycenter.v1.KubernetesProto.internal_static_google_cloud_securitycenter_v1_Kubernetes_NodePool_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.securitycenter.v1.KubernetesProto - .internal_static_google_cloud_securitycenter_v1_Kubernetes_NodePool_fieldAccessorTable + return com.google.cloud.securitycenter.v1.KubernetesProto.internal_static_google_cloud_securitycenter_v1_Kubernetes_NodePool_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.securitycenter.v1.Kubernetes.NodePool.class, - com.google.cloud.securitycenter.v1.Kubernetes.NodePool.Builder.class); + com.google.cloud.securitycenter.v1.Kubernetes.NodePool.class, com.google.cloud.securitycenter.v1.Kubernetes.NodePool.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
      * Kubernetes Node pool name.
      * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -2809,29 +2563,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
      * Kubernetes Node pool name.
      * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -2842,8 +2596,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int NODES_FIELD_NUMBER = 2; private java.util.List nodes_; /** - * - * *
      * Nodes associated with the finding.
      * 
@@ -2855,8 +2607,6 @@ public java.util.List getNod return nodes_; } /** - * - * *
      * Nodes associated with the finding.
      * 
@@ -2864,13 +2614,11 @@ public java.util.List getNod * repeated .google.cloud.securitycenter.v1.Kubernetes.Node nodes = 2; */ @java.lang.Override - public java.util.List + public java.util.List getNodesOrBuilderList() { return nodes_; } /** - * - * *
      * Nodes associated with the finding.
      * 
@@ -2882,8 +2630,6 @@ public int getNodesCount() { return nodes_.size(); } /** - * - * *
      * Nodes associated with the finding.
      * 
@@ -2895,8 +2641,6 @@ public com.google.cloud.securitycenter.v1.Kubernetes.Node getNodes(int index) { return nodes_.get(index); } /** - * - * *
      * Nodes associated with the finding.
      * 
@@ -2910,7 +2654,6 @@ public com.google.cloud.securitycenter.v1.Kubernetes.NodeOrBuilder getNodesOrBui } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2922,7 +2665,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -2942,7 +2686,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } for (int i = 0; i < nodes_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, nodes_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, nodes_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2952,16 +2697,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.securitycenter.v1.Kubernetes.NodePool)) { return super.equals(obj); } - com.google.cloud.securitycenter.v1.Kubernetes.NodePool other = - (com.google.cloud.securitycenter.v1.Kubernetes.NodePool) obj; + com.google.cloud.securitycenter.v1.Kubernetes.NodePool other = (com.google.cloud.securitycenter.v1.Kubernetes.NodePool) obj; - if (!getName().equals(other.getName())) return false; - if (!getNodesList().equals(other.getNodesList())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getNodesList() + .equals(other.getNodesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -2985,94 +2731,87 @@ public int hashCode() { } public static com.google.cloud.securitycenter.v1.Kubernetes.NodePool parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.Kubernetes.NodePool parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.Kubernetes.NodePool parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.Kubernetes.NodePool parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.Kubernetes.NodePool parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.Kubernetes.NodePool parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.securitycenter.v1.Kubernetes.NodePool parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.securitycenter.v1.Kubernetes.NodePool parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.Kubernetes.NodePool parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.securitycenter.v1.Kubernetes.NodePool parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.securitycenter.v1.Kubernetes.NodePool parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.Kubernetes.NodePool parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.Kubernetes.NodePool parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.Kubernetes.NodePool parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.securitycenter.v1.Kubernetes.NodePool prototype) { + public static Builder newBuilder(com.google.cloud.securitycenter.v1.Kubernetes.NodePool prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -3082,41 +2821,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Provides GKE Node Pool information.
      * 
* * Protobuf type {@code google.cloud.securitycenter.v1.Kubernetes.NodePool} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.securitycenter.v1.Kubernetes.NodePool) com.google.cloud.securitycenter.v1.Kubernetes.NodePoolOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.securitycenter.v1.KubernetesProto - .internal_static_google_cloud_securitycenter_v1_Kubernetes_NodePool_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.securitycenter.v1.KubernetesProto.internal_static_google_cloud_securitycenter_v1_Kubernetes_NodePool_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.securitycenter.v1.KubernetesProto - .internal_static_google_cloud_securitycenter_v1_Kubernetes_NodePool_fieldAccessorTable + return com.google.cloud.securitycenter.v1.KubernetesProto.internal_static_google_cloud_securitycenter_v1_Kubernetes_NodePool_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.securitycenter.v1.Kubernetes.NodePool.class, - com.google.cloud.securitycenter.v1.Kubernetes.NodePool.Builder.class); + com.google.cloud.securitycenter.v1.Kubernetes.NodePool.class, com.google.cloud.securitycenter.v1.Kubernetes.NodePool.Builder.class); } // Construct using com.google.cloud.securitycenter.v1.Kubernetes.NodePool.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(); @@ -3133,9 +2870,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.securitycenter.v1.KubernetesProto - .internal_static_google_cloud_securitycenter_v1_Kubernetes_NodePool_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.securitycenter.v1.KubernetesProto.internal_static_google_cloud_securitycenter_v1_Kubernetes_NodePool_descriptor; } @java.lang.Override @@ -3154,8 +2891,7 @@ public com.google.cloud.securitycenter.v1.Kubernetes.NodePool build() { @java.lang.Override public com.google.cloud.securitycenter.v1.Kubernetes.NodePool buildPartial() { - com.google.cloud.securitycenter.v1.Kubernetes.NodePool result = - new com.google.cloud.securitycenter.v1.Kubernetes.NodePool(this); + com.google.cloud.securitycenter.v1.Kubernetes.NodePool result = new com.google.cloud.securitycenter.v1.Kubernetes.NodePool(this); int from_bitField0_ = bitField0_; result.name_ = name_; if (nodesBuilder_ == null) { @@ -3175,41 +2911,38 @@ public com.google.cloud.securitycenter.v1.Kubernetes.NodePool buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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.securitycenter.v1.Kubernetes.NodePool) { - return mergeFrom((com.google.cloud.securitycenter.v1.Kubernetes.NodePool) other); + return mergeFrom((com.google.cloud.securitycenter.v1.Kubernetes.NodePool)other); } else { super.mergeFrom(other); return this; @@ -3217,8 +2950,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.securitycenter.v1.Kubernetes.NodePool other) { - if (other == com.google.cloud.securitycenter.v1.Kubernetes.NodePool.getDefaultInstance()) - return this; + if (other == com.google.cloud.securitycenter.v1.Kubernetes.NodePool.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -3241,10 +2973,9 @@ public Builder mergeFrom(com.google.cloud.securitycenter.v1.Kubernetes.NodePool nodesBuilder_ = null; nodes_ = other.nodes_; bitField0_ = (bitField0_ & ~0x00000001); - nodesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getNodesFieldBuilder() - : null; + nodesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getNodesFieldBuilder() : null; } else { nodesBuilder_.addAllMessages(other.nodes_); } @@ -3276,61 +3007,55 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - com.google.cloud.securitycenter.v1.Kubernetes.Node m = - input.readMessage( - com.google.cloud.securitycenter.v1.Kubernetes.Node.parser(), - extensionRegistry); - if (nodesBuilder_ == null) { - ensureNodesIsMutable(); - nodes_.add(m); - } else { - nodesBuilder_.addMessage(m); - } - 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) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; + case 10: { + name_ = input.readStringRequireUtf8(); - private java.lang.Object name_ = ""; - /** - * - * - *
-       * Kubernetes Node pool name.
-       * 
- * - * string name = 1; + break; + } // case 10 + case 18: { + com.google.cloud.securitycenter.v1.Kubernetes.Node m = + input.readMessage( + com.google.cloud.securitycenter.v1.Kubernetes.Node.parser(), + extensionRegistry); + if (nodesBuilder_ == null) { + ensureNodesIsMutable(); + nodes_.add(m); + } else { + nodesBuilder_.addMessage(m); + } + 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) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object name_ = ""; + /** + *
+       * Kubernetes Node pool name.
+       * 
* + * string name = 1; * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -3339,21 +3064,20 @@ public java.lang.String getName() { } } /** - * - * *
        * Kubernetes Node pool name.
        * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -3361,86 +3085,72 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
        * Kubernetes Node pool name.
        * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
        * Kubernetes Node pool name.
        * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
        * Kubernetes Node pool name.
        * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } private java.util.List nodes_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureNodesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - nodes_ = - new java.util.ArrayList(nodes_); + nodes_ = new java.util.ArrayList(nodes_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.securitycenter.v1.Kubernetes.Node, - com.google.cloud.securitycenter.v1.Kubernetes.Node.Builder, - com.google.cloud.securitycenter.v1.Kubernetes.NodeOrBuilder> - nodesBuilder_; + com.google.cloud.securitycenter.v1.Kubernetes.Node, com.google.cloud.securitycenter.v1.Kubernetes.Node.Builder, com.google.cloud.securitycenter.v1.Kubernetes.NodeOrBuilder> nodesBuilder_; /** - * - * *
        * Nodes associated with the finding.
        * 
@@ -3455,8 +3165,6 @@ public java.util.List getNod } } /** - * - * *
        * Nodes associated with the finding.
        * 
@@ -3471,8 +3179,6 @@ public int getNodesCount() { } } /** - * - * *
        * Nodes associated with the finding.
        * 
@@ -3487,15 +3193,14 @@ public com.google.cloud.securitycenter.v1.Kubernetes.Node getNodes(int index) { } } /** - * - * *
        * Nodes associated with the finding.
        * 
* * repeated .google.cloud.securitycenter.v1.Kubernetes.Node nodes = 2; */ - public Builder setNodes(int index, com.google.cloud.securitycenter.v1.Kubernetes.Node value) { + public Builder setNodes( + int index, com.google.cloud.securitycenter.v1.Kubernetes.Node value) { if (nodesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3509,8 +3214,6 @@ public Builder setNodes(int index, com.google.cloud.securitycenter.v1.Kubernetes return this; } /** - * - * *
        * Nodes associated with the finding.
        * 
@@ -3529,8 +3232,6 @@ public Builder setNodes( return this; } /** - * - * *
        * Nodes associated with the finding.
        * 
@@ -3551,15 +3252,14 @@ public Builder addNodes(com.google.cloud.securitycenter.v1.Kubernetes.Node value return this; } /** - * - * *
        * Nodes associated with the finding.
        * 
* * repeated .google.cloud.securitycenter.v1.Kubernetes.Node nodes = 2; */ - public Builder addNodes(int index, com.google.cloud.securitycenter.v1.Kubernetes.Node value) { + public Builder addNodes( + int index, com.google.cloud.securitycenter.v1.Kubernetes.Node value) { if (nodesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3573,8 +3273,6 @@ public Builder addNodes(int index, com.google.cloud.securitycenter.v1.Kubernetes return this; } /** - * - * *
        * Nodes associated with the finding.
        * 
@@ -3593,8 +3291,6 @@ public Builder addNodes( return this; } /** - * - * *
        * Nodes associated with the finding.
        * 
@@ -3613,8 +3309,6 @@ public Builder addNodes( return this; } /** - * - * *
        * Nodes associated with the finding.
        * 
@@ -3625,7 +3319,8 @@ public Builder addAllNodes( java.lang.Iterable values) { if (nodesBuilder_ == null) { ensureNodesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, nodes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, nodes_); onChanged(); } else { nodesBuilder_.addAllMessages(values); @@ -3633,8 +3328,6 @@ public Builder addAllNodes( return this; } /** - * - * *
        * Nodes associated with the finding.
        * 
@@ -3652,8 +3345,6 @@ public Builder clearNodes() { return this; } /** - * - * *
        * Nodes associated with the finding.
        * 
@@ -3671,20 +3362,17 @@ public Builder removeNodes(int index) { return this; } /** - * - * *
        * Nodes associated with the finding.
        * 
* * repeated .google.cloud.securitycenter.v1.Kubernetes.Node nodes = 2; */ - public com.google.cloud.securitycenter.v1.Kubernetes.Node.Builder getNodesBuilder(int index) { + public com.google.cloud.securitycenter.v1.Kubernetes.Node.Builder getNodesBuilder( + int index) { return getNodesFieldBuilder().getBuilder(index); } /** - * - * *
        * Nodes associated with the finding.
        * 
@@ -3694,22 +3382,19 @@ public com.google.cloud.securitycenter.v1.Kubernetes.Node.Builder getNodesBuilde public com.google.cloud.securitycenter.v1.Kubernetes.NodeOrBuilder getNodesOrBuilder( int index) { if (nodesBuilder_ == null) { - return nodes_.get(index); - } else { + return nodes_.get(index); } else { return nodesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
        * Nodes associated with the finding.
        * 
* * repeated .google.cloud.securitycenter.v1.Kubernetes.Node nodes = 2; */ - public java.util.List - getNodesOrBuilderList() { + public java.util.List + getNodesOrBuilderList() { if (nodesBuilder_ != null) { return nodesBuilder_.getMessageOrBuilderList(); } else { @@ -3717,8 +3402,6 @@ public com.google.cloud.securitycenter.v1.Kubernetes.NodeOrBuilder getNodesOrBui } } /** - * - * *
        * Nodes associated with the finding.
        * 
@@ -3726,54 +3409,46 @@ public com.google.cloud.securitycenter.v1.Kubernetes.NodeOrBuilder getNodesOrBui * repeated .google.cloud.securitycenter.v1.Kubernetes.Node nodes = 2; */ public com.google.cloud.securitycenter.v1.Kubernetes.Node.Builder addNodesBuilder() { - return getNodesFieldBuilder() - .addBuilder(com.google.cloud.securitycenter.v1.Kubernetes.Node.getDefaultInstance()); + return getNodesFieldBuilder().addBuilder( + com.google.cloud.securitycenter.v1.Kubernetes.Node.getDefaultInstance()); } /** - * - * *
        * Nodes associated with the finding.
        * 
* * repeated .google.cloud.securitycenter.v1.Kubernetes.Node nodes = 2; */ - public com.google.cloud.securitycenter.v1.Kubernetes.Node.Builder addNodesBuilder(int index) { - return getNodesFieldBuilder() - .addBuilder( - index, com.google.cloud.securitycenter.v1.Kubernetes.Node.getDefaultInstance()); + public com.google.cloud.securitycenter.v1.Kubernetes.Node.Builder addNodesBuilder( + int index) { + return getNodesFieldBuilder().addBuilder( + index, com.google.cloud.securitycenter.v1.Kubernetes.Node.getDefaultInstance()); } /** - * - * *
        * Nodes associated with the finding.
        * 
* * repeated .google.cloud.securitycenter.v1.Kubernetes.Node nodes = 2; */ - public java.util.List - getNodesBuilderList() { + public java.util.List + getNodesBuilderList() { return getNodesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.securitycenter.v1.Kubernetes.Node, - com.google.cloud.securitycenter.v1.Kubernetes.Node.Builder, - com.google.cloud.securitycenter.v1.Kubernetes.NodeOrBuilder> + com.google.cloud.securitycenter.v1.Kubernetes.Node, com.google.cloud.securitycenter.v1.Kubernetes.Node.Builder, com.google.cloud.securitycenter.v1.Kubernetes.NodeOrBuilder> getNodesFieldBuilder() { if (nodesBuilder_ == null) { - nodesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.securitycenter.v1.Kubernetes.Node, - com.google.cloud.securitycenter.v1.Kubernetes.Node.Builder, - com.google.cloud.securitycenter.v1.Kubernetes.NodeOrBuilder>( - nodes_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + nodesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.securitycenter.v1.Kubernetes.Node, com.google.cloud.securitycenter.v1.Kubernetes.Node.Builder, com.google.cloud.securitycenter.v1.Kubernetes.NodeOrBuilder>( + nodes_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); nodes_ = null; } return nodesBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3786,12 +3461,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.securitycenter.v1.Kubernetes.NodePool) } // @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1.Kubernetes.NodePool) private static final com.google.cloud.securitycenter.v1.Kubernetes.NodePool DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.securitycenter.v1.Kubernetes.NodePool(); } @@ -3800,28 +3475,27 @@ public static com.google.cloud.securitycenter.v1.Kubernetes.NodePool getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NodePool parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - 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 NodePool parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + 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; @@ -3836,107 +3510,88 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.securitycenter.v1.Kubernetes.NodePool getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface RoleOrBuilder - extends + public interface RoleOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.securitycenter.v1.Kubernetes.Role) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Role type.
      * 
* * .google.cloud.securitycenter.v1.Kubernetes.Role.Kind kind = 1; - * * @return The enum numeric value on the wire for kind. */ int getKindValue(); /** - * - * *
      * Role type.
      * 
* * .google.cloud.securitycenter.v1.Kubernetes.Role.Kind kind = 1; - * * @return The kind. */ com.google.cloud.securitycenter.v1.Kubernetes.Role.Kind getKind(); /** - * - * *
      * Role namespace.
      * 
* * string ns = 2; - * * @return The ns. */ java.lang.String getNs(); /** - * - * *
      * Role namespace.
      * 
* * string ns = 2; - * * @return The bytes for ns. */ - com.google.protobuf.ByteString getNsBytes(); + com.google.protobuf.ByteString + getNsBytes(); /** - * - * *
      * Role name.
      * 
* * string name = 3; - * * @return The name. */ java.lang.String getName(); /** - * - * *
      * Role name.
      * 
* * string name = 3; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } /** - * - * *
    * Kubernetes Role or ClusterRole.
    * 
* * Protobuf type {@code google.cloud.securitycenter.v1.Kubernetes.Role} */ - public static final class Role extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Role extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.securitycenter.v1.Kubernetes.Role) RoleOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Role.newBuilder() to construct. private Role(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Role() { kind_ = 0; ns_ = ""; @@ -3945,43 +3600,39 @@ private Role() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Role(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.securitycenter.v1.KubernetesProto - .internal_static_google_cloud_securitycenter_v1_Kubernetes_Role_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.securitycenter.v1.KubernetesProto.internal_static_google_cloud_securitycenter_v1_Kubernetes_Role_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.securitycenter.v1.KubernetesProto - .internal_static_google_cloud_securitycenter_v1_Kubernetes_Role_fieldAccessorTable + return com.google.cloud.securitycenter.v1.KubernetesProto.internal_static_google_cloud_securitycenter_v1_Kubernetes_Role_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.securitycenter.v1.Kubernetes.Role.class, - com.google.cloud.securitycenter.v1.Kubernetes.Role.Builder.class); + com.google.cloud.securitycenter.v1.Kubernetes.Role.class, com.google.cloud.securitycenter.v1.Kubernetes.Role.Builder.class); } /** - * - * *
      * Types of Kubernetes roles.
      * 
* * Protobuf enum {@code google.cloud.securitycenter.v1.Kubernetes.Role.Kind} */ - public enum Kind implements com.google.protobuf.ProtocolMessageEnum { + public enum Kind + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * Role type is not specified.
        * 
@@ -3990,8 +3641,6 @@ public enum Kind implements com.google.protobuf.ProtocolMessageEnum { */ KIND_UNSPECIFIED(0), /** - * - * *
        * Kubernetes Role.
        * 
@@ -4000,8 +3649,6 @@ public enum Kind implements com.google.protobuf.ProtocolMessageEnum { */ ROLE(1), /** - * - * *
        * Kubernetes ClusterRole.
        * 
@@ -4013,8 +3660,6 @@ public enum Kind implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
        * Role type is not specified.
        * 
@@ -4023,8 +3668,6 @@ public enum Kind implements com.google.protobuf.ProtocolMessageEnum { */ public static final int KIND_UNSPECIFIED_VALUE = 0; /** - * - * *
        * Kubernetes Role.
        * 
@@ -4033,8 +3676,6 @@ public enum Kind implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ROLE_VALUE = 1; /** - * - * *
        * Kubernetes ClusterRole.
        * 
@@ -4043,6 +3684,7 @@ public enum Kind implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CLUSTER_ROLE_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -4067,51 +3709,49 @@ public static Kind valueOf(int value) { */ public static Kind forNumber(int value) { switch (value) { - case 0: - return KIND_UNSPECIFIED; - case 1: - return ROLE; - case 2: - return CLUSTER_ROLE; - default: - return null; + case 0: return KIND_UNSPECIFIED; + case 1: return ROLE; + case 2: return CLUSTER_ROLE; + 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< + Kind> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Kind findValueByNumber(int number) { + return Kind.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Kind findValueByNumber(int number) { - return Kind.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.securitycenter.v1.Kubernetes.Role.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.securitycenter.v1.Kubernetes.Role.getDescriptor().getEnumTypes().get(0); } private static final Kind[] VALUES = values(); - public static Kind valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Kind 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; @@ -4131,52 +3771,38 @@ private Kind(int value) { public static final int KIND_FIELD_NUMBER = 1; private int kind_; /** - * - * *
      * Role type.
      * 
* * .google.cloud.securitycenter.v1.Kubernetes.Role.Kind kind = 1; - * * @return The enum numeric value on the wire for kind. */ - @java.lang.Override - public int getKindValue() { + @java.lang.Override public int getKindValue() { return kind_; } /** - * - * *
      * Role type.
      * 
* * .google.cloud.securitycenter.v1.Kubernetes.Role.Kind kind = 1; - * * @return The kind. */ - @java.lang.Override - public com.google.cloud.securitycenter.v1.Kubernetes.Role.Kind getKind() { + @java.lang.Override public com.google.cloud.securitycenter.v1.Kubernetes.Role.Kind getKind() { @SuppressWarnings("deprecation") - com.google.cloud.securitycenter.v1.Kubernetes.Role.Kind result = - com.google.cloud.securitycenter.v1.Kubernetes.Role.Kind.valueOf(kind_); - return result == null - ? com.google.cloud.securitycenter.v1.Kubernetes.Role.Kind.UNRECOGNIZED - : result; + com.google.cloud.securitycenter.v1.Kubernetes.Role.Kind result = com.google.cloud.securitycenter.v1.Kubernetes.Role.Kind.valueOf(kind_); + return result == null ? com.google.cloud.securitycenter.v1.Kubernetes.Role.Kind.UNRECOGNIZED : result; } public static final int NS_FIELD_NUMBER = 2; private volatile java.lang.Object ns_; /** - * - * *
      * Role namespace.
      * 
* * string ns = 2; - * * @return The ns. */ @java.lang.Override @@ -4185,29 +3811,29 @@ public java.lang.String getNs() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ns_ = s; return s; } } /** - * - * *
      * Role namespace.
      * 
* * string ns = 2; - * * @return The bytes for ns. */ @java.lang.Override - public com.google.protobuf.ByteString getNsBytes() { + public com.google.protobuf.ByteString + getNsBytes() { java.lang.Object ref = ns_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); ns_ = b; return b; } else { @@ -4218,14 +3844,11 @@ public com.google.protobuf.ByteString getNsBytes() { public static final int NAME_FIELD_NUMBER = 3; private volatile java.lang.Object name_; /** - * - * *
      * Role name.
      * 
* * string name = 3; - * * @return The name. */ @java.lang.Override @@ -4234,29 +3857,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
      * Role name.
      * 
* * string name = 3; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -4265,7 +3888,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -4277,9 +3899,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (kind_ - != com.google.cloud.securitycenter.v1.Kubernetes.Role.Kind.KIND_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (kind_ != com.google.cloud.securitycenter.v1.Kubernetes.Role.Kind.KIND_UNSPECIFIED.getNumber()) { output.writeEnum(1, kind_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ns_)) { @@ -4297,9 +3919,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (kind_ - != com.google.cloud.securitycenter.v1.Kubernetes.Role.Kind.KIND_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, kind_); + if (kind_ != com.google.cloud.securitycenter.v1.Kubernetes.Role.Kind.KIND_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, kind_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ns_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, ns_); @@ -4315,17 +3937,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.securitycenter.v1.Kubernetes.Role)) { return super.equals(obj); } - com.google.cloud.securitycenter.v1.Kubernetes.Role other = - (com.google.cloud.securitycenter.v1.Kubernetes.Role) obj; + com.google.cloud.securitycenter.v1.Kubernetes.Role other = (com.google.cloud.securitycenter.v1.Kubernetes.Role) obj; if (kind_ != other.kind_) return false; - if (!getNs().equals(other.getNs())) return false; - if (!getName().equals(other.getName())) return false; + if (!getNs() + .equals(other.getNs())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -4349,93 +3972,87 @@ public int hashCode() { } public static com.google.cloud.securitycenter.v1.Kubernetes.Role parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.Kubernetes.Role parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.Kubernetes.Role parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.Kubernetes.Role parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.Kubernetes.Role parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.Kubernetes.Role parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.securitycenter.v1.Kubernetes.Role parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.securitycenter.v1.Kubernetes.Role parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.Kubernetes.Role parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.securitycenter.v1.Kubernetes.Role parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.securitycenter.v1.Kubernetes.Role parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.Kubernetes.Role parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.Kubernetes.Role parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.Kubernetes.Role parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.securitycenter.v1.Kubernetes.Role prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -4445,41 +4062,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Kubernetes Role or ClusterRole.
      * 
* * Protobuf type {@code google.cloud.securitycenter.v1.Kubernetes.Role} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.securitycenter.v1.Kubernetes.Role) com.google.cloud.securitycenter.v1.Kubernetes.RoleOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.securitycenter.v1.KubernetesProto - .internal_static_google_cloud_securitycenter_v1_Kubernetes_Role_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.securitycenter.v1.KubernetesProto.internal_static_google_cloud_securitycenter_v1_Kubernetes_Role_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.securitycenter.v1.KubernetesProto - .internal_static_google_cloud_securitycenter_v1_Kubernetes_Role_fieldAccessorTable + return com.google.cloud.securitycenter.v1.KubernetesProto.internal_static_google_cloud_securitycenter_v1_Kubernetes_Role_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.securitycenter.v1.Kubernetes.Role.class, - com.google.cloud.securitycenter.v1.Kubernetes.Role.Builder.class); + com.google.cloud.securitycenter.v1.Kubernetes.Role.class, com.google.cloud.securitycenter.v1.Kubernetes.Role.Builder.class); } // Construct using com.google.cloud.securitycenter.v1.Kubernetes.Role.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(); @@ -4493,9 +4108,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.securitycenter.v1.KubernetesProto - .internal_static_google_cloud_securitycenter_v1_Kubernetes_Role_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.securitycenter.v1.KubernetesProto.internal_static_google_cloud_securitycenter_v1_Kubernetes_Role_descriptor; } @java.lang.Override @@ -4514,8 +4129,7 @@ public com.google.cloud.securitycenter.v1.Kubernetes.Role build() { @java.lang.Override public com.google.cloud.securitycenter.v1.Kubernetes.Role buildPartial() { - com.google.cloud.securitycenter.v1.Kubernetes.Role result = - new com.google.cloud.securitycenter.v1.Kubernetes.Role(this); + com.google.cloud.securitycenter.v1.Kubernetes.Role result = new com.google.cloud.securitycenter.v1.Kubernetes.Role(this); result.kind_ = kind_; result.ns_ = ns_; result.name_ = name_; @@ -4527,41 +4141,38 @@ public com.google.cloud.securitycenter.v1.Kubernetes.Role buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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.securitycenter.v1.Kubernetes.Role) { - return mergeFrom((com.google.cloud.securitycenter.v1.Kubernetes.Role) other); + return mergeFrom((com.google.cloud.securitycenter.v1.Kubernetes.Role)other); } else { super.mergeFrom(other); return this; @@ -4569,8 +4180,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.securitycenter.v1.Kubernetes.Role other) { - if (other == com.google.cloud.securitycenter.v1.Kubernetes.Role.getDefaultInstance()) - return this; + if (other == com.google.cloud.securitycenter.v1.Kubernetes.Role.getDefaultInstance()) return this; if (other.kind_ != 0) { setKindValue(other.getKindValue()); } @@ -4608,31 +4218,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - kind_ = input.readEnum(); - - break; - } // case 8 - case 18: - { - ns_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 26: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + kind_ = input.readEnum(); + + break; + } // case 8 + case 18: { + ns_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 26: { + name_ = input.readStringRequireUtf8(); + + 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) { @@ -4645,67 +4251,51 @@ public Builder mergeFrom( private int kind_ = 0; /** - * - * *
        * Role type.
        * 
* * .google.cloud.securitycenter.v1.Kubernetes.Role.Kind kind = 1; - * * @return The enum numeric value on the wire for kind. */ - @java.lang.Override - public int getKindValue() { + @java.lang.Override public int getKindValue() { return kind_; } /** - * - * *
        * Role type.
        * 
* * .google.cloud.securitycenter.v1.Kubernetes.Role.Kind kind = 1; - * * @param value The enum numeric value on the wire for kind to set. * @return This builder for chaining. */ public Builder setKindValue(int value) { - + kind_ = value; onChanged(); return this; } /** - * - * *
        * Role type.
        * 
* * .google.cloud.securitycenter.v1.Kubernetes.Role.Kind kind = 1; - * * @return The kind. */ @java.lang.Override public com.google.cloud.securitycenter.v1.Kubernetes.Role.Kind getKind() { @SuppressWarnings("deprecation") - com.google.cloud.securitycenter.v1.Kubernetes.Role.Kind result = - com.google.cloud.securitycenter.v1.Kubernetes.Role.Kind.valueOf(kind_); - return result == null - ? com.google.cloud.securitycenter.v1.Kubernetes.Role.Kind.UNRECOGNIZED - : result; + com.google.cloud.securitycenter.v1.Kubernetes.Role.Kind result = com.google.cloud.securitycenter.v1.Kubernetes.Role.Kind.valueOf(kind_); + return result == null ? com.google.cloud.securitycenter.v1.Kubernetes.Role.Kind.UNRECOGNIZED : result; } /** - * - * *
        * Role type.
        * 
* * .google.cloud.securitycenter.v1.Kubernetes.Role.Kind kind = 1; - * * @param value The kind to set. * @return This builder for chaining. */ @@ -4713,24 +4303,21 @@ public Builder setKind(com.google.cloud.securitycenter.v1.Kubernetes.Role.Kind v if (value == null) { throw new NullPointerException(); } - + kind_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * Role type.
        * 
* * .google.cloud.securitycenter.v1.Kubernetes.Role.Kind kind = 1; - * * @return This builder for chaining. */ public Builder clearKind() { - + kind_ = 0; onChanged(); return this; @@ -4738,20 +4325,18 @@ public Builder clearKind() { private java.lang.Object ns_ = ""; /** - * - * *
        * Role namespace.
        * 
* * string ns = 2; - * * @return The ns. */ public java.lang.String getNs() { java.lang.Object ref = ns_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ns_ = s; return s; @@ -4760,21 +4345,20 @@ public java.lang.String getNs() { } } /** - * - * *
        * Role namespace.
        * 
* * string ns = 2; - * * @return The bytes for ns. */ - public com.google.protobuf.ByteString getNsBytes() { + public com.google.protobuf.ByteString + getNsBytes() { java.lang.Object ref = ns_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); ns_ = b; return b; } else { @@ -4782,61 +4366,54 @@ public com.google.protobuf.ByteString getNsBytes() { } } /** - * - * *
        * Role namespace.
        * 
* * string ns = 2; - * * @param value The ns to set. * @return This builder for chaining. */ - public Builder setNs(java.lang.String value) { + public Builder setNs( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + ns_ = value; onChanged(); return this; } /** - * - * *
        * Role namespace.
        * 
* * string ns = 2; - * * @return This builder for chaining. */ public Builder clearNs() { - + ns_ = getDefaultInstance().getNs(); onChanged(); return this; } /** - * - * *
        * Role namespace.
        * 
* * string ns = 2; - * * @param value The bytes for ns to set. * @return This builder for chaining. */ - public Builder setNsBytes(com.google.protobuf.ByteString value) { + public Builder setNsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ns_ = value; onChanged(); return this; @@ -4844,20 +4421,18 @@ public Builder setNsBytes(com.google.protobuf.ByteString value) { private java.lang.Object name_ = ""; /** - * - * *
        * Role name.
        * 
* * string name = 3; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -4866,21 +4441,20 @@ public java.lang.String getName() { } } /** - * - * *
        * Role name.
        * 
* * string name = 3; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -4888,66 +4462,58 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
        * Role name.
        * 
* * string name = 3; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
        * Role name.
        * 
* * string name = 3; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
        * Role name.
        * 
* * string name = 3; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -4960,12 +4526,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.securitycenter.v1.Kubernetes.Role) } // @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1.Kubernetes.Role) private static final com.google.cloud.securitycenter.v1.Kubernetes.Role DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.securitycenter.v1.Kubernetes.Role(); } @@ -4974,28 +4540,27 @@ public static com.google.cloud.securitycenter.v1.Kubernetes.Role getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Role parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - 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 Role parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + 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; @@ -5010,90 +4575,72 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.securitycenter.v1.Kubernetes.Role getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface BindingOrBuilder - extends + public interface BindingOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.securitycenter.v1.Kubernetes.Binding) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Namespace for binding.
      * 
* * string ns = 1; - * * @return The ns. */ java.lang.String getNs(); /** - * - * *
      * Namespace for binding.
      * 
* * string ns = 1; - * * @return The bytes for ns. */ - com.google.protobuf.ByteString getNsBytes(); + com.google.protobuf.ByteString + getNsBytes(); /** - * - * *
      * Name for binding.
      * 
* * string name = 2; - * * @return The name. */ java.lang.String getName(); /** - * - * *
      * Name for binding.
      * 
* * string name = 2; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
      * The Role or ClusterRole referenced by the binding.
      * 
* * .google.cloud.securitycenter.v1.Kubernetes.Role role = 3; - * * @return Whether the role field is set. */ boolean hasRole(); /** - * - * *
      * The Role or ClusterRole referenced by the binding.
      * 
* * .google.cloud.securitycenter.v1.Kubernetes.Role role = 3; - * * @return The role. */ com.google.cloud.securitycenter.v1.Kubernetes.Role getRole(); /** - * - * *
      * The Role or ClusterRole referenced by the binding.
      * 
@@ -5103,8 +4650,6 @@ public interface BindingOrBuilder com.google.cloud.securitycenter.v1.Kubernetes.RoleOrBuilder getRoleOrBuilder(); /** - * - * *
      * Represents the subjects(s) bound to the role. Not always available
      * for PATCH requests.
@@ -5112,10 +4657,9 @@ public interface BindingOrBuilder
      *
      * repeated .google.cloud.securitycenter.v1.Kubernetes.Subject subjects = 4;
      */
-    java.util.List getSubjectsList();
+    java.util.List 
+        getSubjectsList();
     /**
-     *
-     *
      * 
      * Represents the subjects(s) bound to the role. Not always available
      * for PATCH requests.
@@ -5125,8 +4669,6 @@ public interface BindingOrBuilder
      */
     com.google.cloud.securitycenter.v1.Kubernetes.Subject getSubjects(int index);
     /**
-     *
-     *
      * 
      * Represents the subjects(s) bound to the role. Not always available
      * for PATCH requests.
@@ -5136,8 +4678,6 @@ public interface BindingOrBuilder
      */
     int getSubjectsCount();
     /**
-     *
-     *
      * 
      * Represents the subjects(s) bound to the role. Not always available
      * for PATCH requests.
@@ -5145,11 +4685,9 @@ public interface BindingOrBuilder
      *
      * repeated .google.cloud.securitycenter.v1.Kubernetes.Subject subjects = 4;
      */
-    java.util.List
+    java.util.List 
         getSubjectsOrBuilderList();
     /**
-     *
-     *
      * 
      * Represents the subjects(s) bound to the role. Not always available
      * for PATCH requests.
@@ -5157,27 +4695,25 @@ public interface BindingOrBuilder
      *
      * repeated .google.cloud.securitycenter.v1.Kubernetes.Subject subjects = 4;
      */
-    com.google.cloud.securitycenter.v1.Kubernetes.SubjectOrBuilder getSubjectsOrBuilder(int index);
+    com.google.cloud.securitycenter.v1.Kubernetes.SubjectOrBuilder getSubjectsOrBuilder(
+        int index);
   }
   /**
-   *
-   *
    * 
    * Represents a Kubernetes RoleBinding or ClusterRoleBinding.
    * 
* * Protobuf type {@code google.cloud.securitycenter.v1.Kubernetes.Binding} */ - public static final class Binding extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Binding extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.securitycenter.v1.Kubernetes.Binding) BindingOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Binding.newBuilder() to construct. private Binding(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Binding() { ns_ = ""; name_ = ""; @@ -5186,41 +4722,37 @@ private Binding() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Binding(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.securitycenter.v1.KubernetesProto - .internal_static_google_cloud_securitycenter_v1_Kubernetes_Binding_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.securitycenter.v1.KubernetesProto.internal_static_google_cloud_securitycenter_v1_Kubernetes_Binding_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.securitycenter.v1.KubernetesProto - .internal_static_google_cloud_securitycenter_v1_Kubernetes_Binding_fieldAccessorTable + return com.google.cloud.securitycenter.v1.KubernetesProto.internal_static_google_cloud_securitycenter_v1_Kubernetes_Binding_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.securitycenter.v1.Kubernetes.Binding.class, - com.google.cloud.securitycenter.v1.Kubernetes.Binding.Builder.class); + com.google.cloud.securitycenter.v1.Kubernetes.Binding.class, com.google.cloud.securitycenter.v1.Kubernetes.Binding.Builder.class); } public static final int NS_FIELD_NUMBER = 1; private volatile java.lang.Object ns_; /** - * - * *
      * Namespace for binding.
      * 
* * string ns = 1; - * * @return The ns. */ @java.lang.Override @@ -5229,29 +4761,29 @@ public java.lang.String getNs() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ns_ = s; return s; } } /** - * - * *
      * Namespace for binding.
      * 
* * string ns = 1; - * * @return The bytes for ns. */ @java.lang.Override - public com.google.protobuf.ByteString getNsBytes() { + public com.google.protobuf.ByteString + getNsBytes() { java.lang.Object ref = ns_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); ns_ = b; return b; } else { @@ -5262,14 +4794,11 @@ public com.google.protobuf.ByteString getNsBytes() { public static final int NAME_FIELD_NUMBER = 2; private volatile java.lang.Object name_; /** - * - * *
      * Name for binding.
      * 
* * string name = 2; - * * @return The name. */ @java.lang.Override @@ -5278,29 +4807,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
      * Name for binding.
      * 
* * string name = 2; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -5311,14 +4840,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int ROLE_FIELD_NUMBER = 3; private com.google.cloud.securitycenter.v1.Kubernetes.Role role_; /** - * - * *
      * The Role or ClusterRole referenced by the binding.
      * 
* * .google.cloud.securitycenter.v1.Kubernetes.Role role = 3; - * * @return Whether the role field is set. */ @java.lang.Override @@ -5326,25 +4852,18 @@ public boolean hasRole() { return role_ != null; } /** - * - * *
      * The Role or ClusterRole referenced by the binding.
      * 
* * .google.cloud.securitycenter.v1.Kubernetes.Role role = 3; - * * @return The role. */ @java.lang.Override public com.google.cloud.securitycenter.v1.Kubernetes.Role getRole() { - return role_ == null - ? com.google.cloud.securitycenter.v1.Kubernetes.Role.getDefaultInstance() - : role_; + return role_ == null ? com.google.cloud.securitycenter.v1.Kubernetes.Role.getDefaultInstance() : role_; } /** - * - * *
      * The Role or ClusterRole referenced by the binding.
      * 
@@ -5359,8 +4878,6 @@ public com.google.cloud.securitycenter.v1.Kubernetes.RoleOrBuilder getRoleOrBuil public static final int SUBJECTS_FIELD_NUMBER = 4; private java.util.List subjects_; /** - * - * *
      * Represents the subjects(s) bound to the role. Not always available
      * for PATCH requests.
@@ -5373,8 +4890,6 @@ public java.util.List get
       return subjects_;
     }
     /**
-     *
-     *
      * 
      * Represents the subjects(s) bound to the role. Not always available
      * for PATCH requests.
@@ -5383,13 +4898,11 @@ public java.util.List get
      * repeated .google.cloud.securitycenter.v1.Kubernetes.Subject subjects = 4;
      */
     @java.lang.Override
-    public java.util.List
+    public java.util.List 
         getSubjectsOrBuilderList() {
       return subjects_;
     }
     /**
-     *
-     *
      * 
      * Represents the subjects(s) bound to the role. Not always available
      * for PATCH requests.
@@ -5402,8 +4915,6 @@ public int getSubjectsCount() {
       return subjects_.size();
     }
     /**
-     *
-     *
      * 
      * Represents the subjects(s) bound to the role. Not always available
      * for PATCH requests.
@@ -5416,8 +4927,6 @@ public com.google.cloud.securitycenter.v1.Kubernetes.Subject getSubjects(int ind
       return subjects_.get(index);
     }
     /**
-     *
-     *
      * 
      * Represents the subjects(s) bound to the role. Not always available
      * for PATCH requests.
@@ -5432,7 +4941,6 @@ public com.google.cloud.securitycenter.v1.Kubernetes.SubjectOrBuilder getSubject
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -5444,7 +4952,8 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output)
+                        throws java.io.IOException {
       if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ns_)) {
         com.google.protobuf.GeneratedMessageV3.writeString(output, 1, ns_);
       }
@@ -5473,10 +4982,12 @@ public int getSerializedSize() {
         size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, name_);
       }
       if (role_ != null) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getRole());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(3, getRole());
       }
       for (int i = 0; i < subjects_.size(); i++) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, subjects_.get(i));
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(4, subjects_.get(i));
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -5486,21 +4997,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.securitycenter.v1.Kubernetes.Binding)) {
         return super.equals(obj);
       }
-      com.google.cloud.securitycenter.v1.Kubernetes.Binding other =
-          (com.google.cloud.securitycenter.v1.Kubernetes.Binding) obj;
+      com.google.cloud.securitycenter.v1.Kubernetes.Binding other = (com.google.cloud.securitycenter.v1.Kubernetes.Binding) obj;
 
-      if (!getNs().equals(other.getNs())) return false;
-      if (!getName().equals(other.getName())) return false;
+      if (!getNs()
+          .equals(other.getNs())) return false;
+      if (!getName()
+          .equals(other.getName())) return false;
       if (hasRole() != other.hasRole()) return false;
       if (hasRole()) {
-        if (!getRole().equals(other.getRole())) return false;
+        if (!getRole()
+            .equals(other.getRole())) return false;
       }
-      if (!getSubjectsList().equals(other.getSubjectsList())) return false;
+      if (!getSubjectsList()
+          .equals(other.getSubjectsList())) return false;
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
     }
@@ -5530,94 +5044,87 @@ public int hashCode() {
     }
 
     public static com.google.cloud.securitycenter.v1.Kubernetes.Binding parseFrom(
-        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.securitycenter.v1.Kubernetes.Binding parseFrom(
-        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.cloud.securitycenter.v1.Kubernetes.Binding parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.securitycenter.v1.Kubernetes.Binding parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.cloud.securitycenter.v1.Kubernetes.Binding parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.securitycenter.v1.Kubernetes.Binding parseFrom(
-        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.cloud.securitycenter.v1.Kubernetes.Binding parseFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    public static com.google.cloud.securitycenter.v1.Kubernetes.Binding parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.securitycenter.v1.Kubernetes.Binding parseFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
-
-    public static com.google.cloud.securitycenter.v1.Kubernetes.Binding parseDelimitedFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.cloud.securitycenter.v1.Kubernetes.Binding parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.securitycenter.v1.Kubernetes.Binding parseDelimitedFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-
     public static com.google.cloud.securitycenter.v1.Kubernetes.Binding parseFrom(
-        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.securitycenter.v1.Kubernetes.Binding parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() {
-      return newBuilder();
-    }
-
+    public Builder newBuilderForType() { return newBuilder(); }
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-
-    public static Builder newBuilder(
-        com.google.cloud.securitycenter.v1.Kubernetes.Binding prototype) {
+    public static Builder newBuilder(com.google.cloud.securitycenter.v1.Kubernetes.Binding prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -5627,41 +5134,39 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * Represents a Kubernetes RoleBinding or ClusterRoleBinding.
      * 
* * Protobuf type {@code google.cloud.securitycenter.v1.Kubernetes.Binding} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.securitycenter.v1.Kubernetes.Binding) com.google.cloud.securitycenter.v1.Kubernetes.BindingOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.securitycenter.v1.KubernetesProto - .internal_static_google_cloud_securitycenter_v1_Kubernetes_Binding_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.securitycenter.v1.KubernetesProto.internal_static_google_cloud_securitycenter_v1_Kubernetes_Binding_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.securitycenter.v1.KubernetesProto - .internal_static_google_cloud_securitycenter_v1_Kubernetes_Binding_fieldAccessorTable + return com.google.cloud.securitycenter.v1.KubernetesProto.internal_static_google_cloud_securitycenter_v1_Kubernetes_Binding_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.securitycenter.v1.Kubernetes.Binding.class, - com.google.cloud.securitycenter.v1.Kubernetes.Binding.Builder.class); + com.google.cloud.securitycenter.v1.Kubernetes.Binding.class, com.google.cloud.securitycenter.v1.Kubernetes.Binding.Builder.class); } // Construct using com.google.cloud.securitycenter.v1.Kubernetes.Binding.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(); @@ -5686,9 +5191,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.securitycenter.v1.KubernetesProto - .internal_static_google_cloud_securitycenter_v1_Kubernetes_Binding_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.securitycenter.v1.KubernetesProto.internal_static_google_cloud_securitycenter_v1_Kubernetes_Binding_descriptor; } @java.lang.Override @@ -5707,8 +5212,7 @@ public com.google.cloud.securitycenter.v1.Kubernetes.Binding build() { @java.lang.Override public com.google.cloud.securitycenter.v1.Kubernetes.Binding buildPartial() { - com.google.cloud.securitycenter.v1.Kubernetes.Binding result = - new com.google.cloud.securitycenter.v1.Kubernetes.Binding(this); + com.google.cloud.securitycenter.v1.Kubernetes.Binding result = new com.google.cloud.securitycenter.v1.Kubernetes.Binding(this); int from_bitField0_ = bitField0_; result.ns_ = ns_; result.name_ = name_; @@ -5734,41 +5238,38 @@ public com.google.cloud.securitycenter.v1.Kubernetes.Binding buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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.securitycenter.v1.Kubernetes.Binding) { - return mergeFrom((com.google.cloud.securitycenter.v1.Kubernetes.Binding) other); + return mergeFrom((com.google.cloud.securitycenter.v1.Kubernetes.Binding)other); } else { super.mergeFrom(other); return this; @@ -5776,8 +5277,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.securitycenter.v1.Kubernetes.Binding other) { - if (other == com.google.cloud.securitycenter.v1.Kubernetes.Binding.getDefaultInstance()) - return this; + if (other == com.google.cloud.securitycenter.v1.Kubernetes.Binding.getDefaultInstance()) return this; if (!other.getNs().isEmpty()) { ns_ = other.ns_; onChanged(); @@ -5807,10 +5307,9 @@ public Builder mergeFrom(com.google.cloud.securitycenter.v1.Kubernetes.Binding o subjectsBuilder_ = null; subjects_ = other.subjects_; bitField0_ = (bitField0_ & ~0x00000001); - subjectsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getSubjectsFieldBuilder() - : null; + subjectsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getSubjectsFieldBuilder() : null; } else { subjectsBuilder_.addAllMessages(other.subjects_); } @@ -5842,45 +5341,42 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - ns_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 26: - { - input.readMessage(getRoleFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 26 - case 34: - { - com.google.cloud.securitycenter.v1.Kubernetes.Subject m = - input.readMessage( - com.google.cloud.securitycenter.v1.Kubernetes.Subject.parser(), - extensionRegistry); - if (subjectsBuilder_ == null) { - ensureSubjectsIsMutable(); - subjects_.add(m); - } else { - subjectsBuilder_.addMessage(m); - } - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + ns_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + name_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 26: { + input.readMessage( + getRoleFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 26 + case 34: { + com.google.cloud.securitycenter.v1.Kubernetes.Subject m = + input.readMessage( + com.google.cloud.securitycenter.v1.Kubernetes.Subject.parser(), + extensionRegistry); + if (subjectsBuilder_ == null) { + ensureSubjectsIsMutable(); + subjects_.add(m); + } else { + subjectsBuilder_.addMessage(m); + } + 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) { @@ -5890,25 +5386,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object ns_ = ""; /** - * - * *
        * Namespace for binding.
        * 
* * string ns = 1; - * * @return The ns. */ public java.lang.String getNs() { java.lang.Object ref = ns_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ns_ = s; return s; @@ -5917,21 +5410,20 @@ public java.lang.String getNs() { } } /** - * - * *
        * Namespace for binding.
        * 
* * string ns = 1; - * * @return The bytes for ns. */ - public com.google.protobuf.ByteString getNsBytes() { + public com.google.protobuf.ByteString + getNsBytes() { java.lang.Object ref = ns_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); ns_ = b; return b; } else { @@ -5939,61 +5431,54 @@ public com.google.protobuf.ByteString getNsBytes() { } } /** - * - * *
        * Namespace for binding.
        * 
* * string ns = 1; - * * @param value The ns to set. * @return This builder for chaining. */ - public Builder setNs(java.lang.String value) { + public Builder setNs( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + ns_ = value; onChanged(); return this; } /** - * - * *
        * Namespace for binding.
        * 
* * string ns = 1; - * * @return This builder for chaining. */ public Builder clearNs() { - + ns_ = getDefaultInstance().getNs(); onChanged(); return this; } /** - * - * *
        * Namespace for binding.
        * 
* * string ns = 1; - * * @param value The bytes for ns to set. * @return This builder for chaining. */ - public Builder setNsBytes(com.google.protobuf.ByteString value) { + public Builder setNsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ns_ = value; onChanged(); return this; @@ -6001,20 +5486,18 @@ public Builder setNsBytes(com.google.protobuf.ByteString value) { private java.lang.Object name_ = ""; /** - * - * *
        * Name for binding.
        * 
* * string name = 2; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -6023,21 +5506,20 @@ public java.lang.String getName() { } } /** - * - * *
        * Name for binding.
        * 
* * string name = 2; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -6045,61 +5527,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
        * Name for binding.
        * 
* * string name = 2; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
        * Name for binding.
        * 
* * string name = 2; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
        * Name for binding.
        * 
* * string name = 2; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -6107,47 +5582,34 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.cloud.securitycenter.v1.Kubernetes.Role role_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.securitycenter.v1.Kubernetes.Role, - com.google.cloud.securitycenter.v1.Kubernetes.Role.Builder, - com.google.cloud.securitycenter.v1.Kubernetes.RoleOrBuilder> - roleBuilder_; + com.google.cloud.securitycenter.v1.Kubernetes.Role, com.google.cloud.securitycenter.v1.Kubernetes.Role.Builder, com.google.cloud.securitycenter.v1.Kubernetes.RoleOrBuilder> roleBuilder_; /** - * - * *
        * The Role or ClusterRole referenced by the binding.
        * 
* * .google.cloud.securitycenter.v1.Kubernetes.Role role = 3; - * * @return Whether the role field is set. */ public boolean hasRole() { return roleBuilder_ != null || role_ != null; } /** - * - * *
        * The Role or ClusterRole referenced by the binding.
        * 
* * .google.cloud.securitycenter.v1.Kubernetes.Role role = 3; - * * @return The role. */ public com.google.cloud.securitycenter.v1.Kubernetes.Role getRole() { if (roleBuilder_ == null) { - return role_ == null - ? com.google.cloud.securitycenter.v1.Kubernetes.Role.getDefaultInstance() - : role_; + return role_ == null ? com.google.cloud.securitycenter.v1.Kubernetes.Role.getDefaultInstance() : role_; } else { return roleBuilder_.getMessage(); } } /** - * - * *
        * The Role or ClusterRole referenced by the binding.
        * 
@@ -6168,8 +5630,6 @@ public Builder setRole(com.google.cloud.securitycenter.v1.Kubernetes.Role value) return this; } /** - * - * *
        * The Role or ClusterRole referenced by the binding.
        * 
@@ -6188,8 +5648,6 @@ public Builder setRole( return this; } /** - * - * *
        * The Role or ClusterRole referenced by the binding.
        * 
@@ -6200,9 +5658,7 @@ public Builder mergeRole(com.google.cloud.securitycenter.v1.Kubernetes.Role valu if (roleBuilder_ == null) { if (role_ != null) { role_ = - com.google.cloud.securitycenter.v1.Kubernetes.Role.newBuilder(role_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.securitycenter.v1.Kubernetes.Role.newBuilder(role_).mergeFrom(value).buildPartial(); } else { role_ = value; } @@ -6214,8 +5670,6 @@ public Builder mergeRole(com.google.cloud.securitycenter.v1.Kubernetes.Role valu return this; } /** - * - * *
        * The Role or ClusterRole referenced by the binding.
        * 
@@ -6234,8 +5688,6 @@ public Builder clearRole() { return this; } /** - * - * *
        * The Role or ClusterRole referenced by the binding.
        * 
@@ -6243,13 +5695,11 @@ public Builder clearRole() { * .google.cloud.securitycenter.v1.Kubernetes.Role role = 3; */ public com.google.cloud.securitycenter.v1.Kubernetes.Role.Builder getRoleBuilder() { - + onChanged(); return getRoleFieldBuilder().getBuilder(); } /** - * - * *
        * The Role or ClusterRole referenced by the binding.
        * 
@@ -6260,14 +5710,11 @@ public com.google.cloud.securitycenter.v1.Kubernetes.RoleOrBuilder getRoleOrBuil if (roleBuilder_ != null) { return roleBuilder_.getMessageOrBuilder(); } else { - return role_ == null - ? com.google.cloud.securitycenter.v1.Kubernetes.Role.getDefaultInstance() - : role_; + return role_ == null ? + com.google.cloud.securitycenter.v1.Kubernetes.Role.getDefaultInstance() : role_; } } /** - * - * *
        * The Role or ClusterRole referenced by the binding.
        * 
@@ -6275,43 +5722,32 @@ public com.google.cloud.securitycenter.v1.Kubernetes.RoleOrBuilder getRoleOrBuil * .google.cloud.securitycenter.v1.Kubernetes.Role role = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.securitycenter.v1.Kubernetes.Role, - com.google.cloud.securitycenter.v1.Kubernetes.Role.Builder, - com.google.cloud.securitycenter.v1.Kubernetes.RoleOrBuilder> + com.google.cloud.securitycenter.v1.Kubernetes.Role, com.google.cloud.securitycenter.v1.Kubernetes.Role.Builder, com.google.cloud.securitycenter.v1.Kubernetes.RoleOrBuilder> getRoleFieldBuilder() { if (roleBuilder_ == null) { - roleBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.securitycenter.v1.Kubernetes.Role, - com.google.cloud.securitycenter.v1.Kubernetes.Role.Builder, - com.google.cloud.securitycenter.v1.Kubernetes.RoleOrBuilder>( - getRole(), getParentForChildren(), isClean()); + roleBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.securitycenter.v1.Kubernetes.Role, com.google.cloud.securitycenter.v1.Kubernetes.Role.Builder, com.google.cloud.securitycenter.v1.Kubernetes.RoleOrBuilder>( + getRole(), + getParentForChildren(), + isClean()); role_ = null; } return roleBuilder_; } private java.util.List subjects_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureSubjectsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - subjects_ = - new java.util.ArrayList( - subjects_); + subjects_ = new java.util.ArrayList(subjects_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.securitycenter.v1.Kubernetes.Subject, - com.google.cloud.securitycenter.v1.Kubernetes.Subject.Builder, - com.google.cloud.securitycenter.v1.Kubernetes.SubjectOrBuilder> - subjectsBuilder_; + com.google.cloud.securitycenter.v1.Kubernetes.Subject, com.google.cloud.securitycenter.v1.Kubernetes.Subject.Builder, com.google.cloud.securitycenter.v1.Kubernetes.SubjectOrBuilder> subjectsBuilder_; /** - * - * *
        * Represents the subjects(s) bound to the role. Not always available
        * for PATCH requests.
@@ -6319,8 +5755,7 @@ private void ensureSubjectsIsMutable() {
        *
        * repeated .google.cloud.securitycenter.v1.Kubernetes.Subject subjects = 4;
        */
-      public java.util.List
-          getSubjectsList() {
+      public java.util.List getSubjectsList() {
         if (subjectsBuilder_ == null) {
           return java.util.Collections.unmodifiableList(subjects_);
         } else {
@@ -6328,8 +5763,6 @@ private void ensureSubjectsIsMutable() {
         }
       }
       /**
-       *
-       *
        * 
        * Represents the subjects(s) bound to the role. Not always available
        * for PATCH requests.
@@ -6345,8 +5778,6 @@ public int getSubjectsCount() {
         }
       }
       /**
-       *
-       *
        * 
        * Represents the subjects(s) bound to the role. Not always available
        * for PATCH requests.
@@ -6362,8 +5793,6 @@ public com.google.cloud.securitycenter.v1.Kubernetes.Subject getSubjects(int ind
         }
       }
       /**
-       *
-       *
        * 
        * Represents the subjects(s) bound to the role. Not always available
        * for PATCH requests.
@@ -6386,8 +5815,6 @@ public Builder setSubjects(
         return this;
       }
       /**
-       *
-       *
        * 
        * Represents the subjects(s) bound to the role. Not always available
        * for PATCH requests.
@@ -6396,8 +5823,7 @@ public Builder setSubjects(
        * repeated .google.cloud.securitycenter.v1.Kubernetes.Subject subjects = 4;
        */
       public Builder setSubjects(
-          int index,
-          com.google.cloud.securitycenter.v1.Kubernetes.Subject.Builder builderForValue) {
+          int index, com.google.cloud.securitycenter.v1.Kubernetes.Subject.Builder builderForValue) {
         if (subjectsBuilder_ == null) {
           ensureSubjectsIsMutable();
           subjects_.set(index, builderForValue.build());
@@ -6408,8 +5834,6 @@ public Builder setSubjects(
         return this;
       }
       /**
-       *
-       *
        * 
        * Represents the subjects(s) bound to the role. Not always available
        * for PATCH requests.
@@ -6431,8 +5855,6 @@ public Builder addSubjects(com.google.cloud.securitycenter.v1.Kubernetes.Subject
         return this;
       }
       /**
-       *
-       *
        * 
        * Represents the subjects(s) bound to the role. Not always available
        * for PATCH requests.
@@ -6455,8 +5877,6 @@ public Builder addSubjects(
         return this;
       }
       /**
-       *
-       *
        * 
        * Represents the subjects(s) bound to the role. Not always available
        * for PATCH requests.
@@ -6476,8 +5896,6 @@ public Builder addSubjects(
         return this;
       }
       /**
-       *
-       *
        * 
        * Represents the subjects(s) bound to the role. Not always available
        * for PATCH requests.
@@ -6486,8 +5904,7 @@ public Builder addSubjects(
        * repeated .google.cloud.securitycenter.v1.Kubernetes.Subject subjects = 4;
        */
       public Builder addSubjects(
-          int index,
-          com.google.cloud.securitycenter.v1.Kubernetes.Subject.Builder builderForValue) {
+          int index, com.google.cloud.securitycenter.v1.Kubernetes.Subject.Builder builderForValue) {
         if (subjectsBuilder_ == null) {
           ensureSubjectsIsMutable();
           subjects_.add(index, builderForValue.build());
@@ -6498,8 +5915,6 @@ public Builder addSubjects(
         return this;
       }
       /**
-       *
-       *
        * 
        * Represents the subjects(s) bound to the role. Not always available
        * for PATCH requests.
@@ -6508,11 +5923,11 @@ public Builder addSubjects(
        * repeated .google.cloud.securitycenter.v1.Kubernetes.Subject subjects = 4;
        */
       public Builder addAllSubjects(
-          java.lang.Iterable
-              values) {
+          java.lang.Iterable values) {
         if (subjectsBuilder_ == null) {
           ensureSubjectsIsMutable();
-          com.google.protobuf.AbstractMessageLite.Builder.addAll(values, subjects_);
+          com.google.protobuf.AbstractMessageLite.Builder.addAll(
+              values, subjects_);
           onChanged();
         } else {
           subjectsBuilder_.addAllMessages(values);
@@ -6520,8 +5935,6 @@ public Builder addAllSubjects(
         return this;
       }
       /**
-       *
-       *
        * 
        * Represents the subjects(s) bound to the role. Not always available
        * for PATCH requests.
@@ -6540,8 +5953,6 @@ public Builder clearSubjects() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Represents the subjects(s) bound to the role. Not always available
        * for PATCH requests.
@@ -6560,8 +5971,6 @@ public Builder removeSubjects(int index) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Represents the subjects(s) bound to the role. Not always available
        * for PATCH requests.
@@ -6574,8 +5983,6 @@ public com.google.cloud.securitycenter.v1.Kubernetes.Subject.Builder getSubjects
         return getSubjectsFieldBuilder().getBuilder(index);
       }
       /**
-       *
-       *
        * 
        * Represents the subjects(s) bound to the role. Not always available
        * for PATCH requests.
@@ -6586,14 +5993,11 @@ public com.google.cloud.securitycenter.v1.Kubernetes.Subject.Builder getSubjects
       public com.google.cloud.securitycenter.v1.Kubernetes.SubjectOrBuilder getSubjectsOrBuilder(
           int index) {
         if (subjectsBuilder_ == null) {
-          return subjects_.get(index);
-        } else {
+          return subjects_.get(index);  } else {
           return subjectsBuilder_.getMessageOrBuilder(index);
         }
       }
       /**
-       *
-       *
        * 
        * Represents the subjects(s) bound to the role. Not always available
        * for PATCH requests.
@@ -6601,9 +6005,8 @@ public com.google.cloud.securitycenter.v1.Kubernetes.SubjectOrBuilder getSubject
        *
        * repeated .google.cloud.securitycenter.v1.Kubernetes.Subject subjects = 4;
        */
-      public java.util.List<
-              ? extends com.google.cloud.securitycenter.v1.Kubernetes.SubjectOrBuilder>
-          getSubjectsOrBuilderList() {
+      public java.util.List 
+           getSubjectsOrBuilderList() {
         if (subjectsBuilder_ != null) {
           return subjectsBuilder_.getMessageOrBuilderList();
         } else {
@@ -6611,8 +6014,6 @@ public com.google.cloud.securitycenter.v1.Kubernetes.SubjectOrBuilder getSubject
         }
       }
       /**
-       *
-       *
        * 
        * Represents the subjects(s) bound to the role. Not always available
        * for PATCH requests.
@@ -6621,12 +6022,10 @@ public com.google.cloud.securitycenter.v1.Kubernetes.SubjectOrBuilder getSubject
        * repeated .google.cloud.securitycenter.v1.Kubernetes.Subject subjects = 4;
        */
       public com.google.cloud.securitycenter.v1.Kubernetes.Subject.Builder addSubjectsBuilder() {
-        return getSubjectsFieldBuilder()
-            .addBuilder(com.google.cloud.securitycenter.v1.Kubernetes.Subject.getDefaultInstance());
+        return getSubjectsFieldBuilder().addBuilder(
+            com.google.cloud.securitycenter.v1.Kubernetes.Subject.getDefaultInstance());
       }
       /**
-       *
-       *
        * 
        * Represents the subjects(s) bound to the role. Not always available
        * for PATCH requests.
@@ -6636,13 +6035,10 @@ public com.google.cloud.securitycenter.v1.Kubernetes.Subject.Builder addSubjects
        */
       public com.google.cloud.securitycenter.v1.Kubernetes.Subject.Builder addSubjectsBuilder(
           int index) {
-        return getSubjectsFieldBuilder()
-            .addBuilder(
-                index, com.google.cloud.securitycenter.v1.Kubernetes.Subject.getDefaultInstance());
+        return getSubjectsFieldBuilder().addBuilder(
+            index, com.google.cloud.securitycenter.v1.Kubernetes.Subject.getDefaultInstance());
       }
       /**
-       *
-       *
        * 
        * Represents the subjects(s) bound to the role. Not always available
        * for PATCH requests.
@@ -6650,28 +6046,24 @@ public com.google.cloud.securitycenter.v1.Kubernetes.Subject.Builder addSubjects
        *
        * repeated .google.cloud.securitycenter.v1.Kubernetes.Subject subjects = 4;
        */
-      public java.util.List
-          getSubjectsBuilderList() {
+      public java.util.List 
+           getSubjectsBuilderList() {
         return getSubjectsFieldBuilder().getBuilderList();
       }
-
       private com.google.protobuf.RepeatedFieldBuilderV3<
-              com.google.cloud.securitycenter.v1.Kubernetes.Subject,
-              com.google.cloud.securitycenter.v1.Kubernetes.Subject.Builder,
-              com.google.cloud.securitycenter.v1.Kubernetes.SubjectOrBuilder>
+          com.google.cloud.securitycenter.v1.Kubernetes.Subject, com.google.cloud.securitycenter.v1.Kubernetes.Subject.Builder, com.google.cloud.securitycenter.v1.Kubernetes.SubjectOrBuilder> 
           getSubjectsFieldBuilder() {
         if (subjectsBuilder_ == null) {
-          subjectsBuilder_ =
-              new com.google.protobuf.RepeatedFieldBuilderV3<
-                  com.google.cloud.securitycenter.v1.Kubernetes.Subject,
-                  com.google.cloud.securitycenter.v1.Kubernetes.Subject.Builder,
-                  com.google.cloud.securitycenter.v1.Kubernetes.SubjectOrBuilder>(
-                  subjects_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+          subjectsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+              com.google.cloud.securitycenter.v1.Kubernetes.Subject, com.google.cloud.securitycenter.v1.Kubernetes.Subject.Builder, com.google.cloud.securitycenter.v1.Kubernetes.SubjectOrBuilder>(
+                  subjects_,
+                  ((bitField0_ & 0x00000001) != 0),
+                  getParentForChildren(),
+                  isClean());
           subjects_ = null;
         }
         return subjectsBuilder_;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -6684,12 +6076,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.cloud.securitycenter.v1.Kubernetes.Binding)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1.Kubernetes.Binding)
     private static final com.google.cloud.securitycenter.v1.Kubernetes.Binding DEFAULT_INSTANCE;
-
     static {
       DEFAULT_INSTANCE = new com.google.cloud.securitycenter.v1.Kubernetes.Binding();
     }
@@ -6698,28 +6090,27 @@ public static com.google.cloud.securitycenter.v1.Kubernetes.Binding getDefaultIn
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public Binding parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            Builder builder = newBuilder();
-            try {
-              builder.mergeFrom(input, extensionRegistry);
-            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-              throw e.setUnfinishedMessage(builder.buildPartial());
-            } catch (com.google.protobuf.UninitializedMessageException e) {
-              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 Binding parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        Builder builder = newBuilder();
+        try {
+          builder.mergeFrom(input, extensionRegistry);
+        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+          throw e.setUnfinishedMessage(builder.buildPartial());
+        } catch (com.google.protobuf.UninitializedMessageException e) {
+          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;
@@ -6734,107 +6125,88 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.cloud.securitycenter.v1.Kubernetes.Binding getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
-  public interface SubjectOrBuilder
-      extends
+  public interface SubjectOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.cloud.securitycenter.v1.Kubernetes.Subject)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * Authentication type for subject.
      * 
* * .google.cloud.securitycenter.v1.Kubernetes.Subject.AuthType kind = 1; - * * @return The enum numeric value on the wire for kind. */ int getKindValue(); /** - * - * *
      * Authentication type for subject.
      * 
* * .google.cloud.securitycenter.v1.Kubernetes.Subject.AuthType kind = 1; - * * @return The kind. */ com.google.cloud.securitycenter.v1.Kubernetes.Subject.AuthType getKind(); /** - * - * *
      * Namespace for subject.
      * 
* * string ns = 2; - * * @return The ns. */ java.lang.String getNs(); /** - * - * *
      * Namespace for subject.
      * 
* * string ns = 2; - * * @return The bytes for ns. */ - com.google.protobuf.ByteString getNsBytes(); + com.google.protobuf.ByteString + getNsBytes(); /** - * - * *
      * Name for subject.
      * 
* * string name = 3; - * * @return The name. */ java.lang.String getName(); /** - * - * *
      * Name for subject.
      * 
* * string name = 3; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } /** - * - * *
    * Represents a Kubernetes Subject.
    * 
* * Protobuf type {@code google.cloud.securitycenter.v1.Kubernetes.Subject} */ - public static final class Subject extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Subject extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.securitycenter.v1.Kubernetes.Subject) SubjectOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Subject.newBuilder() to construct. private Subject(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Subject() { kind_ = 0; ns_ = ""; @@ -6843,43 +6215,39 @@ private Subject() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Subject(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.securitycenter.v1.KubernetesProto - .internal_static_google_cloud_securitycenter_v1_Kubernetes_Subject_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.securitycenter.v1.KubernetesProto.internal_static_google_cloud_securitycenter_v1_Kubernetes_Subject_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.securitycenter.v1.KubernetesProto - .internal_static_google_cloud_securitycenter_v1_Kubernetes_Subject_fieldAccessorTable + return com.google.cloud.securitycenter.v1.KubernetesProto.internal_static_google_cloud_securitycenter_v1_Kubernetes_Subject_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.securitycenter.v1.Kubernetes.Subject.class, - com.google.cloud.securitycenter.v1.Kubernetes.Subject.Builder.class); + com.google.cloud.securitycenter.v1.Kubernetes.Subject.class, com.google.cloud.securitycenter.v1.Kubernetes.Subject.Builder.class); } /** - * - * *
      * Auth types that can be used for Subject's kind field.
      * 
* * Protobuf enum {@code google.cloud.securitycenter.v1.Kubernetes.Subject.AuthType} */ - public enum AuthType implements com.google.protobuf.ProtocolMessageEnum { + public enum AuthType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * Authentication is not specified.
        * 
@@ -6888,8 +6256,6 @@ public enum AuthType implements com.google.protobuf.ProtocolMessageEnum { */ AUTH_TYPE_UNSPECIFIED(0), /** - * - * *
        * User with valid certificate.
        * 
@@ -6898,8 +6264,6 @@ public enum AuthType implements com.google.protobuf.ProtocolMessageEnum { */ USER(1), /** - * - * *
        * Users managed by Kubernetes API with credentials stored as Secrets.
        * 
@@ -6908,8 +6272,6 @@ public enum AuthType implements com.google.protobuf.ProtocolMessageEnum { */ SERVICEACCOUNT(2), /** - * - * *
        * Collection of users.
        * 
@@ -6921,8 +6283,6 @@ public enum AuthType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
        * Authentication is not specified.
        * 
@@ -6931,8 +6291,6 @@ public enum AuthType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int AUTH_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
        * User with valid certificate.
        * 
@@ -6941,8 +6299,6 @@ public enum AuthType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int USER_VALUE = 1; /** - * - * *
        * Users managed by Kubernetes API with credentials stored as Secrets.
        * 
@@ -6951,8 +6307,6 @@ public enum AuthType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SERVICEACCOUNT_VALUE = 2; /** - * - * *
        * Collection of users.
        * 
@@ -6961,6 +6315,7 @@ public enum AuthType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int GROUP_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -6985,53 +6340,50 @@ public static AuthType valueOf(int value) { */ public static AuthType forNumber(int value) { switch (value) { - case 0: - return AUTH_TYPE_UNSPECIFIED; - case 1: - return USER; - case 2: - return SERVICEACCOUNT; - case 3: - return GROUP; - default: - return null; + case 0: return AUTH_TYPE_UNSPECIFIED; + case 1: return USER; + case 2: return SERVICEACCOUNT; + case 3: return GROUP; + 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< + AuthType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public AuthType findValueByNumber(int number) { + return AuthType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public AuthType findValueByNumber(int number) { - return AuthType.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.securitycenter.v1.Kubernetes.Subject.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.securitycenter.v1.Kubernetes.Subject.getDescriptor().getEnumTypes().get(0); } private static final AuthType[] VALUES = values(); - public static AuthType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static AuthType 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; @@ -7051,52 +6403,38 @@ private AuthType(int value) { public static final int KIND_FIELD_NUMBER = 1; private int kind_; /** - * - * *
      * Authentication type for subject.
      * 
* * .google.cloud.securitycenter.v1.Kubernetes.Subject.AuthType kind = 1; - * * @return The enum numeric value on the wire for kind. */ - @java.lang.Override - public int getKindValue() { + @java.lang.Override public int getKindValue() { return kind_; } /** - * - * *
      * Authentication type for subject.
      * 
* * .google.cloud.securitycenter.v1.Kubernetes.Subject.AuthType kind = 1; - * * @return The kind. */ - @java.lang.Override - public com.google.cloud.securitycenter.v1.Kubernetes.Subject.AuthType getKind() { + @java.lang.Override public com.google.cloud.securitycenter.v1.Kubernetes.Subject.AuthType getKind() { @SuppressWarnings("deprecation") - com.google.cloud.securitycenter.v1.Kubernetes.Subject.AuthType result = - com.google.cloud.securitycenter.v1.Kubernetes.Subject.AuthType.valueOf(kind_); - return result == null - ? com.google.cloud.securitycenter.v1.Kubernetes.Subject.AuthType.UNRECOGNIZED - : result; + com.google.cloud.securitycenter.v1.Kubernetes.Subject.AuthType result = com.google.cloud.securitycenter.v1.Kubernetes.Subject.AuthType.valueOf(kind_); + return result == null ? com.google.cloud.securitycenter.v1.Kubernetes.Subject.AuthType.UNRECOGNIZED : result; } public static final int NS_FIELD_NUMBER = 2; private volatile java.lang.Object ns_; /** - * - * *
      * Namespace for subject.
      * 
* * string ns = 2; - * * @return The ns. */ @java.lang.Override @@ -7105,29 +6443,29 @@ public java.lang.String getNs() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ns_ = s; return s; } } /** - * - * *
      * Namespace for subject.
      * 
* * string ns = 2; - * * @return The bytes for ns. */ @java.lang.Override - public com.google.protobuf.ByteString getNsBytes() { + public com.google.protobuf.ByteString + getNsBytes() { java.lang.Object ref = ns_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); ns_ = b; return b; } else { @@ -7138,14 +6476,11 @@ public com.google.protobuf.ByteString getNsBytes() { public static final int NAME_FIELD_NUMBER = 3; private volatile java.lang.Object name_; /** - * - * *
      * Name for subject.
      * 
* * string name = 3; - * * @return The name. */ @java.lang.Override @@ -7154,29 +6489,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
      * Name for subject.
      * 
* * string name = 3; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -7185,7 +6520,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -7197,10 +6531,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (kind_ - != com.google.cloud.securitycenter.v1.Kubernetes.Subject.AuthType.AUTH_TYPE_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (kind_ != com.google.cloud.securitycenter.v1.Kubernetes.Subject.AuthType.AUTH_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(1, kind_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ns_)) { @@ -7218,10 +6551,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (kind_ - != com.google.cloud.securitycenter.v1.Kubernetes.Subject.AuthType.AUTH_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, kind_); + if (kind_ != com.google.cloud.securitycenter.v1.Kubernetes.Subject.AuthType.AUTH_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, kind_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ns_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, ns_); @@ -7237,17 +6569,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.securitycenter.v1.Kubernetes.Subject)) { return super.equals(obj); } - com.google.cloud.securitycenter.v1.Kubernetes.Subject other = - (com.google.cloud.securitycenter.v1.Kubernetes.Subject) obj; + com.google.cloud.securitycenter.v1.Kubernetes.Subject other = (com.google.cloud.securitycenter.v1.Kubernetes.Subject) obj; if (kind_ != other.kind_) return false; - if (!getNs().equals(other.getNs())) return false; - if (!getName().equals(other.getName())) return false; + if (!getNs() + .equals(other.getNs())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -7271,94 +6604,87 @@ public int hashCode() { } public static com.google.cloud.securitycenter.v1.Kubernetes.Subject parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.Kubernetes.Subject parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.Kubernetes.Subject parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.Kubernetes.Subject parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.Kubernetes.Subject parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.Kubernetes.Subject parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.securitycenter.v1.Kubernetes.Subject parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.securitycenter.v1.Kubernetes.Subject parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.Kubernetes.Subject parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.securitycenter.v1.Kubernetes.Subject parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.securitycenter.v1.Kubernetes.Subject parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.Kubernetes.Subject parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.Kubernetes.Subject parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.Kubernetes.Subject parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.securitycenter.v1.Kubernetes.Subject prototype) { + public static Builder newBuilder(com.google.cloud.securitycenter.v1.Kubernetes.Subject prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -7368,41 +6694,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Represents a Kubernetes Subject.
      * 
* * Protobuf type {@code google.cloud.securitycenter.v1.Kubernetes.Subject} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.securitycenter.v1.Kubernetes.Subject) com.google.cloud.securitycenter.v1.Kubernetes.SubjectOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.securitycenter.v1.KubernetesProto - .internal_static_google_cloud_securitycenter_v1_Kubernetes_Subject_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.securitycenter.v1.KubernetesProto.internal_static_google_cloud_securitycenter_v1_Kubernetes_Subject_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.securitycenter.v1.KubernetesProto - .internal_static_google_cloud_securitycenter_v1_Kubernetes_Subject_fieldAccessorTable + return com.google.cloud.securitycenter.v1.KubernetesProto.internal_static_google_cloud_securitycenter_v1_Kubernetes_Subject_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.securitycenter.v1.Kubernetes.Subject.class, - com.google.cloud.securitycenter.v1.Kubernetes.Subject.Builder.class); + com.google.cloud.securitycenter.v1.Kubernetes.Subject.class, com.google.cloud.securitycenter.v1.Kubernetes.Subject.Builder.class); } // Construct using com.google.cloud.securitycenter.v1.Kubernetes.Subject.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(); @@ -7416,9 +6740,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.securitycenter.v1.KubernetesProto - .internal_static_google_cloud_securitycenter_v1_Kubernetes_Subject_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.securitycenter.v1.KubernetesProto.internal_static_google_cloud_securitycenter_v1_Kubernetes_Subject_descriptor; } @java.lang.Override @@ -7437,8 +6761,7 @@ public com.google.cloud.securitycenter.v1.Kubernetes.Subject build() { @java.lang.Override public com.google.cloud.securitycenter.v1.Kubernetes.Subject buildPartial() { - com.google.cloud.securitycenter.v1.Kubernetes.Subject result = - new com.google.cloud.securitycenter.v1.Kubernetes.Subject(this); + com.google.cloud.securitycenter.v1.Kubernetes.Subject result = new com.google.cloud.securitycenter.v1.Kubernetes.Subject(this); result.kind_ = kind_; result.ns_ = ns_; result.name_ = name_; @@ -7450,41 +6773,38 @@ public com.google.cloud.securitycenter.v1.Kubernetes.Subject buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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.securitycenter.v1.Kubernetes.Subject) { - return mergeFrom((com.google.cloud.securitycenter.v1.Kubernetes.Subject) other); + return mergeFrom((com.google.cloud.securitycenter.v1.Kubernetes.Subject)other); } else { super.mergeFrom(other); return this; @@ -7492,8 +6812,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.securitycenter.v1.Kubernetes.Subject other) { - if (other == com.google.cloud.securitycenter.v1.Kubernetes.Subject.getDefaultInstance()) - return this; + if (other == com.google.cloud.securitycenter.v1.Kubernetes.Subject.getDefaultInstance()) return this; if (other.kind_ != 0) { setKindValue(other.getKindValue()); } @@ -7531,31 +6850,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - kind_ = input.readEnum(); - - break; - } // case 8 - case 18: - { - ns_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 26: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + kind_ = input.readEnum(); + + break; + } // case 8 + case 18: { + ns_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 26: { + name_ = input.readStringRequireUtf8(); + + 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) { @@ -7568,67 +6883,51 @@ public Builder mergeFrom( private int kind_ = 0; /** - * - * *
        * Authentication type for subject.
        * 
* * .google.cloud.securitycenter.v1.Kubernetes.Subject.AuthType kind = 1; - * * @return The enum numeric value on the wire for kind. */ - @java.lang.Override - public int getKindValue() { + @java.lang.Override public int getKindValue() { return kind_; } /** - * - * *
        * Authentication type for subject.
        * 
* * .google.cloud.securitycenter.v1.Kubernetes.Subject.AuthType kind = 1; - * * @param value The enum numeric value on the wire for kind to set. * @return This builder for chaining. */ public Builder setKindValue(int value) { - + kind_ = value; onChanged(); return this; } /** - * - * *
        * Authentication type for subject.
        * 
* * .google.cloud.securitycenter.v1.Kubernetes.Subject.AuthType kind = 1; - * * @return The kind. */ @java.lang.Override public com.google.cloud.securitycenter.v1.Kubernetes.Subject.AuthType getKind() { @SuppressWarnings("deprecation") - com.google.cloud.securitycenter.v1.Kubernetes.Subject.AuthType result = - com.google.cloud.securitycenter.v1.Kubernetes.Subject.AuthType.valueOf(kind_); - return result == null - ? com.google.cloud.securitycenter.v1.Kubernetes.Subject.AuthType.UNRECOGNIZED - : result; + com.google.cloud.securitycenter.v1.Kubernetes.Subject.AuthType result = com.google.cloud.securitycenter.v1.Kubernetes.Subject.AuthType.valueOf(kind_); + return result == null ? com.google.cloud.securitycenter.v1.Kubernetes.Subject.AuthType.UNRECOGNIZED : result; } /** - * - * *
        * Authentication type for subject.
        * 
* * .google.cloud.securitycenter.v1.Kubernetes.Subject.AuthType kind = 1; - * * @param value The kind to set. * @return This builder for chaining. */ @@ -7636,24 +6935,21 @@ public Builder setKind(com.google.cloud.securitycenter.v1.Kubernetes.Subject.Aut if (value == null) { throw new NullPointerException(); } - + kind_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * Authentication type for subject.
        * 
* * .google.cloud.securitycenter.v1.Kubernetes.Subject.AuthType kind = 1; - * * @return This builder for chaining. */ public Builder clearKind() { - + kind_ = 0; onChanged(); return this; @@ -7661,20 +6957,18 @@ public Builder clearKind() { private java.lang.Object ns_ = ""; /** - * - * *
        * Namespace for subject.
        * 
* * string ns = 2; - * * @return The ns. */ public java.lang.String getNs() { java.lang.Object ref = ns_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ns_ = s; return s; @@ -7683,21 +6977,20 @@ public java.lang.String getNs() { } } /** - * - * *
        * Namespace for subject.
        * 
* * string ns = 2; - * * @return The bytes for ns. */ - public com.google.protobuf.ByteString getNsBytes() { + public com.google.protobuf.ByteString + getNsBytes() { java.lang.Object ref = ns_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); ns_ = b; return b; } else { @@ -7705,61 +6998,54 @@ public com.google.protobuf.ByteString getNsBytes() { } } /** - * - * *
        * Namespace for subject.
        * 
* * string ns = 2; - * * @param value The ns to set. * @return This builder for chaining. */ - public Builder setNs(java.lang.String value) { + public Builder setNs( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + ns_ = value; onChanged(); return this; } /** - * - * *
        * Namespace for subject.
        * 
* * string ns = 2; - * * @return This builder for chaining. */ public Builder clearNs() { - + ns_ = getDefaultInstance().getNs(); onChanged(); return this; } /** - * - * *
        * Namespace for subject.
        * 
* * string ns = 2; - * * @param value The bytes for ns to set. * @return This builder for chaining. */ - public Builder setNsBytes(com.google.protobuf.ByteString value) { + public Builder setNsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ns_ = value; onChanged(); return this; @@ -7767,20 +7053,18 @@ public Builder setNsBytes(com.google.protobuf.ByteString value) { private java.lang.Object name_ = ""; /** - * - * *
        * Name for subject.
        * 
* * string name = 3; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -7789,21 +7073,20 @@ public java.lang.String getName() { } } /** - * - * *
        * Name for subject.
        * 
* * string name = 3; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -7811,66 +7094,58 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
        * Name for subject.
        * 
* * string name = 3; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
        * Name for subject.
        * 
* * string name = 3; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
        * Name for subject.
        * 
* * string name = 3; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -7883,12 +7158,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.securitycenter.v1.Kubernetes.Subject) } // @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1.Kubernetes.Subject) private static final com.google.cloud.securitycenter.v1.Kubernetes.Subject DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.securitycenter.v1.Kubernetes.Subject(); } @@ -7897,28 +7172,27 @@ public static com.google.cloud.securitycenter.v1.Kubernetes.Subject getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Subject parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - 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 Subject parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + 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; @@ -7933,41 +7207,34 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.securitycenter.v1.Kubernetes.Subject getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface AccessReviewOrBuilder - extends + public interface AccessReviewOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.securitycenter.v1.Kubernetes.AccessReview) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Group is the API Group of the Resource. "*" means all.
      * 
* * string group = 1; - * * @return The group. */ java.lang.String getGroup(); /** - * - * *
      * Group is the API Group of the Resource. "*" means all.
      * 
* * string group = 1; - * * @return The bytes for group. */ - com.google.protobuf.ByteString getGroupBytes(); + com.google.protobuf.ByteString + getGroupBytes(); /** - * - * *
      * Namespace of the action being requested. Currently, there is no
      * distinction between no namespace and all namespaces.  Both
@@ -7975,13 +7242,10 @@ public interface AccessReviewOrBuilder
      * 
* * string ns = 2; - * * @return The ns. */ java.lang.String getNs(); /** - * - * *
      * Namespace of the action being requested. Currently, there is no
      * distinction between no namespace and all namespaces.  Both
@@ -7989,141 +7253,114 @@ public interface AccessReviewOrBuilder
      * 
* * string ns = 2; - * * @return The bytes for ns. */ - com.google.protobuf.ByteString getNsBytes(); + com.google.protobuf.ByteString + getNsBytes(); /** - * - * *
      * Name is the name of the resource being requested. Empty means all.
      * 
* * string name = 3; - * * @return The name. */ java.lang.String getName(); /** - * - * *
      * Name is the name of the resource being requested. Empty means all.
      * 
* * string name = 3; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
      * Resource is the optional resource type requested. "*" means all.
      * 
* * string resource = 4; - * * @return The resource. */ java.lang.String getResource(); /** - * - * *
      * Resource is the optional resource type requested. "*" means all.
      * 
* * string resource = 4; - * * @return The bytes for resource. */ - com.google.protobuf.ByteString getResourceBytes(); + com.google.protobuf.ByteString + getResourceBytes(); /** - * - * *
      * Subresource is the optional subresource type.
      * 
* * string subresource = 5; - * * @return The subresource. */ java.lang.String getSubresource(); /** - * - * *
      * Subresource is the optional subresource type.
      * 
* * string subresource = 5; - * * @return The bytes for subresource. */ - com.google.protobuf.ByteString getSubresourceBytes(); + com.google.protobuf.ByteString + getSubresourceBytes(); /** - * - * *
      * Verb is a Kubernetes resource API verb, like: get, list, watch, create,
      * update, delete, proxy. "*" means all.
      * 
* * string verb = 6; - * * @return The verb. */ java.lang.String getVerb(); /** - * - * *
      * Verb is a Kubernetes resource API verb, like: get, list, watch, create,
      * update, delete, proxy. "*" means all.
      * 
* * string verb = 6; - * * @return The bytes for verb. */ - com.google.protobuf.ByteString getVerbBytes(); + com.google.protobuf.ByteString + getVerbBytes(); /** - * - * *
      * Version is the API Version of the Resource. "*" means all.
      * 
* * string version = 7; - * * @return The version. */ java.lang.String getVersion(); /** - * - * *
      * Version is the API Version of the Resource. "*" means all.
      * 
* * string version = 7; - * * @return The bytes for version. */ - com.google.protobuf.ByteString getVersionBytes(); + com.google.protobuf.ByteString + getVersionBytes(); } /** - * - * *
    * Conveys information about a Kubernetes access review (e.g. kubectl auth
    * can-i ...) that was involved in a finding.
@@ -8131,16 +7368,15 @@ public interface AccessReviewOrBuilder
    *
    * Protobuf type {@code google.cloud.securitycenter.v1.Kubernetes.AccessReview}
    */
-  public static final class AccessReview extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class AccessReview extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.securitycenter.v1.Kubernetes.AccessReview)
       AccessReviewOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use AccessReview.newBuilder() to construct.
     private AccessReview(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private AccessReview() {
       group_ = "";
       ns_ = "";
@@ -8153,41 +7389,37 @@ private AccessReview() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new AccessReview();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.securitycenter.v1.KubernetesProto
-          .internal_static_google_cloud_securitycenter_v1_Kubernetes_AccessReview_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.securitycenter.v1.KubernetesProto.internal_static_google_cloud_securitycenter_v1_Kubernetes_AccessReview_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.securitycenter.v1.KubernetesProto
-          .internal_static_google_cloud_securitycenter_v1_Kubernetes_AccessReview_fieldAccessorTable
+      return com.google.cloud.securitycenter.v1.KubernetesProto.internal_static_google_cloud_securitycenter_v1_Kubernetes_AccessReview_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.securitycenter.v1.Kubernetes.AccessReview.class,
-              com.google.cloud.securitycenter.v1.Kubernetes.AccessReview.Builder.class);
+              com.google.cloud.securitycenter.v1.Kubernetes.AccessReview.class, com.google.cloud.securitycenter.v1.Kubernetes.AccessReview.Builder.class);
     }
 
     public static final int GROUP_FIELD_NUMBER = 1;
     private volatile java.lang.Object group_;
     /**
-     *
-     *
      * 
      * Group is the API Group of the Resource. "*" means all.
      * 
* * string group = 1; - * * @return The group. */ @java.lang.Override @@ -8196,29 +7428,29 @@ public java.lang.String getGroup() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); group_ = s; return s; } } /** - * - * *
      * Group is the API Group of the Resource. "*" means all.
      * 
* * string group = 1; - * * @return The bytes for group. */ @java.lang.Override - public com.google.protobuf.ByteString getGroupBytes() { + public com.google.protobuf.ByteString + getGroupBytes() { java.lang.Object ref = group_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); group_ = b; return b; } else { @@ -8229,8 +7461,6 @@ public com.google.protobuf.ByteString getGroupBytes() { public static final int NS_FIELD_NUMBER = 2; private volatile java.lang.Object ns_; /** - * - * *
      * Namespace of the action being requested. Currently, there is no
      * distinction between no namespace and all namespaces.  Both
@@ -8238,7 +7468,6 @@ public com.google.protobuf.ByteString getGroupBytes() {
      * 
* * string ns = 2; - * * @return The ns. */ @java.lang.Override @@ -8247,15 +7476,14 @@ public java.lang.String getNs() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ns_ = s; return s; } } /** - * - * *
      * Namespace of the action being requested. Currently, there is no
      * distinction between no namespace and all namespaces.  Both
@@ -8263,15 +7491,16 @@ public java.lang.String getNs() {
      * 
* * string ns = 2; - * * @return The bytes for ns. */ @java.lang.Override - public com.google.protobuf.ByteString getNsBytes() { + public com.google.protobuf.ByteString + getNsBytes() { java.lang.Object ref = ns_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); ns_ = b; return b; } else { @@ -8282,14 +7511,11 @@ public com.google.protobuf.ByteString getNsBytes() { public static final int NAME_FIELD_NUMBER = 3; private volatile java.lang.Object name_; /** - * - * *
      * Name is the name of the resource being requested. Empty means all.
      * 
* * string name = 3; - * * @return The name. */ @java.lang.Override @@ -8298,29 +7524,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
      * Name is the name of the resource being requested. Empty means all.
      * 
* * string name = 3; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -8331,14 +7557,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int RESOURCE_FIELD_NUMBER = 4; private volatile java.lang.Object resource_; /** - * - * *
      * Resource is the optional resource type requested. "*" means all.
      * 
* * string resource = 4; - * * @return The resource. */ @java.lang.Override @@ -8347,29 +7570,29 @@ public java.lang.String getResource() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resource_ = s; return s; } } /** - * - * *
      * Resource is the optional resource type requested. "*" means all.
      * 
* * string resource = 4; - * * @return The bytes for resource. */ @java.lang.Override - public com.google.protobuf.ByteString getResourceBytes() { + public com.google.protobuf.ByteString + getResourceBytes() { java.lang.Object ref = resource_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); resource_ = b; return b; } else { @@ -8380,14 +7603,11 @@ public com.google.protobuf.ByteString getResourceBytes() { public static final int SUBRESOURCE_FIELD_NUMBER = 5; private volatile java.lang.Object subresource_; /** - * - * *
      * Subresource is the optional subresource type.
      * 
* * string subresource = 5; - * * @return The subresource. */ @java.lang.Override @@ -8396,29 +7616,29 @@ public java.lang.String getSubresource() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); subresource_ = s; return s; } } /** - * - * *
      * Subresource is the optional subresource type.
      * 
* * string subresource = 5; - * * @return The bytes for subresource. */ @java.lang.Override - public com.google.protobuf.ByteString getSubresourceBytes() { + public com.google.protobuf.ByteString + getSubresourceBytes() { java.lang.Object ref = subresource_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); subresource_ = b; return b; } else { @@ -8429,15 +7649,12 @@ public com.google.protobuf.ByteString getSubresourceBytes() { public static final int VERB_FIELD_NUMBER = 6; private volatile java.lang.Object verb_; /** - * - * *
      * Verb is a Kubernetes resource API verb, like: get, list, watch, create,
      * update, delete, proxy. "*" means all.
      * 
* * string verb = 6; - * * @return The verb. */ @java.lang.Override @@ -8446,30 +7663,30 @@ public java.lang.String getVerb() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); verb_ = s; return s; } } /** - * - * *
      * Verb is a Kubernetes resource API verb, like: get, list, watch, create,
      * update, delete, proxy. "*" means all.
      * 
* * string verb = 6; - * * @return The bytes for verb. */ @java.lang.Override - public com.google.protobuf.ByteString getVerbBytes() { + public com.google.protobuf.ByteString + getVerbBytes() { java.lang.Object ref = verb_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); verb_ = b; return b; } else { @@ -8480,14 +7697,11 @@ public com.google.protobuf.ByteString getVerbBytes() { public static final int VERSION_FIELD_NUMBER = 7; private volatile java.lang.Object version_; /** - * - * *
      * Version is the API Version of the Resource. "*" means all.
      * 
* * string version = 7; - * * @return The version. */ @java.lang.Override @@ -8496,29 +7710,29 @@ public java.lang.String getVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; } } /** - * - * *
      * Version is the API Version of the Resource. "*" means all.
      * 
* * string version = 7; - * * @return The bytes for version. */ @java.lang.Override - public com.google.protobuf.ByteString getVersionBytes() { + public com.google.protobuf.ByteString + getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); version_ = b; return b; } else { @@ -8527,7 +7741,6 @@ public com.google.protobuf.ByteString getVersionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -8539,7 +7752,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(group_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, group_); } @@ -8599,21 +7813,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.securitycenter.v1.Kubernetes.AccessReview)) { return super.equals(obj); } - com.google.cloud.securitycenter.v1.Kubernetes.AccessReview other = - (com.google.cloud.securitycenter.v1.Kubernetes.AccessReview) obj; - - if (!getGroup().equals(other.getGroup())) return false; - if (!getNs().equals(other.getNs())) return false; - if (!getName().equals(other.getName())) return false; - if (!getResource().equals(other.getResource())) return false; - if (!getSubresource().equals(other.getSubresource())) return false; - if (!getVerb().equals(other.getVerb())) return false; - if (!getVersion().equals(other.getVersion())) return false; + com.google.cloud.securitycenter.v1.Kubernetes.AccessReview other = (com.google.cloud.securitycenter.v1.Kubernetes.AccessReview) obj; + + if (!getGroup() + .equals(other.getGroup())) return false; + if (!getNs() + .equals(other.getNs())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getResource() + .equals(other.getResource())) return false; + if (!getSubresource() + .equals(other.getSubresource())) return false; + if (!getVerb() + .equals(other.getVerb())) return false; + if (!getVersion() + .equals(other.getVersion())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -8645,94 +7865,87 @@ public int hashCode() { } public static com.google.cloud.securitycenter.v1.Kubernetes.AccessReview parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.Kubernetes.AccessReview parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.Kubernetes.AccessReview parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.Kubernetes.AccessReview parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.Kubernetes.AccessReview parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.Kubernetes.AccessReview parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.securitycenter.v1.Kubernetes.AccessReview parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.securitycenter.v1.Kubernetes.AccessReview parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.Kubernetes.AccessReview parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.securitycenter.v1.Kubernetes.AccessReview parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.securitycenter.v1.Kubernetes.AccessReview parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.Kubernetes.AccessReview parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.Kubernetes.AccessReview parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.Kubernetes.AccessReview parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.securitycenter.v1.Kubernetes.AccessReview prototype) { + public static Builder newBuilder(com.google.cloud.securitycenter.v1.Kubernetes.AccessReview prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -8742,8 +7955,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Conveys information about a Kubernetes access review (e.g. kubectl auth
      * can-i ...) that was involved in a finding.
@@ -8751,33 +7962,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.securitycenter.v1.Kubernetes.AccessReview}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.securitycenter.v1.Kubernetes.AccessReview)
         com.google.cloud.securitycenter.v1.Kubernetes.AccessReviewOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.securitycenter.v1.KubernetesProto
-            .internal_static_google_cloud_securitycenter_v1_Kubernetes_AccessReview_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.securitycenter.v1.KubernetesProto.internal_static_google_cloud_securitycenter_v1_Kubernetes_AccessReview_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.securitycenter.v1.KubernetesProto
-            .internal_static_google_cloud_securitycenter_v1_Kubernetes_AccessReview_fieldAccessorTable
+        return com.google.cloud.securitycenter.v1.KubernetesProto.internal_static_google_cloud_securitycenter_v1_Kubernetes_AccessReview_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.securitycenter.v1.Kubernetes.AccessReview.class,
-                com.google.cloud.securitycenter.v1.Kubernetes.AccessReview.Builder.class);
+                com.google.cloud.securitycenter.v1.Kubernetes.AccessReview.class, com.google.cloud.securitycenter.v1.Kubernetes.AccessReview.Builder.class);
       }
 
       // Construct using com.google.cloud.securitycenter.v1.Kubernetes.AccessReview.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();
@@ -8799,14 +8010,13 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.securitycenter.v1.KubernetesProto
-            .internal_static_google_cloud_securitycenter_v1_Kubernetes_AccessReview_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.securitycenter.v1.KubernetesProto.internal_static_google_cloud_securitycenter_v1_Kubernetes_AccessReview_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.securitycenter.v1.Kubernetes.AccessReview
-          getDefaultInstanceForType() {
+      public com.google.cloud.securitycenter.v1.Kubernetes.AccessReview getDefaultInstanceForType() {
         return com.google.cloud.securitycenter.v1.Kubernetes.AccessReview.getDefaultInstance();
       }
 
@@ -8821,8 +8031,7 @@ public com.google.cloud.securitycenter.v1.Kubernetes.AccessReview build() {
 
       @java.lang.Override
       public com.google.cloud.securitycenter.v1.Kubernetes.AccessReview buildPartial() {
-        com.google.cloud.securitycenter.v1.Kubernetes.AccessReview result =
-            new com.google.cloud.securitycenter.v1.Kubernetes.AccessReview(this);
+        com.google.cloud.securitycenter.v1.Kubernetes.AccessReview result = new com.google.cloud.securitycenter.v1.Kubernetes.AccessReview(this);
         result.group_ = group_;
         result.ns_ = ns_;
         result.name_ = name_;
@@ -8838,41 +8047,38 @@ public com.google.cloud.securitycenter.v1.Kubernetes.AccessReview buildPartial()
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.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.securitycenter.v1.Kubernetes.AccessReview) {
-          return mergeFrom((com.google.cloud.securitycenter.v1.Kubernetes.AccessReview) other);
+          return mergeFrom((com.google.cloud.securitycenter.v1.Kubernetes.AccessReview)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -8880,9 +8086,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.securitycenter.v1.Kubernetes.AccessReview other) {
-        if (other
-            == com.google.cloud.securitycenter.v1.Kubernetes.AccessReview.getDefaultInstance())
-          return this;
+        if (other == com.google.cloud.securitycenter.v1.Kubernetes.AccessReview.getDefaultInstance()) return this;
         if (!other.getGroup().isEmpty()) {
           group_ = other.group_;
           onChanged();
@@ -8937,55 +8141,47 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10:
-                {
-                  group_ = input.readStringRequireUtf8();
-
-                  break;
-                } // case 10
-              case 18:
-                {
-                  ns_ = input.readStringRequireUtf8();
-
-                  break;
-                } // case 18
-              case 26:
-                {
-                  name_ = input.readStringRequireUtf8();
-
-                  break;
-                } // case 26
-              case 34:
-                {
-                  resource_ = input.readStringRequireUtf8();
-
-                  break;
-                } // case 34
-              case 42:
-                {
-                  subresource_ = input.readStringRequireUtf8();
-
-                  break;
-                } // case 42
-              case 50:
-                {
-                  verb_ = input.readStringRequireUtf8();
-
-                  break;
-                } // case 50
-              case 58:
-                {
-                  version_ = input.readStringRequireUtf8();
-
-                  break;
-                } // case 58
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+              case 10: {
+                group_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+              case 18: {
+                ns_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 18
+              case 26: {
+                name_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 26
+              case 34: {
+                resource_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 34
+              case 42: {
+                subresource_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 42
+              case 50: {
+                verb_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 50
+              case 58: {
+                version_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 58
+              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) {
@@ -8998,20 +8194,18 @@ public Builder mergeFrom(
 
       private java.lang.Object group_ = "";
       /**
-       *
-       *
        * 
        * Group is the API Group of the Resource. "*" means all.
        * 
* * string group = 1; - * * @return The group. */ public java.lang.String getGroup() { java.lang.Object ref = group_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); group_ = s; return s; @@ -9020,21 +8214,20 @@ public java.lang.String getGroup() { } } /** - * - * *
        * Group is the API Group of the Resource. "*" means all.
        * 
* * string group = 1; - * * @return The bytes for group. */ - public com.google.protobuf.ByteString getGroupBytes() { + public com.google.protobuf.ByteString + getGroupBytes() { java.lang.Object ref = group_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); group_ = b; return b; } else { @@ -9042,61 +8235,54 @@ public com.google.protobuf.ByteString getGroupBytes() { } } /** - * - * *
        * Group is the API Group of the Resource. "*" means all.
        * 
* * string group = 1; - * * @param value The group to set. * @return This builder for chaining. */ - public Builder setGroup(java.lang.String value) { + public Builder setGroup( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + group_ = value; onChanged(); return this; } /** - * - * *
        * Group is the API Group of the Resource. "*" means all.
        * 
* * string group = 1; - * * @return This builder for chaining. */ public Builder clearGroup() { - + group_ = getDefaultInstance().getGroup(); onChanged(); return this; } /** - * - * *
        * Group is the API Group of the Resource. "*" means all.
        * 
* * string group = 1; - * * @param value The bytes for group to set. * @return This builder for chaining. */ - public Builder setGroupBytes(com.google.protobuf.ByteString value) { + public Builder setGroupBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + group_ = value; onChanged(); return this; @@ -9104,8 +8290,6 @@ public Builder setGroupBytes(com.google.protobuf.ByteString value) { private java.lang.Object ns_ = ""; /** - * - * *
        * Namespace of the action being requested. Currently, there is no
        * distinction between no namespace and all namespaces.  Both
@@ -9113,13 +8297,13 @@ public Builder setGroupBytes(com.google.protobuf.ByteString value) {
        * 
* * string ns = 2; - * * @return The ns. */ public java.lang.String getNs() { java.lang.Object ref = ns_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ns_ = s; return s; @@ -9128,8 +8312,6 @@ public java.lang.String getNs() { } } /** - * - * *
        * Namespace of the action being requested. Currently, there is no
        * distinction between no namespace and all namespaces.  Both
@@ -9137,14 +8319,15 @@ public java.lang.String getNs() {
        * 
* * string ns = 2; - * * @return The bytes for ns. */ - public com.google.protobuf.ByteString getNsBytes() { + public com.google.protobuf.ByteString + getNsBytes() { java.lang.Object ref = ns_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); ns_ = b; return b; } else { @@ -9152,8 +8335,6 @@ public com.google.protobuf.ByteString getNsBytes() { } } /** - * - * *
        * Namespace of the action being requested. Currently, there is no
        * distinction between no namespace and all namespaces.  Both
@@ -9161,22 +8342,20 @@ public com.google.protobuf.ByteString getNsBytes() {
        * 
* * string ns = 2; - * * @param value The ns to set. * @return This builder for chaining. */ - public Builder setNs(java.lang.String value) { + public Builder setNs( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + ns_ = value; onChanged(); return this; } /** - * - * *
        * Namespace of the action being requested. Currently, there is no
        * distinction between no namespace and all namespaces.  Both
@@ -9184,18 +8363,15 @@ public Builder setNs(java.lang.String value) {
        * 
* * string ns = 2; - * * @return This builder for chaining. */ public Builder clearNs() { - + ns_ = getDefaultInstance().getNs(); onChanged(); return this; } /** - * - * *
        * Namespace of the action being requested. Currently, there is no
        * distinction between no namespace and all namespaces.  Both
@@ -9203,16 +8379,16 @@ public Builder clearNs() {
        * 
* * string ns = 2; - * * @param value The bytes for ns to set. * @return This builder for chaining. */ - public Builder setNsBytes(com.google.protobuf.ByteString value) { + public Builder setNsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ns_ = value; onChanged(); return this; @@ -9220,20 +8396,18 @@ public Builder setNsBytes(com.google.protobuf.ByteString value) { private java.lang.Object name_ = ""; /** - * - * *
        * Name is the name of the resource being requested. Empty means all.
        * 
* * string name = 3; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -9242,21 +8416,20 @@ public java.lang.String getName() { } } /** - * - * *
        * Name is the name of the resource being requested. Empty means all.
        * 
* * string name = 3; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -9264,61 +8437,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
        * Name is the name of the resource being requested. Empty means all.
        * 
* * string name = 3; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
        * Name is the name of the resource being requested. Empty means all.
        * 
* * string name = 3; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
        * Name is the name of the resource being requested. Empty means all.
        * 
* * string name = 3; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -9326,20 +8492,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object resource_ = ""; /** - * - * *
        * Resource is the optional resource type requested. "*" means all.
        * 
* * string resource = 4; - * * @return The resource. */ public java.lang.String getResource() { java.lang.Object ref = resource_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resource_ = s; return s; @@ -9348,21 +8512,20 @@ public java.lang.String getResource() { } } /** - * - * *
        * Resource is the optional resource type requested. "*" means all.
        * 
* * string resource = 4; - * * @return The bytes for resource. */ - public com.google.protobuf.ByteString getResourceBytes() { + public com.google.protobuf.ByteString + getResourceBytes() { java.lang.Object ref = resource_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); resource_ = b; return b; } else { @@ -9370,61 +8533,54 @@ public com.google.protobuf.ByteString getResourceBytes() { } } /** - * - * *
        * Resource is the optional resource type requested. "*" means all.
        * 
* * string resource = 4; - * * @param value The resource to set. * @return This builder for chaining. */ - public Builder setResource(java.lang.String value) { + public Builder setResource( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + resource_ = value; onChanged(); return this; } /** - * - * *
        * Resource is the optional resource type requested. "*" means all.
        * 
* * string resource = 4; - * * @return This builder for chaining. */ public Builder clearResource() { - + resource_ = getDefaultInstance().getResource(); onChanged(); return this; } /** - * - * *
        * Resource is the optional resource type requested. "*" means all.
        * 
* * string resource = 4; - * * @param value The bytes for resource to set. * @return This builder for chaining. */ - public Builder setResourceBytes(com.google.protobuf.ByteString value) { + public Builder setResourceBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + resource_ = value; onChanged(); return this; @@ -9432,20 +8588,18 @@ public Builder setResourceBytes(com.google.protobuf.ByteString value) { private java.lang.Object subresource_ = ""; /** - * - * *
        * Subresource is the optional subresource type.
        * 
* * string subresource = 5; - * * @return The subresource. */ public java.lang.String getSubresource() { java.lang.Object ref = subresource_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); subresource_ = s; return s; @@ -9454,21 +8608,20 @@ public java.lang.String getSubresource() { } } /** - * - * *
        * Subresource is the optional subresource type.
        * 
* * string subresource = 5; - * * @return The bytes for subresource. */ - public com.google.protobuf.ByteString getSubresourceBytes() { + public com.google.protobuf.ByteString + getSubresourceBytes() { java.lang.Object ref = subresource_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); subresource_ = b; return b; } else { @@ -9476,61 +8629,54 @@ public com.google.protobuf.ByteString getSubresourceBytes() { } } /** - * - * *
        * Subresource is the optional subresource type.
        * 
* * string subresource = 5; - * * @param value The subresource to set. * @return This builder for chaining. */ - public Builder setSubresource(java.lang.String value) { + public Builder setSubresource( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + subresource_ = value; onChanged(); return this; } /** - * - * *
        * Subresource is the optional subresource type.
        * 
* * string subresource = 5; - * * @return This builder for chaining. */ public Builder clearSubresource() { - + subresource_ = getDefaultInstance().getSubresource(); onChanged(); return this; } /** - * - * *
        * Subresource is the optional subresource type.
        * 
* * string subresource = 5; - * * @param value The bytes for subresource to set. * @return This builder for chaining. */ - public Builder setSubresourceBytes(com.google.protobuf.ByteString value) { + public Builder setSubresourceBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + subresource_ = value; onChanged(); return this; @@ -9538,21 +8684,19 @@ public Builder setSubresourceBytes(com.google.protobuf.ByteString value) { private java.lang.Object verb_ = ""; /** - * - * *
        * Verb is a Kubernetes resource API verb, like: get, list, watch, create,
        * update, delete, proxy. "*" means all.
        * 
* * string verb = 6; - * * @return The verb. */ public java.lang.String getVerb() { java.lang.Object ref = verb_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); verb_ = s; return s; @@ -9561,87 +8705,79 @@ public java.lang.String getVerb() { } } /** - * - * *
        * Verb is a Kubernetes resource API verb, like: get, list, watch, create,
        * update, delete, proxy. "*" means all.
        * 
* * string verb = 6; - * * @return The bytes for verb. */ - public com.google.protobuf.ByteString getVerbBytes() { + public com.google.protobuf.ByteString + getVerbBytes() { java.lang.Object ref = verb_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); verb_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } - /** - * - * + /** *
        * Verb is a Kubernetes resource API verb, like: get, list, watch, create,
        * update, delete, proxy. "*" means all.
        * 
* * string verb = 6; - * * @param value The verb to set. * @return This builder for chaining. */ - public Builder setVerb(java.lang.String value) { + public Builder setVerb( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + verb_ = value; onChanged(); return this; } /** - * - * *
        * Verb is a Kubernetes resource API verb, like: get, list, watch, create,
        * update, delete, proxy. "*" means all.
        * 
* * string verb = 6; - * * @return This builder for chaining. */ public Builder clearVerb() { - + verb_ = getDefaultInstance().getVerb(); onChanged(); return this; } /** - * - * *
        * Verb is a Kubernetes resource API verb, like: get, list, watch, create,
        * update, delete, proxy. "*" means all.
        * 
* * string verb = 6; - * * @param value The bytes for verb to set. * @return This builder for chaining. */ - public Builder setVerbBytes(com.google.protobuf.ByteString value) { + public Builder setVerbBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + verb_ = value; onChanged(); return this; @@ -9649,20 +8785,18 @@ public Builder setVerbBytes(com.google.protobuf.ByteString value) { private java.lang.Object version_ = ""; /** - * - * *
        * Version is the API Version of the Resource. "*" means all.
        * 
* * string version = 7; - * * @return The version. */ public java.lang.String getVersion() { java.lang.Object ref = version_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; @@ -9671,21 +8805,20 @@ public java.lang.String getVersion() { } } /** - * - * *
        * Version is the API Version of the Resource. "*" means all.
        * 
* * string version = 7; - * * @return The bytes for version. */ - public com.google.protobuf.ByteString getVersionBytes() { + public com.google.protobuf.ByteString + getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); version_ = b; return b; } else { @@ -9693,66 +8826,58 @@ public com.google.protobuf.ByteString getVersionBytes() { } } /** - * - * *
        * Version is the API Version of the Resource. "*" means all.
        * 
* * string version = 7; - * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion(java.lang.String value) { + public Builder setVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + version_ = value; onChanged(); return this; } /** - * - * *
        * Version is the API Version of the Resource. "*" means all.
        * 
* * string version = 7; - * * @return This builder for chaining. */ public Builder clearVersion() { - + version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** - * - * *
        * Version is the API Version of the Resource. "*" means all.
        * 
* * string version = 7; - * * @param value The bytes for version to set. * @return This builder for chaining. */ - public Builder setVersionBytes(com.google.protobuf.ByteString value) { + public Builder setVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + version_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -9765,13 +8890,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.securitycenter.v1.Kubernetes.AccessReview) } // @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1.Kubernetes.AccessReview) - private static final com.google.cloud.securitycenter.v1.Kubernetes.AccessReview - DEFAULT_INSTANCE; - + private static final com.google.cloud.securitycenter.v1.Kubernetes.AccessReview DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.securitycenter.v1.Kubernetes.AccessReview(); } @@ -9780,28 +8904,27 @@ public static com.google.cloud.securitycenter.v1.Kubernetes.AccessReview getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AccessReview parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - 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 AccessReview parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + 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; @@ -9816,13 +8939,12 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.securitycenter.v1.Kubernetes.AccessReview getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int PODS_FIELD_NUMBER = 1; private java.util.List pods_; /** - * - * *
    * Kubernetes Pods associated with the finding. This field will contain Pod
    * records for each container that is owned by a Pod.
@@ -9835,8 +8957,6 @@ public java.util.List getPods
     return pods_;
   }
   /**
-   *
-   *
    * 
    * Kubernetes Pods associated with the finding. This field will contain Pod
    * records for each container that is owned by a Pod.
@@ -9845,13 +8965,11 @@ public java.util.List getPods
    * repeated .google.cloud.securitycenter.v1.Kubernetes.Pod pods = 1;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getPodsOrBuilderList() {
     return pods_;
   }
   /**
-   *
-   *
    * 
    * Kubernetes Pods associated with the finding. This field will contain Pod
    * records for each container that is owned by a Pod.
@@ -9864,8 +8982,6 @@ public int getPodsCount() {
     return pods_.size();
   }
   /**
-   *
-   *
    * 
    * Kubernetes Pods associated with the finding. This field will contain Pod
    * records for each container that is owned by a Pod.
@@ -9878,8 +8994,6 @@ public com.google.cloud.securitycenter.v1.Kubernetes.Pod getPods(int index) {
     return pods_.get(index);
   }
   /**
-   *
-   *
    * 
    * Kubernetes Pods associated with the finding. This field will contain Pod
    * records for each container that is owned by a Pod.
@@ -9888,15 +9002,14 @@ public com.google.cloud.securitycenter.v1.Kubernetes.Pod getPods(int index) {
    * repeated .google.cloud.securitycenter.v1.Kubernetes.Pod pods = 1;
    */
   @java.lang.Override
-  public com.google.cloud.securitycenter.v1.Kubernetes.PodOrBuilder getPodsOrBuilder(int index) {
+  public com.google.cloud.securitycenter.v1.Kubernetes.PodOrBuilder getPodsOrBuilder(
+      int index) {
     return pods_.get(index);
   }
 
   public static final int NODES_FIELD_NUMBER = 2;
   private java.util.List nodes_;
   /**
-   *
-   *
    * 
    * Provides Kubernetes Node information.
    * 
@@ -9908,8 +9021,6 @@ public java.util.List getNod return nodes_; } /** - * - * *
    * Provides Kubernetes Node information.
    * 
@@ -9917,13 +9028,11 @@ public java.util.List getNod * repeated .google.cloud.securitycenter.v1.Kubernetes.Node nodes = 2; */ @java.lang.Override - public java.util.List + public java.util.List getNodesOrBuilderList() { return nodes_; } /** - * - * *
    * Provides Kubernetes Node information.
    * 
@@ -9935,8 +9044,6 @@ public int getNodesCount() { return nodes_.size(); } /** - * - * *
    * Provides Kubernetes Node information.
    * 
@@ -9948,8 +9055,6 @@ public com.google.cloud.securitycenter.v1.Kubernetes.Node getNodes(int index) { return nodes_.get(index); } /** - * - * *
    * Provides Kubernetes Node information.
    * 
@@ -9957,15 +9062,14 @@ public com.google.cloud.securitycenter.v1.Kubernetes.Node getNodes(int index) { * repeated .google.cloud.securitycenter.v1.Kubernetes.Node nodes = 2; */ @java.lang.Override - public com.google.cloud.securitycenter.v1.Kubernetes.NodeOrBuilder getNodesOrBuilder(int index) { + public com.google.cloud.securitycenter.v1.Kubernetes.NodeOrBuilder getNodesOrBuilder( + int index) { return nodes_.get(index); } public static final int NODE_POOLS_FIELD_NUMBER = 3; private java.util.List nodePools_; /** - * - * *
    * GKE Node Pools associated with the finding. This field will
    * contain NodePool information for each Node, when it is available.
@@ -9978,8 +9082,6 @@ public java.util.List ge
     return nodePools_;
   }
   /**
-   *
-   *
    * 
    * GKE Node Pools associated with the finding. This field will
    * contain NodePool information for each Node, when it is available.
@@ -9988,13 +9090,11 @@ public java.util.List ge
    * repeated .google.cloud.securitycenter.v1.Kubernetes.NodePool node_pools = 3;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getNodePoolsOrBuilderList() {
     return nodePools_;
   }
   /**
-   *
-   *
    * 
    * GKE Node Pools associated with the finding. This field will
    * contain NodePool information for each Node, when it is available.
@@ -10007,8 +9107,6 @@ public int getNodePoolsCount() {
     return nodePools_.size();
   }
   /**
-   *
-   *
    * 
    * GKE Node Pools associated with the finding. This field will
    * contain NodePool information for each Node, when it is available.
@@ -10021,8 +9119,6 @@ public com.google.cloud.securitycenter.v1.Kubernetes.NodePool getNodePools(int i
     return nodePools_.get(index);
   }
   /**
-   *
-   *
    * 
    * GKE Node Pools associated with the finding. This field will
    * contain NodePool information for each Node, when it is available.
@@ -10039,8 +9135,6 @@ public com.google.cloud.securitycenter.v1.Kubernetes.NodePoolOrBuilder getNodePo
   public static final int ROLES_FIELD_NUMBER = 4;
   private java.util.List roles_;
   /**
-   *
-   *
    * 
    * Provides Kubernetes role information for findings that involve
    * Roles or ClusterRoles.
@@ -10053,8 +9147,6 @@ public java.util.List getRol
     return roles_;
   }
   /**
-   *
-   *
    * 
    * Provides Kubernetes role information for findings that involve
    * Roles or ClusterRoles.
@@ -10063,13 +9155,11 @@ public java.util.List getRol
    * repeated .google.cloud.securitycenter.v1.Kubernetes.Role roles = 4;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getRolesOrBuilderList() {
     return roles_;
   }
   /**
-   *
-   *
    * 
    * Provides Kubernetes role information for findings that involve
    * Roles or ClusterRoles.
@@ -10082,8 +9172,6 @@ public int getRolesCount() {
     return roles_.size();
   }
   /**
-   *
-   *
    * 
    * Provides Kubernetes role information for findings that involve
    * Roles or ClusterRoles.
@@ -10096,8 +9184,6 @@ public com.google.cloud.securitycenter.v1.Kubernetes.Role getRoles(int index) {
     return roles_.get(index);
   }
   /**
-   *
-   *
    * 
    * Provides Kubernetes role information for findings that involve
    * Roles or ClusterRoles.
@@ -10106,15 +9192,14 @@ public com.google.cloud.securitycenter.v1.Kubernetes.Role getRoles(int index) {
    * repeated .google.cloud.securitycenter.v1.Kubernetes.Role roles = 4;
    */
   @java.lang.Override
-  public com.google.cloud.securitycenter.v1.Kubernetes.RoleOrBuilder getRolesOrBuilder(int index) {
+  public com.google.cloud.securitycenter.v1.Kubernetes.RoleOrBuilder getRolesOrBuilder(
+      int index) {
     return roles_.get(index);
   }
 
   public static final int BINDINGS_FIELD_NUMBER = 5;
   private java.util.List bindings_;
   /**
-   *
-   *
    * 
    * Provides Kubernetes role binding information for findings that involve
    * RoleBindings or ClusterRoleBindings.
@@ -10127,8 +9212,6 @@ public java.util.List get
     return bindings_;
   }
   /**
-   *
-   *
    * 
    * Provides Kubernetes role binding information for findings that involve
    * RoleBindings or ClusterRoleBindings.
@@ -10137,13 +9220,11 @@ public java.util.List get
    * repeated .google.cloud.securitycenter.v1.Kubernetes.Binding bindings = 5;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getBindingsOrBuilderList() {
     return bindings_;
   }
   /**
-   *
-   *
    * 
    * Provides Kubernetes role binding information for findings that involve
    * RoleBindings or ClusterRoleBindings.
@@ -10156,8 +9237,6 @@ public int getBindingsCount() {
     return bindings_.size();
   }
   /**
-   *
-   *
    * 
    * Provides Kubernetes role binding information for findings that involve
    * RoleBindings or ClusterRoleBindings.
@@ -10170,8 +9249,6 @@ public com.google.cloud.securitycenter.v1.Kubernetes.Binding getBindings(int ind
     return bindings_.get(index);
   }
   /**
-   *
-   *
    * 
    * Provides Kubernetes role binding information for findings that involve
    * RoleBindings or ClusterRoleBindings.
@@ -10188,87 +9265,69 @@ public com.google.cloud.securitycenter.v1.Kubernetes.BindingOrBuilder getBinding
   public static final int ACCESS_REVIEWS_FIELD_NUMBER = 6;
   private java.util.List accessReviews_;
   /**
-   *
-   *
    * 
    * Provides information on any Kubernetes access reviews (i.e. privilege
    * checks) relevant to the finding.
    * 
* - * repeated .google.cloud.securitycenter.v1.Kubernetes.AccessReview access_reviews = 6; - * + * repeated .google.cloud.securitycenter.v1.Kubernetes.AccessReview access_reviews = 6; */ @java.lang.Override - public java.util.List - getAccessReviewsList() { + public java.util.List getAccessReviewsList() { return accessReviews_; } /** - * - * *
    * Provides information on any Kubernetes access reviews (i.e. privilege
    * checks) relevant to the finding.
    * 
* - * repeated .google.cloud.securitycenter.v1.Kubernetes.AccessReview access_reviews = 6; - * + * repeated .google.cloud.securitycenter.v1.Kubernetes.AccessReview access_reviews = 6; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.securitycenter.v1.Kubernetes.AccessReviewOrBuilder> + public java.util.List getAccessReviewsOrBuilderList() { return accessReviews_; } /** - * - * *
    * Provides information on any Kubernetes access reviews (i.e. privilege
    * checks) relevant to the finding.
    * 
* - * repeated .google.cloud.securitycenter.v1.Kubernetes.AccessReview access_reviews = 6; - * + * repeated .google.cloud.securitycenter.v1.Kubernetes.AccessReview access_reviews = 6; */ @java.lang.Override public int getAccessReviewsCount() { return accessReviews_.size(); } /** - * - * *
    * Provides information on any Kubernetes access reviews (i.e. privilege
    * checks) relevant to the finding.
    * 
* - * repeated .google.cloud.securitycenter.v1.Kubernetes.AccessReview access_reviews = 6; - * + * repeated .google.cloud.securitycenter.v1.Kubernetes.AccessReview access_reviews = 6; */ @java.lang.Override public com.google.cloud.securitycenter.v1.Kubernetes.AccessReview getAccessReviews(int index) { return accessReviews_.get(index); } /** - * - * *
    * Provides information on any Kubernetes access reviews (i.e. privilege
    * checks) relevant to the finding.
    * 
* - * repeated .google.cloud.securitycenter.v1.Kubernetes.AccessReview access_reviews = 6; - * + * repeated .google.cloud.securitycenter.v1.Kubernetes.AccessReview access_reviews = 6; */ @java.lang.Override - public com.google.cloud.securitycenter.v1.Kubernetes.AccessReviewOrBuilder - getAccessReviewsOrBuilder(int index) { + public com.google.cloud.securitycenter.v1.Kubernetes.AccessReviewOrBuilder getAccessReviewsOrBuilder( + int index) { return accessReviews_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -10280,7 +9339,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < pods_.size(); i++) { output.writeMessage(1, pods_.get(i)); } @@ -10309,22 +9369,28 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < pods_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, pods_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, pods_.get(i)); } for (int i = 0; i < nodes_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, nodes_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, nodes_.get(i)); } for (int i = 0; i < nodePools_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, nodePools_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, nodePools_.get(i)); } for (int i = 0; i < roles_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, roles_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, roles_.get(i)); } for (int i = 0; i < bindings_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, bindings_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, bindings_.get(i)); } for (int i = 0; i < accessReviews_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, accessReviews_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, accessReviews_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -10334,20 +9400,25 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.securitycenter.v1.Kubernetes)) { return super.equals(obj); } - com.google.cloud.securitycenter.v1.Kubernetes other = - (com.google.cloud.securitycenter.v1.Kubernetes) obj; - - if (!getPodsList().equals(other.getPodsList())) return false; - if (!getNodesList().equals(other.getNodesList())) return false; - if (!getNodePoolsList().equals(other.getNodePoolsList())) return false; - if (!getRolesList().equals(other.getRolesList())) return false; - if (!getBindingsList().equals(other.getBindingsList())) return false; - if (!getAccessReviewsList().equals(other.getAccessReviewsList())) return false; + com.google.cloud.securitycenter.v1.Kubernetes other = (com.google.cloud.securitycenter.v1.Kubernetes) obj; + + if (!getPodsList() + .equals(other.getPodsList())) return false; + if (!getNodesList() + .equals(other.getNodesList())) return false; + if (!getNodePoolsList() + .equals(other.getNodePoolsList())) return false; + if (!getRolesList() + .equals(other.getRolesList())) return false; + if (!getBindingsList() + .equals(other.getBindingsList())) return false; + if (!getAccessReviewsList() + .equals(other.getAccessReviewsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -10388,136 +9459,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.securitycenter.v1.Kubernetes parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.securitycenter.v1.Kubernetes parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.Kubernetes parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.Kubernetes parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.Kubernetes parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.Kubernetes parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.Kubernetes parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.Kubernetes parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.Kubernetes parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.securitycenter.v1.Kubernetes parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.securitycenter.v1.Kubernetes parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.Kubernetes parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.Kubernetes parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.Kubernetes parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.securitycenter.v1.Kubernetes prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Kubernetes related attributes.
    * 
* * Protobuf type {@code google.cloud.securitycenter.v1.Kubernetes} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.securitycenter.v1.Kubernetes) com.google.cloud.securitycenter.v1.KubernetesOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.securitycenter.v1.KubernetesProto - .internal_static_google_cloud_securitycenter_v1_Kubernetes_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.securitycenter.v1.KubernetesProto.internal_static_google_cloud_securitycenter_v1_Kubernetes_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.securitycenter.v1.KubernetesProto - .internal_static_google_cloud_securitycenter_v1_Kubernetes_fieldAccessorTable + return com.google.cloud.securitycenter.v1.KubernetesProto.internal_static_google_cloud_securitycenter_v1_Kubernetes_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.securitycenter.v1.Kubernetes.class, - com.google.cloud.securitycenter.v1.Kubernetes.Builder.class); + com.google.cloud.securitycenter.v1.Kubernetes.class, com.google.cloud.securitycenter.v1.Kubernetes.Builder.class); } // Construct using com.google.cloud.securitycenter.v1.Kubernetes.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(); @@ -10567,9 +9632,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.securitycenter.v1.KubernetesProto - .internal_static_google_cloud_securitycenter_v1_Kubernetes_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.securitycenter.v1.KubernetesProto.internal_static_google_cloud_securitycenter_v1_Kubernetes_descriptor; } @java.lang.Override @@ -10588,8 +9653,7 @@ public com.google.cloud.securitycenter.v1.Kubernetes build() { @java.lang.Override public com.google.cloud.securitycenter.v1.Kubernetes buildPartial() { - com.google.cloud.securitycenter.v1.Kubernetes result = - new com.google.cloud.securitycenter.v1.Kubernetes(this); + com.google.cloud.securitycenter.v1.Kubernetes result = new com.google.cloud.securitycenter.v1.Kubernetes(this); int from_bitField0_ = bitField0_; if (podsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -10653,39 +9717,38 @@ public com.google.cloud.securitycenter.v1.Kubernetes buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.securitycenter.v1.Kubernetes) { - return mergeFrom((com.google.cloud.securitycenter.v1.Kubernetes) other); + return mergeFrom((com.google.cloud.securitycenter.v1.Kubernetes)other); } else { super.mergeFrom(other); return this; @@ -10712,10 +9775,9 @@ public Builder mergeFrom(com.google.cloud.securitycenter.v1.Kubernetes other) { podsBuilder_ = null; pods_ = other.pods_; bitField0_ = (bitField0_ & ~0x00000001); - podsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getPodsFieldBuilder() - : null; + podsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getPodsFieldBuilder() : null; } else { podsBuilder_.addAllMessages(other.pods_); } @@ -10739,10 +9801,9 @@ public Builder mergeFrom(com.google.cloud.securitycenter.v1.Kubernetes other) { nodesBuilder_ = null; nodes_ = other.nodes_; bitField0_ = (bitField0_ & ~0x00000002); - nodesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getNodesFieldBuilder() - : null; + nodesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getNodesFieldBuilder() : null; } else { nodesBuilder_.addAllMessages(other.nodes_); } @@ -10766,10 +9827,9 @@ public Builder mergeFrom(com.google.cloud.securitycenter.v1.Kubernetes other) { nodePoolsBuilder_ = null; nodePools_ = other.nodePools_; bitField0_ = (bitField0_ & ~0x00000004); - nodePoolsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getNodePoolsFieldBuilder() - : null; + nodePoolsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getNodePoolsFieldBuilder() : null; } else { nodePoolsBuilder_.addAllMessages(other.nodePools_); } @@ -10793,10 +9853,9 @@ public Builder mergeFrom(com.google.cloud.securitycenter.v1.Kubernetes other) { rolesBuilder_ = null; roles_ = other.roles_; bitField0_ = (bitField0_ & ~0x00000008); - rolesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getRolesFieldBuilder() - : null; + rolesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getRolesFieldBuilder() : null; } else { rolesBuilder_.addAllMessages(other.roles_); } @@ -10820,10 +9879,9 @@ public Builder mergeFrom(com.google.cloud.securitycenter.v1.Kubernetes other) { bindingsBuilder_ = null; bindings_ = other.bindings_; bitField0_ = (bitField0_ & ~0x00000010); - bindingsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getBindingsFieldBuilder() - : null; + bindingsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getBindingsFieldBuilder() : null; } else { bindingsBuilder_.addAllMessages(other.bindings_); } @@ -10847,10 +9905,9 @@ public Builder mergeFrom(com.google.cloud.securitycenter.v1.Kubernetes other) { accessReviewsBuilder_ = null; accessReviews_ = other.accessReviews_; bitField0_ = (bitField0_ & ~0x00000020); - accessReviewsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getAccessReviewsFieldBuilder() - : null; + accessReviewsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getAccessReviewsFieldBuilder() : null; } else { accessReviewsBuilder_.addAllMessages(other.accessReviews_); } @@ -10882,97 +9939,90 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.securitycenter.v1.Kubernetes.Pod m = - input.readMessage( - com.google.cloud.securitycenter.v1.Kubernetes.Pod.parser(), - extensionRegistry); - if (podsBuilder_ == null) { - ensurePodsIsMutable(); - pods_.add(m); - } else { - podsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - com.google.cloud.securitycenter.v1.Kubernetes.Node m = - input.readMessage( - com.google.cloud.securitycenter.v1.Kubernetes.Node.parser(), - extensionRegistry); - if (nodesBuilder_ == null) { - ensureNodesIsMutable(); - nodes_.add(m); - } else { - nodesBuilder_.addMessage(m); - } - break; - } // case 18 - case 26: - { - com.google.cloud.securitycenter.v1.Kubernetes.NodePool m = - input.readMessage( - com.google.cloud.securitycenter.v1.Kubernetes.NodePool.parser(), - extensionRegistry); - if (nodePoolsBuilder_ == null) { - ensureNodePoolsIsMutable(); - nodePools_.add(m); - } else { - nodePoolsBuilder_.addMessage(m); - } - break; - } // case 26 - case 34: - { - com.google.cloud.securitycenter.v1.Kubernetes.Role m = - input.readMessage( - com.google.cloud.securitycenter.v1.Kubernetes.Role.parser(), - extensionRegistry); - if (rolesBuilder_ == null) { - ensureRolesIsMutable(); - roles_.add(m); - } else { - rolesBuilder_.addMessage(m); - } - break; - } // case 34 - case 42: - { - com.google.cloud.securitycenter.v1.Kubernetes.Binding m = - input.readMessage( - com.google.cloud.securitycenter.v1.Kubernetes.Binding.parser(), - extensionRegistry); - if (bindingsBuilder_ == null) { - ensureBindingsIsMutable(); - bindings_.add(m); - } else { - bindingsBuilder_.addMessage(m); - } - break; - } // case 42 - case 50: - { - com.google.cloud.securitycenter.v1.Kubernetes.AccessReview m = - input.readMessage( - com.google.cloud.securitycenter.v1.Kubernetes.AccessReview.parser(), - extensionRegistry); - if (accessReviewsBuilder_ == null) { - ensureAccessReviewsIsMutable(); - accessReviews_.add(m); - } else { - accessReviewsBuilder_.addMessage(m); - } - break; - } // case 50 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.cloud.securitycenter.v1.Kubernetes.Pod m = + input.readMessage( + com.google.cloud.securitycenter.v1.Kubernetes.Pod.parser(), + extensionRegistry); + if (podsBuilder_ == null) { + ensurePodsIsMutable(); + pods_.add(m); + } else { + podsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + com.google.cloud.securitycenter.v1.Kubernetes.Node m = + input.readMessage( + com.google.cloud.securitycenter.v1.Kubernetes.Node.parser(), + extensionRegistry); + if (nodesBuilder_ == null) { + ensureNodesIsMutable(); + nodes_.add(m); + } else { + nodesBuilder_.addMessage(m); + } + break; + } // case 18 + case 26: { + com.google.cloud.securitycenter.v1.Kubernetes.NodePool m = + input.readMessage( + com.google.cloud.securitycenter.v1.Kubernetes.NodePool.parser(), + extensionRegistry); + if (nodePoolsBuilder_ == null) { + ensureNodePoolsIsMutable(); + nodePools_.add(m); + } else { + nodePoolsBuilder_.addMessage(m); + } + break; + } // case 26 + case 34: { + com.google.cloud.securitycenter.v1.Kubernetes.Role m = + input.readMessage( + com.google.cloud.securitycenter.v1.Kubernetes.Role.parser(), + extensionRegistry); + if (rolesBuilder_ == null) { + ensureRolesIsMutable(); + roles_.add(m); + } else { + rolesBuilder_.addMessage(m); + } + break; + } // case 34 + case 42: { + com.google.cloud.securitycenter.v1.Kubernetes.Binding m = + input.readMessage( + com.google.cloud.securitycenter.v1.Kubernetes.Binding.parser(), + extensionRegistry); + if (bindingsBuilder_ == null) { + ensureBindingsIsMutable(); + bindings_.add(m); + } else { + bindingsBuilder_.addMessage(m); + } + break; + } // case 42 + case 50: { + com.google.cloud.securitycenter.v1.Kubernetes.AccessReview m = + input.readMessage( + com.google.cloud.securitycenter.v1.Kubernetes.AccessReview.parser(), + extensionRegistry); + if (accessReviewsBuilder_ == null) { + ensureAccessReviewsIsMutable(); + accessReviews_.add(m); + } else { + accessReviewsBuilder_.addMessage(m); + } + 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) { @@ -10982,28 +10032,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List pods_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensurePodsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { pods_ = new java.util.ArrayList(pods_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.securitycenter.v1.Kubernetes.Pod, - com.google.cloud.securitycenter.v1.Kubernetes.Pod.Builder, - com.google.cloud.securitycenter.v1.Kubernetes.PodOrBuilder> - podsBuilder_; + com.google.cloud.securitycenter.v1.Kubernetes.Pod, com.google.cloud.securitycenter.v1.Kubernetes.Pod.Builder, com.google.cloud.securitycenter.v1.Kubernetes.PodOrBuilder> podsBuilder_; /** - * - * *
      * Kubernetes Pods associated with the finding. This field will contain Pod
      * records for each container that is owned by a Pod.
@@ -11019,8 +10062,6 @@ public java.util.List getPods
       }
     }
     /**
-     *
-     *
      * 
      * Kubernetes Pods associated with the finding. This field will contain Pod
      * records for each container that is owned by a Pod.
@@ -11036,8 +10077,6 @@ public int getPodsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Kubernetes Pods associated with the finding. This field will contain Pod
      * records for each container that is owned by a Pod.
@@ -11053,8 +10092,6 @@ public com.google.cloud.securitycenter.v1.Kubernetes.Pod getPods(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * Kubernetes Pods associated with the finding. This field will contain Pod
      * records for each container that is owned by a Pod.
@@ -11062,7 +10099,8 @@ public com.google.cloud.securitycenter.v1.Kubernetes.Pod getPods(int index) {
      *
      * repeated .google.cloud.securitycenter.v1.Kubernetes.Pod pods = 1;
      */
-    public Builder setPods(int index, com.google.cloud.securitycenter.v1.Kubernetes.Pod value) {
+    public Builder setPods(
+        int index, com.google.cloud.securitycenter.v1.Kubernetes.Pod value) {
       if (podsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -11076,8 +10114,6 @@ public Builder setPods(int index, com.google.cloud.securitycenter.v1.Kubernetes.
       return this;
     }
     /**
-     *
-     *
      * 
      * Kubernetes Pods associated with the finding. This field will contain Pod
      * records for each container that is owned by a Pod.
@@ -11097,8 +10133,6 @@ public Builder setPods(
       return this;
     }
     /**
-     *
-     *
      * 
      * Kubernetes Pods associated with the finding. This field will contain Pod
      * records for each container that is owned by a Pod.
@@ -11120,8 +10154,6 @@ public Builder addPods(com.google.cloud.securitycenter.v1.Kubernetes.Pod value)
       return this;
     }
     /**
-     *
-     *
      * 
      * Kubernetes Pods associated with the finding. This field will contain Pod
      * records for each container that is owned by a Pod.
@@ -11129,7 +10161,8 @@ public Builder addPods(com.google.cloud.securitycenter.v1.Kubernetes.Pod value)
      *
      * repeated .google.cloud.securitycenter.v1.Kubernetes.Pod pods = 1;
      */
-    public Builder addPods(int index, com.google.cloud.securitycenter.v1.Kubernetes.Pod value) {
+    public Builder addPods(
+        int index, com.google.cloud.securitycenter.v1.Kubernetes.Pod value) {
       if (podsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -11143,8 +10176,6 @@ public Builder addPods(int index, com.google.cloud.securitycenter.v1.Kubernetes.
       return this;
     }
     /**
-     *
-     *
      * 
      * Kubernetes Pods associated with the finding. This field will contain Pod
      * records for each container that is owned by a Pod.
@@ -11164,8 +10195,6 @@ public Builder addPods(
       return this;
     }
     /**
-     *
-     *
      * 
      * Kubernetes Pods associated with the finding. This field will contain Pod
      * records for each container that is owned by a Pod.
@@ -11185,8 +10214,6 @@ public Builder addPods(
       return this;
     }
     /**
-     *
-     *
      * 
      * Kubernetes Pods associated with the finding. This field will contain Pod
      * records for each container that is owned by a Pod.
@@ -11198,7 +10225,8 @@ public Builder addAllPods(
         java.lang.Iterable values) {
       if (podsBuilder_ == null) {
         ensurePodsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, pods_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, pods_);
         onChanged();
       } else {
         podsBuilder_.addAllMessages(values);
@@ -11206,8 +10234,6 @@ public Builder addAllPods(
       return this;
     }
     /**
-     *
-     *
      * 
      * Kubernetes Pods associated with the finding. This field will contain Pod
      * records for each container that is owned by a Pod.
@@ -11226,8 +10252,6 @@ public Builder clearPods() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Kubernetes Pods associated with the finding. This field will contain Pod
      * records for each container that is owned by a Pod.
@@ -11246,8 +10270,6 @@ public Builder removePods(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Kubernetes Pods associated with the finding. This field will contain Pod
      * records for each container that is owned by a Pod.
@@ -11255,12 +10277,11 @@ public Builder removePods(int index) {
      *
      * repeated .google.cloud.securitycenter.v1.Kubernetes.Pod pods = 1;
      */
-    public com.google.cloud.securitycenter.v1.Kubernetes.Pod.Builder getPodsBuilder(int index) {
+    public com.google.cloud.securitycenter.v1.Kubernetes.Pod.Builder getPodsBuilder(
+        int index) {
       return getPodsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * Kubernetes Pods associated with the finding. This field will contain Pod
      * records for each container that is owned by a Pod.
@@ -11268,16 +10289,14 @@ public com.google.cloud.securitycenter.v1.Kubernetes.Pod.Builder getPodsBuilder(
      *
      * repeated .google.cloud.securitycenter.v1.Kubernetes.Pod pods = 1;
      */
-    public com.google.cloud.securitycenter.v1.Kubernetes.PodOrBuilder getPodsOrBuilder(int index) {
+    public com.google.cloud.securitycenter.v1.Kubernetes.PodOrBuilder getPodsOrBuilder(
+        int index) {
       if (podsBuilder_ == null) {
-        return pods_.get(index);
-      } else {
+        return pods_.get(index);  } else {
         return podsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * Kubernetes Pods associated with the finding. This field will contain Pod
      * records for each container that is owned by a Pod.
@@ -11285,8 +10304,8 @@ public com.google.cloud.securitycenter.v1.Kubernetes.PodOrBuilder getPodsOrBuild
      *
      * repeated .google.cloud.securitycenter.v1.Kubernetes.Pod pods = 1;
      */
-    public java.util.List
-        getPodsOrBuilderList() {
+    public java.util.List 
+         getPodsOrBuilderList() {
       if (podsBuilder_ != null) {
         return podsBuilder_.getMessageOrBuilderList();
       } else {
@@ -11294,8 +10313,6 @@ public com.google.cloud.securitycenter.v1.Kubernetes.PodOrBuilder getPodsOrBuild
       }
     }
     /**
-     *
-     *
      * 
      * Kubernetes Pods associated with the finding. This field will contain Pod
      * records for each container that is owned by a Pod.
@@ -11304,12 +10321,10 @@ public com.google.cloud.securitycenter.v1.Kubernetes.PodOrBuilder getPodsOrBuild
      * repeated .google.cloud.securitycenter.v1.Kubernetes.Pod pods = 1;
      */
     public com.google.cloud.securitycenter.v1.Kubernetes.Pod.Builder addPodsBuilder() {
-      return getPodsFieldBuilder()
-          .addBuilder(com.google.cloud.securitycenter.v1.Kubernetes.Pod.getDefaultInstance());
+      return getPodsFieldBuilder().addBuilder(
+          com.google.cloud.securitycenter.v1.Kubernetes.Pod.getDefaultInstance());
     }
-    /**
-     *
-     *
+    /**
      * 
      * Kubernetes Pods associated with the finding. This field will contain Pod
      * records for each container that is owned by a Pod.
@@ -11317,14 +10332,12 @@ public com.google.cloud.securitycenter.v1.Kubernetes.Pod.Builder addPodsBuilder(
      *
      * repeated .google.cloud.securitycenter.v1.Kubernetes.Pod pods = 1;
      */
-    public com.google.cloud.securitycenter.v1.Kubernetes.Pod.Builder addPodsBuilder(int index) {
-      return getPodsFieldBuilder()
-          .addBuilder(
-              index, com.google.cloud.securitycenter.v1.Kubernetes.Pod.getDefaultInstance());
+    public com.google.cloud.securitycenter.v1.Kubernetes.Pod.Builder addPodsBuilder(
+        int index) {
+      return getPodsFieldBuilder().addBuilder(
+          index, com.google.cloud.securitycenter.v1.Kubernetes.Pod.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Kubernetes Pods associated with the finding. This field will contain Pod
      * records for each container that is owned by a Pod.
@@ -11332,48 +10345,38 @@ public com.google.cloud.securitycenter.v1.Kubernetes.Pod.Builder addPodsBuilder(
      *
      * repeated .google.cloud.securitycenter.v1.Kubernetes.Pod pods = 1;
      */
-    public java.util.List
-        getPodsBuilderList() {
+    public java.util.List 
+         getPodsBuilderList() {
       return getPodsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.securitycenter.v1.Kubernetes.Pod,
-            com.google.cloud.securitycenter.v1.Kubernetes.Pod.Builder,
-            com.google.cloud.securitycenter.v1.Kubernetes.PodOrBuilder>
+        com.google.cloud.securitycenter.v1.Kubernetes.Pod, com.google.cloud.securitycenter.v1.Kubernetes.Pod.Builder, com.google.cloud.securitycenter.v1.Kubernetes.PodOrBuilder> 
         getPodsFieldBuilder() {
       if (podsBuilder_ == null) {
-        podsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.cloud.securitycenter.v1.Kubernetes.Pod,
-                com.google.cloud.securitycenter.v1.Kubernetes.Pod.Builder,
-                com.google.cloud.securitycenter.v1.Kubernetes.PodOrBuilder>(
-                pods_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        podsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.cloud.securitycenter.v1.Kubernetes.Pod, com.google.cloud.securitycenter.v1.Kubernetes.Pod.Builder, com.google.cloud.securitycenter.v1.Kubernetes.PodOrBuilder>(
+                pods_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         pods_ = null;
       }
       return podsBuilder_;
     }
 
     private java.util.List nodes_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureNodesIsMutable() {
       if (!((bitField0_ & 0x00000002) != 0)) {
-        nodes_ =
-            new java.util.ArrayList(nodes_);
+        nodes_ = new java.util.ArrayList(nodes_);
         bitField0_ |= 0x00000002;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.securitycenter.v1.Kubernetes.Node,
-            com.google.cloud.securitycenter.v1.Kubernetes.Node.Builder,
-            com.google.cloud.securitycenter.v1.Kubernetes.NodeOrBuilder>
-        nodesBuilder_;
+        com.google.cloud.securitycenter.v1.Kubernetes.Node, com.google.cloud.securitycenter.v1.Kubernetes.Node.Builder, com.google.cloud.securitycenter.v1.Kubernetes.NodeOrBuilder> nodesBuilder_;
 
     /**
-     *
-     *
      * 
      * Provides Kubernetes Node information.
      * 
@@ -11388,8 +10391,6 @@ public java.util.List getNod } } /** - * - * *
      * Provides Kubernetes Node information.
      * 
@@ -11404,8 +10405,6 @@ public int getNodesCount() { } } /** - * - * *
      * Provides Kubernetes Node information.
      * 
@@ -11420,15 +10419,14 @@ public com.google.cloud.securitycenter.v1.Kubernetes.Node getNodes(int index) { } } /** - * - * *
      * Provides Kubernetes Node information.
      * 
* * repeated .google.cloud.securitycenter.v1.Kubernetes.Node nodes = 2; */ - public Builder setNodes(int index, com.google.cloud.securitycenter.v1.Kubernetes.Node value) { + public Builder setNodes( + int index, com.google.cloud.securitycenter.v1.Kubernetes.Node value) { if (nodesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -11442,8 +10440,6 @@ public Builder setNodes(int index, com.google.cloud.securitycenter.v1.Kubernetes return this; } /** - * - * *
      * Provides Kubernetes Node information.
      * 
@@ -11462,8 +10458,6 @@ public Builder setNodes( return this; } /** - * - * *
      * Provides Kubernetes Node information.
      * 
@@ -11484,15 +10478,14 @@ public Builder addNodes(com.google.cloud.securitycenter.v1.Kubernetes.Node value return this; } /** - * - * *
      * Provides Kubernetes Node information.
      * 
* * repeated .google.cloud.securitycenter.v1.Kubernetes.Node nodes = 2; */ - public Builder addNodes(int index, com.google.cloud.securitycenter.v1.Kubernetes.Node value) { + public Builder addNodes( + int index, com.google.cloud.securitycenter.v1.Kubernetes.Node value) { if (nodesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -11506,8 +10499,6 @@ public Builder addNodes(int index, com.google.cloud.securitycenter.v1.Kubernetes return this; } /** - * - * *
      * Provides Kubernetes Node information.
      * 
@@ -11526,8 +10517,6 @@ public Builder addNodes( return this; } /** - * - * *
      * Provides Kubernetes Node information.
      * 
@@ -11546,8 +10535,6 @@ public Builder addNodes( return this; } /** - * - * *
      * Provides Kubernetes Node information.
      * 
@@ -11558,7 +10545,8 @@ public Builder addAllNodes( java.lang.Iterable values) { if (nodesBuilder_ == null) { ensureNodesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, nodes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, nodes_); onChanged(); } else { nodesBuilder_.addAllMessages(values); @@ -11566,8 +10554,6 @@ public Builder addAllNodes( return this; } /** - * - * *
      * Provides Kubernetes Node information.
      * 
@@ -11585,8 +10571,6 @@ public Builder clearNodes() { return this; } /** - * - * *
      * Provides Kubernetes Node information.
      * 
@@ -11604,20 +10588,17 @@ public Builder removeNodes(int index) { return this; } /** - * - * *
      * Provides Kubernetes Node information.
      * 
* * repeated .google.cloud.securitycenter.v1.Kubernetes.Node nodes = 2; */ - public com.google.cloud.securitycenter.v1.Kubernetes.Node.Builder getNodesBuilder(int index) { + public com.google.cloud.securitycenter.v1.Kubernetes.Node.Builder getNodesBuilder( + int index) { return getNodesFieldBuilder().getBuilder(index); } /** - * - * *
      * Provides Kubernetes Node information.
      * 
@@ -11627,22 +10608,19 @@ public com.google.cloud.securitycenter.v1.Kubernetes.Node.Builder getNodesBuilde public com.google.cloud.securitycenter.v1.Kubernetes.NodeOrBuilder getNodesOrBuilder( int index) { if (nodesBuilder_ == null) { - return nodes_.get(index); - } else { + return nodes_.get(index); } else { return nodesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Provides Kubernetes Node information.
      * 
* * repeated .google.cloud.securitycenter.v1.Kubernetes.Node nodes = 2; */ - public java.util.List - getNodesOrBuilderList() { + public java.util.List + getNodesOrBuilderList() { if (nodesBuilder_ != null) { return nodesBuilder_.getMessageOrBuilderList(); } else { @@ -11650,8 +10628,6 @@ public com.google.cloud.securitycenter.v1.Kubernetes.NodeOrBuilder getNodesOrBui } } /** - * - * *
      * Provides Kubernetes Node information.
      * 
@@ -11659,75 +10635,60 @@ public com.google.cloud.securitycenter.v1.Kubernetes.NodeOrBuilder getNodesOrBui * repeated .google.cloud.securitycenter.v1.Kubernetes.Node nodes = 2; */ public com.google.cloud.securitycenter.v1.Kubernetes.Node.Builder addNodesBuilder() { - return getNodesFieldBuilder() - .addBuilder(com.google.cloud.securitycenter.v1.Kubernetes.Node.getDefaultInstance()); + return getNodesFieldBuilder().addBuilder( + com.google.cloud.securitycenter.v1.Kubernetes.Node.getDefaultInstance()); } /** - * - * *
      * Provides Kubernetes Node information.
      * 
* * repeated .google.cloud.securitycenter.v1.Kubernetes.Node nodes = 2; */ - public com.google.cloud.securitycenter.v1.Kubernetes.Node.Builder addNodesBuilder(int index) { - return getNodesFieldBuilder() - .addBuilder( - index, com.google.cloud.securitycenter.v1.Kubernetes.Node.getDefaultInstance()); + public com.google.cloud.securitycenter.v1.Kubernetes.Node.Builder addNodesBuilder( + int index) { + return getNodesFieldBuilder().addBuilder( + index, com.google.cloud.securitycenter.v1.Kubernetes.Node.getDefaultInstance()); } /** - * - * *
      * Provides Kubernetes Node information.
      * 
* * repeated .google.cloud.securitycenter.v1.Kubernetes.Node nodes = 2; */ - public java.util.List - getNodesBuilderList() { + public java.util.List + getNodesBuilderList() { return getNodesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.securitycenter.v1.Kubernetes.Node, - com.google.cloud.securitycenter.v1.Kubernetes.Node.Builder, - com.google.cloud.securitycenter.v1.Kubernetes.NodeOrBuilder> + com.google.cloud.securitycenter.v1.Kubernetes.Node, com.google.cloud.securitycenter.v1.Kubernetes.Node.Builder, com.google.cloud.securitycenter.v1.Kubernetes.NodeOrBuilder> getNodesFieldBuilder() { if (nodesBuilder_ == null) { - nodesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.securitycenter.v1.Kubernetes.Node, - com.google.cloud.securitycenter.v1.Kubernetes.Node.Builder, - com.google.cloud.securitycenter.v1.Kubernetes.NodeOrBuilder>( - nodes_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); + nodesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.securitycenter.v1.Kubernetes.Node, com.google.cloud.securitycenter.v1.Kubernetes.Node.Builder, com.google.cloud.securitycenter.v1.Kubernetes.NodeOrBuilder>( + nodes_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); nodes_ = null; } return nodesBuilder_; } private java.util.List nodePools_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureNodePoolsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - nodePools_ = - new java.util.ArrayList( - nodePools_); + nodePools_ = new java.util.ArrayList(nodePools_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.securitycenter.v1.Kubernetes.NodePool, - com.google.cloud.securitycenter.v1.Kubernetes.NodePool.Builder, - com.google.cloud.securitycenter.v1.Kubernetes.NodePoolOrBuilder> - nodePoolsBuilder_; + com.google.cloud.securitycenter.v1.Kubernetes.NodePool, com.google.cloud.securitycenter.v1.Kubernetes.NodePool.Builder, com.google.cloud.securitycenter.v1.Kubernetes.NodePoolOrBuilder> nodePoolsBuilder_; /** - * - * *
      * GKE Node Pools associated with the finding. This field will
      * contain NodePool information for each Node, when it is available.
@@ -11735,8 +10696,7 @@ private void ensureNodePoolsIsMutable() {
      *
      * repeated .google.cloud.securitycenter.v1.Kubernetes.NodePool node_pools = 3;
      */
-    public java.util.List
-        getNodePoolsList() {
+    public java.util.List getNodePoolsList() {
       if (nodePoolsBuilder_ == null) {
         return java.util.Collections.unmodifiableList(nodePools_);
       } else {
@@ -11744,8 +10704,6 @@ private void ensureNodePoolsIsMutable() {
       }
     }
     /**
-     *
-     *
      * 
      * GKE Node Pools associated with the finding. This field will
      * contain NodePool information for each Node, when it is available.
@@ -11761,8 +10719,6 @@ public int getNodePoolsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * GKE Node Pools associated with the finding. This field will
      * contain NodePool information for each Node, when it is available.
@@ -11778,8 +10734,6 @@ public com.google.cloud.securitycenter.v1.Kubernetes.NodePool getNodePools(int i
       }
     }
     /**
-     *
-     *
      * 
      * GKE Node Pools associated with the finding. This field will
      * contain NodePool information for each Node, when it is available.
@@ -11802,8 +10756,6 @@ public Builder setNodePools(
       return this;
     }
     /**
-     *
-     *
      * 
      * GKE Node Pools associated with the finding. This field will
      * contain NodePool information for each Node, when it is available.
@@ -11823,8 +10775,6 @@ public Builder setNodePools(
       return this;
     }
     /**
-     *
-     *
      * 
      * GKE Node Pools associated with the finding. This field will
      * contain NodePool information for each Node, when it is available.
@@ -11846,8 +10796,6 @@ public Builder addNodePools(com.google.cloud.securitycenter.v1.Kubernetes.NodePo
       return this;
     }
     /**
-     *
-     *
      * 
      * GKE Node Pools associated with the finding. This field will
      * contain NodePool information for each Node, when it is available.
@@ -11870,8 +10818,6 @@ public Builder addNodePools(
       return this;
     }
     /**
-     *
-     *
      * 
      * GKE Node Pools associated with the finding. This field will
      * contain NodePool information for each Node, when it is available.
@@ -11891,8 +10837,6 @@ public Builder addNodePools(
       return this;
     }
     /**
-     *
-     *
      * 
      * GKE Node Pools associated with the finding. This field will
      * contain NodePool information for each Node, when it is available.
@@ -11912,8 +10856,6 @@ public Builder addNodePools(
       return this;
     }
     /**
-     *
-     *
      * 
      * GKE Node Pools associated with the finding. This field will
      * contain NodePool information for each Node, when it is available.
@@ -11922,11 +10864,11 @@ public Builder addNodePools(
      * repeated .google.cloud.securitycenter.v1.Kubernetes.NodePool node_pools = 3;
      */
     public Builder addAllNodePools(
-        java.lang.Iterable
-            values) {
+        java.lang.Iterable values) {
       if (nodePoolsBuilder_ == null) {
         ensureNodePoolsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, nodePools_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, nodePools_);
         onChanged();
       } else {
         nodePoolsBuilder_.addAllMessages(values);
@@ -11934,8 +10876,6 @@ public Builder addAllNodePools(
       return this;
     }
     /**
-     *
-     *
      * 
      * GKE Node Pools associated with the finding. This field will
      * contain NodePool information for each Node, when it is available.
@@ -11954,8 +10894,6 @@ public Builder clearNodePools() {
       return this;
     }
     /**
-     *
-     *
      * 
      * GKE Node Pools associated with the finding. This field will
      * contain NodePool information for each Node, when it is available.
@@ -11974,8 +10912,6 @@ public Builder removeNodePools(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * GKE Node Pools associated with the finding. This field will
      * contain NodePool information for each Node, when it is available.
@@ -11988,8 +10924,6 @@ public com.google.cloud.securitycenter.v1.Kubernetes.NodePool.Builder getNodePoo
       return getNodePoolsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * GKE Node Pools associated with the finding. This field will
      * contain NodePool information for each Node, when it is available.
@@ -12000,14 +10934,11 @@ public com.google.cloud.securitycenter.v1.Kubernetes.NodePool.Builder getNodePoo
     public com.google.cloud.securitycenter.v1.Kubernetes.NodePoolOrBuilder getNodePoolsOrBuilder(
         int index) {
       if (nodePoolsBuilder_ == null) {
-        return nodePools_.get(index);
-      } else {
+        return nodePools_.get(index);  } else {
         return nodePoolsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * GKE Node Pools associated with the finding. This field will
      * contain NodePool information for each Node, when it is available.
@@ -12015,8 +10946,8 @@ public com.google.cloud.securitycenter.v1.Kubernetes.NodePoolOrBuilder getNodePo
      *
      * repeated .google.cloud.securitycenter.v1.Kubernetes.NodePool node_pools = 3;
      */
-    public java.util.List
-        getNodePoolsOrBuilderList() {
+    public java.util.List 
+         getNodePoolsOrBuilderList() {
       if (nodePoolsBuilder_ != null) {
         return nodePoolsBuilder_.getMessageOrBuilderList();
       } else {
@@ -12024,8 +10955,6 @@ public com.google.cloud.securitycenter.v1.Kubernetes.NodePoolOrBuilder getNodePo
       }
     }
     /**
-     *
-     *
      * 
      * GKE Node Pools associated with the finding. This field will
      * contain NodePool information for each Node, when it is available.
@@ -12034,12 +10963,10 @@ public com.google.cloud.securitycenter.v1.Kubernetes.NodePoolOrBuilder getNodePo
      * repeated .google.cloud.securitycenter.v1.Kubernetes.NodePool node_pools = 3;
      */
     public com.google.cloud.securitycenter.v1.Kubernetes.NodePool.Builder addNodePoolsBuilder() {
-      return getNodePoolsFieldBuilder()
-          .addBuilder(com.google.cloud.securitycenter.v1.Kubernetes.NodePool.getDefaultInstance());
+      return getNodePoolsFieldBuilder().addBuilder(
+          com.google.cloud.securitycenter.v1.Kubernetes.NodePool.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * GKE Node Pools associated with the finding. This field will
      * contain NodePool information for each Node, when it is available.
@@ -12049,13 +10976,10 @@ public com.google.cloud.securitycenter.v1.Kubernetes.NodePool.Builder addNodePoo
      */
     public com.google.cloud.securitycenter.v1.Kubernetes.NodePool.Builder addNodePoolsBuilder(
         int index) {
-      return getNodePoolsFieldBuilder()
-          .addBuilder(
-              index, com.google.cloud.securitycenter.v1.Kubernetes.NodePool.getDefaultInstance());
+      return getNodePoolsFieldBuilder().addBuilder(
+          index, com.google.cloud.securitycenter.v1.Kubernetes.NodePool.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * GKE Node Pools associated with the finding. This field will
      * contain NodePool information for each Node, when it is available.
@@ -12063,48 +10987,38 @@ public com.google.cloud.securitycenter.v1.Kubernetes.NodePool.Builder addNodePoo
      *
      * repeated .google.cloud.securitycenter.v1.Kubernetes.NodePool node_pools = 3;
      */
-    public java.util.List
-        getNodePoolsBuilderList() {
+    public java.util.List 
+         getNodePoolsBuilderList() {
       return getNodePoolsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.securitycenter.v1.Kubernetes.NodePool,
-            com.google.cloud.securitycenter.v1.Kubernetes.NodePool.Builder,
-            com.google.cloud.securitycenter.v1.Kubernetes.NodePoolOrBuilder>
+        com.google.cloud.securitycenter.v1.Kubernetes.NodePool, com.google.cloud.securitycenter.v1.Kubernetes.NodePool.Builder, com.google.cloud.securitycenter.v1.Kubernetes.NodePoolOrBuilder> 
         getNodePoolsFieldBuilder() {
       if (nodePoolsBuilder_ == null) {
-        nodePoolsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.cloud.securitycenter.v1.Kubernetes.NodePool,
-                com.google.cloud.securitycenter.v1.Kubernetes.NodePool.Builder,
-                com.google.cloud.securitycenter.v1.Kubernetes.NodePoolOrBuilder>(
-                nodePools_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean());
+        nodePoolsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.cloud.securitycenter.v1.Kubernetes.NodePool, com.google.cloud.securitycenter.v1.Kubernetes.NodePool.Builder, com.google.cloud.securitycenter.v1.Kubernetes.NodePoolOrBuilder>(
+                nodePools_,
+                ((bitField0_ & 0x00000004) != 0),
+                getParentForChildren(),
+                isClean());
         nodePools_ = null;
       }
       return nodePoolsBuilder_;
     }
 
     private java.util.List roles_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureRolesIsMutable() {
       if (!((bitField0_ & 0x00000008) != 0)) {
-        roles_ =
-            new java.util.ArrayList(roles_);
+        roles_ = new java.util.ArrayList(roles_);
         bitField0_ |= 0x00000008;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.securitycenter.v1.Kubernetes.Role,
-            com.google.cloud.securitycenter.v1.Kubernetes.Role.Builder,
-            com.google.cloud.securitycenter.v1.Kubernetes.RoleOrBuilder>
-        rolesBuilder_;
+        com.google.cloud.securitycenter.v1.Kubernetes.Role, com.google.cloud.securitycenter.v1.Kubernetes.Role.Builder, com.google.cloud.securitycenter.v1.Kubernetes.RoleOrBuilder> rolesBuilder_;
 
     /**
-     *
-     *
      * 
      * Provides Kubernetes role information for findings that involve
      * Roles or ClusterRoles.
@@ -12120,8 +11034,6 @@ public java.util.List getRol
       }
     }
     /**
-     *
-     *
      * 
      * Provides Kubernetes role information for findings that involve
      * Roles or ClusterRoles.
@@ -12137,8 +11049,6 @@ public int getRolesCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Provides Kubernetes role information for findings that involve
      * Roles or ClusterRoles.
@@ -12154,8 +11064,6 @@ public com.google.cloud.securitycenter.v1.Kubernetes.Role getRoles(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * Provides Kubernetes role information for findings that involve
      * Roles or ClusterRoles.
@@ -12163,7 +11071,8 @@ public com.google.cloud.securitycenter.v1.Kubernetes.Role getRoles(int index) {
      *
      * repeated .google.cloud.securitycenter.v1.Kubernetes.Role roles = 4;
      */
-    public Builder setRoles(int index, com.google.cloud.securitycenter.v1.Kubernetes.Role value) {
+    public Builder setRoles(
+        int index, com.google.cloud.securitycenter.v1.Kubernetes.Role value) {
       if (rolesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -12177,8 +11086,6 @@ public Builder setRoles(int index, com.google.cloud.securitycenter.v1.Kubernetes
       return this;
     }
     /**
-     *
-     *
      * 
      * Provides Kubernetes role information for findings that involve
      * Roles or ClusterRoles.
@@ -12198,8 +11105,6 @@ public Builder setRoles(
       return this;
     }
     /**
-     *
-     *
      * 
      * Provides Kubernetes role information for findings that involve
      * Roles or ClusterRoles.
@@ -12221,8 +11126,6 @@ public Builder addRoles(com.google.cloud.securitycenter.v1.Kubernetes.Role value
       return this;
     }
     /**
-     *
-     *
      * 
      * Provides Kubernetes role information for findings that involve
      * Roles or ClusterRoles.
@@ -12230,7 +11133,8 @@ public Builder addRoles(com.google.cloud.securitycenter.v1.Kubernetes.Role value
      *
      * repeated .google.cloud.securitycenter.v1.Kubernetes.Role roles = 4;
      */
-    public Builder addRoles(int index, com.google.cloud.securitycenter.v1.Kubernetes.Role value) {
+    public Builder addRoles(
+        int index, com.google.cloud.securitycenter.v1.Kubernetes.Role value) {
       if (rolesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -12244,8 +11148,6 @@ public Builder addRoles(int index, com.google.cloud.securitycenter.v1.Kubernetes
       return this;
     }
     /**
-     *
-     *
      * 
      * Provides Kubernetes role information for findings that involve
      * Roles or ClusterRoles.
@@ -12265,8 +11167,6 @@ public Builder addRoles(
       return this;
     }
     /**
-     *
-     *
      * 
      * Provides Kubernetes role information for findings that involve
      * Roles or ClusterRoles.
@@ -12286,8 +11186,6 @@ public Builder addRoles(
       return this;
     }
     /**
-     *
-     *
      * 
      * Provides Kubernetes role information for findings that involve
      * Roles or ClusterRoles.
@@ -12299,7 +11197,8 @@ public Builder addAllRoles(
         java.lang.Iterable values) {
       if (rolesBuilder_ == null) {
         ensureRolesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, roles_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, roles_);
         onChanged();
       } else {
         rolesBuilder_.addAllMessages(values);
@@ -12307,8 +11206,6 @@ public Builder addAllRoles(
       return this;
     }
     /**
-     *
-     *
      * 
      * Provides Kubernetes role information for findings that involve
      * Roles or ClusterRoles.
@@ -12327,8 +11224,6 @@ public Builder clearRoles() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Provides Kubernetes role information for findings that involve
      * Roles or ClusterRoles.
@@ -12347,8 +11242,6 @@ public Builder removeRoles(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Provides Kubernetes role information for findings that involve
      * Roles or ClusterRoles.
@@ -12356,12 +11249,11 @@ public Builder removeRoles(int index) {
      *
      * repeated .google.cloud.securitycenter.v1.Kubernetes.Role roles = 4;
      */
-    public com.google.cloud.securitycenter.v1.Kubernetes.Role.Builder getRolesBuilder(int index) {
+    public com.google.cloud.securitycenter.v1.Kubernetes.Role.Builder getRolesBuilder(
+        int index) {
       return getRolesFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * Provides Kubernetes role information for findings that involve
      * Roles or ClusterRoles.
@@ -12372,14 +11264,11 @@ public com.google.cloud.securitycenter.v1.Kubernetes.Role.Builder getRolesBuilde
     public com.google.cloud.securitycenter.v1.Kubernetes.RoleOrBuilder getRolesOrBuilder(
         int index) {
       if (rolesBuilder_ == null) {
-        return roles_.get(index);
-      } else {
+        return roles_.get(index);  } else {
         return rolesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * Provides Kubernetes role information for findings that involve
      * Roles or ClusterRoles.
@@ -12387,8 +11276,8 @@ public com.google.cloud.securitycenter.v1.Kubernetes.RoleOrBuilder getRolesOrBui
      *
      * repeated .google.cloud.securitycenter.v1.Kubernetes.Role roles = 4;
      */
-    public java.util.List
-        getRolesOrBuilderList() {
+    public java.util.List 
+         getRolesOrBuilderList() {
       if (rolesBuilder_ != null) {
         return rolesBuilder_.getMessageOrBuilderList();
       } else {
@@ -12396,8 +11285,6 @@ public com.google.cloud.securitycenter.v1.Kubernetes.RoleOrBuilder getRolesOrBui
       }
     }
     /**
-     *
-     *
      * 
      * Provides Kubernetes role information for findings that involve
      * Roles or ClusterRoles.
@@ -12406,12 +11293,10 @@ public com.google.cloud.securitycenter.v1.Kubernetes.RoleOrBuilder getRolesOrBui
      * repeated .google.cloud.securitycenter.v1.Kubernetes.Role roles = 4;
      */
     public com.google.cloud.securitycenter.v1.Kubernetes.Role.Builder addRolesBuilder() {
-      return getRolesFieldBuilder()
-          .addBuilder(com.google.cloud.securitycenter.v1.Kubernetes.Role.getDefaultInstance());
+      return getRolesFieldBuilder().addBuilder(
+          com.google.cloud.securitycenter.v1.Kubernetes.Role.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Provides Kubernetes role information for findings that involve
      * Roles or ClusterRoles.
@@ -12419,14 +11304,12 @@ public com.google.cloud.securitycenter.v1.Kubernetes.Role.Builder addRolesBuilde
      *
      * repeated .google.cloud.securitycenter.v1.Kubernetes.Role roles = 4;
      */
-    public com.google.cloud.securitycenter.v1.Kubernetes.Role.Builder addRolesBuilder(int index) {
-      return getRolesFieldBuilder()
-          .addBuilder(
-              index, com.google.cloud.securitycenter.v1.Kubernetes.Role.getDefaultInstance());
+    public com.google.cloud.securitycenter.v1.Kubernetes.Role.Builder addRolesBuilder(
+        int index) {
+      return getRolesFieldBuilder().addBuilder(
+          index, com.google.cloud.securitycenter.v1.Kubernetes.Role.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Provides Kubernetes role information for findings that involve
      * Roles or ClusterRoles.
@@ -12434,49 +11317,38 @@ public com.google.cloud.securitycenter.v1.Kubernetes.Role.Builder addRolesBuilde
      *
      * repeated .google.cloud.securitycenter.v1.Kubernetes.Role roles = 4;
      */
-    public java.util.List
-        getRolesBuilderList() {
+    public java.util.List 
+         getRolesBuilderList() {
       return getRolesFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.securitycenter.v1.Kubernetes.Role,
-            com.google.cloud.securitycenter.v1.Kubernetes.Role.Builder,
-            com.google.cloud.securitycenter.v1.Kubernetes.RoleOrBuilder>
+        com.google.cloud.securitycenter.v1.Kubernetes.Role, com.google.cloud.securitycenter.v1.Kubernetes.Role.Builder, com.google.cloud.securitycenter.v1.Kubernetes.RoleOrBuilder> 
         getRolesFieldBuilder() {
       if (rolesBuilder_ == null) {
-        rolesBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.cloud.securitycenter.v1.Kubernetes.Role,
-                com.google.cloud.securitycenter.v1.Kubernetes.Role.Builder,
-                com.google.cloud.securitycenter.v1.Kubernetes.RoleOrBuilder>(
-                roles_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean());
+        rolesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.cloud.securitycenter.v1.Kubernetes.Role, com.google.cloud.securitycenter.v1.Kubernetes.Role.Builder, com.google.cloud.securitycenter.v1.Kubernetes.RoleOrBuilder>(
+                roles_,
+                ((bitField0_ & 0x00000008) != 0),
+                getParentForChildren(),
+                isClean());
         roles_ = null;
       }
       return rolesBuilder_;
     }
 
     private java.util.List bindings_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureBindingsIsMutable() {
       if (!((bitField0_ & 0x00000010) != 0)) {
-        bindings_ =
-            new java.util.ArrayList(
-                bindings_);
+        bindings_ = new java.util.ArrayList(bindings_);
         bitField0_ |= 0x00000010;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.securitycenter.v1.Kubernetes.Binding,
-            com.google.cloud.securitycenter.v1.Kubernetes.Binding.Builder,
-            com.google.cloud.securitycenter.v1.Kubernetes.BindingOrBuilder>
-        bindingsBuilder_;
+        com.google.cloud.securitycenter.v1.Kubernetes.Binding, com.google.cloud.securitycenter.v1.Kubernetes.Binding.Builder, com.google.cloud.securitycenter.v1.Kubernetes.BindingOrBuilder> bindingsBuilder_;
 
     /**
-     *
-     *
      * 
      * Provides Kubernetes role binding information for findings that involve
      * RoleBindings or ClusterRoleBindings.
@@ -12492,8 +11364,6 @@ public java.util.List get
       }
     }
     /**
-     *
-     *
      * 
      * Provides Kubernetes role binding information for findings that involve
      * RoleBindings or ClusterRoleBindings.
@@ -12509,8 +11379,6 @@ public int getBindingsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Provides Kubernetes role binding information for findings that involve
      * RoleBindings or ClusterRoleBindings.
@@ -12526,8 +11394,6 @@ public com.google.cloud.securitycenter.v1.Kubernetes.Binding getBindings(int ind
       }
     }
     /**
-     *
-     *
      * 
      * Provides Kubernetes role binding information for findings that involve
      * RoleBindings or ClusterRoleBindings.
@@ -12550,8 +11416,6 @@ public Builder setBindings(
       return this;
     }
     /**
-     *
-     *
      * 
      * Provides Kubernetes role binding information for findings that involve
      * RoleBindings or ClusterRoleBindings.
@@ -12571,8 +11435,6 @@ public Builder setBindings(
       return this;
     }
     /**
-     *
-     *
      * 
      * Provides Kubernetes role binding information for findings that involve
      * RoleBindings or ClusterRoleBindings.
@@ -12594,8 +11456,6 @@ public Builder addBindings(com.google.cloud.securitycenter.v1.Kubernetes.Binding
       return this;
     }
     /**
-     *
-     *
      * 
      * Provides Kubernetes role binding information for findings that involve
      * RoleBindings or ClusterRoleBindings.
@@ -12618,8 +11478,6 @@ public Builder addBindings(
       return this;
     }
     /**
-     *
-     *
      * 
      * Provides Kubernetes role binding information for findings that involve
      * RoleBindings or ClusterRoleBindings.
@@ -12639,8 +11497,6 @@ public Builder addBindings(
       return this;
     }
     /**
-     *
-     *
      * 
      * Provides Kubernetes role binding information for findings that involve
      * RoleBindings or ClusterRoleBindings.
@@ -12660,8 +11516,6 @@ public Builder addBindings(
       return this;
     }
     /**
-     *
-     *
      * 
      * Provides Kubernetes role binding information for findings that involve
      * RoleBindings or ClusterRoleBindings.
@@ -12670,11 +11524,11 @@ public Builder addBindings(
      * repeated .google.cloud.securitycenter.v1.Kubernetes.Binding bindings = 5;
      */
     public Builder addAllBindings(
-        java.lang.Iterable
-            values) {
+        java.lang.Iterable values) {
       if (bindingsBuilder_ == null) {
         ensureBindingsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, bindings_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, bindings_);
         onChanged();
       } else {
         bindingsBuilder_.addAllMessages(values);
@@ -12682,8 +11536,6 @@ public Builder addAllBindings(
       return this;
     }
     /**
-     *
-     *
      * 
      * Provides Kubernetes role binding information for findings that involve
      * RoleBindings or ClusterRoleBindings.
@@ -12702,8 +11554,6 @@ public Builder clearBindings() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Provides Kubernetes role binding information for findings that involve
      * RoleBindings or ClusterRoleBindings.
@@ -12722,8 +11572,6 @@ public Builder removeBindings(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Provides Kubernetes role binding information for findings that involve
      * RoleBindings or ClusterRoleBindings.
@@ -12736,8 +11584,6 @@ public com.google.cloud.securitycenter.v1.Kubernetes.Binding.Builder getBindings
       return getBindingsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * Provides Kubernetes role binding information for findings that involve
      * RoleBindings or ClusterRoleBindings.
@@ -12748,14 +11594,11 @@ public com.google.cloud.securitycenter.v1.Kubernetes.Binding.Builder getBindings
     public com.google.cloud.securitycenter.v1.Kubernetes.BindingOrBuilder getBindingsOrBuilder(
         int index) {
       if (bindingsBuilder_ == null) {
-        return bindings_.get(index);
-      } else {
+        return bindings_.get(index);  } else {
         return bindingsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * Provides Kubernetes role binding information for findings that involve
      * RoleBindings or ClusterRoleBindings.
@@ -12763,8 +11606,8 @@ public com.google.cloud.securitycenter.v1.Kubernetes.BindingOrBuilder getBinding
      *
      * repeated .google.cloud.securitycenter.v1.Kubernetes.Binding bindings = 5;
      */
-    public java.util.List
-        getBindingsOrBuilderList() {
+    public java.util.List 
+         getBindingsOrBuilderList() {
       if (bindingsBuilder_ != null) {
         return bindingsBuilder_.getMessageOrBuilderList();
       } else {
@@ -12772,8 +11615,6 @@ public com.google.cloud.securitycenter.v1.Kubernetes.BindingOrBuilder getBinding
       }
     }
     /**
-     *
-     *
      * 
      * Provides Kubernetes role binding information for findings that involve
      * RoleBindings or ClusterRoleBindings.
@@ -12782,12 +11623,10 @@ public com.google.cloud.securitycenter.v1.Kubernetes.BindingOrBuilder getBinding
      * repeated .google.cloud.securitycenter.v1.Kubernetes.Binding bindings = 5;
      */
     public com.google.cloud.securitycenter.v1.Kubernetes.Binding.Builder addBindingsBuilder() {
-      return getBindingsFieldBuilder()
-          .addBuilder(com.google.cloud.securitycenter.v1.Kubernetes.Binding.getDefaultInstance());
+      return getBindingsFieldBuilder().addBuilder(
+          com.google.cloud.securitycenter.v1.Kubernetes.Binding.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Provides Kubernetes role binding information for findings that involve
      * RoleBindings or ClusterRoleBindings.
@@ -12797,13 +11636,10 @@ public com.google.cloud.securitycenter.v1.Kubernetes.Binding.Builder addBindings
      */
     public com.google.cloud.securitycenter.v1.Kubernetes.Binding.Builder addBindingsBuilder(
         int index) {
-      return getBindingsFieldBuilder()
-          .addBuilder(
-              index, com.google.cloud.securitycenter.v1.Kubernetes.Binding.getDefaultInstance());
+      return getBindingsFieldBuilder().addBuilder(
+          index, com.google.cloud.securitycenter.v1.Kubernetes.Binding.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Provides Kubernetes role binding information for findings that involve
      * RoleBindings or ClusterRoleBindings.
@@ -12811,59 +11647,46 @@ public com.google.cloud.securitycenter.v1.Kubernetes.Binding.Builder addBindings
      *
      * repeated .google.cloud.securitycenter.v1.Kubernetes.Binding bindings = 5;
      */
-    public java.util.List
-        getBindingsBuilderList() {
+    public java.util.List 
+         getBindingsBuilderList() {
       return getBindingsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.securitycenter.v1.Kubernetes.Binding,
-            com.google.cloud.securitycenter.v1.Kubernetes.Binding.Builder,
-            com.google.cloud.securitycenter.v1.Kubernetes.BindingOrBuilder>
+        com.google.cloud.securitycenter.v1.Kubernetes.Binding, com.google.cloud.securitycenter.v1.Kubernetes.Binding.Builder, com.google.cloud.securitycenter.v1.Kubernetes.BindingOrBuilder> 
         getBindingsFieldBuilder() {
       if (bindingsBuilder_ == null) {
-        bindingsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.cloud.securitycenter.v1.Kubernetes.Binding,
-                com.google.cloud.securitycenter.v1.Kubernetes.Binding.Builder,
-                com.google.cloud.securitycenter.v1.Kubernetes.BindingOrBuilder>(
-                bindings_, ((bitField0_ & 0x00000010) != 0), getParentForChildren(), isClean());
+        bindingsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.cloud.securitycenter.v1.Kubernetes.Binding, com.google.cloud.securitycenter.v1.Kubernetes.Binding.Builder, com.google.cloud.securitycenter.v1.Kubernetes.BindingOrBuilder>(
+                bindings_,
+                ((bitField0_ & 0x00000010) != 0),
+                getParentForChildren(),
+                isClean());
         bindings_ = null;
       }
       return bindingsBuilder_;
     }
 
-    private java.util.List
-        accessReviews_ = java.util.Collections.emptyList();
-
+    private java.util.List accessReviews_ =
+      java.util.Collections.emptyList();
     private void ensureAccessReviewsIsMutable() {
       if (!((bitField0_ & 0x00000020) != 0)) {
-        accessReviews_ =
-            new java.util.ArrayList(
-                accessReviews_);
+        accessReviews_ = new java.util.ArrayList(accessReviews_);
         bitField0_ |= 0x00000020;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.securitycenter.v1.Kubernetes.AccessReview,
-            com.google.cloud.securitycenter.v1.Kubernetes.AccessReview.Builder,
-            com.google.cloud.securitycenter.v1.Kubernetes.AccessReviewOrBuilder>
-        accessReviewsBuilder_;
+        com.google.cloud.securitycenter.v1.Kubernetes.AccessReview, com.google.cloud.securitycenter.v1.Kubernetes.AccessReview.Builder, com.google.cloud.securitycenter.v1.Kubernetes.AccessReviewOrBuilder> accessReviewsBuilder_;
 
     /**
-     *
-     *
      * 
      * Provides information on any Kubernetes access reviews (i.e. privilege
      * checks) relevant to the finding.
      * 
* - * repeated .google.cloud.securitycenter.v1.Kubernetes.AccessReview access_reviews = 6; - * + * repeated .google.cloud.securitycenter.v1.Kubernetes.AccessReview access_reviews = 6; */ - public java.util.List - getAccessReviewsList() { + public java.util.List getAccessReviewsList() { if (accessReviewsBuilder_ == null) { return java.util.Collections.unmodifiableList(accessReviews_); } else { @@ -12871,15 +11694,12 @@ private void ensureAccessReviewsIsMutable() { } } /** - * - * *
      * Provides information on any Kubernetes access reviews (i.e. privilege
      * checks) relevant to the finding.
      * 
* - * repeated .google.cloud.securitycenter.v1.Kubernetes.AccessReview access_reviews = 6; - * + * repeated .google.cloud.securitycenter.v1.Kubernetes.AccessReview access_reviews = 6; */ public int getAccessReviewsCount() { if (accessReviewsBuilder_ == null) { @@ -12889,15 +11709,12 @@ public int getAccessReviewsCount() { } } /** - * - * *
      * Provides information on any Kubernetes access reviews (i.e. privilege
      * checks) relevant to the finding.
      * 
* - * repeated .google.cloud.securitycenter.v1.Kubernetes.AccessReview access_reviews = 6; - * + * repeated .google.cloud.securitycenter.v1.Kubernetes.AccessReview access_reviews = 6; */ public com.google.cloud.securitycenter.v1.Kubernetes.AccessReview getAccessReviews(int index) { if (accessReviewsBuilder_ == null) { @@ -12907,15 +11724,12 @@ public com.google.cloud.securitycenter.v1.Kubernetes.AccessReview getAccessRevie } } /** - * - * *
      * Provides information on any Kubernetes access reviews (i.e. privilege
      * checks) relevant to the finding.
      * 
* - * repeated .google.cloud.securitycenter.v1.Kubernetes.AccessReview access_reviews = 6; - * + * repeated .google.cloud.securitycenter.v1.Kubernetes.AccessReview access_reviews = 6; */ public Builder setAccessReviews( int index, com.google.cloud.securitycenter.v1.Kubernetes.AccessReview value) { @@ -12932,19 +11746,15 @@ public Builder setAccessReviews( return this; } /** - * - * *
      * Provides information on any Kubernetes access reviews (i.e. privilege
      * checks) relevant to the finding.
      * 
* - * repeated .google.cloud.securitycenter.v1.Kubernetes.AccessReview access_reviews = 6; - * + * repeated .google.cloud.securitycenter.v1.Kubernetes.AccessReview access_reviews = 6; */ public Builder setAccessReviews( - int index, - com.google.cloud.securitycenter.v1.Kubernetes.AccessReview.Builder builderForValue) { + int index, com.google.cloud.securitycenter.v1.Kubernetes.AccessReview.Builder builderForValue) { if (accessReviewsBuilder_ == null) { ensureAccessReviewsIsMutable(); accessReviews_.set(index, builderForValue.build()); @@ -12955,18 +11765,14 @@ public Builder setAccessReviews( return this; } /** - * - * *
      * Provides information on any Kubernetes access reviews (i.e. privilege
      * checks) relevant to the finding.
      * 
* - * repeated .google.cloud.securitycenter.v1.Kubernetes.AccessReview access_reviews = 6; - * + * repeated .google.cloud.securitycenter.v1.Kubernetes.AccessReview access_reviews = 6; */ - public Builder addAccessReviews( - com.google.cloud.securitycenter.v1.Kubernetes.AccessReview value) { + public Builder addAccessReviews(com.google.cloud.securitycenter.v1.Kubernetes.AccessReview value) { if (accessReviewsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -12980,15 +11786,12 @@ public Builder addAccessReviews( return this; } /** - * - * *
      * Provides information on any Kubernetes access reviews (i.e. privilege
      * checks) relevant to the finding.
      * 
* - * repeated .google.cloud.securitycenter.v1.Kubernetes.AccessReview access_reviews = 6; - * + * repeated .google.cloud.securitycenter.v1.Kubernetes.AccessReview access_reviews = 6; */ public Builder addAccessReviews( int index, com.google.cloud.securitycenter.v1.Kubernetes.AccessReview value) { @@ -13005,15 +11808,12 @@ public Builder addAccessReviews( return this; } /** - * - * *
      * Provides information on any Kubernetes access reviews (i.e. privilege
      * checks) relevant to the finding.
      * 
* - * repeated .google.cloud.securitycenter.v1.Kubernetes.AccessReview access_reviews = 6; - * + * repeated .google.cloud.securitycenter.v1.Kubernetes.AccessReview access_reviews = 6; */ public Builder addAccessReviews( com.google.cloud.securitycenter.v1.Kubernetes.AccessReview.Builder builderForValue) { @@ -13027,19 +11827,15 @@ public Builder addAccessReviews( return this; } /** - * - * *
      * Provides information on any Kubernetes access reviews (i.e. privilege
      * checks) relevant to the finding.
      * 
* - * repeated .google.cloud.securitycenter.v1.Kubernetes.AccessReview access_reviews = 6; - * + * repeated .google.cloud.securitycenter.v1.Kubernetes.AccessReview access_reviews = 6; */ public Builder addAccessReviews( - int index, - com.google.cloud.securitycenter.v1.Kubernetes.AccessReview.Builder builderForValue) { + int index, com.google.cloud.securitycenter.v1.Kubernetes.AccessReview.Builder builderForValue) { if (accessReviewsBuilder_ == null) { ensureAccessReviewsIsMutable(); accessReviews_.add(index, builderForValue.build()); @@ -13050,22 +11846,19 @@ public Builder addAccessReviews( return this; } /** - * - * *
      * Provides information on any Kubernetes access reviews (i.e. privilege
      * checks) relevant to the finding.
      * 
* - * repeated .google.cloud.securitycenter.v1.Kubernetes.AccessReview access_reviews = 6; - * + * repeated .google.cloud.securitycenter.v1.Kubernetes.AccessReview access_reviews = 6; */ public Builder addAllAccessReviews( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (accessReviewsBuilder_ == null) { ensureAccessReviewsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, accessReviews_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, accessReviews_); onChanged(); } else { accessReviewsBuilder_.addAllMessages(values); @@ -13073,15 +11866,12 @@ public Builder addAllAccessReviews( return this; } /** - * - * *
      * Provides information on any Kubernetes access reviews (i.e. privilege
      * checks) relevant to the finding.
      * 
* - * repeated .google.cloud.securitycenter.v1.Kubernetes.AccessReview access_reviews = 6; - * + * repeated .google.cloud.securitycenter.v1.Kubernetes.AccessReview access_reviews = 6; */ public Builder clearAccessReviews() { if (accessReviewsBuilder_ == null) { @@ -13094,15 +11884,12 @@ public Builder clearAccessReviews() { return this; } /** - * - * *
      * Provides information on any Kubernetes access reviews (i.e. privilege
      * checks) relevant to the finding.
      * 
* - * repeated .google.cloud.securitycenter.v1.Kubernetes.AccessReview access_reviews = 6; - * + * repeated .google.cloud.securitycenter.v1.Kubernetes.AccessReview access_reviews = 6; */ public Builder removeAccessReviews(int index) { if (accessReviewsBuilder_ == null) { @@ -13115,53 +11902,42 @@ public Builder removeAccessReviews(int index) { return this; } /** - * - * *
      * Provides information on any Kubernetes access reviews (i.e. privilege
      * checks) relevant to the finding.
      * 
* - * repeated .google.cloud.securitycenter.v1.Kubernetes.AccessReview access_reviews = 6; - * + * repeated .google.cloud.securitycenter.v1.Kubernetes.AccessReview access_reviews = 6; */ - public com.google.cloud.securitycenter.v1.Kubernetes.AccessReview.Builder - getAccessReviewsBuilder(int index) { + public com.google.cloud.securitycenter.v1.Kubernetes.AccessReview.Builder getAccessReviewsBuilder( + int index) { return getAccessReviewsFieldBuilder().getBuilder(index); } /** - * - * *
      * Provides information on any Kubernetes access reviews (i.e. privilege
      * checks) relevant to the finding.
      * 
* - * repeated .google.cloud.securitycenter.v1.Kubernetes.AccessReview access_reviews = 6; - * + * repeated .google.cloud.securitycenter.v1.Kubernetes.AccessReview access_reviews = 6; */ - public com.google.cloud.securitycenter.v1.Kubernetes.AccessReviewOrBuilder - getAccessReviewsOrBuilder(int index) { + public com.google.cloud.securitycenter.v1.Kubernetes.AccessReviewOrBuilder getAccessReviewsOrBuilder( + int index) { if (accessReviewsBuilder_ == null) { - return accessReviews_.get(index); - } else { + return accessReviews_.get(index); } else { return accessReviewsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Provides information on any Kubernetes access reviews (i.e. privilege
      * checks) relevant to the finding.
      * 
* - * repeated .google.cloud.securitycenter.v1.Kubernetes.AccessReview access_reviews = 6; - * + * repeated .google.cloud.securitycenter.v1.Kubernetes.AccessReview access_reviews = 6; */ - public java.util.List< - ? extends com.google.cloud.securitycenter.v1.Kubernetes.AccessReviewOrBuilder> - getAccessReviewsOrBuilderList() { + public java.util.List + getAccessReviewsOrBuilderList() { if (accessReviewsBuilder_ != null) { return accessReviewsBuilder_.getMessageOrBuilderList(); } else { @@ -13169,67 +11945,48 @@ public Builder removeAccessReviews(int index) { } } /** - * - * *
      * Provides information on any Kubernetes access reviews (i.e. privilege
      * checks) relevant to the finding.
      * 
* - * repeated .google.cloud.securitycenter.v1.Kubernetes.AccessReview access_reviews = 6; - * + * repeated .google.cloud.securitycenter.v1.Kubernetes.AccessReview access_reviews = 6; */ - public com.google.cloud.securitycenter.v1.Kubernetes.AccessReview.Builder - addAccessReviewsBuilder() { - return getAccessReviewsFieldBuilder() - .addBuilder( - com.google.cloud.securitycenter.v1.Kubernetes.AccessReview.getDefaultInstance()); + public com.google.cloud.securitycenter.v1.Kubernetes.AccessReview.Builder addAccessReviewsBuilder() { + return getAccessReviewsFieldBuilder().addBuilder( + com.google.cloud.securitycenter.v1.Kubernetes.AccessReview.getDefaultInstance()); } /** - * - * *
      * Provides information on any Kubernetes access reviews (i.e. privilege
      * checks) relevant to the finding.
      * 
* - * repeated .google.cloud.securitycenter.v1.Kubernetes.AccessReview access_reviews = 6; - * + * repeated .google.cloud.securitycenter.v1.Kubernetes.AccessReview access_reviews = 6; */ - public com.google.cloud.securitycenter.v1.Kubernetes.AccessReview.Builder - addAccessReviewsBuilder(int index) { - return getAccessReviewsFieldBuilder() - .addBuilder( - index, - com.google.cloud.securitycenter.v1.Kubernetes.AccessReview.getDefaultInstance()); + public com.google.cloud.securitycenter.v1.Kubernetes.AccessReview.Builder addAccessReviewsBuilder( + int index) { + return getAccessReviewsFieldBuilder().addBuilder( + index, com.google.cloud.securitycenter.v1.Kubernetes.AccessReview.getDefaultInstance()); } /** - * - * *
      * Provides information on any Kubernetes access reviews (i.e. privilege
      * checks) relevant to the finding.
      * 
* - * repeated .google.cloud.securitycenter.v1.Kubernetes.AccessReview access_reviews = 6; - * + * repeated .google.cloud.securitycenter.v1.Kubernetes.AccessReview access_reviews = 6; */ - public java.util.List - getAccessReviewsBuilderList() { + public java.util.List + getAccessReviewsBuilderList() { return getAccessReviewsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.securitycenter.v1.Kubernetes.AccessReview, - com.google.cloud.securitycenter.v1.Kubernetes.AccessReview.Builder, - com.google.cloud.securitycenter.v1.Kubernetes.AccessReviewOrBuilder> + com.google.cloud.securitycenter.v1.Kubernetes.AccessReview, com.google.cloud.securitycenter.v1.Kubernetes.AccessReview.Builder, com.google.cloud.securitycenter.v1.Kubernetes.AccessReviewOrBuilder> getAccessReviewsFieldBuilder() { if (accessReviewsBuilder_ == null) { - accessReviewsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.securitycenter.v1.Kubernetes.AccessReview, - com.google.cloud.securitycenter.v1.Kubernetes.AccessReview.Builder, - com.google.cloud.securitycenter.v1.Kubernetes.AccessReviewOrBuilder>( + accessReviewsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.securitycenter.v1.Kubernetes.AccessReview, com.google.cloud.securitycenter.v1.Kubernetes.AccessReview.Builder, com.google.cloud.securitycenter.v1.Kubernetes.AccessReviewOrBuilder>( accessReviews_, ((bitField0_ & 0x00000020) != 0), getParentForChildren(), @@ -13238,9 +11995,9 @@ public Builder removeAccessReviews(int index) { } return accessReviewsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -13250,12 +12007,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.securitycenter.v1.Kubernetes) } // @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1.Kubernetes) private static final com.google.cloud.securitycenter.v1.Kubernetes DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.securitycenter.v1.Kubernetes(); } @@ -13264,27 +12021,27 @@ public static com.google.cloud.securitycenter.v1.Kubernetes getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Kubernetes parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - 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 Kubernetes parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + 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; @@ -13299,4 +12056,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.securitycenter.v1.Kubernetes getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/KubernetesOrBuilder.java b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/KubernetesOrBuilder.java similarity index 85% rename from java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/KubernetesOrBuilder.java rename to owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/KubernetesOrBuilder.java index 5ddcb5f60e13..2462ec95f820 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/KubernetesOrBuilder.java +++ b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/KubernetesOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/securitycenter/v1/kubernetes.proto package com.google.cloud.securitycenter.v1; -public interface KubernetesOrBuilder - extends +public interface KubernetesOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.securitycenter.v1.Kubernetes) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Kubernetes Pods associated with the finding. This field will contain Pod
    * records for each container that is owned by a Pod.
@@ -33,10 +15,9 @@ public interface KubernetesOrBuilder
    *
    * repeated .google.cloud.securitycenter.v1.Kubernetes.Pod pods = 1;
    */
-  java.util.List getPodsList();
+  java.util.List 
+      getPodsList();
   /**
-   *
-   *
    * 
    * Kubernetes Pods associated with the finding. This field will contain Pod
    * records for each container that is owned by a Pod.
@@ -46,8 +27,6 @@ public interface KubernetesOrBuilder
    */
   com.google.cloud.securitycenter.v1.Kubernetes.Pod getPods(int index);
   /**
-   *
-   *
    * 
    * Kubernetes Pods associated with the finding. This field will contain Pod
    * records for each container that is owned by a Pod.
@@ -57,8 +36,6 @@ public interface KubernetesOrBuilder
    */
   int getPodsCount();
   /**
-   *
-   *
    * 
    * Kubernetes Pods associated with the finding. This field will contain Pod
    * records for each container that is owned by a Pod.
@@ -66,11 +43,9 @@ public interface KubernetesOrBuilder
    *
    * repeated .google.cloud.securitycenter.v1.Kubernetes.Pod pods = 1;
    */
-  java.util.List
+  java.util.List 
       getPodsOrBuilderList();
   /**
-   *
-   *
    * 
    * Kubernetes Pods associated with the finding. This field will contain Pod
    * records for each container that is owned by a Pod.
@@ -78,21 +53,19 @@ public interface KubernetesOrBuilder
    *
    * repeated .google.cloud.securitycenter.v1.Kubernetes.Pod pods = 1;
    */
-  com.google.cloud.securitycenter.v1.Kubernetes.PodOrBuilder getPodsOrBuilder(int index);
+  com.google.cloud.securitycenter.v1.Kubernetes.PodOrBuilder getPodsOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * Provides Kubernetes Node information.
    * 
* * repeated .google.cloud.securitycenter.v1.Kubernetes.Node nodes = 2; */ - java.util.List getNodesList(); + java.util.List + getNodesList(); /** - * - * *
    * Provides Kubernetes Node information.
    * 
@@ -101,8 +74,6 @@ public interface KubernetesOrBuilder */ com.google.cloud.securitycenter.v1.Kubernetes.Node getNodes(int index); /** - * - * *
    * Provides Kubernetes Node information.
    * 
@@ -111,30 +82,25 @@ public interface KubernetesOrBuilder */ int getNodesCount(); /** - * - * *
    * Provides Kubernetes Node information.
    * 
* * repeated .google.cloud.securitycenter.v1.Kubernetes.Node nodes = 2; */ - java.util.List + java.util.List getNodesOrBuilderList(); /** - * - * *
    * Provides Kubernetes Node information.
    * 
* * repeated .google.cloud.securitycenter.v1.Kubernetes.Node nodes = 2; */ - com.google.cloud.securitycenter.v1.Kubernetes.NodeOrBuilder getNodesOrBuilder(int index); + com.google.cloud.securitycenter.v1.Kubernetes.NodeOrBuilder getNodesOrBuilder( + int index); /** - * - * *
    * GKE Node Pools associated with the finding. This field will
    * contain NodePool information for each Node, when it is available.
@@ -142,10 +108,9 @@ public interface KubernetesOrBuilder
    *
    * repeated .google.cloud.securitycenter.v1.Kubernetes.NodePool node_pools = 3;
    */
-  java.util.List getNodePoolsList();
+  java.util.List 
+      getNodePoolsList();
   /**
-   *
-   *
    * 
    * GKE Node Pools associated with the finding. This field will
    * contain NodePool information for each Node, when it is available.
@@ -155,8 +120,6 @@ public interface KubernetesOrBuilder
    */
   com.google.cloud.securitycenter.v1.Kubernetes.NodePool getNodePools(int index);
   /**
-   *
-   *
    * 
    * GKE Node Pools associated with the finding. This field will
    * contain NodePool information for each Node, when it is available.
@@ -166,8 +129,6 @@ public interface KubernetesOrBuilder
    */
   int getNodePoolsCount();
   /**
-   *
-   *
    * 
    * GKE Node Pools associated with the finding. This field will
    * contain NodePool information for each Node, when it is available.
@@ -175,11 +136,9 @@ public interface KubernetesOrBuilder
    *
    * repeated .google.cloud.securitycenter.v1.Kubernetes.NodePool node_pools = 3;
    */
-  java.util.List
+  java.util.List 
       getNodePoolsOrBuilderList();
   /**
-   *
-   *
    * 
    * GKE Node Pools associated with the finding. This field will
    * contain NodePool information for each Node, when it is available.
@@ -187,11 +146,10 @@ public interface KubernetesOrBuilder
    *
    * repeated .google.cloud.securitycenter.v1.Kubernetes.NodePool node_pools = 3;
    */
-  com.google.cloud.securitycenter.v1.Kubernetes.NodePoolOrBuilder getNodePoolsOrBuilder(int index);
+  com.google.cloud.securitycenter.v1.Kubernetes.NodePoolOrBuilder getNodePoolsOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * Provides Kubernetes role information for findings that involve
    * Roles or ClusterRoles.
@@ -199,10 +157,9 @@ public interface KubernetesOrBuilder
    *
    * repeated .google.cloud.securitycenter.v1.Kubernetes.Role roles = 4;
    */
-  java.util.List getRolesList();
+  java.util.List 
+      getRolesList();
   /**
-   *
-   *
    * 
    * Provides Kubernetes role information for findings that involve
    * Roles or ClusterRoles.
@@ -212,8 +169,6 @@ public interface KubernetesOrBuilder
    */
   com.google.cloud.securitycenter.v1.Kubernetes.Role getRoles(int index);
   /**
-   *
-   *
    * 
    * Provides Kubernetes role information for findings that involve
    * Roles or ClusterRoles.
@@ -223,8 +178,6 @@ public interface KubernetesOrBuilder
    */
   int getRolesCount();
   /**
-   *
-   *
    * 
    * Provides Kubernetes role information for findings that involve
    * Roles or ClusterRoles.
@@ -232,11 +185,9 @@ public interface KubernetesOrBuilder
    *
    * repeated .google.cloud.securitycenter.v1.Kubernetes.Role roles = 4;
    */
-  java.util.List
+  java.util.List 
       getRolesOrBuilderList();
   /**
-   *
-   *
    * 
    * Provides Kubernetes role information for findings that involve
    * Roles or ClusterRoles.
@@ -244,11 +195,10 @@ public interface KubernetesOrBuilder
    *
    * repeated .google.cloud.securitycenter.v1.Kubernetes.Role roles = 4;
    */
-  com.google.cloud.securitycenter.v1.Kubernetes.RoleOrBuilder getRolesOrBuilder(int index);
+  com.google.cloud.securitycenter.v1.Kubernetes.RoleOrBuilder getRolesOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * Provides Kubernetes role binding information for findings that involve
    * RoleBindings or ClusterRoleBindings.
@@ -256,10 +206,9 @@ public interface KubernetesOrBuilder
    *
    * repeated .google.cloud.securitycenter.v1.Kubernetes.Binding bindings = 5;
    */
-  java.util.List getBindingsList();
+  java.util.List 
+      getBindingsList();
   /**
-   *
-   *
    * 
    * Provides Kubernetes role binding information for findings that involve
    * RoleBindings or ClusterRoleBindings.
@@ -269,8 +218,6 @@ public interface KubernetesOrBuilder
    */
   com.google.cloud.securitycenter.v1.Kubernetes.Binding getBindings(int index);
   /**
-   *
-   *
    * 
    * Provides Kubernetes role binding information for findings that involve
    * RoleBindings or ClusterRoleBindings.
@@ -280,8 +227,6 @@ public interface KubernetesOrBuilder
    */
   int getBindingsCount();
   /**
-   *
-   *
    * 
    * Provides Kubernetes role binding information for findings that involve
    * RoleBindings or ClusterRoleBindings.
@@ -289,11 +234,9 @@ public interface KubernetesOrBuilder
    *
    * repeated .google.cloud.securitycenter.v1.Kubernetes.Binding bindings = 5;
    */
-  java.util.List
+  java.util.List 
       getBindingsOrBuilderList();
   /**
-   *
-   *
    * 
    * Provides Kubernetes role binding information for findings that involve
    * RoleBindings or ClusterRoleBindings.
@@ -301,67 +244,54 @@ public interface KubernetesOrBuilder
    *
    * repeated .google.cloud.securitycenter.v1.Kubernetes.Binding bindings = 5;
    */
-  com.google.cloud.securitycenter.v1.Kubernetes.BindingOrBuilder getBindingsOrBuilder(int index);
+  com.google.cloud.securitycenter.v1.Kubernetes.BindingOrBuilder getBindingsOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * Provides information on any Kubernetes access reviews (i.e. privilege
    * checks) relevant to the finding.
    * 
* - * repeated .google.cloud.securitycenter.v1.Kubernetes.AccessReview access_reviews = 6; - * + * repeated .google.cloud.securitycenter.v1.Kubernetes.AccessReview access_reviews = 6; */ - java.util.List getAccessReviewsList(); + java.util.List + getAccessReviewsList(); /** - * - * *
    * Provides information on any Kubernetes access reviews (i.e. privilege
    * checks) relevant to the finding.
    * 
* - * repeated .google.cloud.securitycenter.v1.Kubernetes.AccessReview access_reviews = 6; - * + * repeated .google.cloud.securitycenter.v1.Kubernetes.AccessReview access_reviews = 6; */ com.google.cloud.securitycenter.v1.Kubernetes.AccessReview getAccessReviews(int index); /** - * - * *
    * Provides information on any Kubernetes access reviews (i.e. privilege
    * checks) relevant to the finding.
    * 
* - * repeated .google.cloud.securitycenter.v1.Kubernetes.AccessReview access_reviews = 6; - * + * repeated .google.cloud.securitycenter.v1.Kubernetes.AccessReview access_reviews = 6; */ int getAccessReviewsCount(); /** - * - * *
    * Provides information on any Kubernetes access reviews (i.e. privilege
    * checks) relevant to the finding.
    * 
* - * repeated .google.cloud.securitycenter.v1.Kubernetes.AccessReview access_reviews = 6; - * + * repeated .google.cloud.securitycenter.v1.Kubernetes.AccessReview access_reviews = 6; */ - java.util.List + java.util.List getAccessReviewsOrBuilderList(); /** - * - * *
    * Provides information on any Kubernetes access reviews (i.e. privilege
    * checks) relevant to the finding.
    * 
* - * repeated .google.cloud.securitycenter.v1.Kubernetes.AccessReview access_reviews = 6; - * + * repeated .google.cloud.securitycenter.v1.Kubernetes.AccessReview access_reviews = 6; */ com.google.cloud.securitycenter.v1.Kubernetes.AccessReviewOrBuilder getAccessReviewsOrBuilder( int index); diff --git a/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/KubernetesProto.java b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/KubernetesProto.java new file mode 100644 index 000000000000..2063b484c7ef --- /dev/null +++ b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/KubernetesProto.java @@ -0,0 +1,171 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/securitycenter/v1/kubernetes.proto + +package com.google.cloud.securitycenter.v1; + +public final class KubernetesProto { + private KubernetesProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public 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_securitycenter_v1_Kubernetes_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_securitycenter_v1_Kubernetes_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_securitycenter_v1_Kubernetes_Pod_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_securitycenter_v1_Kubernetes_Pod_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_securitycenter_v1_Kubernetes_Node_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_securitycenter_v1_Kubernetes_Node_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_securitycenter_v1_Kubernetes_NodePool_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_securitycenter_v1_Kubernetes_NodePool_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_securitycenter_v1_Kubernetes_Role_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_securitycenter_v1_Kubernetes_Role_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_securitycenter_v1_Kubernetes_Binding_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_securitycenter_v1_Kubernetes_Binding_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_securitycenter_v1_Kubernetes_Subject_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_securitycenter_v1_Kubernetes_Subject_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_securitycenter_v1_Kubernetes_AccessReview_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_securitycenter_v1_Kubernetes_AccessReview_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n/google/cloud/securitycenter/v1/kuberne" + + "tes.proto\022\036google.cloud.securitycenter.v" + + "1\032.google/cloud/securitycenter/v1/contai" + + "ner.proto\032*google/cloud/securitycenter/v" + + "1/label.proto\"\276\n\n\nKubernetes\022<\n\004pods\030\001 \003" + + "(\0132..google.cloud.securitycenter.v1.Kube" + + "rnetes.Pod\022>\n\005nodes\030\002 \003(\0132/.google.cloud" + + ".securitycenter.v1.Kubernetes.Node\022G\n\nno" + + "de_pools\030\003 \003(\01323.google.cloud.securityce" + + "nter.v1.Kubernetes.NodePool\022>\n\005roles\030\004 \003" + + "(\0132/.google.cloud.securitycenter.v1.Kube" + + "rnetes.Role\022D\n\010bindings\030\005 \003(\01322.google.c" + + "loud.securitycenter.v1.Kubernetes.Bindin" + + "g\022O\n\016access_reviews\030\006 \003(\01327.google.cloud" + + ".securitycenter.v1.Kubernetes.AccessRevi" + + "ew\032\225\001\n\003Pod\022\n\n\002ns\030\001 \001(\t\022\014\n\004name\030\002 \001(\t\0225\n\006" + + "labels\030\003 \003(\0132%.google.cloud.securitycent" + + "er.v1.Label\022=\n\ncontainers\030\004 \003(\0132).google" + + ".cloud.securitycenter.v1.Container\032\024\n\004No" + + "de\022\014\n\004name\030\001 \001(\t\032X\n\010NodePool\022\014\n\004name\030\001 \001" + + "(\t\022>\n\005nodes\030\002 \003(\0132/.google.cloud.securit" + + "ycenter.v1.Kubernetes.Node\032\236\001\n\004Role\022B\n\004k" + + "ind\030\001 \001(\01624.google.cloud.securitycenter." + + "v1.Kubernetes.Role.Kind\022\n\n\002ns\030\002 \001(\t\022\014\n\004n" + + "ame\030\003 \001(\t\"8\n\004Kind\022\024\n\020KIND_UNSPECIFIED\020\000\022" + + "\010\n\004ROLE\020\001\022\020\n\014CLUSTER_ROLE\020\002\032\250\001\n\007Binding\022" + + "\n\n\002ns\030\001 \001(\t\022\014\n\004name\030\002 \001(\t\022=\n\004role\030\003 \001(\0132" + + "/.google.cloud.securitycenter.v1.Kuberne" + + "tes.Role\022D\n\010subjects\030\004 \003(\01322.google.clou" + + "d.securitycenter.v1.Kubernetes.Subject\032\276" + + "\001\n\007Subject\022I\n\004kind\030\001 \001(\0162;.google.cloud." + + "securitycenter.v1.Kubernetes.Subject.Aut" + + "hType\022\n\n\002ns\030\002 \001(\t\022\014\n\004name\030\003 \001(\t\"N\n\010AuthT" + + "ype\022\031\n\025AUTH_TYPE_UNSPECIFIED\020\000\022\010\n\004USER\020\001" + + "\022\022\n\016SERVICEACCOUNT\020\002\022\t\n\005GROUP\020\003\032}\n\014Acces" + + "sReview\022\r\n\005group\030\001 \001(\t\022\n\n\002ns\030\002 \001(\t\022\014\n\004na" + + "me\030\003 \001(\t\022\020\n\010resource\030\004 \001(\t\022\023\n\013subresourc" + + "e\030\005 \001(\t\022\014\n\004verb\030\006 \001(\t\022\017\n\007version\030\007 \001(\tB\353" + + "\001\n\"com.google.cloud.securitycenter.v1B\017K" + + "ubernetesProtoP\001ZLgoogle.golang.org/genp" + + "roto/googleapis/cloud/securitycenter/v1;" + + "securitycenter\252\002\036Google.Cloud.SecurityCe" + + "nter.V1\312\002\036Google\\Cloud\\SecurityCenter\\V1" + + "\352\002!Google::Cloud::SecurityCenter::V1b\006pr" + + "oto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.cloud.securitycenter.v1.ContainerProto.getDescriptor(), + com.google.cloud.securitycenter.v1.LabelProto.getDescriptor(), + }); + internal_static_google_cloud_securitycenter_v1_Kubernetes_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_securitycenter_v1_Kubernetes_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_securitycenter_v1_Kubernetes_descriptor, + new java.lang.String[] { "Pods", "Nodes", "NodePools", "Roles", "Bindings", "AccessReviews", }); + internal_static_google_cloud_securitycenter_v1_Kubernetes_Pod_descriptor = + internal_static_google_cloud_securitycenter_v1_Kubernetes_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_securitycenter_v1_Kubernetes_Pod_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_securitycenter_v1_Kubernetes_Pod_descriptor, + new java.lang.String[] { "Ns", "Name", "Labels", "Containers", }); + internal_static_google_cloud_securitycenter_v1_Kubernetes_Node_descriptor = + internal_static_google_cloud_securitycenter_v1_Kubernetes_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_securitycenter_v1_Kubernetes_Node_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_securitycenter_v1_Kubernetes_Node_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_securitycenter_v1_Kubernetes_NodePool_descriptor = + internal_static_google_cloud_securitycenter_v1_Kubernetes_descriptor.getNestedTypes().get(2); + internal_static_google_cloud_securitycenter_v1_Kubernetes_NodePool_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_securitycenter_v1_Kubernetes_NodePool_descriptor, + new java.lang.String[] { "Name", "Nodes", }); + internal_static_google_cloud_securitycenter_v1_Kubernetes_Role_descriptor = + internal_static_google_cloud_securitycenter_v1_Kubernetes_descriptor.getNestedTypes().get(3); + internal_static_google_cloud_securitycenter_v1_Kubernetes_Role_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_securitycenter_v1_Kubernetes_Role_descriptor, + new java.lang.String[] { "Kind", "Ns", "Name", }); + internal_static_google_cloud_securitycenter_v1_Kubernetes_Binding_descriptor = + internal_static_google_cloud_securitycenter_v1_Kubernetes_descriptor.getNestedTypes().get(4); + internal_static_google_cloud_securitycenter_v1_Kubernetes_Binding_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_securitycenter_v1_Kubernetes_Binding_descriptor, + new java.lang.String[] { "Ns", "Name", "Role", "Subjects", }); + internal_static_google_cloud_securitycenter_v1_Kubernetes_Subject_descriptor = + internal_static_google_cloud_securitycenter_v1_Kubernetes_descriptor.getNestedTypes().get(5); + internal_static_google_cloud_securitycenter_v1_Kubernetes_Subject_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_securitycenter_v1_Kubernetes_Subject_descriptor, + new java.lang.String[] { "Kind", "Ns", "Name", }); + internal_static_google_cloud_securitycenter_v1_Kubernetes_AccessReview_descriptor = + internal_static_google_cloud_securitycenter_v1_Kubernetes_descriptor.getNestedTypes().get(6); + internal_static_google_cloud_securitycenter_v1_Kubernetes_AccessReview_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_securitycenter_v1_Kubernetes_AccessReview_descriptor, + new java.lang.String[] { "Group", "Ns", "Name", "Resource", "Subresource", "Verb", "Version", }); + com.google.cloud.securitycenter.v1.ContainerProto.getDescriptor(); + com.google.cloud.securitycenter.v1.LabelProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Label.java b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Label.java similarity index 66% rename from java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Label.java rename to owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Label.java index 08335590ab67..dacf466b7b91 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Label.java +++ b/owl-bot-staging/java-securitycenter/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Label.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/securitycenter/v1/label.proto package com.google.cloud.securitycenter.v1; /** - * - * *
  * Label represents a generic name=value label. Label has separate name and
  * value fields to support filtering with contains().
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.securitycenter.v1.Label}
  */
-public final class Label extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Label extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.securitycenter.v1.Label)
     LabelOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Label.newBuilder() to construct.
   private Label(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Label() {
     name_ = "";
     value_ = "";
@@ -45,41 +27,37 @@ private Label() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Label();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.securitycenter.v1.LabelProto
-        .internal_static_google_cloud_securitycenter_v1_Label_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.securitycenter.v1.LabelProto.internal_static_google_cloud_securitycenter_v1_Label_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.securitycenter.v1.LabelProto
-        .internal_static_google_cloud_securitycenter_v1_Label_fieldAccessorTable
+    return com.google.cloud.securitycenter.v1.LabelProto.internal_static_google_cloud_securitycenter_v1_Label_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.securitycenter.v1.Label.class,
-            com.google.cloud.securitycenter.v1.Label.Builder.class);
+            com.google.cloud.securitycenter.v1.Label.class, com.google.cloud.securitycenter.v1.Label.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Label name.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -88,29 +66,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Label name.
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -121,14 +99,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int VALUE_FIELD_NUMBER = 2; private volatile java.lang.Object value_; /** - * - * *
    * Label value.
    * 
* * string value = 2; - * * @return The value. */ @java.lang.Override @@ -137,29 +112,29 @@ public java.lang.String getValue() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); value_ = s; return s; } } /** - * - * *
    * Label value.
    * 
* * string value = 2; - * * @return The bytes for value. */ @java.lang.Override - public com.google.protobuf.ByteString getValueBytes() { + public com.google.protobuf.ByteString + getValueBytes() { java.lang.Object ref = value_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); value_ = b; return b; } else { @@ -168,7 +143,6 @@ public com.google.protobuf.ByteString getValueBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -180,7 +154,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -210,15 +185,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.securitycenter.v1.Label)) { return super.equals(obj); } com.google.cloud.securitycenter.v1.Label other = (com.google.cloud.securitycenter.v1.Label) obj; - if (!getName().equals(other.getName())) return false; - if (!getValue().equals(other.getValue())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getValue() + .equals(other.getValue())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -239,104 +216,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.securitycenter.v1.Label parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.securitycenter.v1.Label parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.Label parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.Label parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.Label parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.Label parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.securitycenter.v1.Label parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.Label parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.Label parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.securitycenter.v1.Label parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.securitycenter.v1.Label parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.Label parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.securitycenter.v1.Label parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.securitycenter.v1.Label parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.securitycenter.v1.Label prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Label represents a generic name=value label. Label has separate name and
    * value fields to support filtering with contains().
@@ -344,32 +314,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.securitycenter.v1.Label}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.securitycenter.v1.Label)
       com.google.cloud.securitycenter.v1.LabelOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.securitycenter.v1.LabelProto
-          .internal_static_google_cloud_securitycenter_v1_Label_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.securitycenter.v1.LabelProto.internal_static_google_cloud_securitycenter_v1_Label_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.securitycenter.v1.LabelProto
-          .internal_static_google_cloud_securitycenter_v1_Label_fieldAccessorTable
+      return com.google.cloud.securitycenter.v1.LabelProto.internal_static_google_cloud_securitycenter_v1_Label_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.securitycenter.v1.Label.class,
-              com.google.cloud.securitycenter.v1.Label.Builder.class);
+              com.google.cloud.securitycenter.v1.Label.class, com.google.cloud.securitycenter.v1.Label.Builder.class);
     }
 
     // Construct using com.google.cloud.securitycenter.v1.Label.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();
@@ -381,9 +352,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.securitycenter.v1.LabelProto
-          .internal_static_google_cloud_securitycenter_v1_Label_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.securitycenter.v1.LabelProto.internal_static_google_cloud_securitycenter_v1_Label_descriptor;
     }
 
     @java.lang.Override
@@ -402,8 +373,7 @@ public com.google.cloud.securitycenter.v1.Label build() {
 
     @java.lang.Override
     public com.google.cloud.securitycenter.v1.Label buildPartial() {
-      com.google.cloud.securitycenter.v1.Label result =
-          new com.google.cloud.securitycenter.v1.Label(this);
+      com.google.cloud.securitycenter.v1.Label result = new com.google.cloud.securitycenter.v1.Label(this);
       result.name_ = name_;
       result.value_ = value_;
       onBuilt();
@@ -414,39 +384,38 @@ public com.google.cloud.securitycenter.v1.Label buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.securitycenter.v1.Label) {
-        return mergeFrom((com.google.cloud.securitycenter.v1.Label) other);
+        return mergeFrom((com.google.cloud.securitycenter.v1.Label)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -489,25 +458,22 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            case 18:
-              {
-                value_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            case 18: {
+              value_ = input.readStringRequireUtf8();
+
+              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) {
@@ -520,20 +486,18 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Label name.
      * 
* * string name = 1; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -542,21 +506,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Label name.
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -564,61 +527,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Label name.
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Label name.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Label name.
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -626,20 +582,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object value_ = ""; /** - * - * *
      * Label value.
      * 
* * string value = 2; - * * @return The value. */ public java.lang.String getValue() { java.lang.Object ref = value_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); value_ = s; return s; @@ -648,21 +602,20 @@ public java.lang.String getValue() { } } /** - * - * *
      * Label value.
      * 
* * string value = 2; - * * @return The bytes for value. */ - public com.google.protobuf.ByteString getValueBytes() { + public com.google.protobuf.ByteString + getValueBytes() { java.lang.Object ref = value_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); value_ = b; return b; } else { @@ -670,68 +623,61 @@ public com.google.protobuf.ByteString getValueBytes() { } } /** - * - * *
      * Label value.
      * 
* * string value = 2; - * * @param value The value to set. * @return This builder for chaining. */ - public Builder setValue(java.lang.String value) { + public Builder setValue( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + value_ = value; onChanged(); return this; } /** - * - * *
      * Label value.
      * 
* * string value = 2; - * * @return This builder for chaining. */ public Builder clearValue() { - + value_ = getDefaultInstance().getValue(); onChanged(); return this; } /** - * - * *
      * Label value.
      * 
* * string value = 2; - * * @param value The bytes for value to set. * @return This builder for chaining. */ - public Builder setValueBytes(com.google.protobuf.ByteString value) { + public Builder setValueBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + value_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -741,12 +687,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.securitycenter.v1.Label) } // @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1.Label) private static final com.google.cloud.securitycenter.v1.Label DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.securitycenter.v1.Label(); } @@ -755,27 +701,27 @@ public static com.google.cloud.securitycenter.v1.Label getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser