From ef48e907572d7d548f86a5c81b4afbe4b286f094 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Tue, 23 Aug 2022 23:48:20 +0000 Subject: [PATCH 1/2] feat: Adding database access information, such as queries field to a finding. A database may be a sub-resource of an instance (as in the case of CloudSQL instances or Cloud Spanner instances), or the database instance itself PiperOrigin-RevId: 469544940 Source-Link: https://github.com/googleapis/googleapis/commit/a887434dd3a1c3b2aa78f142f11d21b5825ffa3e Source-Link: https://github.com/googleapis/googleapis-gen/commit/ca12635e1b065de9efcaa551669648fcbde1a944 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiY2ExMjYzNWUxYjA2NWRlOWVmY2FhNTUxNjY5NjQ4ZmNiZGUxYTk0NCJ9 --- .../securitycenter/v1/SecurityCenterGrpc.java | 4634 --------------- .../v1beta1/SecurityCenterGrpc.java | 2437 -------- .../v1p1beta1/SecurityCenterGrpc.java | 3087 ---------- .../v1/SecurityCenterClient.java | 142 +- .../v1/SecurityCenterSettings.java | 16 +- .../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 | 45 +- .../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 | 717 +-- .../securitycenter/v1/AccessOrBuilder.java | 71 +- .../cloud/securitycenter/v1/AccessProto.java | 70 + .../google/cloud/securitycenter/v1/Asset.java | 2659 ++++----- .../cloud/securitycenter/v1/AssetName.java | 0 .../securitycenter/v1/AssetOrBuilder.java | 122 +- .../securitycenter/v1/AssetOuterClass.java | 133 + .../securitycenter/v1/BigQueryExport.java | 986 ++- .../securitycenter/v1/BigQueryExportName.java | 0 .../v1/BigQueryExportOrBuilder.java | 106 +- .../v1/BigQueryExportProto.java | 79 + .../v1/BulkMuteFindingsRequest.java | 543 +- .../v1/BulkMuteFindingsRequestOrBuilder.java | 65 +- .../v1/BulkMuteFindingsResponse.java | 238 +- .../v1/BulkMuteFindingsResponseOrBuilder.java | 9 + .../cloud/securitycenter/v1/Compliance.java | 488 +- .../v1/ComplianceOrBuilder.java | 54 +- .../securitycenter/v1/ComplianceProto.java | 55 + .../cloud/securitycenter/v1/Connection.java | 605 +- .../v1/ConnectionOrBuilder.java | 48 +- .../securitycenter/v1/ConnectionProto.java | 60 + .../cloud/securitycenter/v1/Contact.java | 301 +- .../securitycenter/v1/ContactDetails.java | 381 +- .../v1/ContactDetailsOrBuilder.java | 36 +- .../v1/ContactDetailsProto.java | 67 + .../securitycenter/v1/ContactOrBuilder.java | 29 + .../cloud/securitycenter/v1/Container.java | 607 +- .../securitycenter/v1/ContainerOrBuilder.java | 63 +- .../securitycenter/v1/ContainerProto.java | 60 + .../v1/CreateBigQueryExportRequest.java | 586 +- .../CreateBigQueryExportRequestOrBuilder.java | 64 +- .../v1/CreateFindingRequest.java | 570 +- .../v1/CreateFindingRequestOrBuilder.java | 64 +- .../v1/CreateMuteConfigRequest.java | 567 +- .../v1/CreateMuteConfigRequestOrBuilder.java | 64 +- .../v1/CreateNotificationConfigRequest.java | 619 +- ...ateNotificationConfigRequestOrBuilder.java | 64 +- .../v1/CreateSourceRequest.java | 491 +- .../v1/CreateSourceRequestOrBuilder.java | 55 +- .../google/cloud/securitycenter/v1/Cve.java | 582 +- .../cloud/securitycenter/v1/CveOrBuilder.java | 56 +- .../cloud/securitycenter/v1/Cvssv3.java | 1236 ++-- .../securitycenter/v1/Cvssv3OrBuilder.java | 69 +- .../cloud/securitycenter/v1/Database.java | 1379 +++++ .../securitycenter/v1/DatabaseOrBuilder.java | 138 + .../securitycenter/v1/DatabaseProto.java | 56 + .../v1/DeleteBigQueryExportRequest.java | 360 +- .../DeleteBigQueryExportRequestOrBuilder.java | 35 + .../v1/DeleteMuteConfigRequest.java | 342 +- .../v1/DeleteMuteConfigRequestOrBuilder.java | 35 + .../v1/DeleteNotificationConfigRequest.java | 378 +- ...eteNotificationConfigRequestOrBuilder.java | 31 + .../v1/EnvironmentVariable.java | 393 +- .../v1/EnvironmentVariableOrBuilder.java | 36 +- .../securitycenter/v1/ExfilResource.java | 419 +- .../v1/ExfilResourceOrBuilder.java | 45 +- .../cloud/securitycenter/v1/Exfiltration.java | 521 +- .../v1/ExfiltrationOrBuilder.java | 54 +- .../securitycenter/v1/ExfiltrationProto.java | 70 + .../securitycenter/v1/ExternalSystem.java | 679 +-- .../v1/ExternalSystemOrBuilder.java | 71 +- .../v1/ExternalSystemProto.java | 76 + .../google/cloud/securitycenter/v1/File.java | 567 +- .../securitycenter/v1/FileOrBuilder.java | 54 +- .../cloud/securitycenter/v1/FileProto.java | 56 + .../cloud/securitycenter/v1/Finding.java | 4489 ++++++-------- .../cloud/securitycenter/v1/FindingName.java | 0 .../securitycenter/v1/FindingOrBuilder.java | 524 +- .../securitycenter/v1/FindingOuterClass.java | 216 + .../cloud/securitycenter/v1/Folder.java | 383 +- .../cloud/securitycenter/v1/FolderName.java | 0 .../securitycenter/v1/FolderOrBuilder.java | 36 +- .../cloud/securitycenter/v1/FolderProto.java | 55 + .../cloud/securitycenter/v1/Geolocation.java | 301 +- .../v1/GeolocationOrBuilder.java | 29 + .../v1/GetBigQueryExportRequest.java | 342 +- .../v1/GetBigQueryExportRequestOrBuilder.java | 35 + .../v1/GetMuteConfigRequest.java | 342 +- .../v1/GetMuteConfigRequestOrBuilder.java | 35 + .../v1/GetNotificationConfigRequest.java | 363 +- ...GetNotificationConfigRequestOrBuilder.java | 31 + .../v1/GetOrganizationSettingsRequest.java | 374 +- ...tOrganizationSettingsRequestOrBuilder.java | 31 + .../securitycenter/v1/GetSourceRequest.java | 339 +- .../v1/GetSourceRequestOrBuilder.java | 31 + .../securitycenter/v1/GroupAssetsRequest.java | 801 +-- .../v1/GroupAssetsRequestOrBuilder.java | 81 +- .../v1/GroupAssetsResponse.java | 566 +- .../v1/GroupAssetsResponseOrBuilder.java | 56 +- .../v1/GroupFindingsRequest.java | 801 +-- .../v1/GroupFindingsRequestOrBuilder.java | 81 +- .../v1/GroupFindingsResponse.java | 566 +- .../v1/GroupFindingsResponseOrBuilder.java | 56 +- .../cloud/securitycenter/v1/GroupResult.java | 509 +- .../v1/GroupResultOrBuilder.java | 52 +- .../cloud/securitycenter/v1/IamBinding.java | 514 +- .../v1/IamBindingOrBuilder.java | 42 +- .../securitycenter/v1/IamBindingProto.java | 58 + .../cloud/securitycenter/v1/Indicator.java | 3362 ++++------- .../securitycenter/v1/IndicatorOrBuilder.java | 102 +- .../securitycenter/v1/IndicatorProto.java | 114 + .../cloud/securitycenter/v1/Kubernetes.java | 5281 +++++++---------- .../v1/KubernetesOrBuilder.java | 138 +- .../securitycenter/v1/KubernetesProto.java | 171 + .../google/cloud/securitycenter/v1/Label.java | 377 +- .../securitycenter/v1/LabelOrBuilder.java | 36 +- .../cloud/securitycenter/v1/LabelProto.java | 54 + .../securitycenter/v1/ListAssetsRequest.java | 886 ++- .../v1/ListAssetsRequestOrBuilder.java | 89 +- .../securitycenter/v1/ListAssetsResponse.java | 1310 ++-- .../v1/ListAssetsResponseOrBuilder.java | 80 +- .../v1/ListBigQueryExportsRequest.java | 463 +- .../ListBigQueryExportsRequestOrBuilder.java | 47 +- .../v1/ListBigQueryExportsResponse.java | 468 +- .../ListBigQueryExportsResponseOrBuilder.java | 45 +- .../v1/ListFindingsRequest.java | 889 ++- .../v1/ListFindingsRequestOrBuilder.java | 89 +- .../v1/ListFindingsResponse.java | 2739 +++------ .../v1/ListFindingsResponseOrBuilder.java | 81 +- .../v1/ListMuteConfigsRequest.java | 455 +- .../v1/ListMuteConfigsRequestOrBuilder.java | 47 +- .../v1/ListMuteConfigsResponse.java | 461 +- .../v1/ListMuteConfigsResponseOrBuilder.java | 45 +- .../v1/ListNotificationConfigsRequest.java | 487 +- ...stNotificationConfigsRequestOrBuilder.java | 47 +- .../v1/ListNotificationConfigsResponse.java | 587 +- ...tNotificationConfigsResponseOrBuilder.java | 56 +- .../securitycenter/v1/ListSourcesRequest.java | 455 +- .../v1/ListSourcesRequestOrBuilder.java | 47 +- .../v1/ListSourcesResponse.java | 463 +- .../v1/ListSourcesResponseOrBuilder.java | 45 +- .../cloud/securitycenter/v1/MitreAttack.java | 1412 ++--- .../v1/MitreAttackOrBuilder.java | 138 +- .../securitycenter/v1/MitreAttackProto.java | 94 + .../cloud/securitycenter/v1/MuteConfig.java | 938 ++- .../securitycenter/v1/MuteConfigName.java | 0 .../v1/MuteConfigOrBuilder.java | 109 +- .../securitycenter/v1/MuteConfigProto.java | 79 + .../securitycenter/v1/NotificationConfig.java | 1154 ++-- .../v1/NotificationConfigName.java | 0 .../v1/NotificationConfigOrBuilder.java | 77 +- .../v1/NotificationConfigProto.java | 91 + .../v1/NotificationMessage.java | 559 +- .../v1/NotificationMessageOrBuilder.java | 43 +- .../v1/NotificationMessageProto.java | 65 + .../securitycenter/v1/OrganizationName.java | 0 .../v1/OrganizationSettings.java | 1316 ++-- .../v1/OrganizationSettingsName.java | 0 .../v1/OrganizationSettingsOrBuilder.java | 56 +- .../v1/OrganizationSettingsOuterClass.java | 86 + .../cloud/securitycenter/v1/Process.java | 1049 ++-- .../securitycenter/v1/ProcessOrBuilder.java | 106 +- .../cloud/securitycenter/v1/ProcessProto.java | 78 + .../cloud/securitycenter/v1/ProjectName.java | 0 .../cloud/securitycenter/v1/Reference.java | 380 +- .../securitycenter/v1/ReferenceOrBuilder.java | 36 +- .../cloud/securitycenter/v1/Resource.java | 1018 ++-- .../securitycenter/v1/ResourceOrBuilder.java | 119 +- .../securitycenter/v1/ResourceProto.java | 70 + .../v1/RunAssetDiscoveryRequest.java | 342 +- .../v1/RunAssetDiscoveryRequestOrBuilder.java | 31 + .../v1/RunAssetDiscoveryResponse.java | 480 +- .../RunAssetDiscoveryResponseOrBuilder.java | 32 +- .../RunAssetDiscoveryResponseOuterClass.java | 62 + .../securitycenter/v1/SecurityMarks.java | 650 +- .../v1/SecurityMarksOrBuilder.java | 67 +- .../v1/SecurityMarksOuterClass.java | 87 + .../v1/SecuritycenterService.java | 1085 ++++ .../v1/SetFindingStateRequest.java | 554 +- .../v1/SetFindingStateRequestOrBuilder.java | 66 +- .../securitycenter/v1/SetMuteRequest.java | 423 +- .../v1/SetMuteRequestOrBuilder.java | 49 +- .../cloud/securitycenter/v1/Source.java | 540 +- .../cloud/securitycenter/v1/SourceName.java | 0 .../securitycenter/v1/SourceOrBuilder.java | 54 +- .../securitycenter/v1/SourceOuterClass.java | 67 + .../v1/UpdateBigQueryExportRequest.java | 499 +- .../UpdateBigQueryExportRequestOrBuilder.java | 46 +- .../v1/UpdateExternalSystemRequest.java | 499 +- .../UpdateExternalSystemRequestOrBuilder.java | 46 +- .../v1/UpdateFindingRequest.java | 483 +- .../v1/UpdateFindingRequestOrBuilder.java | 46 +- .../v1/UpdateMuteConfigRequest.java | 480 +- .../v1/UpdateMuteConfigRequestOrBuilder.java | 46 +- .../v1/UpdateNotificationConfigRequest.java | 532 +- ...ateNotificationConfigRequestOrBuilder.java | 46 +- .../v1/UpdateOrganizationSettingsRequest.java | 534 +- ...eOrganizationSettingsRequestOrBuilder.java | 49 +- .../v1/UpdateSecurityMarksRequest.java | 576 +- .../UpdateSecurityMarksRequestOrBuilder.java | 54 +- .../v1/UpdateSourceRequest.java | 483 +- .../v1/UpdateSourceRequestOrBuilder.java | 46 +- .../securitycenter/v1/Vulnerability.java | 325 +- .../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 | 52 + .../securitycenter/v1/exfiltration.proto | 0 .../securitycenter/v1/external_system.proto | 0 .../google/cloud/securitycenter/v1/file.proto | 0 .../cloud/securitycenter/v1/finding.proto | 23 +- .../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 | 0 .../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 | 0 .../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 ...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 .../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 ...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 .../setmute/AsyncSetMute.java | 0 .../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 | 80 +- .../v1beta1/SecurityCenterSettings.java | 7 +- .../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 | 6 +- .../v1beta1/MockSecurityCenter.java | 0 .../v1beta1/MockSecurityCenterImpl.java | 0 .../SecurityCenterClientHttpJsonTest.java | 0 .../v1beta1/SecurityCenterClientTest.java | 0 .../v1beta1/SecurityCenterGrpc.java | 1813 ++++++ .../cloud/securitycenter/v1beta1/Asset.java | 1766 +++--- .../v1beta1/AssetOrBuilder.java | 108 +- .../v1beta1/AssetOuterClass.java | 112 + .../v1beta1/CreateFindingRequest.java | 574 +- .../CreateFindingRequestOrBuilder.java | 64 +- .../v1beta1/CreateSourceRequest.java | 488 +- .../v1beta1/CreateSourceRequestOrBuilder.java | 55 +- .../cloud/securitycenter/v1beta1/Finding.java | 1342 ++--- .../securitycenter/v1beta1/FindingName.java | 0 .../v1beta1/FindingOrBuilder.java | 136 +- .../v1beta1/FindingOuterClass.java | 100 + .../GetOrganizationSettingsRequest.java | 381 +- ...tOrganizationSettingsRequestOrBuilder.java | 31 + .../v1beta1/GetSourceRequest.java | 342 +- .../v1beta1/GetSourceRequestOrBuilder.java | 31 + .../v1beta1/GroupAssetsRequest.java | 801 +-- .../v1beta1/GroupAssetsRequestOrBuilder.java | 81 +- .../v1beta1/GroupAssetsResponse.java | 540 +- .../v1beta1/GroupAssetsResponseOrBuilder.java | 50 +- .../v1beta1/GroupFindingsRequest.java | 708 +-- .../GroupFindingsRequestOrBuilder.java | 73 +- .../v1beta1/GroupFindingsResponse.java | 548 +- .../GroupFindingsResponseOrBuilder.java | 50 +- .../securitycenter/v1beta1/GroupResult.java | 519 +- .../v1beta1/GroupResultOrBuilder.java | 52 +- .../v1beta1/ListAssetsRequest.java | 925 ++- .../v1beta1/ListAssetsRequestOrBuilder.java | 98 +- .../v1beta1/ListAssetsResponse.java | 1375 ++--- .../v1beta1/ListAssetsResponseOrBuilder.java | 81 +- .../v1beta1/ListFindingsRequest.java | 825 +-- .../v1beta1/ListFindingsRequestOrBuilder.java | 90 +- .../v1beta1/ListFindingsResponse.java | 592 +- .../ListFindingsResponseOrBuilder.java | 56 +- .../v1beta1/ListSourcesRequest.java | 455 +- .../v1beta1/ListSourcesRequestOrBuilder.java | 47 +- .../v1beta1/ListSourcesResponse.java | 464 +- .../v1beta1/ListSourcesResponseOrBuilder.java | 45 +- .../v1beta1/OrganizationName.java | 0 .../v1beta1/OrganizationSettings.java | 1215 ++-- .../v1beta1/OrganizationSettingsName.java | 0 .../OrganizationSettingsOrBuilder.java | 56 +- .../OrganizationSettingsOuterClass.java | 83 + .../v1beta1/RunAssetDiscoveryRequest.java | 363 +- .../RunAssetDiscoveryRequestOrBuilder.java | 31 + .../v1beta1/RunAssetDiscoveryResponse.java | 502 +- .../RunAssetDiscoveryResponseOrBuilder.java | 32 +- .../RunAssetDiscoveryResponseOuterClass.java | 60 + .../securitycenter/v1beta1/SecurityMarks.java | 577 +- .../v1beta1/SecurityMarksOrBuilder.java | 58 +- .../v1beta1/SecurityMarksOuterClass.java | 79 + .../v1beta1/SecuritycenterService.java | 551 ++ .../v1beta1/SetFindingStateRequest.java | 582 +- .../SetFindingStateRequestOrBuilder.java | 66 +- .../cloud/securitycenter/v1beta1/Source.java | 459 +- .../securitycenter/v1beta1/SourceName.java | 0 .../v1beta1/SourceOrBuilder.java | 45 +- .../v1beta1/SourceOuterClass.java | 63 + .../v1beta1/UpdateFindingRequest.java | 487 +- .../UpdateFindingRequestOrBuilder.java | 46 +- .../UpdateOrganizationSettingsRequest.java | 555 +- ...eOrganizationSettingsRequestOrBuilder.java | 49 +- .../v1beta1/UpdateSecurityMarksRequest.java | 608 +- .../UpdateSecurityMarksRequestOrBuilder.java | 54 +- .../v1beta1/UpdateSourceRequest.java | 480 +- .../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 | 114 +- .../v1p1beta1/SecurityCenterSettings.java | 13 +- .../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 | 36 +- .../v1p1beta1/MockSecurityCenter.java | 0 .../v1p1beta1/MockSecurityCenterImpl.java | 0 .../SecurityCenterClientHttpJsonTest.java | 0 .../v1p1beta1/SecurityCenterClientTest.java | 0 .../v1p1beta1/SecurityCenterGrpc.java | 2255 +++++++ .../cloud/securitycenter/v1p1beta1/Asset.java | 2752 ++++----- .../securitycenter/v1p1beta1/AssetName.java | 0 .../v1p1beta1/AssetOrBuilder.java | 125 +- .../v1p1beta1/AssetOuterClass.java | 135 + .../v1p1beta1/CreateFindingRequest.java | 586 +- .../CreateFindingRequestOrBuilder.java | 64 +- .../CreateNotificationConfigRequest.java | 641 +- ...ateNotificationConfigRequestOrBuilder.java | 67 +- .../v1p1beta1/CreateSourceRequest.java | 496 +- .../CreateSourceRequestOrBuilder.java | 55 +- .../DeleteNotificationConfigRequest.java | 398 +- ...eteNotificationConfigRequestOrBuilder.java | 31 + .../securitycenter/v1p1beta1/Finding.java | 1590 ++--- .../securitycenter/v1p1beta1/FindingName.java | 0 .../v1p1beta1/FindingOrBuilder.java | 151 +- .../v1p1beta1/FindingOuterClass.java | 111 + .../securitycenter/v1p1beta1/Folder.java | 390 +- .../securitycenter/v1p1beta1/FolderName.java | 0 .../v1p1beta1/FolderOrBuilder.java | 36 +- .../securitycenter/v1p1beta1/FolderProto.java | 57 + .../GetNotificationConfigRequest.java | 378 +- ...GetNotificationConfigRequestOrBuilder.java | 31 + .../GetOrganizationSettingsRequest.java | 391 +- ...tOrganizationSettingsRequestOrBuilder.java | 31 + .../v1p1beta1/GetSourceRequest.java | 342 +- .../v1p1beta1/GetSourceRequestOrBuilder.java | 31 + .../v1p1beta1/GroupAssetsRequest.java | 808 +-- .../GroupAssetsRequestOrBuilder.java | 81 +- .../v1p1beta1/GroupAssetsResponse.java | 647 +- .../GroupAssetsResponseOrBuilder.java | 53 +- .../v1p1beta1/GroupFindingsRequest.java | 819 +-- .../GroupFindingsRequestOrBuilder.java | 81 +- .../v1p1beta1/GroupFindingsResponse.java | 660 +- .../GroupFindingsResponseOrBuilder.java | 53 +- .../securitycenter/v1p1beta1/GroupResult.java | 522 +- .../v1p1beta1/GroupResultOrBuilder.java | 52 +- .../v1p1beta1/ListAssetsRequest.java | 889 ++- .../v1p1beta1/ListAssetsRequestOrBuilder.java | 89 +- .../v1p1beta1/ListAssetsResponse.java | 1392 ++--- .../ListAssetsResponseOrBuilder.java | 82 +- .../v1p1beta1/ListFindingsRequest.java | 897 ++- .../ListFindingsRequestOrBuilder.java | 89 +- .../v1p1beta1/ListFindingsResponse.java | 2619 +++----- .../ListFindingsResponseOrBuilder.java | 82 +- .../ListNotificationConfigsRequest.java | 504 +- ...stNotificationConfigsRequestOrBuilder.java | 47 +- .../ListNotificationConfigsResponse.java | 646 +- ...tNotificationConfigsResponseOrBuilder.java | 65 +- .../v1p1beta1/ListSourcesRequest.java | 462 +- .../ListSourcesRequestOrBuilder.java | 47 +- .../v1p1beta1/ListSourcesResponse.java | 470 +- .../ListSourcesResponseOrBuilder.java | 45 +- .../v1p1beta1/NotificationConfig.java | 1390 ++--- .../v1p1beta1/NotificationConfigName.java | 0 .../NotificationConfigOrBuilder.java | 92 +- .../NotificationConfigOuterClass.java | 95 + .../v1p1beta1/NotificationMessage.java | 567 +- .../NotificationMessageOrBuilder.java | 43 +- .../NotificationMessageOuterClass.java | 66 + .../v1p1beta1/OrganizationName.java | 0 .../v1p1beta1/OrganizationSettings.java | 1374 ++--- .../v1p1beta1/OrganizationSettingsName.java | 0 .../OrganizationSettingsOrBuilder.java | 56 +- .../OrganizationSettingsOuterClass.java | 87 + .../securitycenter/v1p1beta1/ProjectName.java | 0 .../securitycenter/v1p1beta1/Resource.java | 869 ++- .../v1p1beta1/ResourceOrBuilder.java | 101 +- .../v1p1beta1/ResourceProto.java | 71 + .../v1p1beta1/RunAssetDiscoveryRequest.java | 375 +- .../RunAssetDiscoveryRequestOrBuilder.java | 31 + .../v1p1beta1/RunAssetDiscoveryResponse.java | 523 +- .../RunAssetDiscoveryResponseOrBuilder.java | 32 +- .../RunAssetDiscoveryResponseOuterClass.java | 64 + .../v1p1beta1/SecurityMarks.java | 656 +- .../v1p1beta1/SecurityMarksOrBuilder.java | 67 +- .../v1p1beta1/SecurityMarksOuterClass.java | 88 + .../v1p1beta1/SecuritycenterService.java | 769 +++ .../v1p1beta1/SetFindingStateRequest.java | 585 +- .../SetFindingStateRequestOrBuilder.java | 66 +- .../securitycenter/v1p1beta1/Source.java | 547 +- .../securitycenter/v1p1beta1/SourceName.java | 0 .../v1p1beta1/SourceOrBuilder.java | 54 +- .../v1p1beta1/SourceOuterClass.java | 68 + .../v1p1beta1/UpdateFindingRequest.java | 499 +- .../UpdateFindingRequestOrBuilder.java | 46 +- .../UpdateNotificationConfigRequest.java | 554 +- ...ateNotificationConfigRequestOrBuilder.java | 49 +- .../UpdateOrganizationSettingsRequest.java | 601 +- ...eOrganizationSettingsRequestOrBuilder.java | 49 +- .../v1p1beta1/UpdateSecurityMarksRequest.java | 614 +- .../UpdateSecurityMarksRequestOrBuilder.java | 54 +- .../v1p1beta1/UpdateSourceRequest.java | 488 +- .../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 .../cloud/securitycenter/v1/AccessProto.java | 89 - .../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 - .../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 | 259 - .../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 | 114 - .../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 | 1174 ---- .../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 - 858 files changed, 58412 insertions(+), 92234 deletions(-) delete mode 100644 grpc-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/SecurityCenterGrpc.java delete mode 100644 grpc-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/SecurityCenterGrpc.java delete mode 100644 grpc-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/SecurityCenterGrpc.java rename {google-cloud-securitycenter => owl-bot-staging/v1/google-cloud-securitycenter}/src/main/java/com/google/cloud/securitycenter/v1/SecurityCenterClient.java (98%) rename {google-cloud-securitycenter => owl-bot-staging/v1/google-cloud-securitycenter}/src/main/java/com/google/cloud/securitycenter/v1/SecurityCenterSettings.java (98%) rename {google-cloud-securitycenter => owl-bot-staging/v1/google-cloud-securitycenter}/src/main/java/com/google/cloud/securitycenter/v1/gapic_metadata.json (100%) rename {google-cloud-securitycenter => owl-bot-staging/v1/google-cloud-securitycenter}/src/main/java/com/google/cloud/securitycenter/v1/package-info.java (100%) rename {google-cloud-securitycenter => owl-bot-staging/v1/google-cloud-securitycenter}/src/main/java/com/google/cloud/securitycenter/v1/stub/GrpcSecurityCenterCallableFactory.java (100%) rename {google-cloud-securitycenter => owl-bot-staging/v1/google-cloud-securitycenter}/src/main/java/com/google/cloud/securitycenter/v1/stub/GrpcSecurityCenterStub.java (99%) rename {google-cloud-securitycenter => owl-bot-staging/v1/google-cloud-securitycenter}/src/main/java/com/google/cloud/securitycenter/v1/stub/HttpJsonSecurityCenterCallableFactory.java (100%) rename {google-cloud-securitycenter => owl-bot-staging/v1/google-cloud-securitycenter}/src/main/java/com/google/cloud/securitycenter/v1/stub/HttpJsonSecurityCenterStub.java (99%) rename {google-cloud-securitycenter => owl-bot-staging/v1/google-cloud-securitycenter}/src/main/java/com/google/cloud/securitycenter/v1/stub/SecurityCenterStub.java (100%) rename {google-cloud-securitycenter => owl-bot-staging/v1/google-cloud-securitycenter}/src/main/java/com/google/cloud/securitycenter/v1/stub/SecurityCenterStubSettings.java (98%) rename {google-cloud-securitycenter => owl-bot-staging/v1/google-cloud-securitycenter}/src/test/java/com/google/cloud/securitycenter/v1/MockSecurityCenter.java (100%) rename {google-cloud-securitycenter => owl-bot-staging/v1/google-cloud-securitycenter}/src/test/java/com/google/cloud/securitycenter/v1/MockSecurityCenterImpl.java (100%) rename {google-cloud-securitycenter => owl-bot-staging/v1/google-cloud-securitycenter}/src/test/java/com/google/cloud/securitycenter/v1/SecurityCenterClientHttpJsonTest.java (99%) rename {google-cloud-securitycenter => owl-bot-staging/v1/google-cloud-securitycenter}/src/test/java/com/google/cloud/securitycenter/v1/SecurityCenterClientTest.java (99%) create mode 100644 owl-bot-staging/v1/grpc-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/SecurityCenterGrpc.java rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/Access.java (72%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/AccessOrBuilder.java (74%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/AccessProto.java rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/Asset.java (75%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/AssetName.java (100%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/AssetOrBuilder.java (80%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/AssetOuterClass.java rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/BigQueryExport.java (75%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/BigQueryExportName.java (100%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/BigQueryExportOrBuilder.java (83%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/BigQueryExportProto.java rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/BulkMuteFindingsRequest.java (72%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/BulkMuteFindingsRequestOrBuilder.java (69%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/BulkMuteFindingsResponse.java (67%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/BulkMuteFindingsResponseOrBuilder.java rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/Compliance.java (72%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/ComplianceOrBuilder.java (67%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ComplianceProto.java rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/Connection.java (72%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/ConnectionOrBuilder.java (69%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ConnectionProto.java rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/Contact.java (69%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/ContactDetails.java (73%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/ContactDetailsOrBuilder.java (61%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ContactDetailsProto.java create mode 100644 owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ContactOrBuilder.java rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/Container.java (74%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/ContainerOrBuilder.java (72%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ContainerProto.java rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/CreateBigQueryExportRequest.java (66%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/CreateBigQueryExportRequestOrBuilder.java (59%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/CreateFindingRequest.java (67%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/CreateFindingRequestOrBuilder.java (60%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/CreateMuteConfigRequest.java (67%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/CreateMuteConfigRequestOrBuilder.java (59%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/CreateNotificationConfigRequest.java (64%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/CreateNotificationConfigRequestOrBuilder.java (60%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/CreateSourceRequest.java (64%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/CreateSourceRequestOrBuilder.java (51%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/Cve.java (75%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/CveOrBuilder.java (77%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/Cvssv3.java (75%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/Cvssv3OrBuilder.java (88%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Database.java create mode 100644 owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DatabaseOrBuilder.java create mode 100644 owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DatabaseProto.java rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/DeleteBigQueryExportRequest.java (66%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DeleteBigQueryExportRequestOrBuilder.java rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/DeleteMuteConfigRequest.java (67%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DeleteMuteConfigRequestOrBuilder.java rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/DeleteNotificationConfigRequest.java (62%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DeleteNotificationConfigRequestOrBuilder.java rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/EnvironmentVariable.java (69%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/EnvironmentVariableOrBuilder.java (55%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/ExfilResource.java (74%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/ExfilResourceOrBuilder.java (73%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/Exfiltration.java (78%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/ExfiltrationOrBuilder.java (80%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ExfiltrationProto.java rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/ExternalSystem.java (74%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/ExternalSystemOrBuilder.java (78%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ExternalSystemProto.java rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/File.java (73%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/FileOrBuilder.java (72%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FileProto.java rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/Finding.java (74%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/FindingName.java (100%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/FindingOrBuilder.java (81%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FindingOuterClass.java rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/Folder.java (70%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/FolderName.java (100%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/FolderOrBuilder.java (60%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FolderProto.java rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/Geolocation.java (68%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GeolocationOrBuilder.java rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/GetBigQueryExportRequest.java (67%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetBigQueryExportRequestOrBuilder.java rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/GetMuteConfigRequest.java (67%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetMuteConfigRequestOrBuilder.java rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/GetNotificationConfigRequest.java (64%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetNotificationConfigRequestOrBuilder.java rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/GetOrganizationSettingsRequest.java (63%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetOrganizationSettingsRequestOrBuilder.java rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/GetSourceRequest.java (66%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetSourceRequestOrBuilder.java rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/GroupAssetsRequest.java (84%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/GroupAssetsRequestOrBuilder.java (91%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/GroupAssetsResponse.java (77%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/GroupAssetsResponseOrBuilder.java (79%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/GroupFindingsRequest.java (84%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/GroupFindingsRequestOrBuilder.java (91%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/GroupFindingsResponse.java (77%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/GroupFindingsResponseOrBuilder.java (79%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/GroupResult.java (65%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/GroupResultOrBuilder.java (56%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/IamBinding.java (71%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/IamBindingOrBuilder.java (67%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/IamBindingProto.java rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/Indicator.java (62%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/IndicatorOrBuilder.java (74%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/IndicatorProto.java rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/Kubernetes.java (76%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/KubernetesOrBuilder.java (85%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/KubernetesProto.java rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/Label.java (69%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/LabelOrBuilder.java (51%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/LabelProto.java rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/ListAssetsRequest.java (84%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/ListAssetsRequestOrBuilder.java (92%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/ListAssetsResponse.java (66%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/ListAssetsResponseOrBuilder.java (57%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/ListBigQueryExportsRequest.java (70%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/ListBigQueryExportsRequestOrBuilder.java (64%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/ListBigQueryExportsResponse.java (74%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/ListBigQueryExportsResponseOrBuilder.java (71%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/ListFindingsRequest.java (84%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/ListFindingsRequestOrBuilder.java (92%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/ListFindingsResponse.java (67%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/ListFindingsResponseOrBuilder.java (56%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/ListMuteConfigsRequest.java (71%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/ListMuteConfigsRequestOrBuilder.java (64%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/ListMuteConfigsResponse.java (74%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/ListMuteConfigsResponseOrBuilder.java (70%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/ListNotificationConfigsRequest.java (67%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/ListNotificationConfigsRequestOrBuilder.java (60%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/ListNotificationConfigsResponse.java (69%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/ListNotificationConfigsResponseOrBuilder.java (66%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/ListSourcesRequest.java (70%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/ListSourcesRequestOrBuilder.java (61%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/ListSourcesResponse.java (74%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/ListSourcesResponseOrBuilder.java (67%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/MitreAttack.java (75%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/MitreAttackOrBuilder.java (80%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/MitreAttackProto.java rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/MuteConfig.java (73%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/MuteConfigName.java (100%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/MuteConfigOrBuilder.java (79%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/MuteConfigProto.java rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/NotificationConfig.java (72%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/NotificationConfigName.java (100%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/NotificationConfigOrBuilder.java (73%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/NotificationConfigProto.java rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/NotificationMessage.java (71%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/NotificationMessageOrBuilder.java (74%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/NotificationMessageProto.java rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/OrganizationName.java (100%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/OrganizationSettings.java (67%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/OrganizationSettingsName.java (100%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/OrganizationSettingsOrBuilder.java (60%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/OrganizationSettingsOuterClass.java rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/Process.java (76%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/ProcessOrBuilder.java (83%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ProcessProto.java rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/ProjectName.java (100%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/Reference.java (70%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/ReferenceOrBuilder.java (57%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/Resource.java (71%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/ResourceOrBuilder.java (68%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ResourceProto.java rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/RunAssetDiscoveryRequest.java (66%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/RunAssetDiscoveryRequestOrBuilder.java rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/RunAssetDiscoveryResponse.java (70%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/RunAssetDiscoveryResponseOrBuilder.java (68%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/RunAssetDiscoveryResponseOuterClass.java rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/SecurityMarks.java (72%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/SecurityMarksOrBuilder.java (81%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/SecurityMarksOuterClass.java create mode 100644 owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/SecuritycenterService.java rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/SetFindingStateRequest.java (67%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/SetFindingStateRequestOrBuilder.java (58%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/SetMuteRequest.java (67%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/SetMuteRequestOrBuilder.java (55%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/Source.java (76%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/SourceName.java (100%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/SourceOrBuilder.java (79%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/SourceOuterClass.java rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/UpdateBigQueryExportRequest.java (65%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/UpdateBigQueryExportRequestOrBuilder.java (59%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/UpdateExternalSystemRequest.java (65%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/UpdateExternalSystemRequestOrBuilder.java (60%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/UpdateFindingRequest.java (72%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/UpdateFindingRequestOrBuilder.java (74%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/UpdateMuteConfigRequest.java (66%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/UpdateMuteConfigRequestOrBuilder.java (59%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/UpdateNotificationConfigRequest.java (63%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/UpdateNotificationConfigRequestOrBuilder.java (60%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/UpdateOrganizationSettingsRequest.java (63%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/UpdateOrganizationSettingsRequestOrBuilder.java (58%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/UpdateSecurityMarksRequest.java (70%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/UpdateSecurityMarksRequestOrBuilder.java (74%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/UpdateSourceRequest.java (66%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/UpdateSourceRequestOrBuilder.java (60%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/Vulnerability.java (70%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/java/com/google/cloud/securitycenter/v1/VulnerabilityOrBuilder.java (61%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/VulnerabilityProto.java rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/proto/google/cloud/securitycenter/v1/access.proto (100%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/proto/google/cloud/securitycenter/v1/asset.proto (100%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/proto/google/cloud/securitycenter/v1/bigquery_export.proto (100%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/proto/google/cloud/securitycenter/v1/compliance.proto (100%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/proto/google/cloud/securitycenter/v1/connection.proto (100%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/proto/google/cloud/securitycenter/v1/contact_details.proto (100%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/proto/google/cloud/securitycenter/v1/container.proto (100%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/proto/google/cloud/securitycenter/v1/database.proto rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/proto/google/cloud/securitycenter/v1/exfiltration.proto (100%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/proto/google/cloud/securitycenter/v1/external_system.proto (100%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/proto/google/cloud/securitycenter/v1/file.proto (100%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/proto/google/cloud/securitycenter/v1/finding.proto (95%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/proto/google/cloud/securitycenter/v1/folder.proto (100%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/proto/google/cloud/securitycenter/v1/iam_binding.proto (100%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/proto/google/cloud/securitycenter/v1/indicator.proto (100%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/proto/google/cloud/securitycenter/v1/kubernetes.proto (100%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/proto/google/cloud/securitycenter/v1/label.proto (100%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/proto/google/cloud/securitycenter/v1/mitre_attack.proto (100%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/proto/google/cloud/securitycenter/v1/mute_config.proto (100%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/proto/google/cloud/securitycenter/v1/notification_config.proto (100%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/proto/google/cloud/securitycenter/v1/notification_message.proto (100%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/proto/google/cloud/securitycenter/v1/organization_settings.proto (100%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/proto/google/cloud/securitycenter/v1/process.proto (100%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/proto/google/cloud/securitycenter/v1/resource.proto (100%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/proto/google/cloud/securitycenter/v1/run_asset_discovery_response.proto (100%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/proto/google/cloud/securitycenter/v1/security_marks.proto (100%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/proto/google/cloud/securitycenter/v1/securitycenter_service.proto (100%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/proto/google/cloud/securitycenter/v1/source.proto (100%) rename {proto-google-cloud-securitycenter-v1 => owl-bot-staging/v1/proto-google-cloud-securitycenter-v1}/src/main/proto/google/cloud/securitycenter/v1/vulnerability.proto (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/bulkmutefindings/AsyncBulkMuteFindings.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/bulkmutefindings/AsyncBulkMuteFindingsLRO.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/bulkmutefindings/SyncBulkMuteFindings.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/bulkmutefindings/SyncBulkMuteFindingsResourcename.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/bulkmutefindings/SyncBulkMuteFindingsString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/create/SyncCreateSetCredentialsProvider.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/create/SyncCreateSetCredentialsProvider1.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/create/SyncCreateSetEndpoint.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createbigqueryexport/AsyncCreateBigQueryExport.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createbigqueryexport/SyncCreateBigQueryExport.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createbigqueryexport/SyncCreateBigQueryExportFoldernameBigqueryexportString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createbigqueryexport/SyncCreateBigQueryExportOrganizationnameBigqueryexportString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createbigqueryexport/SyncCreateBigQueryExportProjectnameBigqueryexportString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createbigqueryexport/SyncCreateBigQueryExportStringBigqueryexportString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createfinding/AsyncCreateFinding.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createfinding/SyncCreateFinding.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createfinding/SyncCreateFindingSourcenameStringFinding.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createfinding/SyncCreateFindingStringStringFinding.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createmuteconfig/AsyncCreateMuteConfig.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createmuteconfig/SyncCreateMuteConfig.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createmuteconfig/SyncCreateMuteConfigFoldernameMuteconfig.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createmuteconfig/SyncCreateMuteConfigFoldernameMuteconfigString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createmuteconfig/SyncCreateMuteConfigOrganizationnameMuteconfig.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createmuteconfig/SyncCreateMuteConfigOrganizationnameMuteconfigString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createmuteconfig/SyncCreateMuteConfigProjectnameMuteconfig.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createmuteconfig/SyncCreateMuteConfigProjectnameMuteconfigString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createmuteconfig/SyncCreateMuteConfigStringMuteconfig.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createmuteconfig/SyncCreateMuteConfigStringMuteconfigString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createnotificationconfig/AsyncCreateNotificationConfig.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createnotificationconfig/SyncCreateNotificationConfig.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createnotificationconfig/SyncCreateNotificationConfigOrganizationnameNotificationconfig.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createnotificationconfig/SyncCreateNotificationConfigOrganizationnameStringNotificationconfig.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createnotificationconfig/SyncCreateNotificationConfigStringNotificationconfig.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createnotificationconfig/SyncCreateNotificationConfigStringStringNotificationconfig.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createsource/AsyncCreateSource.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createsource/SyncCreateSource.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createsource/SyncCreateSourceOrganizationnameSource.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/createsource/SyncCreateSourceStringSource.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/deletebigqueryexport/AsyncDeleteBigQueryExport.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/deletebigqueryexport/SyncDeleteBigQueryExport.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/deletebigqueryexport/SyncDeleteBigQueryExportBigqueryexportname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/deletebigqueryexport/SyncDeleteBigQueryExportString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/deletemuteconfig/AsyncDeleteMuteConfig.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/deletemuteconfig/SyncDeleteMuteConfig.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/deletemuteconfig/SyncDeleteMuteConfigMuteconfigname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/deletemuteconfig/SyncDeleteMuteConfigString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/deletenotificationconfig/AsyncDeleteNotificationConfig.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/deletenotificationconfig/SyncDeleteNotificationConfig.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/deletenotificationconfig/SyncDeleteNotificationConfigNotificationconfigname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/deletenotificationconfig/SyncDeleteNotificationConfigString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getbigqueryexport/AsyncGetBigQueryExport.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getbigqueryexport/SyncGetBigQueryExport.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getbigqueryexport/SyncGetBigQueryExportBigqueryexportname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getbigqueryexport/SyncGetBigQueryExportString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getiampolicy/AsyncGetIamPolicy.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getiampolicy/SyncGetIamPolicy.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getiampolicy/SyncGetIamPolicyResourcename.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getiampolicy/SyncGetIamPolicyString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getmuteconfig/AsyncGetMuteConfig.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getmuteconfig/SyncGetMuteConfig.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getmuteconfig/SyncGetMuteConfigMuteconfigname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getmuteconfig/SyncGetMuteConfigString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getnotificationconfig/AsyncGetNotificationConfig.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getnotificationconfig/SyncGetNotificationConfig.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getnotificationconfig/SyncGetNotificationConfigNotificationconfigname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getnotificationconfig/SyncGetNotificationConfigString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getorganizationsettings/AsyncGetOrganizationSettings.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getorganizationsettings/SyncGetOrganizationSettings.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getorganizationsettings/SyncGetOrganizationSettingsOrganizationsettingsname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getorganizationsettings/SyncGetOrganizationSettingsString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getsource/AsyncGetSource.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getsource/SyncGetSource.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getsource/SyncGetSourceSourcename.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/getsource/SyncGetSourceString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/groupassets/AsyncGroupAssets.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/groupassets/AsyncGroupAssetsPaged.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/groupassets/SyncGroupAssets.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/groupfindings/AsyncGroupFindings.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/groupfindings/AsyncGroupFindingsPaged.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/groupfindings/SyncGroupFindings.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/groupfindings/SyncGroupFindingsSourcenameString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/groupfindings/SyncGroupFindingsStringString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listassets/AsyncListAssets.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listassets/AsyncListAssetsPaged.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listassets/SyncListAssets.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listbigqueryexports/AsyncListBigQueryExports.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listbigqueryexports/AsyncListBigQueryExportsPaged.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listbigqueryexports/SyncListBigQueryExports.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listbigqueryexports/SyncListBigQueryExportsFoldername.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listbigqueryexports/SyncListBigQueryExportsOrganizationname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listbigqueryexports/SyncListBigQueryExportsProjectname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listbigqueryexports/SyncListBigQueryExportsString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listfindings/AsyncListFindings.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listfindings/AsyncListFindingsPaged.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listfindings/SyncListFindings.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listmuteconfigs/AsyncListMuteConfigs.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listmuteconfigs/AsyncListMuteConfigsPaged.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listmuteconfigs/SyncListMuteConfigs.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listmuteconfigs/SyncListMuteConfigsFoldername.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listmuteconfigs/SyncListMuteConfigsOrganizationname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listmuteconfigs/SyncListMuteConfigsProjectname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listmuteconfigs/SyncListMuteConfigsString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listnotificationconfigs/AsyncListNotificationConfigs.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listnotificationconfigs/AsyncListNotificationConfigsPaged.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listnotificationconfigs/SyncListNotificationConfigs.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listnotificationconfigs/SyncListNotificationConfigsOrganizationname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listnotificationconfigs/SyncListNotificationConfigsString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listsources/AsyncListSources.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listsources/AsyncListSourcesPaged.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listsources/SyncListSources.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listsources/SyncListSourcesFoldername.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listsources/SyncListSourcesOrganizationname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listsources/SyncListSourcesProjectname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/listsources/SyncListSourcesString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/runassetdiscovery/AsyncRunAssetDiscovery.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/runassetdiscovery/AsyncRunAssetDiscoveryLRO.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/runassetdiscovery/SyncRunAssetDiscovery.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/runassetdiscovery/SyncRunAssetDiscoveryOrganizationname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/runassetdiscovery/SyncRunAssetDiscoveryString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/setfindingstate/AsyncSetFindingState.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/setfindingstate/SyncSetFindingState.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/setfindingstate/SyncSetFindingStateFindingnameFindingstateTimestamp.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/setfindingstate/SyncSetFindingStateStringFindingstateTimestamp.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/setiampolicy/AsyncSetIamPolicy.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/setiampolicy/SyncSetIamPolicy.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/setiampolicy/SyncSetIamPolicyResourcenamePolicy.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/setiampolicy/SyncSetIamPolicyStringPolicy.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/setmute/AsyncSetMute.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/setmute/SyncSetMute.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/setmute/SyncSetMuteFindingnameFindingmute.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/setmute/SyncSetMuteStringFindingmute.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/testiampermissions/AsyncTestIamPermissions.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/testiampermissions/SyncTestIamPermissions.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/testiampermissions/SyncTestIamPermissionsResourcenameListstring.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/testiampermissions/SyncTestIamPermissionsStringListstring.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatebigqueryexport/AsyncUpdateBigQueryExport.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatebigqueryexport/SyncUpdateBigQueryExport.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatebigqueryexport/SyncUpdateBigQueryExportBigqueryexportFieldmask.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updateexternalsystem/AsyncUpdateExternalSystem.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updateexternalsystem/SyncUpdateExternalSystem.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updateexternalsystem/SyncUpdateExternalSystemExternalsystemFieldmask.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatefinding/AsyncUpdateFinding.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatefinding/SyncUpdateFinding.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatefinding/SyncUpdateFindingFinding.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatemuteconfig/AsyncUpdateMuteConfig.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatemuteconfig/SyncUpdateMuteConfig.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatemuteconfig/SyncUpdateMuteConfigMuteconfigFieldmask.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatenotificationconfig/AsyncUpdateNotificationConfig.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatenotificationconfig/SyncUpdateNotificationConfig.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatenotificationconfig/SyncUpdateNotificationConfigNotificationconfig.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatenotificationconfig/SyncUpdateNotificationConfigNotificationconfigFieldmask.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updateorganizationsettings/AsyncUpdateOrganizationSettings.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updateorganizationsettings/SyncUpdateOrganizationSettings.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updateorganizationsettings/SyncUpdateOrganizationSettingsOrganizationsettings.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatesecuritymarks/AsyncUpdateSecurityMarks.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatesecuritymarks/SyncUpdateSecurityMarks.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatesecuritymarks/SyncUpdateSecurityMarksSecuritymarks.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatesource/AsyncUpdateSource.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatesource/SyncUpdateSource.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycenterclient/updatesource/SyncUpdateSourceSource.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/securitycentersettings/createsource/SyncCreateSource.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/securitycenter/v1/stub/securitycenterstubsettings/createsource/SyncCreateSource.java (100%) rename {google-cloud-securitycenter => owl-bot-staging/v1beta1/google-cloud-securitycenter}/src/main/java/com/google/cloud/securitycenter/v1beta1/SecurityCenterClient.java (98%) rename {google-cloud-securitycenter => owl-bot-staging/v1beta1/google-cloud-securitycenter}/src/main/java/com/google/cloud/securitycenter/v1beta1/SecurityCenterSettings.java (98%) rename {google-cloud-securitycenter => owl-bot-staging/v1beta1/google-cloud-securitycenter}/src/main/java/com/google/cloud/securitycenter/v1beta1/gapic_metadata.json (100%) rename {google-cloud-securitycenter => owl-bot-staging/v1beta1/google-cloud-securitycenter}/src/main/java/com/google/cloud/securitycenter/v1beta1/package-info.java (100%) rename {google-cloud-securitycenter => owl-bot-staging/v1beta1/google-cloud-securitycenter}/src/main/java/com/google/cloud/securitycenter/v1beta1/stub/GrpcSecurityCenterCallableFactory.java (100%) rename {google-cloud-securitycenter => owl-bot-staging/v1beta1/google-cloud-securitycenter}/src/main/java/com/google/cloud/securitycenter/v1beta1/stub/GrpcSecurityCenterStub.java (99%) rename {google-cloud-securitycenter => owl-bot-staging/v1beta1/google-cloud-securitycenter}/src/main/java/com/google/cloud/securitycenter/v1beta1/stub/HttpJsonSecurityCenterCallableFactory.java (100%) rename {google-cloud-securitycenter => owl-bot-staging/v1beta1/google-cloud-securitycenter}/src/main/java/com/google/cloud/securitycenter/v1beta1/stub/HttpJsonSecurityCenterStub.java (99%) rename {google-cloud-securitycenter => owl-bot-staging/v1beta1/google-cloud-securitycenter}/src/main/java/com/google/cloud/securitycenter/v1beta1/stub/SecurityCenterStub.java (100%) rename {google-cloud-securitycenter => owl-bot-staging/v1beta1/google-cloud-securitycenter}/src/main/java/com/google/cloud/securitycenter/v1beta1/stub/SecurityCenterStubSettings.java (99%) rename {google-cloud-securitycenter => owl-bot-staging/v1beta1/google-cloud-securitycenter}/src/test/java/com/google/cloud/securitycenter/v1beta1/MockSecurityCenter.java (100%) rename {google-cloud-securitycenter => owl-bot-staging/v1beta1/google-cloud-securitycenter}/src/test/java/com/google/cloud/securitycenter/v1beta1/MockSecurityCenterImpl.java (100%) rename {google-cloud-securitycenter => owl-bot-staging/v1beta1/google-cloud-securitycenter}/src/test/java/com/google/cloud/securitycenter/v1beta1/SecurityCenterClientHttpJsonTest.java (100%) rename {google-cloud-securitycenter => owl-bot-staging/v1beta1/google-cloud-securitycenter}/src/test/java/com/google/cloud/securitycenter/v1beta1/SecurityCenterClientTest.java (100%) create mode 100644 owl-bot-staging/v1beta1/grpc-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/SecurityCenterGrpc.java rename {proto-google-cloud-securitycenter-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-securitycenter-v1beta1}/src/main/java/com/google/cloud/securitycenter/v1beta1/Asset.java (72%) rename {proto-google-cloud-securitycenter-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-securitycenter-v1beta1}/src/main/java/com/google/cloud/securitycenter/v1beta1/AssetOrBuilder.java (75%) create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/AssetOuterClass.java rename {proto-google-cloud-securitycenter-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-securitycenter-v1beta1}/src/main/java/com/google/cloud/securitycenter/v1beta1/CreateFindingRequest.java (67%) rename {proto-google-cloud-securitycenter-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-securitycenter-v1beta1}/src/main/java/com/google/cloud/securitycenter/v1beta1/CreateFindingRequestOrBuilder.java (60%) rename {proto-google-cloud-securitycenter-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-securitycenter-v1beta1}/src/main/java/com/google/cloud/securitycenter/v1beta1/CreateSourceRequest.java (65%) rename {proto-google-cloud-securitycenter-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-securitycenter-v1beta1}/src/main/java/com/google/cloud/securitycenter/v1beta1/CreateSourceRequestOrBuilder.java (51%) rename {proto-google-cloud-securitycenter-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-securitycenter-v1beta1}/src/main/java/com/google/cloud/securitycenter/v1beta1/Finding.java (74%) rename {proto-google-cloud-securitycenter-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-securitycenter-v1beta1}/src/main/java/com/google/cloud/securitycenter/v1beta1/FindingName.java (100%) rename {proto-google-cloud-securitycenter-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-securitycenter-v1beta1}/src/main/java/com/google/cloud/securitycenter/v1beta1/FindingOrBuilder.java (82%) create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/FindingOuterClass.java rename {proto-google-cloud-securitycenter-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-securitycenter-v1beta1}/src/main/java/com/google/cloud/securitycenter/v1beta1/GetOrganizationSettingsRequest.java (63%) create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/GetOrganizationSettingsRequestOrBuilder.java rename {proto-google-cloud-securitycenter-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-securitycenter-v1beta1}/src/main/java/com/google/cloud/securitycenter/v1beta1/GetSourceRequest.java (67%) create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/GetSourceRequestOrBuilder.java rename {proto-google-cloud-securitycenter-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-securitycenter-v1beta1}/src/main/java/com/google/cloud/securitycenter/v1beta1/GroupAssetsRequest.java (81%) rename {proto-google-cloud-securitycenter-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-securitycenter-v1beta1}/src/main/java/com/google/cloud/securitycenter/v1beta1/GroupAssetsRequestOrBuilder.java (88%) rename {proto-google-cloud-securitycenter-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-securitycenter-v1beta1}/src/main/java/com/google/cloud/securitycenter/v1beta1/GroupAssetsResponse.java (77%) rename {proto-google-cloud-securitycenter-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-securitycenter-v1beta1}/src/main/java/com/google/cloud/securitycenter/v1beta1/GroupAssetsResponseOrBuilder.java (80%) rename {proto-google-cloud-securitycenter-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-securitycenter-v1beta1}/src/main/java/com/google/cloud/securitycenter/v1beta1/GroupFindingsRequest.java (77%) rename {proto-google-cloud-securitycenter-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-securitycenter-v1beta1}/src/main/java/com/google/cloud/securitycenter/v1beta1/GroupFindingsRequestOrBuilder.java (82%) rename {proto-google-cloud-securitycenter-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-securitycenter-v1beta1}/src/main/java/com/google/cloud/securitycenter/v1beta1/GroupFindingsResponse.java (77%) rename {proto-google-cloud-securitycenter-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-securitycenter-v1beta1}/src/main/java/com/google/cloud/securitycenter/v1beta1/GroupFindingsResponseOrBuilder.java (80%) rename {proto-google-cloud-securitycenter-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-securitycenter-v1beta1}/src/main/java/com/google/cloud/securitycenter/v1beta1/GroupResult.java (64%) rename {proto-google-cloud-securitycenter-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-securitycenter-v1beta1}/src/main/java/com/google/cloud/securitycenter/v1beta1/GroupResultOrBuilder.java (56%) rename {proto-google-cloud-securitycenter-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-securitycenter-v1beta1}/src/main/java/com/google/cloud/securitycenter/v1beta1/ListAssetsRequest.java (80%) rename {proto-google-cloud-securitycenter-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-securitycenter-v1beta1}/src/main/java/com/google/cloud/securitycenter/v1beta1/ListAssetsRequestOrBuilder.java (88%) rename {proto-google-cloud-securitycenter-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-securitycenter-v1beta1}/src/main/java/com/google/cloud/securitycenter/v1beta1/ListAssetsResponse.java (65%) rename {proto-google-cloud-securitycenter-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-securitycenter-v1beta1}/src/main/java/com/google/cloud/securitycenter/v1beta1/ListAssetsResponseOrBuilder.java (56%) rename {proto-google-cloud-securitycenter-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-securitycenter-v1beta1}/src/main/java/com/google/cloud/securitycenter/v1beta1/ListFindingsRequest.java (77%) rename {proto-google-cloud-securitycenter-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-securitycenter-v1beta1}/src/main/java/com/google/cloud/securitycenter/v1beta1/ListFindingsRequestOrBuilder.java (83%) rename {proto-google-cloud-securitycenter-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-securitycenter-v1beta1}/src/main/java/com/google/cloud/securitycenter/v1beta1/ListFindingsResponse.java (74%) rename {proto-google-cloud-securitycenter-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-securitycenter-v1beta1}/src/main/java/com/google/cloud/securitycenter/v1beta1/ListFindingsResponseOrBuilder.java (75%) rename {proto-google-cloud-securitycenter-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-securitycenter-v1beta1}/src/main/java/com/google/cloud/securitycenter/v1beta1/ListSourcesRequest.java (70%) rename {proto-google-cloud-securitycenter-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-securitycenter-v1beta1}/src/main/java/com/google/cloud/securitycenter/v1beta1/ListSourcesRequestOrBuilder.java (60%) rename {proto-google-cloud-securitycenter-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-securitycenter-v1beta1}/src/main/java/com/google/cloud/securitycenter/v1beta1/ListSourcesResponse.java (74%) rename {proto-google-cloud-securitycenter-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-securitycenter-v1beta1}/src/main/java/com/google/cloud/securitycenter/v1beta1/ListSourcesResponseOrBuilder.java (69%) rename {proto-google-cloud-securitycenter-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-securitycenter-v1beta1}/src/main/java/com/google/cloud/securitycenter/v1beta1/OrganizationName.java (100%) rename {proto-google-cloud-securitycenter-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-securitycenter-v1beta1}/src/main/java/com/google/cloud/securitycenter/v1beta1/OrganizationSettings.java (64%) rename {proto-google-cloud-securitycenter-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-securitycenter-v1beta1}/src/main/java/com/google/cloud/securitycenter/v1beta1/OrganizationSettingsName.java (100%) rename {proto-google-cloud-securitycenter-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-securitycenter-v1beta1}/src/main/java/com/google/cloud/securitycenter/v1beta1/OrganizationSettingsOrBuilder.java (59%) create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/OrganizationSettingsOuterClass.java rename {proto-google-cloud-securitycenter-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-securitycenter-v1beta1}/src/main/java/com/google/cloud/securitycenter/v1beta1/RunAssetDiscoveryRequest.java (65%) create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/RunAssetDiscoveryRequestOrBuilder.java rename {proto-google-cloud-securitycenter-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-securitycenter-v1beta1}/src/main/java/com/google/cloud/securitycenter/v1beta1/RunAssetDiscoveryResponse.java (68%) rename {proto-google-cloud-securitycenter-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-securitycenter-v1beta1}/src/main/java/com/google/cloud/securitycenter/v1beta1/RunAssetDiscoveryResponseOrBuilder.java (68%) create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/RunAssetDiscoveryResponseOuterClass.java rename {proto-google-cloud-securitycenter-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-securitycenter-v1beta1}/src/main/java/com/google/cloud/securitycenter/v1beta1/SecurityMarks.java (69%) rename {proto-google-cloud-securitycenter-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-securitycenter-v1beta1}/src/main/java/com/google/cloud/securitycenter/v1beta1/SecurityMarksOrBuilder.java (77%) create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/SecurityMarksOuterClass.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/SecuritycenterService.java rename {proto-google-cloud-securitycenter-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-securitycenter-v1beta1}/src/main/java/com/google/cloud/securitycenter/v1beta1/SetFindingStateRequest.java (65%) rename {proto-google-cloud-securitycenter-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-securitycenter-v1beta1}/src/main/java/com/google/cloud/securitycenter/v1beta1/SetFindingStateRequestOrBuilder.java (58%) rename {proto-google-cloud-securitycenter-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-securitycenter-v1beta1}/src/main/java/com/google/cloud/securitycenter/v1beta1/Source.java (76%) rename {proto-google-cloud-securitycenter-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-securitycenter-v1beta1}/src/main/java/com/google/cloud/securitycenter/v1beta1/SourceName.java (100%) rename {proto-google-cloud-securitycenter-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-securitycenter-v1beta1}/src/main/java/com/google/cloud/securitycenter/v1beta1/SourceOrBuilder.java (76%) create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/SourceOuterClass.java rename {proto-google-cloud-securitycenter-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-securitycenter-v1beta1}/src/main/java/com/google/cloud/securitycenter/v1beta1/UpdateFindingRequest.java (69%) rename {proto-google-cloud-securitycenter-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-securitycenter-v1beta1}/src/main/java/com/google/cloud/securitycenter/v1beta1/UpdateFindingRequestOrBuilder.java (69%) rename {proto-google-cloud-securitycenter-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-securitycenter-v1beta1}/src/main/java/com/google/cloud/securitycenter/v1beta1/UpdateOrganizationSettingsRequest.java (61%) rename {proto-google-cloud-securitycenter-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-securitycenter-v1beta1}/src/main/java/com/google/cloud/securitycenter/v1beta1/UpdateOrganizationSettingsRequestOrBuilder.java (56%) rename {proto-google-cloud-securitycenter-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-securitycenter-v1beta1}/src/main/java/com/google/cloud/securitycenter/v1beta1/UpdateSecurityMarksRequest.java (66%) rename {proto-google-cloud-securitycenter-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-securitycenter-v1beta1}/src/main/java/com/google/cloud/securitycenter/v1beta1/UpdateSecurityMarksRequestOrBuilder.java (66%) rename {proto-google-cloud-securitycenter-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-securitycenter-v1beta1}/src/main/java/com/google/cloud/securitycenter/v1beta1/UpdateSourceRequest.java (66%) rename {proto-google-cloud-securitycenter-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-securitycenter-v1beta1}/src/main/java/com/google/cloud/securitycenter/v1beta1/UpdateSourceRequestOrBuilder.java (58%) rename {proto-google-cloud-securitycenter-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-securitycenter-v1beta1}/src/main/proto/google/cloud/securitycenter/v1beta1/asset.proto (100%) rename {proto-google-cloud-securitycenter-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-securitycenter-v1beta1}/src/main/proto/google/cloud/securitycenter/v1beta1/finding.proto (100%) rename {proto-google-cloud-securitycenter-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-securitycenter-v1beta1}/src/main/proto/google/cloud/securitycenter/v1beta1/organization_settings.proto (100%) rename {proto-google-cloud-securitycenter-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-securitycenter-v1beta1}/src/main/proto/google/cloud/securitycenter/v1beta1/run_asset_discovery_response.proto (100%) rename {proto-google-cloud-securitycenter-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-securitycenter-v1beta1}/src/main/proto/google/cloud/securitycenter/v1beta1/security_marks.proto (100%) rename {proto-google-cloud-securitycenter-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-securitycenter-v1beta1}/src/main/proto/google/cloud/securitycenter/v1beta1/securitycenter_service.proto (100%) rename {proto-google-cloud-securitycenter-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-securitycenter-v1beta1}/src/main/proto/google/cloud/securitycenter/v1beta1/source.proto (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/create/SyncCreateSetCredentialsProvider.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/create/SyncCreateSetCredentialsProvider1.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/create/SyncCreateSetEndpoint.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/createfinding/AsyncCreateFinding.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/createfinding/SyncCreateFinding.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/createfinding/SyncCreateFindingSourcenameStringFinding.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/createfinding/SyncCreateFindingStringStringFinding.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/createsource/AsyncCreateSource.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/createsource/SyncCreateSource.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/createsource/SyncCreateSourceOrganizationnameSource.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/createsource/SyncCreateSourceStringSource.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/getiampolicy/AsyncGetIamPolicy.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/getiampolicy/SyncGetIamPolicy.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/getiampolicy/SyncGetIamPolicyResourcename.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/getiampolicy/SyncGetIamPolicyString.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/getorganizationsettings/AsyncGetOrganizationSettings.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/getorganizationsettings/SyncGetOrganizationSettings.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/getorganizationsettings/SyncGetOrganizationSettingsOrganizationsettingsname.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/getorganizationsettings/SyncGetOrganizationSettingsString.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/getsource/AsyncGetSource.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/getsource/SyncGetSource.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/getsource/SyncGetSourceSourcename.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/getsource/SyncGetSourceString.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/groupassets/AsyncGroupAssets.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/groupassets/AsyncGroupAssetsPaged.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/groupassets/SyncGroupAssets.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/groupfindings/AsyncGroupFindings.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/groupfindings/AsyncGroupFindingsPaged.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/groupfindings/SyncGroupFindings.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/groupfindings/SyncGroupFindingsSourcenameString.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/groupfindings/SyncGroupFindingsStringString.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/listassets/AsyncListAssets.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/listassets/AsyncListAssetsPaged.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/listassets/SyncListAssets.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/listfindings/AsyncListFindings.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/listfindings/AsyncListFindingsPaged.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/listfindings/SyncListFindings.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/listsources/AsyncListSources.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/listsources/AsyncListSourcesPaged.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/listsources/SyncListSources.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/listsources/SyncListSourcesOrganizationname.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/listsources/SyncListSourcesString.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/runassetdiscovery/AsyncRunAssetDiscovery.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/runassetdiscovery/AsyncRunAssetDiscoveryLRO.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/runassetdiscovery/SyncRunAssetDiscovery.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/runassetdiscovery/SyncRunAssetDiscoveryOrganizationname.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/runassetdiscovery/SyncRunAssetDiscoveryString.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/setfindingstate/AsyncSetFindingState.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/setfindingstate/SyncSetFindingState.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/setfindingstate/SyncSetFindingStateFindingnameFindingstateTimestamp.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/setfindingstate/SyncSetFindingStateStringFindingstateTimestamp.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/setiampolicy/AsyncSetIamPolicy.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/setiampolicy/SyncSetIamPolicy.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/setiampolicy/SyncSetIamPolicyResourcenamePolicy.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/setiampolicy/SyncSetIamPolicyStringPolicy.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/testiampermissions/AsyncTestIamPermissions.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/testiampermissions/SyncTestIamPermissions.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/testiampermissions/SyncTestIamPermissionsResourcenameListstring.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/testiampermissions/SyncTestIamPermissionsStringListstring.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/updatefinding/AsyncUpdateFinding.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/updatefinding/SyncUpdateFinding.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/updatefinding/SyncUpdateFindingFinding.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/updateorganizationsettings/AsyncUpdateOrganizationSettings.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/updateorganizationsettings/SyncUpdateOrganizationSettings.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/updateorganizationsettings/SyncUpdateOrganizationSettingsOrganizationsettings.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/updatesecuritymarks/AsyncUpdateSecurityMarks.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/updatesecuritymarks/SyncUpdateSecurityMarks.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/updatesecuritymarks/SyncUpdateSecurityMarksSecuritymarks.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/updatesource/AsyncUpdateSource.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/updatesource/SyncUpdateSource.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycenterclient/updatesource/SyncUpdateSourceSource.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1beta1/securitycentersettings/createsource/SyncCreateSource.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1beta1/stub/securitycenterstubsettings/createsource/SyncCreateSource.java (100%) rename {google-cloud-securitycenter => owl-bot-staging/v1p1beta1/google-cloud-securitycenter}/src/main/java/com/google/cloud/securitycenter/v1p1beta1/SecurityCenterClient.java (98%) rename {google-cloud-securitycenter => owl-bot-staging/v1p1beta1/google-cloud-securitycenter}/src/main/java/com/google/cloud/securitycenter/v1p1beta1/SecurityCenterSettings.java (97%) rename {google-cloud-securitycenter => owl-bot-staging/v1p1beta1/google-cloud-securitycenter}/src/main/java/com/google/cloud/securitycenter/v1p1beta1/gapic_metadata.json (100%) rename {google-cloud-securitycenter => owl-bot-staging/v1p1beta1/google-cloud-securitycenter}/src/main/java/com/google/cloud/securitycenter/v1p1beta1/package-info.java (100%) rename {google-cloud-securitycenter => owl-bot-staging/v1p1beta1/google-cloud-securitycenter}/src/main/java/com/google/cloud/securitycenter/v1p1beta1/stub/GrpcSecurityCenterCallableFactory.java (100%) rename {google-cloud-securitycenter => owl-bot-staging/v1p1beta1/google-cloud-securitycenter}/src/main/java/com/google/cloud/securitycenter/v1p1beta1/stub/GrpcSecurityCenterStub.java (99%) rename {google-cloud-securitycenter => owl-bot-staging/v1p1beta1/google-cloud-securitycenter}/src/main/java/com/google/cloud/securitycenter/v1p1beta1/stub/HttpJsonSecurityCenterCallableFactory.java (100%) rename {google-cloud-securitycenter => owl-bot-staging/v1p1beta1/google-cloud-securitycenter}/src/main/java/com/google/cloud/securitycenter/v1p1beta1/stub/HttpJsonSecurityCenterStub.java (99%) rename {google-cloud-securitycenter => owl-bot-staging/v1p1beta1/google-cloud-securitycenter}/src/main/java/com/google/cloud/securitycenter/v1p1beta1/stub/SecurityCenterStub.java (100%) rename {google-cloud-securitycenter => owl-bot-staging/v1p1beta1/google-cloud-securitycenter}/src/main/java/com/google/cloud/securitycenter/v1p1beta1/stub/SecurityCenterStubSettings.java (98%) rename {google-cloud-securitycenter => owl-bot-staging/v1p1beta1/google-cloud-securitycenter}/src/test/java/com/google/cloud/securitycenter/v1p1beta1/MockSecurityCenter.java (100%) rename {google-cloud-securitycenter => owl-bot-staging/v1p1beta1/google-cloud-securitycenter}/src/test/java/com/google/cloud/securitycenter/v1p1beta1/MockSecurityCenterImpl.java (100%) rename {google-cloud-securitycenter => owl-bot-staging/v1p1beta1/google-cloud-securitycenter}/src/test/java/com/google/cloud/securitycenter/v1p1beta1/SecurityCenterClientHttpJsonTest.java (100%) rename {google-cloud-securitycenter => owl-bot-staging/v1p1beta1/google-cloud-securitycenter}/src/test/java/com/google/cloud/securitycenter/v1p1beta1/SecurityCenterClientTest.java (100%) create mode 100644 owl-bot-staging/v1p1beta1/grpc-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/SecurityCenterGrpc.java rename {proto-google-cloud-securitycenter-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1}/src/main/java/com/google/cloud/securitycenter/v1p1beta1/Asset.java (74%) rename {proto-google-cloud-securitycenter-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1}/src/main/java/com/google/cloud/securitycenter/v1p1beta1/AssetName.java (100%) rename {proto-google-cloud-securitycenter-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1}/src/main/java/com/google/cloud/securitycenter/v1p1beta1/AssetOrBuilder.java (79%) create mode 100644 owl-bot-staging/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/AssetOuterClass.java rename {proto-google-cloud-securitycenter-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1}/src/main/java/com/google/cloud/securitycenter/v1p1beta1/CreateFindingRequest.java (65%) rename {proto-google-cloud-securitycenter-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1}/src/main/java/com/google/cloud/securitycenter/v1p1beta1/CreateFindingRequestOrBuilder.java (58%) rename {proto-google-cloud-securitycenter-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1}/src/main/java/com/google/cloud/securitycenter/v1p1beta1/CreateNotificationConfigRequest.java (63%) rename {proto-google-cloud-securitycenter-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1}/src/main/java/com/google/cloud/securitycenter/v1p1beta1/CreateNotificationConfigRequestOrBuilder.java (59%) rename {proto-google-cloud-securitycenter-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1}/src/main/java/com/google/cloud/securitycenter/v1p1beta1/CreateSourceRequest.java (64%) rename {proto-google-cloud-securitycenter-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1}/src/main/java/com/google/cloud/securitycenter/v1p1beta1/CreateSourceRequestOrBuilder.java (51%) rename {proto-google-cloud-securitycenter-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1}/src/main/java/com/google/cloud/securitycenter/v1p1beta1/DeleteNotificationConfigRequest.java (60%) create mode 100644 owl-bot-staging/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/DeleteNotificationConfigRequestOrBuilder.java rename {proto-google-cloud-securitycenter-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1}/src/main/java/com/google/cloud/securitycenter/v1p1beta1/Finding.java (74%) rename {proto-google-cloud-securitycenter-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1}/src/main/java/com/google/cloud/securitycenter/v1p1beta1/FindingName.java (100%) rename {proto-google-cloud-securitycenter-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1}/src/main/java/com/google/cloud/securitycenter/v1p1beta1/FindingOrBuilder.java (84%) create mode 100644 owl-bot-staging/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/FindingOuterClass.java rename {proto-google-cloud-securitycenter-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1}/src/main/java/com/google/cloud/securitycenter/v1p1beta1/Folder.java (71%) rename {proto-google-cloud-securitycenter-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1}/src/main/java/com/google/cloud/securitycenter/v1p1beta1/FolderName.java (100%) rename {proto-google-cloud-securitycenter-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1}/src/main/java/com/google/cloud/securitycenter/v1p1beta1/FolderOrBuilder.java (61%) create mode 100644 owl-bot-staging/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/FolderProto.java rename {proto-google-cloud-securitycenter-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1}/src/main/java/com/google/cloud/securitycenter/v1p1beta1/GetNotificationConfigRequest.java (63%) create mode 100644 owl-bot-staging/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/GetNotificationConfigRequestOrBuilder.java rename {proto-google-cloud-securitycenter-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1}/src/main/java/com/google/cloud/securitycenter/v1p1beta1/GetOrganizationSettingsRequest.java (61%) create mode 100644 owl-bot-staging/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/GetOrganizationSettingsRequestOrBuilder.java rename {proto-google-cloud-securitycenter-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1}/src/main/java/com/google/cloud/securitycenter/v1p1beta1/GetSourceRequest.java (67%) create mode 100644 owl-bot-staging/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/GetSourceRequestOrBuilder.java rename {proto-google-cloud-securitycenter-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1}/src/main/java/com/google/cloud/securitycenter/v1p1beta1/GroupAssetsRequest.java (84%) rename {proto-google-cloud-securitycenter-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1}/src/main/java/com/google/cloud/securitycenter/v1p1beta1/GroupAssetsRequestOrBuilder.java (91%) rename {proto-google-cloud-securitycenter-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1}/src/main/java/com/google/cloud/securitycenter/v1p1beta1/GroupAssetsResponse.java (75%) rename {proto-google-cloud-securitycenter-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1}/src/main/java/com/google/cloud/securitycenter/v1p1beta1/GroupAssetsResponseOrBuilder.java (80%) rename {proto-google-cloud-securitycenter-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1}/src/main/java/com/google/cloud/securitycenter/v1p1beta1/GroupFindingsRequest.java (83%) rename {proto-google-cloud-securitycenter-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1}/src/main/java/com/google/cloud/securitycenter/v1p1beta1/GroupFindingsRequestOrBuilder.java (91%) rename {proto-google-cloud-securitycenter-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1}/src/main/java/com/google/cloud/securitycenter/v1p1beta1/GroupFindingsResponse.java (74%) rename {proto-google-cloud-securitycenter-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1}/src/main/java/com/google/cloud/securitycenter/v1p1beta1/GroupFindingsResponseOrBuilder.java (80%) rename {proto-google-cloud-securitycenter-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1}/src/main/java/com/google/cloud/securitycenter/v1p1beta1/GroupResult.java (64%) rename {proto-google-cloud-securitycenter-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1}/src/main/java/com/google/cloud/securitycenter/v1p1beta1/GroupResultOrBuilder.java (56%) rename {proto-google-cloud-securitycenter-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1}/src/main/java/com/google/cloud/securitycenter/v1p1beta1/ListAssetsRequest.java (84%) rename {proto-google-cloud-securitycenter-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1}/src/main/java/com/google/cloud/securitycenter/v1p1beta1/ListAssetsRequestOrBuilder.java (92%) rename {proto-google-cloud-securitycenter-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1}/src/main/java/com/google/cloud/securitycenter/v1p1beta1/ListAssetsResponse.java (63%) rename {proto-google-cloud-securitycenter-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1}/src/main/java/com/google/cloud/securitycenter/v1p1beta1/ListAssetsResponseOrBuilder.java (55%) rename {proto-google-cloud-securitycenter-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1}/src/main/java/com/google/cloud/securitycenter/v1p1beta1/ListFindingsRequest.java (83%) rename {proto-google-cloud-securitycenter-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1}/src/main/java/com/google/cloud/securitycenter/v1p1beta1/ListFindingsRequestOrBuilder.java (91%) rename {proto-google-cloud-securitycenter-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1}/src/main/java/com/google/cloud/securitycenter/v1p1beta1/ListFindingsResponse.java (66%) rename {proto-google-cloud-securitycenter-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1}/src/main/java/com/google/cloud/securitycenter/v1p1beta1/ListFindingsResponseOrBuilder.java (55%) rename {proto-google-cloud-securitycenter-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1}/src/main/java/com/google/cloud/securitycenter/v1p1beta1/ListNotificationConfigsRequest.java (65%) rename {proto-google-cloud-securitycenter-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1}/src/main/java/com/google/cloud/securitycenter/v1p1beta1/ListNotificationConfigsRequestOrBuilder.java (60%) rename {proto-google-cloud-securitycenter-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1}/src/main/java/com/google/cloud/securitycenter/v1p1beta1/ListNotificationConfigsResponse.java (62%) rename {proto-google-cloud-securitycenter-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1}/src/main/java/com/google/cloud/securitycenter/v1p1beta1/ListNotificationConfigsResponseOrBuilder.java (53%) rename {proto-google-cloud-securitycenter-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1}/src/main/java/com/google/cloud/securitycenter/v1p1beta1/ListSourcesRequest.java (70%) rename {proto-google-cloud-securitycenter-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1}/src/main/java/com/google/cloud/securitycenter/v1p1beta1/ListSourcesRequestOrBuilder.java (61%) rename {proto-google-cloud-securitycenter-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1}/src/main/java/com/google/cloud/securitycenter/v1p1beta1/ListSourcesResponse.java (73%) rename {proto-google-cloud-securitycenter-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1}/src/main/java/com/google/cloud/securitycenter/v1p1beta1/ListSourcesResponseOrBuilder.java (70%) rename {proto-google-cloud-securitycenter-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1}/src/main/java/com/google/cloud/securitycenter/v1p1beta1/NotificationConfig.java (69%) rename {proto-google-cloud-securitycenter-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1}/src/main/java/com/google/cloud/securitycenter/v1p1beta1/NotificationConfigName.java (100%) rename {proto-google-cloud-securitycenter-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1}/src/main/java/com/google/cloud/securitycenter/v1p1beta1/NotificationConfigOrBuilder.java (70%) create mode 100644 owl-bot-staging/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/NotificationConfigOuterClass.java rename {proto-google-cloud-securitycenter-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1}/src/main/java/com/google/cloud/securitycenter/v1p1beta1/NotificationMessage.java (71%) rename {proto-google-cloud-securitycenter-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1}/src/main/java/com/google/cloud/securitycenter/v1p1beta1/NotificationMessageOrBuilder.java (75%) create mode 100644 owl-bot-staging/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/NotificationMessageOuterClass.java rename {proto-google-cloud-securitycenter-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1}/src/main/java/com/google/cloud/securitycenter/v1p1beta1/OrganizationName.java (100%) rename {proto-google-cloud-securitycenter-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1}/src/main/java/com/google/cloud/securitycenter/v1p1beta1/OrganizationSettings.java (65%) rename {proto-google-cloud-securitycenter-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1}/src/main/java/com/google/cloud/securitycenter/v1p1beta1/OrganizationSettingsName.java (100%) rename {proto-google-cloud-securitycenter-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1}/src/main/java/com/google/cloud/securitycenter/v1p1beta1/OrganizationSettingsOrBuilder.java (59%) create mode 100644 owl-bot-staging/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/OrganizationSettingsOuterClass.java rename {proto-google-cloud-securitycenter-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1}/src/main/java/com/google/cloud/securitycenter/v1p1beta1/ProjectName.java (100%) rename {proto-google-cloud-securitycenter-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1}/src/main/java/com/google/cloud/securitycenter/v1p1beta1/Resource.java (71%) rename {proto-google-cloud-securitycenter-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1}/src/main/java/com/google/cloud/securitycenter/v1p1beta1/ResourceOrBuilder.java (67%) create mode 100644 owl-bot-staging/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/ResourceProto.java rename {proto-google-cloud-securitycenter-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1}/src/main/java/com/google/cloud/securitycenter/v1p1beta1/RunAssetDiscoveryRequest.java (63%) create mode 100644 owl-bot-staging/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/RunAssetDiscoveryRequestOrBuilder.java rename {proto-google-cloud-securitycenter-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1}/src/main/java/com/google/cloud/securitycenter/v1p1beta1/RunAssetDiscoveryResponse.java (67%) rename {proto-google-cloud-securitycenter-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1}/src/main/java/com/google/cloud/securitycenter/v1p1beta1/RunAssetDiscoveryResponseOrBuilder.java (68%) create mode 100644 owl-bot-staging/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/RunAssetDiscoveryResponseOuterClass.java rename {proto-google-cloud-securitycenter-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1}/src/main/java/com/google/cloud/securitycenter/v1p1beta1/SecurityMarks.java (72%) rename {proto-google-cloud-securitycenter-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1}/src/main/java/com/google/cloud/securitycenter/v1p1beta1/SecurityMarksOrBuilder.java (81%) create mode 100644 owl-bot-staging/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/SecurityMarksOuterClass.java create mode 100644 owl-bot-staging/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/SecuritycenterService.java rename {proto-google-cloud-securitycenter-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1}/src/main/java/com/google/cloud/securitycenter/v1p1beta1/SetFindingStateRequest.java (65%) rename {proto-google-cloud-securitycenter-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1}/src/main/java/com/google/cloud/securitycenter/v1p1beta1/SetFindingStateRequestOrBuilder.java (58%) rename {proto-google-cloud-securitycenter-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1}/src/main/java/com/google/cloud/securitycenter/v1p1beta1/Source.java (76%) rename {proto-google-cloud-securitycenter-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1}/src/main/java/com/google/cloud/securitycenter/v1p1beta1/SourceName.java (100%) rename {proto-google-cloud-securitycenter-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1}/src/main/java/com/google/cloud/securitycenter/v1p1beta1/SourceOrBuilder.java (79%) create mode 100644 owl-bot-staging/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/SourceOuterClass.java rename {proto-google-cloud-securitycenter-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1}/src/main/java/com/google/cloud/securitycenter/v1p1beta1/UpdateFindingRequest.java (71%) rename {proto-google-cloud-securitycenter-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1}/src/main/java/com/google/cloud/securitycenter/v1p1beta1/UpdateFindingRequestOrBuilder.java (74%) rename {proto-google-cloud-securitycenter-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1}/src/main/java/com/google/cloud/securitycenter/v1p1beta1/UpdateNotificationConfigRequest.java (62%) rename {proto-google-cloud-securitycenter-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1}/src/main/java/com/google/cloud/securitycenter/v1p1beta1/UpdateNotificationConfigRequestOrBuilder.java (58%) rename {proto-google-cloud-securitycenter-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1}/src/main/java/com/google/cloud/securitycenter/v1p1beta1/UpdateOrganizationSettingsRequest.java (59%) rename {proto-google-cloud-securitycenter-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1}/src/main/java/com/google/cloud/securitycenter/v1p1beta1/UpdateOrganizationSettingsRequestOrBuilder.java (58%) rename {proto-google-cloud-securitycenter-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1}/src/main/java/com/google/cloud/securitycenter/v1p1beta1/UpdateSecurityMarksRequest.java (68%) rename {proto-google-cloud-securitycenter-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1}/src/main/java/com/google/cloud/securitycenter/v1p1beta1/UpdateSecurityMarksRequestOrBuilder.java (73%) rename {proto-google-cloud-securitycenter-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1}/src/main/java/com/google/cloud/securitycenter/v1p1beta1/UpdateSourceRequest.java (66%) rename {proto-google-cloud-securitycenter-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1}/src/main/java/com/google/cloud/securitycenter/v1p1beta1/UpdateSourceRequestOrBuilder.java (60%) rename {proto-google-cloud-securitycenter-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1}/src/main/proto/google/cloud/securitycenter/v1p1beta1/asset.proto (100%) rename {proto-google-cloud-securitycenter-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1}/src/main/proto/google/cloud/securitycenter/v1p1beta1/finding.proto (100%) rename {proto-google-cloud-securitycenter-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1}/src/main/proto/google/cloud/securitycenter/v1p1beta1/folder.proto (100%) rename {proto-google-cloud-securitycenter-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1}/src/main/proto/google/cloud/securitycenter/v1p1beta1/notification_config.proto (100%) rename {proto-google-cloud-securitycenter-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1}/src/main/proto/google/cloud/securitycenter/v1p1beta1/notification_message.proto (100%) rename {proto-google-cloud-securitycenter-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1}/src/main/proto/google/cloud/securitycenter/v1p1beta1/organization_settings.proto (100%) rename {proto-google-cloud-securitycenter-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1}/src/main/proto/google/cloud/securitycenter/v1p1beta1/resource.proto (100%) rename {proto-google-cloud-securitycenter-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1}/src/main/proto/google/cloud/securitycenter/v1p1beta1/run_asset_discovery_response.proto (100%) rename {proto-google-cloud-securitycenter-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1}/src/main/proto/google/cloud/securitycenter/v1p1beta1/security_marks.proto (100%) rename {proto-google-cloud-securitycenter-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1}/src/main/proto/google/cloud/securitycenter/v1p1beta1/securitycenter_service.proto (100%) rename {proto-google-cloud-securitycenter-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-securitycenter-v1p1beta1}/src/main/proto/google/cloud/securitycenter/v1p1beta1/source.proto (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/create/SyncCreateSetCredentialsProvider.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/create/SyncCreateSetCredentialsProvider1.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/create/SyncCreateSetEndpoint.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createfinding/AsyncCreateFinding.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createfinding/SyncCreateFinding.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createfinding/SyncCreateFindingSourcenameFindingString.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createfinding/SyncCreateFindingSourcenameStringFinding.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createfinding/SyncCreateFindingStringFindingString.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createfinding/SyncCreateFindingStringStringFinding.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createnotificationconfig/AsyncCreateNotificationConfig.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createnotificationconfig/SyncCreateNotificationConfig.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createnotificationconfig/SyncCreateNotificationConfigOrganizationnameNotificationconfig.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createnotificationconfig/SyncCreateNotificationConfigOrganizationnameStringNotificationconfig.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createnotificationconfig/SyncCreateNotificationConfigStringNotificationconfig.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createnotificationconfig/SyncCreateNotificationConfigStringStringNotificationconfig.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createsource/AsyncCreateSource.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createsource/SyncCreateSource.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createsource/SyncCreateSourceOrganizationnameSource.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/createsource/SyncCreateSourceStringSource.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/deletenotificationconfig/AsyncDeleteNotificationConfig.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/deletenotificationconfig/SyncDeleteNotificationConfig.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/deletenotificationconfig/SyncDeleteNotificationConfigNotificationconfigname.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/deletenotificationconfig/SyncDeleteNotificationConfigString.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/getiampolicy/AsyncGetIamPolicy.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/getiampolicy/SyncGetIamPolicy.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/getiampolicy/SyncGetIamPolicyResourcename.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/getiampolicy/SyncGetIamPolicyString.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/getnotificationconfig/AsyncGetNotificationConfig.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/getnotificationconfig/SyncGetNotificationConfig.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/getnotificationconfig/SyncGetNotificationConfigNotificationconfigname.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/getnotificationconfig/SyncGetNotificationConfigString.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/getorganizationsettings/AsyncGetOrganizationSettings.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/getorganizationsettings/SyncGetOrganizationSettings.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/getorganizationsettings/SyncGetOrganizationSettingsOrganizationsettingsname.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/getorganizationsettings/SyncGetOrganizationSettingsString.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/getsource/AsyncGetSource.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/getsource/SyncGetSource.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/getsource/SyncGetSourceSourcename.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/getsource/SyncGetSourceString.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/groupassets/AsyncGroupAssets.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/groupassets/AsyncGroupAssetsPaged.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/groupassets/SyncGroupAssets.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/groupfindings/AsyncGroupFindings.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/groupfindings/AsyncGroupFindingsPaged.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/groupfindings/SyncGroupFindings.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/groupfindings/SyncGroupFindingsSourcenameString.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/groupfindings/SyncGroupFindingsStringString.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listassets/AsyncListAssets.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listassets/AsyncListAssetsPaged.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listassets/SyncListAssets.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listassets/SyncListAssetsFoldername.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listassets/SyncListAssetsOrganizationname.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listassets/SyncListAssetsProjectname.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listassets/SyncListAssetsString.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listfindings/AsyncListFindings.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listfindings/AsyncListFindingsPaged.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listfindings/SyncListFindings.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listfindings/SyncListFindingsSourcename.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listfindings/SyncListFindingsString.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listnotificationconfigs/AsyncListNotificationConfigs.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listnotificationconfigs/AsyncListNotificationConfigsPaged.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listnotificationconfigs/SyncListNotificationConfigs.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listnotificationconfigs/SyncListNotificationConfigsOrganizationname.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listnotificationconfigs/SyncListNotificationConfigsString.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listsources/AsyncListSources.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listsources/AsyncListSourcesPaged.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listsources/SyncListSources.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listsources/SyncListSourcesFoldername.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listsources/SyncListSourcesOrganizationname.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listsources/SyncListSourcesProjectname.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/listsources/SyncListSourcesString.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/runassetdiscovery/AsyncRunAssetDiscovery.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/runassetdiscovery/AsyncRunAssetDiscoveryLRO.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/runassetdiscovery/SyncRunAssetDiscovery.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/runassetdiscovery/SyncRunAssetDiscoveryOrganizationname.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/runassetdiscovery/SyncRunAssetDiscoveryString.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/setfindingstate/AsyncSetFindingState.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/setfindingstate/SyncSetFindingState.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/setfindingstate/SyncSetFindingStateFindingnameFindingstateTimestamp.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/setfindingstate/SyncSetFindingStateStringFindingstateTimestamp.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/setiampolicy/AsyncSetIamPolicy.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/setiampolicy/SyncSetIamPolicy.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/setiampolicy/SyncSetIamPolicyResourcenamePolicy.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/setiampolicy/SyncSetIamPolicyStringPolicy.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/testiampermissions/AsyncTestIamPermissions.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/testiampermissions/SyncTestIamPermissions.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/testiampermissions/SyncTestIamPermissionsResourcenameListstring.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/testiampermissions/SyncTestIamPermissionsStringListstring.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updatefinding/AsyncUpdateFinding.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updatefinding/SyncUpdateFinding.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updatefinding/SyncUpdateFindingFinding.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updatefinding/SyncUpdateFindingFindingFieldmask.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updatenotificationconfig/AsyncUpdateNotificationConfig.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updatenotificationconfig/SyncUpdateNotificationConfig.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updatenotificationconfig/SyncUpdateNotificationConfigNotificationconfig.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updatenotificationconfig/SyncUpdateNotificationConfigNotificationconfigFieldmask.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updateorganizationsettings/AsyncUpdateOrganizationSettings.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updateorganizationsettings/SyncUpdateOrganizationSettings.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updateorganizationsettings/SyncUpdateOrganizationSettingsOrganizationsettings.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updatesecuritymarks/AsyncUpdateSecurityMarks.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updatesecuritymarks/SyncUpdateSecurityMarks.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updatesecuritymarks/SyncUpdateSecurityMarksSecuritymarks.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updatesecuritymarks/SyncUpdateSecurityMarksSecuritymarksFieldmask.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updatesource/AsyncUpdateSource.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updatesource/SyncUpdateSource.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updatesource/SyncUpdateSourceSource.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycenterclient/updatesource/SyncUpdateSourceSourceFieldmask.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/securitycentersettings/createsource/SyncCreateSource.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/securitycenter/v1p1beta1/stub/securitycenterstubsettings/createsource/SyncCreateSource.java (100%) delete mode 100644 proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/AccessProto.java delete mode 100644 proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/AssetOuterClass.java delete mode 100644 proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/BigQueryExportProto.java delete mode 100644 proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/BulkMuteFindingsResponseOrBuilder.java delete mode 100644 proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ComplianceProto.java delete mode 100644 proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ConnectionProto.java delete mode 100644 proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ContactDetailsProto.java delete mode 100644 proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ContactOrBuilder.java delete mode 100644 proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ContainerProto.java delete mode 100644 proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DeleteBigQueryExportRequestOrBuilder.java delete mode 100644 proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DeleteMuteConfigRequestOrBuilder.java delete mode 100644 proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DeleteNotificationConfigRequestOrBuilder.java delete mode 100644 proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ExfiltrationProto.java delete mode 100644 proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ExternalSystemProto.java delete mode 100644 proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FileProto.java delete mode 100644 proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FindingOuterClass.java delete mode 100644 proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FolderProto.java delete mode 100644 proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GeolocationOrBuilder.java delete mode 100644 proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetBigQueryExportRequestOrBuilder.java delete mode 100644 proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetMuteConfigRequestOrBuilder.java delete mode 100644 proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetNotificationConfigRequestOrBuilder.java delete mode 100644 proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetOrganizationSettingsRequestOrBuilder.java delete mode 100644 proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetSourceRequestOrBuilder.java delete mode 100644 proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/IamBindingProto.java delete mode 100644 proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/IndicatorProto.java delete mode 100644 proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/KubernetesProto.java delete mode 100644 proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/LabelProto.java delete mode 100644 proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/MitreAttackProto.java delete mode 100644 proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/MuteConfigProto.java delete mode 100644 proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/NotificationConfigProto.java delete mode 100644 proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/NotificationMessageProto.java delete mode 100644 proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/OrganizationSettingsOuterClass.java delete mode 100644 proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ProcessProto.java delete mode 100644 proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ResourceProto.java delete mode 100644 proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/RunAssetDiscoveryRequestOrBuilder.java delete mode 100644 proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/RunAssetDiscoveryResponseOuterClass.java delete mode 100644 proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/SecurityMarksOuterClass.java delete mode 100644 proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/SecuritycenterService.java delete mode 100644 proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/SourceOuterClass.java delete mode 100644 proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/VulnerabilityProto.java delete mode 100644 proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/AssetOuterClass.java delete mode 100644 proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/FindingOuterClass.java delete mode 100644 proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/GetOrganizationSettingsRequestOrBuilder.java delete mode 100644 proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/GetSourceRequestOrBuilder.java delete mode 100644 proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/OrganizationSettingsOuterClass.java delete mode 100644 proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/RunAssetDiscoveryRequestOrBuilder.java delete mode 100644 proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/RunAssetDiscoveryResponseOuterClass.java delete mode 100644 proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/SecurityMarksOuterClass.java delete mode 100644 proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/SecuritycenterService.java delete mode 100644 proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/SourceOuterClass.java delete mode 100644 proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/AssetOuterClass.java delete mode 100644 proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/DeleteNotificationConfigRequestOrBuilder.java delete mode 100644 proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/FindingOuterClass.java delete mode 100644 proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/FolderProto.java delete mode 100644 proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/GetNotificationConfigRequestOrBuilder.java delete mode 100644 proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/GetOrganizationSettingsRequestOrBuilder.java delete mode 100644 proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/GetSourceRequestOrBuilder.java delete mode 100644 proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/NotificationConfigOuterClass.java delete mode 100644 proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/NotificationMessageOuterClass.java delete mode 100644 proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/OrganizationSettingsOuterClass.java delete mode 100644 proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/ResourceProto.java delete mode 100644 proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/RunAssetDiscoveryRequestOrBuilder.java delete mode 100644 proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/RunAssetDiscoveryResponseOuterClass.java delete mode 100644 proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/SecurityMarksOuterClass.java delete mode 100644 proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/SecuritycenterService.java delete mode 100644 proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/SourceOuterClass.java diff --git a/grpc-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/SecurityCenterGrpc.java b/grpc-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/SecurityCenterGrpc.java deleted file mode 100644 index 20f14b85f..000000000 --- a/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/grpc-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/SecurityCenterGrpc.java b/grpc-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/SecurityCenterGrpc.java deleted file mode 100644 index ebae1dfda..000000000 --- a/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/grpc-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/SecurityCenterGrpc.java b/grpc-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/SecurityCenterGrpc.java deleted file mode 100644 index 593cee670..000000000 --- a/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/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/SecurityCenterClient.java b/owl-bot-staging/v1/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/SecurityCenterClient.java similarity index 98% rename from google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/SecurityCenterClient.java rename to owl-bot-staging/v1/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/SecurityCenterClient.java index aba5d6b99..6ac462844 100644 --- a/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/SecurityCenterClient.java +++ b/owl-bot-staging/v1/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/SecurityCenterClient.java @@ -70,13 +70,13 @@ * methods: * *
    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* @@ -2080,15 +2080,15 @@ public final UnaryCallable groupAssetsC * of fields. For example: "parent,resource_name". *

The following fields are supported: *

    - *
  • resource_name - *
  • category - *
  • state - *
  • parent - *
  • severity + *
  • resource_name + *
  • category + *
  • state + *
  • parent + *
  • severity *
*

The following fields are supported when compare_duration is set: *

    - *
  • state_change + *
  • state_change *
* * @throws com.google.api.gax.rpc.ApiException if the remote call fails @@ -2135,15 +2135,15 @@ public final GroupFindingsPagedResponse groupFindings(SourceName parent, String * of fields. For example: "parent,resource_name". *

The following fields are supported: *

    - *
  • resource_name - *
  • category - *
  • state - *
  • parent - *
  • severity + *
  • resource_name + *
  • category + *
  • state + *
  • parent + *
  • severity *
*

The following fields are supported when compare_duration is set: *

    - *
  • state_change + *
  • state_change *
* * @throws com.google.api.gax.rpc.ApiException if the remote call fails @@ -4981,10 +4981,7 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class GroupAssetsPagedResponse extends AbstractPagedListResponse< - GroupAssetsRequest, - GroupAssetsResponse, - GroupResult, - GroupAssetsPage, + GroupAssetsRequest, GroupAssetsResponse, GroupResult, GroupAssetsPage, GroupAssetsFixedSizeCollection> { public static ApiFuture createAsync( @@ -5031,10 +5028,7 @@ public ApiFuture createPageAsync( public static class GroupAssetsFixedSizeCollection extends AbstractFixedSizeCollection< - GroupAssetsRequest, - GroupAssetsResponse, - GroupResult, - GroupAssetsPage, + GroupAssetsRequest, GroupAssetsResponse, GroupResult, GroupAssetsPage, GroupAssetsFixedSizeCollection> { private GroupAssetsFixedSizeCollection(List pages, int collectionSize) { @@ -5054,10 +5048,7 @@ protected GroupAssetsFixedSizeCollection createCollection( public static class GroupFindingsPagedResponse extends AbstractPagedListResponse< - GroupFindingsRequest, - GroupFindingsResponse, - GroupResult, - GroupFindingsPage, + GroupFindingsRequest, GroupFindingsResponse, GroupResult, GroupFindingsPage, GroupFindingsFixedSizeCollection> { public static ApiFuture createAsync( @@ -5107,10 +5098,7 @@ public ApiFuture createPageAsync( public static class GroupFindingsFixedSizeCollection extends AbstractFixedSizeCollection< - GroupFindingsRequest, - GroupFindingsResponse, - GroupResult, - GroupFindingsPage, + GroupFindingsRequest, GroupFindingsResponse, GroupResult, GroupFindingsPage, GroupFindingsFixedSizeCollection> { private GroupFindingsFixedSizeCollection(List pages, int collectionSize) { @@ -5130,11 +5118,8 @@ protected GroupFindingsFixedSizeCollection createCollection( public static class ListAssetsPagedResponse extends AbstractPagedListResponse< - ListAssetsRequest, - ListAssetsResponse, - ListAssetsResponse.ListAssetsResult, - ListAssetsPage, - ListAssetsFixedSizeCollection> { + ListAssetsRequest, ListAssetsResponse, ListAssetsResponse.ListAssetsResult, + ListAssetsPage, ListAssetsFixedSizeCollection> { public static ApiFuture createAsync( PageContext @@ -5153,9 +5138,7 @@ private ListAssetsPagedResponse(ListAssetsPage page) { public static class ListAssetsPage extends AbstractPage< - ListAssetsRequest, - ListAssetsResponse, - ListAssetsResponse.ListAssetsResult, + ListAssetsRequest, ListAssetsResponse, ListAssetsResponse.ListAssetsResult, ListAssetsPage> { private ListAssetsPage( @@ -5188,11 +5171,8 @@ public ApiFuture createPageAsync( public static class ListAssetsFixedSizeCollection extends AbstractFixedSizeCollection< - ListAssetsRequest, - ListAssetsResponse, - ListAssetsResponse.ListAssetsResult, - ListAssetsPage, - ListAssetsFixedSizeCollection> { + ListAssetsRequest, ListAssetsResponse, ListAssetsResponse.ListAssetsResult, + ListAssetsPage, ListAssetsFixedSizeCollection> { private ListAssetsFixedSizeCollection(List pages, int collectionSize) { super(pages, collectionSize); @@ -5211,11 +5191,8 @@ protected ListAssetsFixedSizeCollection createCollection( public static class ListFindingsPagedResponse extends AbstractPagedListResponse< - ListFindingsRequest, - ListFindingsResponse, - ListFindingsResponse.ListFindingsResult, - ListFindingsPage, - ListFindingsFixedSizeCollection> { + ListFindingsRequest, ListFindingsResponse, ListFindingsResponse.ListFindingsResult, + ListFindingsPage, ListFindingsFixedSizeCollection> { public static ApiFuture createAsync( PageContext< @@ -5237,9 +5214,7 @@ private ListFindingsPagedResponse(ListFindingsPage page) { public static class ListFindingsPage extends AbstractPage< - ListFindingsRequest, - ListFindingsResponse, - ListFindingsResponse.ListFindingsResult, + ListFindingsRequest, ListFindingsResponse, ListFindingsResponse.ListFindingsResult, ListFindingsPage> { private ListFindingsPage( @@ -5275,11 +5250,8 @@ public ApiFuture createPageAsync( public static class ListFindingsFixedSizeCollection extends AbstractFixedSizeCollection< - ListFindingsRequest, - ListFindingsResponse, - ListFindingsResponse.ListFindingsResult, - ListFindingsPage, - ListFindingsFixedSizeCollection> { + ListFindingsRequest, ListFindingsResponse, ListFindingsResponse.ListFindingsResult, + ListFindingsPage, ListFindingsFixedSizeCollection> { private ListFindingsFixedSizeCollection(List pages, int collectionSize) { super(pages, collectionSize); @@ -5298,10 +5270,7 @@ protected ListFindingsFixedSizeCollection createCollection( public static class ListMuteConfigsPagedResponse extends AbstractPagedListResponse< - ListMuteConfigsRequest, - ListMuteConfigsResponse, - MuteConfig, - ListMuteConfigsPage, + ListMuteConfigsRequest, ListMuteConfigsResponse, MuteConfig, ListMuteConfigsPage, ListMuteConfigsFixedSizeCollection> { public static ApiFuture createAsync( @@ -5351,10 +5320,7 @@ public ApiFuture createPageAsync( public static class ListMuteConfigsFixedSizeCollection extends AbstractFixedSizeCollection< - ListMuteConfigsRequest, - ListMuteConfigsResponse, - MuteConfig, - ListMuteConfigsPage, + ListMuteConfigsRequest, ListMuteConfigsResponse, MuteConfig, ListMuteConfigsPage, ListMuteConfigsFixedSizeCollection> { private ListMuteConfigsFixedSizeCollection( @@ -5375,11 +5341,8 @@ protected ListMuteConfigsFixedSizeCollection createCollection( public static class ListNotificationConfigsPagedResponse extends AbstractPagedListResponse< - ListNotificationConfigsRequest, - ListNotificationConfigsResponse, - NotificationConfig, - ListNotificationConfigsPage, - ListNotificationConfigsFixedSizeCollection> { + ListNotificationConfigsRequest, ListNotificationConfigsResponse, NotificationConfig, + ListNotificationConfigsPage, ListNotificationConfigsFixedSizeCollection> { public static ApiFuture createAsync( PageContext< @@ -5401,9 +5364,7 @@ private ListNotificationConfigsPagedResponse(ListNotificationConfigsPage page) { public static class ListNotificationConfigsPage extends AbstractPage< - ListNotificationConfigsRequest, - ListNotificationConfigsResponse, - NotificationConfig, + ListNotificationConfigsRequest, ListNotificationConfigsResponse, NotificationConfig, ListNotificationConfigsPage> { private ListNotificationConfigsPage( @@ -5439,11 +5400,8 @@ public ApiFuture createPageAsync( public static class ListNotificationConfigsFixedSizeCollection extends AbstractFixedSizeCollection< - ListNotificationConfigsRequest, - ListNotificationConfigsResponse, - NotificationConfig, - ListNotificationConfigsPage, - ListNotificationConfigsFixedSizeCollection> { + ListNotificationConfigsRequest, ListNotificationConfigsResponse, NotificationConfig, + ListNotificationConfigsPage, ListNotificationConfigsFixedSizeCollection> { private ListNotificationConfigsFixedSizeCollection( List pages, int collectionSize) { @@ -5463,10 +5421,7 @@ protected ListNotificationConfigsFixedSizeCollection createCollection( public static class ListSourcesPagedResponse extends AbstractPagedListResponse< - ListSourcesRequest, - ListSourcesResponse, - Source, - ListSourcesPage, + ListSourcesRequest, ListSourcesResponse, Source, ListSourcesPage, ListSourcesFixedSizeCollection> { public static ApiFuture createAsync( @@ -5513,10 +5468,7 @@ public ApiFuture createPageAsync( public static class ListSourcesFixedSizeCollection extends AbstractFixedSizeCollection< - ListSourcesRequest, - ListSourcesResponse, - Source, - ListSourcesPage, + ListSourcesRequest, ListSourcesResponse, Source, ListSourcesPage, ListSourcesFixedSizeCollection> { private ListSourcesFixedSizeCollection(List pages, int collectionSize) { @@ -5536,11 +5488,8 @@ protected ListSourcesFixedSizeCollection createCollection( public static class ListBigQueryExportsPagedResponse extends AbstractPagedListResponse< - ListBigQueryExportsRequest, - ListBigQueryExportsResponse, - BigQueryExport, - ListBigQueryExportsPage, - ListBigQueryExportsFixedSizeCollection> { + ListBigQueryExportsRequest, ListBigQueryExportsResponse, BigQueryExport, + ListBigQueryExportsPage, ListBigQueryExportsFixedSizeCollection> { public static ApiFuture createAsync( PageContext @@ -5561,9 +5510,7 @@ private ListBigQueryExportsPagedResponse(ListBigQueryExportsPage page) { public static class ListBigQueryExportsPage extends AbstractPage< - ListBigQueryExportsRequest, - ListBigQueryExportsResponse, - BigQueryExport, + ListBigQueryExportsRequest, ListBigQueryExportsResponse, BigQueryExport, ListBigQueryExportsPage> { private ListBigQueryExportsPage( @@ -5596,11 +5543,8 @@ public ApiFuture createPageAsync( public static class ListBigQueryExportsFixedSizeCollection extends AbstractFixedSizeCollection< - ListBigQueryExportsRequest, - ListBigQueryExportsResponse, - BigQueryExport, - ListBigQueryExportsPage, - ListBigQueryExportsFixedSizeCollection> { + ListBigQueryExportsRequest, ListBigQueryExportsResponse, BigQueryExport, + ListBigQueryExportsPage, ListBigQueryExportsFixedSizeCollection> { private ListBigQueryExportsFixedSizeCollection( List pages, int collectionSize) { diff --git a/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/SecurityCenterSettings.java b/owl-bot-staging/v1/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/SecurityCenterSettings.java similarity index 98% rename from google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/SecurityCenterSettings.java rename to owl-bot-staging/v1/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/SecurityCenterSettings.java index 380ad1d6d..3a52e7740 100644 --- a/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/SecurityCenterSettings.java +++ b/owl-bot-staging/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; @@ -57,10 +58,10 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When @@ -196,8 +197,7 @@ public UnaryCallSettings getSourceSettings() { /** Returns the object with the settings used for calls to listNotificationConfigs. */ public PagedCallSettings< - ListNotificationConfigsRequest, - ListNotificationConfigsResponse, + ListNotificationConfigsRequest, ListNotificationConfigsResponse, ListNotificationConfigsPagedResponse> listNotificationConfigsSettings() { return ((SecurityCenterStubSettings) getStubSettings()).listNotificationConfigsSettings(); @@ -533,8 +533,7 @@ public UnaryCallSettings.Builder getSourceSettings() { /** Returns the builder for the settings used for calls to listNotificationConfigs. */ public PagedCallSettings.Builder< - ListNotificationConfigsRequest, - ListNotificationConfigsResponse, + ListNotificationConfigsRequest, ListNotificationConfigsResponse, ListNotificationConfigsPagedResponse> listNotificationConfigsSettings() { return getStubSettingsBuilder().listNotificationConfigsSettings(); @@ -640,8 +639,7 @@ public UnaryCallSettings.Builder updateSourceSettin /** Returns the builder for the settings used for calls to listBigQueryExports. */ public PagedCallSettings.Builder< - ListBigQueryExportsRequest, - ListBigQueryExportsResponse, + ListBigQueryExportsRequest, ListBigQueryExportsResponse, ListBigQueryExportsPagedResponse> listBigQueryExportsSettings() { return getStubSettingsBuilder().listBigQueryExportsSettings(); diff --git a/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/gapic_metadata.json b/owl-bot-staging/v1/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/gapic_metadata.json similarity index 100% rename from google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/gapic_metadata.json rename to owl-bot-staging/v1/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/gapic_metadata.json diff --git a/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/package-info.java b/owl-bot-staging/v1/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/package-info.java similarity index 100% rename from google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/package-info.java rename to owl-bot-staging/v1/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/package-info.java diff --git a/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/stub/GrpcSecurityCenterCallableFactory.java b/owl-bot-staging/v1/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/stub/GrpcSecurityCenterCallableFactory.java similarity index 100% rename from google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/stub/GrpcSecurityCenterCallableFactory.java rename to owl-bot-staging/v1/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/stub/GrpcSecurityCenterCallableFactory.java diff --git a/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/stub/GrpcSecurityCenterStub.java b/owl-bot-staging/v1/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/stub/GrpcSecurityCenterStub.java similarity index 99% rename from google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/stub/GrpcSecurityCenterStub.java rename to owl-bot-staging/v1/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/stub/GrpcSecurityCenterStub.java index cd09071d4..4943b19d6 100644 --- a/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/stub/GrpcSecurityCenterStub.java +++ b/owl-bot-staging/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/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/stub/HttpJsonSecurityCenterCallableFactory.java b/owl-bot-staging/v1/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/stub/HttpJsonSecurityCenterCallableFactory.java similarity index 100% rename from google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/stub/HttpJsonSecurityCenterCallableFactory.java rename to owl-bot-staging/v1/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/stub/HttpJsonSecurityCenterCallableFactory.java diff --git a/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/stub/HttpJsonSecurityCenterStub.java b/owl-bot-staging/v1/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/stub/HttpJsonSecurityCenterStub.java similarity index 99% rename from google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/stub/HttpJsonSecurityCenterStub.java rename to owl-bot-staging/v1/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/stub/HttpJsonSecurityCenterStub.java index e1cb0e6cb..21f87a39e 100644 --- a/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/stub/HttpJsonSecurityCenterStub.java +++ b/owl-bot-staging/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/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/stub/SecurityCenterStub.java b/owl-bot-staging/v1/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/stub/SecurityCenterStub.java similarity index 100% rename from google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/stub/SecurityCenterStub.java rename to owl-bot-staging/v1/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/stub/SecurityCenterStub.java diff --git a/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/stub/SecurityCenterStubSettings.java b/owl-bot-staging/v1/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/stub/SecurityCenterStubSettings.java similarity index 98% rename from google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/stub/SecurityCenterStubSettings.java rename to owl-bot-staging/v1/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/stub/SecurityCenterStubSettings.java index ddb4873ae..a8b423162 100644 --- a/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/stub/SecurityCenterStubSettings.java +++ b/owl-bot-staging/v1/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/stub/SecurityCenterStubSettings.java @@ -129,10 +129,10 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When @@ -197,8 +197,7 @@ public class SecurityCenterStubSettings extends StubSettings listMuteConfigsSettings; private final PagedCallSettings< - ListNotificationConfigsRequest, - ListNotificationConfigsResponse, + ListNotificationConfigsRequest, ListNotificationConfigsResponse, ListNotificationConfigsPagedResponse> listNotificationConfigsSettings; private final PagedCallSettings @@ -346,8 +345,7 @@ public Iterable extractResources( ListFindingsRequest, ListFindingsResponse, ListFindingsResponse.ListFindingsResult> LIST_FINDINGS_PAGE_STR_DESC = new PagedListDescriptor< - ListFindingsRequest, - ListFindingsResponse, + ListFindingsRequest, ListFindingsResponse, ListFindingsResponse.ListFindingsResult>() { @Override public String emptyToken() { @@ -426,8 +424,7 @@ public Iterable extractResources(ListMuteConfigsResponse payload) { ListNotificationConfigsRequest, ListNotificationConfigsResponse, NotificationConfig> LIST_NOTIFICATION_CONFIGS_PAGE_STR_DESC = new PagedListDescriptor< - ListNotificationConfigsRequest, - ListNotificationConfigsResponse, + ListNotificationConfigsRequest, ListNotificationConfigsResponse, NotificationConfig>() { @Override public String emptyToken() { @@ -608,8 +605,7 @@ public ApiFuture getFuturePagedResponse( ApiCallContext context, ApiFuture futureResponse) { PageContext< - ListFindingsRequest, - ListFindingsResponse, + ListFindingsRequest, ListFindingsResponse, ListFindingsResponse.ListFindingsResult> pageContext = PageContext.create(callable, LIST_FINDINGS_PAGE_STR_DESC, request, context); @@ -635,13 +631,11 @@ public ApiFuture getFuturePagedResponse( }; private static final PagedListResponseFactory< - ListNotificationConfigsRequest, - ListNotificationConfigsResponse, + ListNotificationConfigsRequest, ListNotificationConfigsResponse, ListNotificationConfigsPagedResponse> LIST_NOTIFICATION_CONFIGS_PAGE_STR_FACT = new PagedListResponseFactory< - ListNotificationConfigsRequest, - ListNotificationConfigsResponse, + ListNotificationConfigsRequest, ListNotificationConfigsResponse, ListNotificationConfigsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -651,8 +645,7 @@ public ApiFuture getFuturePagedResponse( ApiCallContext context, ApiFuture futureResponse) { PageContext< - ListNotificationConfigsRequest, - ListNotificationConfigsResponse, + ListNotificationConfigsRequest, ListNotificationConfigsResponse, NotificationConfig> pageContext = PageContext.create( @@ -682,8 +675,7 @@ public ApiFuture getFuturePagedResponse( ListBigQueryExportsRequest, ListBigQueryExportsResponse, ListBigQueryExportsPagedResponse> LIST_BIG_QUERY_EXPORTS_PAGE_STR_FACT = new PagedListResponseFactory< - ListBigQueryExportsRequest, - ListBigQueryExportsResponse, + ListBigQueryExportsRequest, ListBigQueryExportsResponse, ListBigQueryExportsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -807,8 +799,7 @@ public UnaryCallSettings getSourceSettings() { /** Returns the object with the settings used for calls to listNotificationConfigs. */ public PagedCallSettings< - ListNotificationConfigsRequest, - ListNotificationConfigsResponse, + ListNotificationConfigsRequest, ListNotificationConfigsResponse, ListNotificationConfigsPagedResponse> listNotificationConfigsSettings() { return listNotificationConfigsSettings; @@ -1106,8 +1097,7 @@ public static class Builder extends StubSettings.Builder listMuteConfigsSettings; private final PagedCallSettings.Builder< - ListNotificationConfigsRequest, - ListNotificationConfigsResponse, + ListNotificationConfigsRequest, ListNotificationConfigsResponse, ListNotificationConfigsPagedResponse> listNotificationConfigsSettings; private final PagedCallSettings.Builder< @@ -1143,8 +1133,7 @@ public static class Builder extends StubSettings.Builder updateBigQueryExportSettings; private final PagedCallSettings.Builder< - ListBigQueryExportsRequest, - ListBigQueryExportsResponse, + ListBigQueryExportsRequest, ListBigQueryExportsResponse, ListBigQueryExportsPagedResponse> listBigQueryExportsSettings; private static final ImmutableMap> @@ -1780,8 +1769,7 @@ public UnaryCallSettings.Builder getSourceSettings() { /** Returns the builder for the settings used for calls to listNotificationConfigs. */ public PagedCallSettings.Builder< - ListNotificationConfigsRequest, - ListNotificationConfigsResponse, + ListNotificationConfigsRequest, ListNotificationConfigsResponse, ListNotificationConfigsPagedResponse> listNotificationConfigsSettings() { return listNotificationConfigsSettings; @@ -1889,8 +1877,7 @@ public UnaryCallSettings.Builder updateSourceSettin /** Returns the builder for the settings used for calls to listBigQueryExports. */ public PagedCallSettings.Builder< - ListBigQueryExportsRequest, - ListBigQueryExportsResponse, + ListBigQueryExportsRequest, ListBigQueryExportsResponse, ListBigQueryExportsPagedResponse> listBigQueryExportsSettings() { return listBigQueryExportsSettings; diff --git a/google-cloud-securitycenter/src/test/java/com/google/cloud/securitycenter/v1/MockSecurityCenter.java b/owl-bot-staging/v1/google-cloud-securitycenter/src/test/java/com/google/cloud/securitycenter/v1/MockSecurityCenter.java similarity index 100% rename from google-cloud-securitycenter/src/test/java/com/google/cloud/securitycenter/v1/MockSecurityCenter.java rename to owl-bot-staging/v1/google-cloud-securitycenter/src/test/java/com/google/cloud/securitycenter/v1/MockSecurityCenter.java diff --git a/google-cloud-securitycenter/src/test/java/com/google/cloud/securitycenter/v1/MockSecurityCenterImpl.java b/owl-bot-staging/v1/google-cloud-securitycenter/src/test/java/com/google/cloud/securitycenter/v1/MockSecurityCenterImpl.java similarity index 100% rename from google-cloud-securitycenter/src/test/java/com/google/cloud/securitycenter/v1/MockSecurityCenterImpl.java rename to owl-bot-staging/v1/google-cloud-securitycenter/src/test/java/com/google/cloud/securitycenter/v1/MockSecurityCenterImpl.java diff --git a/google-cloud-securitycenter/src/test/java/com/google/cloud/securitycenter/v1/SecurityCenterClientHttpJsonTest.java b/owl-bot-staging/v1/google-cloud-securitycenter/src/test/java/com/google/cloud/securitycenter/v1/SecurityCenterClientHttpJsonTest.java similarity index 99% rename from google-cloud-securitycenter/src/test/java/com/google/cloud/securitycenter/v1/SecurityCenterClientHttpJsonTest.java rename to owl-bot-staging/v1/google-cloud-securitycenter/src/test/java/com/google/cloud/securitycenter/v1/SecurityCenterClientHttpJsonTest.java index 01ff50d82..4571c8c77 100644 --- a/google-cloud-securitycenter/src/test/java/com/google/cloud/securitycenter/v1/SecurityCenterClientHttpJsonTest.java +++ b/owl-bot-staging/v1/google-cloud-securitycenter/src/test/java/com/google/cloud/securitycenter/v1/SecurityCenterClientHttpJsonTest.java @@ -322,6 +322,7 @@ public void createFindingTest() throws Exception { .setNextSteps("nextSteps1206138868") .addAllContainers(new ArrayList()) .setKubernetes(Kubernetes.newBuilder().build()) + .setDatabase(Database.newBuilder().build()) .build(); mockService.addResponse(expectedResponse); @@ -399,6 +400,7 @@ public void createFindingTest2() throws Exception { .setNextSteps("nextSteps1206138868") .addAllContainers(new ArrayList()) .setKubernetes(Kubernetes.newBuilder().build()) + .setDatabase(Database.newBuilder().build()) .build(); mockService.addResponse(expectedResponse); @@ -2789,6 +2791,7 @@ public void setFindingStateTest() throws Exception { .setNextSteps("nextSteps1206138868") .addAllContainers(new ArrayList()) .setKubernetes(Kubernetes.newBuilder().build()) + .setDatabase(Database.newBuilder().build()) .build(); mockService.addResponse(expectedResponse); @@ -2868,6 +2871,7 @@ public void setFindingStateTest2() throws Exception { .setNextSteps("nextSteps1206138868") .addAllContainers(new ArrayList()) .setKubernetes(Kubernetes.newBuilder().build()) + .setDatabase(Database.newBuilder().build()) .build(); mockService.addResponse(expectedResponse); @@ -2945,6 +2949,7 @@ public void setMuteTest() throws Exception { .setNextSteps("nextSteps1206138868") .addAllContainers(new ArrayList()) .setKubernetes(Kubernetes.newBuilder().build()) + .setDatabase(Database.newBuilder().build()) .build(); mockService.addResponse(expectedResponse); @@ -3022,6 +3027,7 @@ public void setMuteTest2() throws Exception { .setNextSteps("nextSteps1206138868") .addAllContainers(new ArrayList()) .setKubernetes(Kubernetes.newBuilder().build()) + .setDatabase(Database.newBuilder().build()) .build(); mockService.addResponse(expectedResponse); @@ -3349,6 +3355,7 @@ public void updateFindingTest() throws Exception { .setNextSteps("nextSteps1206138868") .addAllContainers(new ArrayList()) .setKubernetes(Kubernetes.newBuilder().build()) + .setDatabase(Database.newBuilder().build()) .build(); mockService.addResponse(expectedResponse); @@ -3384,6 +3391,7 @@ public void updateFindingTest() throws Exception { .setNextSteps("nextSteps1206138868") .addAllContainers(new ArrayList()) .setKubernetes(Kubernetes.newBuilder().build()) + .setDatabase(Database.newBuilder().build()) .build(); Finding actualResponse = client.updateFinding(finding); @@ -3444,6 +3452,7 @@ public void updateFindingExceptionTest() throws Exception { .setNextSteps("nextSteps1206138868") .addAllContainers(new ArrayList()) .setKubernetes(Kubernetes.newBuilder().build()) + .setDatabase(Database.newBuilder().build()) .build(); client.updateFinding(finding); Assert.fail("No exception raised"); diff --git a/google-cloud-securitycenter/src/test/java/com/google/cloud/securitycenter/v1/SecurityCenterClientTest.java b/owl-bot-staging/v1/google-cloud-securitycenter/src/test/java/com/google/cloud/securitycenter/v1/SecurityCenterClientTest.java similarity index 99% rename from google-cloud-securitycenter/src/test/java/com/google/cloud/securitycenter/v1/SecurityCenterClientTest.java rename to owl-bot-staging/v1/google-cloud-securitycenter/src/test/java/com/google/cloud/securitycenter/v1/SecurityCenterClientTest.java index e49af1ad6..e06c74740 100644 --- a/google-cloud-securitycenter/src/test/java/com/google/cloud/securitycenter/v1/SecurityCenterClientTest.java +++ b/owl-bot-staging/v1/google-cloud-securitycenter/src/test/java/com/google/cloud/securitycenter/v1/SecurityCenterClientTest.java @@ -313,6 +313,7 @@ public void createFindingTest() throws Exception { .setNextSteps("nextSteps1206138868") .addAllContainers(new ArrayList()) .setKubernetes(Kubernetes.newBuilder().build()) + .setDatabase(Database.newBuilder().build()) .build(); mockSecurityCenter.addResponse(expectedResponse); @@ -386,6 +387,7 @@ public void createFindingTest2() throws Exception { .setNextSteps("nextSteps1206138868") .addAllContainers(new ArrayList()) .setKubernetes(Kubernetes.newBuilder().build()) + .setDatabase(Database.newBuilder().build()) .build(); mockSecurityCenter.addResponse(expectedResponse); @@ -2560,6 +2562,7 @@ public void setFindingStateTest() throws Exception { .setNextSteps("nextSteps1206138868") .addAllContainers(new ArrayList()) .setKubernetes(Kubernetes.newBuilder().build()) + .setDatabase(Database.newBuilder().build()) .build(); mockSecurityCenter.addResponse(expectedResponse); @@ -2635,6 +2638,7 @@ public void setFindingStateTest2() throws Exception { .setNextSteps("nextSteps1206138868") .addAllContainers(new ArrayList()) .setKubernetes(Kubernetes.newBuilder().build()) + .setDatabase(Database.newBuilder().build()) .build(); mockSecurityCenter.addResponse(expectedResponse); @@ -2708,6 +2712,7 @@ public void setMuteTest() throws Exception { .setNextSteps("nextSteps1206138868") .addAllContainers(new ArrayList()) .setKubernetes(Kubernetes.newBuilder().build()) + .setDatabase(Database.newBuilder().build()) .build(); mockSecurityCenter.addResponse(expectedResponse); @@ -2780,6 +2785,7 @@ public void setMuteTest2() throws Exception { .setNextSteps("nextSteps1206138868") .addAllContainers(new ArrayList()) .setKubernetes(Kubernetes.newBuilder().build()) + .setDatabase(Database.newBuilder().build()) .build(); mockSecurityCenter.addResponse(expectedResponse); @@ -3062,6 +3068,7 @@ public void updateFindingTest() throws Exception { .setNextSteps("nextSteps1206138868") .addAllContainers(new ArrayList()) .setKubernetes(Kubernetes.newBuilder().build()) + .setDatabase(Database.newBuilder().build()) .build(); mockSecurityCenter.addResponse(expectedResponse); diff --git a/owl-bot-staging/v1/grpc-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/SecurityCenterGrpc.java b/owl-bot-staging/v1/grpc-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/SecurityCenterGrpc.java new file mode 100644 index 000000000..be404ce37 --- /dev/null +++ b/owl-bot-staging/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/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Access.java b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Access.java similarity index 72% rename from proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Access.java rename to owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Access.java index 0dcdbcfcf..0ff8db423 100644 --- a/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Access.java +++ b/owl-bot-staging/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_ = ""; @@ -47,15 +29,16 @@ 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; } - private Access( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -74,64 +57,56 @@ private Access( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - principalEmail_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + principalEmail_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - callerIp_ = s; - break; + callerIp_ = s; + break; + } + case 26: { + com.google.cloud.securitycenter.v1.Geolocation.Builder subBuilder = null; + if (callerIpGeo_ != null) { + subBuilder = callerIpGeo_.toBuilder(); } - case 26: - { - com.google.cloud.securitycenter.v1.Geolocation.Builder subBuilder = null; - if (callerIpGeo_ != null) { - subBuilder = callerIpGeo_.toBuilder(); - } - callerIpGeo_ = - input.readMessage( - com.google.cloud.securitycenter.v1.Geolocation.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(callerIpGeo_); - callerIpGeo_ = subBuilder.buildPartial(); - } - - break; + callerIpGeo_ = input.readMessage(com.google.cloud.securitycenter.v1.Geolocation.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(callerIpGeo_); + callerIpGeo_ = subBuilder.buildPartial(); } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - userAgentFamily_ = s; - break; - } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - serviceName_ = s; - break; - } - case 50: - { - java.lang.String s = input.readStringRequireUtf8(); + userAgentFamily_ = s; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); - methodName_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + serviceName_ = s; + break; + } + case 50: { + java.lang.String s = input.readStringRequireUtf8(); + + methodName_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -139,39 +114,34 @@ private Access( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.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".
    * 
* * string principal_email = 1; - * * @return The principalEmail. */ @java.lang.Override @@ -180,29 +150,29 @@ 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".
    * 
* * 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 { @@ -213,14 +183,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 @@ -229,29 +196,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 { @@ -262,14 +229,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 @@ -277,25 +241,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.
    * 
@@ -310,15 +267,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 @@ -327,30 +281,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 { @@ -361,15 +315,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 @@ -378,30 +329,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 { @@ -412,14 +363,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 @@ -428,29 +376,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 { @@ -459,7 +407,6 @@ public com.google.protobuf.ByteString getMethodNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -471,7 +418,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -506,7 +454,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_); @@ -525,23 +474,28 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.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 (!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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -572,127 +526,118 @@ 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() @@ -700,15 +645,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -732,9 +678,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 @@ -753,8 +699,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); result.principalEmail_ = principalEmail_; result.callerIp_ = callerIp_; if (callerIpGeoBuilder_ == null) { @@ -773,39 +718,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; @@ -868,20 +812,18 @@ public Builder mergeFrom( private java.lang.Object principalEmail_ = ""; /** - * - * *
      * Associated email, such as "foo@google.com".
      * 
* * 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; @@ -890,21 +832,20 @@ public java.lang.String getPrincipalEmail() { } } /** - * - * *
      * Associated email, such as "foo@google.com".
      * 
* * 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 { @@ -912,61 +853,54 @@ public com.google.protobuf.ByteString getPrincipalEmailBytes() { } } /** - * - * *
      * Associated email, such as "foo@google.com".
      * 
* * 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".
      * 
* * 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".
      * 
* * 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; @@ -974,20 +908,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; @@ -996,21 +928,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 { @@ -1018,61 +949,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; @@ -1080,47 +1004,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.
      * 
@@ -1141,8 +1052,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.
      * 
@@ -1161,8 +1070,6 @@ public Builder setCallerIpGeo( return this; } /** - * - * *
      * The caller IP's geolocation, which identifies where the call came from.
      * 
@@ -1173,9 +1080,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; } @@ -1187,8 +1092,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.
      * 
@@ -1207,8 +1110,6 @@ public Builder clearCallerIpGeo() { return this; } /** - * - * *
      * The caller IP's geolocation, which identifies where the call came from.
      * 
@@ -1216,13 +1117,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.
      * 
@@ -1233,14 +1132,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.
      * 
@@ -1248,17 +1144,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_; @@ -1266,21 +1159,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; @@ -1289,22 +1180,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 { @@ -1312,64 +1202,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; @@ -1377,21 +1260,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; @@ -1400,22 +1281,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 { @@ -1423,64 +1303,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; @@ -1488,20 +1361,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; @@ -1510,21 +1381,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 { @@ -1532,68 +1402,61 @@ 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; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1603,12 +1466,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(); } @@ -1617,16 +1480,16 @@ 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 { - return new Access(input, extensionRegistry); - } - }; + 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 { + return new Access(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1641,4 +1504,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.securitycenter.v1.Access getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/AccessOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/AccessOrBuilder.java similarity index 74% rename from proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/AccessOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/AccessOrBuilder.java index d30c7599c..e377e2fac 100644 --- a/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/AccessOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/AccessOrBuilder.java @@ -1,105 +1,71 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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".
    * 
* * string principal_email = 1; - * * @return The principalEmail. */ java.lang.String getPrincipalEmail(); /** - * - * *
    * Associated email, such as "foo@google.com".
    * 
* * 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.
    * 
@@ -109,81 +75,66 @@ 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(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/AccessProto.java b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/AccessProto.java new file mode 100644 index 000000000..8ac0c9a42 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/AccessProto.java @@ -0,0 +1,70 @@ +// 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_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\"\276\001" + + "\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\"\"\n\013Geoloc" + + "ation\022\023\n\013region_code\030\001 \001(\tB\347\001\n\"com.googl" + + "e.cloud.securitycenter.v1B\013AccessProtoP\001" + + "ZLgoogle.golang.org/genproto/googleapis/" + + "cloud/securitycenter/v1;securitycenter\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_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", }); + internal_static_google_cloud_securitycenter_v1_Geolocation_descriptor = + getDescriptor().getMessageTypes().get(1); + 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/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Asset.java b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Asset.java similarity index 75% rename from proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Asset.java rename to owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Asset.java index 7dded4b14..fefa03084 100644 --- a/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Asset.java +++ b/owl-bot-staging/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,15 +31,16 @@ 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;
   }
-
   private Asset(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -77,126 +60,103 @@ private Asset(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
+            name_ = s;
+            break;
+          }
+          case 18: {
+            com.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties.Builder subBuilder = null;
+            if (securityCenterProperties_ != null) {
+              subBuilder = securityCenterProperties_.toBuilder();
+            }
+            securityCenterProperties_ = input.readMessage(com.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(securityCenterProperties_);
+              securityCenterProperties_ = subBuilder.buildPartial();
             }
-          case 18:
-            {
-              com.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties.Builder subBuilder =
-                  null;
-              if (securityCenterProperties_ != null) {
-                subBuilder = securityCenterProperties_.toBuilder();
-              }
-              securityCenterProperties_ =
-                  input.readMessage(
-                      com.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(securityCenterProperties_);
-                securityCenterProperties_ = subBuilder.buildPartial();
-              }
 
-              break;
+            break;
+          }
+          case 58: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              resourceProperties_ = com.google.protobuf.MapField.newMapField(
+                  ResourcePropertiesDefaultEntryHolder.defaultEntry);
+              mutable_bitField0_ |= 0x00000001;
             }
-          case 58:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                resourceProperties_ =
-                    com.google.protobuf.MapField.newMapField(
-                        ResourcePropertiesDefaultEntryHolder.defaultEntry);
-                mutable_bitField0_ |= 0x00000001;
-              }
-              com.google.protobuf.MapEntry
-                  resourceProperties__ =
-                      input.readMessage(
-                          ResourcePropertiesDefaultEntryHolder.defaultEntry.getParserForType(),
-                          extensionRegistry);
-              resourceProperties_
-                  .getMutableMap()
-                  .put(resourceProperties__.getKey(), resourceProperties__.getValue());
-              break;
+            com.google.protobuf.MapEntry
+            resourceProperties__ = input.readMessage(
+                ResourcePropertiesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+            resourceProperties_.getMutableMap().put(
+                resourceProperties__.getKey(), resourceProperties__.getValue());
+            break;
+          }
+          case 66: {
+            com.google.cloud.securitycenter.v1.SecurityMarks.Builder subBuilder = null;
+            if (securityMarks_ != null) {
+              subBuilder = securityMarks_.toBuilder();
             }
-          case 66:
-            {
-              com.google.cloud.securitycenter.v1.SecurityMarks.Builder subBuilder = null;
-              if (securityMarks_ != null) {
-                subBuilder = securityMarks_.toBuilder();
-              }
-              securityMarks_ =
-                  input.readMessage(
-                      com.google.cloud.securitycenter.v1.SecurityMarks.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(securityMarks_);
-                securityMarks_ = subBuilder.buildPartial();
-              }
-
-              break;
+            securityMarks_ = input.readMessage(com.google.cloud.securitycenter.v1.SecurityMarks.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(securityMarks_);
+              securityMarks_ = subBuilder.buildPartial();
             }
-          case 74:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (createTime_ != null) {
-                subBuilder = createTime_.toBuilder();
-              }
-              createTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(createTime_);
-                createTime_ = subBuilder.buildPartial();
-              }
 
-              break;
+            break;
+          }
+          case 74: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (createTime_ != null) {
+              subBuilder = createTime_.toBuilder();
             }
-          case 82:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (updateTime_ != null) {
-                subBuilder = updateTime_.toBuilder();
-              }
-              updateTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(updateTime_);
-                updateTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+            createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(createTime_);
+              createTime_ = subBuilder.buildPartial();
             }
-          case 90:
-            {
-              com.google.cloud.securitycenter.v1.Asset.IamPolicy.Builder subBuilder = null;
-              if (iamPolicy_ != null) {
-                subBuilder = iamPolicy_.toBuilder();
-              }
-              iamPolicy_ =
-                  input.readMessage(
-                      com.google.cloud.securitycenter.v1.Asset.IamPolicy.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(iamPolicy_);
-                iamPolicy_ = subBuilder.buildPartial();
-              }
 
-              break;
+            break;
+          }
+          case 82: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (updateTime_ != null) {
+              subBuilder = updateTime_.toBuilder();
+            }
+            updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(updateTime_);
+              updateTime_ = subBuilder.buildPartial();
             }
-          case 106:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
 
-              canonicalName_ = s;
-              break;
+            break;
+          }
+          case 90: {
+            com.google.cloud.securitycenter.v1.Asset.IamPolicy.Builder subBuilder = null;
+            if (iamPolicy_ != null) {
+              subBuilder = iamPolicy_.toBuilder();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            iamPolicy_ = input.readMessage(com.google.cloud.securitycenter.v1.Asset.IamPolicy.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(iamPolicy_);
+              iamPolicy_ = subBuilder.buildPartial();
+            }
+
+            break;
+          }
+          case 106: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            canonicalName_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -204,47 +164,43 @@ private Asset(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.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:
@@ -252,13 +208,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:
@@ -266,14 +219,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
@@ -282,13 +233,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
@@ -297,194 +245,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
@@ -493,10 +404,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
@@ -507,8 +417,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
@@ -519,8 +427,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
@@ -529,11 +435,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
@@ -542,11 +446,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.
@@ -554,16 +457,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_ = "";
@@ -578,15 +480,16 @@ 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;
     }
-
     private SecurityCenterProperties(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -606,83 +509,73 @@ private SecurityCenterProperties(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+            case 10: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                resourceName_ = s;
-                break;
-              }
-            case 18:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+              resourceName_ = s;
+              break;
+            }
+            case 18: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                resourceType_ = s;
-                break;
-              }
-            case 26:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+              resourceType_ = s;
+              break;
+            }
+            case 26: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                resourceParent_ = s;
-                break;
-              }
-            case 34:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+              resourceParent_ = s;
+              break;
+            }
+            case 34: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                resourceProject_ = s;
-                break;
-              }
-            case 42:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                  resourceOwners_ = new com.google.protobuf.LazyStringArrayList();
-                  mutable_bitField0_ |= 0x00000001;
-                }
-                resourceOwners_.add(s);
-                break;
+              resourceProject_ = s;
+              break;
+            }
+            case 42: {
+              java.lang.String s = input.readStringRequireUtf8();
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                resourceOwners_ = new com.google.protobuf.LazyStringArrayList();
+                mutable_bitField0_ |= 0x00000001;
               }
-            case 50:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+              resourceOwners_.add(s);
+              break;
+            }
+            case 50: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                resourceDisplayName_ = s;
-                break;
-              }
-            case 58:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+              resourceDisplayName_ = s;
+              break;
+            }
+            case 58: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                resourceParentDisplayName_ = s;
-                break;
-              }
-            case 66:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+              resourceParentDisplayName_ = s;
+              break;
+            }
+            case 66: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                resourceProjectDisplayName_ = s;
-                break;
-              }
-            case 82:
-              {
-                if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                  folders_ = new java.util.ArrayList();
-                  mutable_bitField0_ |= 0x00000002;
-                }
-                folders_.add(
-                    input.readMessage(
-                        com.google.cloud.securitycenter.v1.Folder.parser(), extensionRegistry));
-                break;
+              resourceProjectDisplayName_ = s;
+              break;
+            }
+            case 82: {
+              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                folders_ = new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000002;
               }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              folders_.add(
+                  input.readMessage(com.google.cloud.securitycenter.v1.Folder.parser(), extensionRegistry));
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -690,7 +583,8 @@ private SecurityCenterProperties(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         if (((mutable_bitField0_ & 0x00000001) != 0)) {
           resourceOwners_ = resourceOwners_.getUnmodifiableView();
@@ -702,27 +596,22 @@ private SecurityCenterProperties(
         makeExtensionsImmutable();
       }
     }
-
-    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:
@@ -730,7 +619,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * string resource_name = 1; - * * @return The resourceName. */ @java.lang.Override @@ -739,15 +627,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:
@@ -755,15 +642,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 { @@ -774,8 +662,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
@@ -784,7 +670,6 @@ public com.google.protobuf.ByteString getResourceNameBytes() {
      * 
* * string resource_type = 2; - * * @return The resourceType. */ @java.lang.Override @@ -793,15 +678,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
@@ -810,15 +694,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 { @@ -829,15 +714,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 @@ -846,30 +728,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 { @@ -880,15 +762,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 @@ -897,30 +776,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 { @@ -931,42 +810,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. */ @@ -974,32 +845,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 @@ -1008,29 +874,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 { @@ -1041,14 +907,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 @@ -1057,29 +920,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 { @@ -1090,14 +953,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 @@ -1106,29 +966,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 { @@ -1139,8 +999,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
@@ -1154,8 +1012,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
@@ -1165,13 +1021,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
@@ -1185,8 +1039,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
@@ -1200,8 +1052,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
@@ -1211,12 +1061,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;
@@ -1228,7 +1078,8 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.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_);
       }
@@ -1289,16 +1140,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 += unknownFields.getSerializedSize();
       memoizedSize = size;
@@ -1308,25 +1157,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 (!unknownFields.equals(other.unknownFields)) return false;
       return true;
     }
@@ -1366,95 +1221,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
@@ -1464,8 +1311,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.
@@ -1473,43 +1318,39 @@ 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()
+      // Construct using com.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties.newBuilder()
       private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
           getFoldersFieldBuilder();
         }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -1539,16 +1380,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
@@ -1562,8 +1401,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_;
@@ -1594,53 +1432,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();
@@ -1697,10 +1528,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_);
             }
@@ -1725,9 +1555,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties)
-                  e.getUnfinishedMessage();
+          parsedMessage = (com.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -1736,13 +1564,10 @@ public Builder mergeFrom(
         }
         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:
@@ -1750,13 +1575,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; @@ -1765,8 +1590,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:
@@ -1774,14 +1597,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 { @@ -1789,8 +1613,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:
@@ -1798,22 +1620,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:
@@ -1821,18 +1641,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:
@@ -1840,16 +1657,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; @@ -1857,8 +1674,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
@@ -1867,13 +1682,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; @@ -1882,8 +1697,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
@@ -1892,14 +1705,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 { @@ -1907,8 +1721,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
@@ -1917,22 +1729,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
@@ -1941,18 +1751,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
@@ -1961,16 +1768,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; @@ -1978,21 +1785,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; @@ -2001,22 +1806,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 { @@ -2024,64 +1828,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; @@ -2089,21 +1886,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; @@ -2112,22 +1907,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 { @@ -2135,115 +1929,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. */ @@ -2251,90 +2028,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() { @@ -2344,22 +2111,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(); @@ -2368,20 +2133,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; @@ -2390,21 +2153,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 { @@ -2412,61 +2174,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; @@ -2474,20 +2229,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; @@ -2495,22 +2248,21 @@ public java.lang.String getResourceParentDisplayName() { return (java.lang.String) ref; } } - /** - * - * + /** *
        * 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 { @@ -2518,61 +2270,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; @@ -2580,20 +2325,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; @@ -2602,21 +2345,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 { @@ -2624,85 +2366,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) { + public Builder setResourceProjectDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + 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
@@ -2719,8 +2448,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
@@ -2737,8 +2464,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
@@ -2755,8 +2480,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
@@ -2765,7 +2488,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();
@@ -2779,8 +2503,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
@@ -2801,8 +2523,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
@@ -2825,8 +2545,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
@@ -2835,7 +2553,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();
@@ -2849,8 +2568,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
@@ -2859,7 +2576,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());
@@ -2870,8 +2588,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
@@ -2892,8 +2608,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
@@ -2906,7 +2620,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);
@@ -2914,8 +2629,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
@@ -2935,8 +2648,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
@@ -2956,8 +2667,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
@@ -2966,12 +2675,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
@@ -2980,16 +2688,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
@@ -2998,8 +2704,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 {
@@ -3007,8 +2713,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
@@ -3018,12 +2722,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
@@ -3032,13 +2734,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
@@ -3047,28 +2748,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) {
@@ -3081,32 +2778,30 @@ 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 {
-            return new SecurityCenterProperties(input, extensionRegistry);
-          }
-        };
+    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 {
+        return new SecurityCenterProperties(input, extensionRegistry);
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -3118,20 +2813,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
@@ -3139,13 +2831,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
@@ -3153,14 +2842,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
@@ -3170,31 +2857,31 @@ 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;
     }
-
     private IamPolicy(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -3213,20 +2900,19 @@ private IamPolicy(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+            case 10: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                policyBlob_ = s;
-                break;
-              }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              policyBlob_ = s;
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -3234,33 +2920,29 @@ private IamPolicy(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.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
@@ -3268,7 +2950,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * string policy_blob = 1; - * * @return The policyBlob. */ @java.lang.Override @@ -3277,15 +2958,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
@@ -3293,15 +2973,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 { @@ -3310,7 +2991,6 @@ public com.google.protobuf.ByteString getPolicyBlobBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3322,7 +3002,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -3346,15 +3027,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -3374,93 +3055,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 @@ -3470,8 +3145,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
@@ -3481,24 +3154,21 @@ 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()
@@ -3506,15 +3176,16 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -3524,9 +3195,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
@@ -3545,8 +3216,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;
@@ -3556,41 +3226,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;
@@ -3598,8 +3265,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();
@@ -3623,8 +3289,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.cloud.securitycenter.v1.Asset.IamPolicy) e.getUnfinishedMessage();
+          parsedMessage = (com.google.cloud.securitycenter.v1.Asset.IamPolicy) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -3636,8 +3301,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
@@ -3645,13 +3308,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; @@ -3660,8 +3323,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
@@ -3669,14 +3330,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 { @@ -3684,8 +3346,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
@@ -3693,22 +3353,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
@@ -3716,18 +3374,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
@@ -3735,21 +3390,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) { @@ -3762,12 +3416,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(); } @@ -3776,16 +3430,16 @@ 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 { - return new IamPolicy(input, extensionRegistry); - } - }; + 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 { + return new IamPolicy(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3800,13 +3454,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
@@ -3815,7 +3468,6 @@ public com.google.cloud.securitycenter.v1.Asset.IamPolicy getDefaultInstanceForT
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -3824,15 +3476,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
@@ -3841,15 +3492,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 { @@ -3858,20 +3510,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 @@ -3879,64 +3525,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); @@ -3948,8 +3577,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.
@@ -3957,22 +3584,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.
@@ -3981,12 +3608,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.
@@ -3995,18 +3621,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.
@@ -4015,10 +3639,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)) {
@@ -4030,15 +3654,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 @@ -4046,26 +3667,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.
@@ -4081,14 +3695,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 @@ -4096,14 +3707,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 @@ -4111,8 +3719,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.
    * 
@@ -4127,29 +3733,23 @@ 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 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 @@ -4157,8 +3757,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.
    * 
@@ -4173,8 +3771,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
@@ -4183,7 +3779,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 @@ -4191,8 +3786,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
@@ -4201,18 +3794,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
@@ -4230,8 +3818,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}",
@@ -4241,7 +3827,6 @@ public com.google.cloud.securitycenter.v1.Asset.IamPolicyOrBuilder getIamPolicyO
    * 
* * string canonical_name = 13; - * * @return The canonicalName. */ @java.lang.Override @@ -4250,15 +3835,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}",
@@ -4268,15 +3852,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 { @@ -4285,7 +3870,6 @@ public com.google.protobuf.ByteString getCanonicalNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -4297,14 +3881,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, @@ -4337,32 +3923,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_); @@ -4375,37 +3963,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -4450,104 +4045,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); + 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) + 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.
@@ -4559,43 +4147,43 @@ 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()
@@ -4603,15 +4191,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -4654,9 +4243,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
@@ -4675,8 +4264,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) {
@@ -4715,39 +4303,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;
@@ -4763,7 +4350,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());
       }
@@ -4808,13 +4396,10 @@ public Builder mergeFrom(
       }
       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
@@ -4823,13 +4408,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; @@ -4838,8 +4423,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
@@ -4848,14 +4431,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 { @@ -4863,8 +4447,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
@@ -4873,22 +4455,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
@@ -4897,18 +4477,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
@@ -4917,83 +4494,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(); @@ -5007,16 +4562,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) { @@ -5030,26 +4581,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; } @@ -5061,16 +4604,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) { @@ -5084,94 +4623,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(); @@ -5183,8 +4700,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.
@@ -5192,22 +4707,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.
@@ -5216,12 +4731,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.
@@ -5230,18 +4744,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.
@@ -5250,10 +4762,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)) {
@@ -5263,12 +4775,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.
@@ -5276,22 +4787,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.
@@ -5299,20 +4811,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.
@@ -5320,57 +4831,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.
@@ -5392,8 +4892,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.
@@ -5413,8 +4911,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.
@@ -5426,9 +4922,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;
         }
@@ -5440,8 +4934,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.
@@ -5461,8 +4953,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.
@@ -5471,13 +4961,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.
@@ -5489,14 +4977,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.
@@ -5505,17 +4990,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_;
@@ -5523,47 +5005,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.
      * 
@@ -5584,15 +5053,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(); @@ -5603,8 +5071,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time at which the asset was created in Security Command Center.
      * 
@@ -5615,7 +5081,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; } @@ -5627,8 +5093,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the asset was created in Security Command Center.
      * 
@@ -5647,8 +5111,6 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * The time at which the asset was created in Security Command Center.
      * 
@@ -5656,13 +5118,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.
      * 
@@ -5673,14 +5133,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.
      * 
@@ -5688,17 +5145,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_; @@ -5706,47 +5160,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.
      * 
@@ -5767,15 +5208,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(); @@ -5786,8 +5226,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.
      * 
@@ -5798,7 +5236,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; } @@ -5810,8 +5248,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.
      * 
@@ -5830,8 +5266,6 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * The time at which the asset was last updated or added in Cloud SCC.
      * 
@@ -5839,13 +5273,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.
      * 
@@ -5856,14 +5288,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.
      * 
@@ -5871,17 +5300,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_; @@ -5889,13 +5315,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
@@ -5904,15 +5325,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
@@ -5921,21 +5339,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
@@ -5959,8 +5372,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
@@ -5982,8 +5393,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
@@ -5997,9 +5406,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;
         }
@@ -6011,8 +5418,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
@@ -6034,8 +5439,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
@@ -6046,13 +5449,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
@@ -6066,14 +5467,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
@@ -6084,17 +5482,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_;
@@ -6102,8 +5497,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}",
@@ -6113,13 +5506,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; @@ -6128,8 +5521,6 @@ public java.lang.String getCanonicalName() { } } /** - * - * *
      * The canonical name of the resource. It's either
      * "organizations/{organization_id}/assets/{asset_id}",
@@ -6139,14 +5530,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 { @@ -6154,8 +5546,6 @@ public com.google.protobuf.ByteString getCanonicalNameBytes() { } } /** - * - * *
      * The canonical name of the resource. It's either
      * "organizations/{organization_id}/assets/{asset_id}",
@@ -6165,22 +5555,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}",
@@ -6190,18 +5578,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}",
@@ -6211,23 +5596,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); } @@ -6237,12 +5622,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(); } @@ -6251,16 +5636,16 @@ 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 { - return new Asset(input, extensionRegistry); - } - }; + 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 { + return new Asset(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -6275,4 +5660,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.securitycenter.v1.Asset getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/AssetName.java b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/AssetName.java similarity index 100% rename from proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/AssetName.java rename to owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/AssetName.java diff --git a/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/AssetOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/AssetOrBuilder.java similarity index 80% rename from proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/AssetOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/AssetOrBuilder.java index 87023bd82..44eb8b021 100644 --- a/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/AssetOrBuilder.java +++ b/owl-bot-staging/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/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/AssetOuterClass.java b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/AssetOuterClass.java new file mode 100644 index 000000000..8a04ca03c --- /dev/null +++ b/owl-bot-staging/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/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/BigQueryExport.java b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/BigQueryExport.java similarity index 75% rename from proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/BigQueryExport.java rename to owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/BigQueryExport.java index 8603b33f4..5c12c3805 100644 --- a/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/BigQueryExport.java +++ b/owl-bot-staging/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,15 +30,16 @@ 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; } - private BigQueryExport( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -75,85 +58,75 @@ private BigQueryExport( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - description_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + description_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + filter_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - dataset_ = s; - break; - } - case 42: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } - - break; + dataset_ = s; + break; + } + case 42: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); } - case 50: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); - } - updateTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); - } - - break; + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - case 58: - { - java.lang.String s = input.readStringRequireUtf8(); - mostRecentEditor_ = s; - break; + break; + } + case 50: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); } - case 66: - { - java.lang.String s = input.readStringRequireUtf8(); - - principal_ = s; - break; + updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 58: { + java.lang.String s = input.readStringRequireUtf8(); + + mostRecentEditor_ = s; + break; + } + case 66: { + java.lang.String s = input.readStringRequireUtf8(); + + principal_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -161,33 +134,29 @@ private BigQueryExport( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.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.
@@ -200,7 +169,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -209,15 +177,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.
@@ -230,15 +197,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 { @@ -249,14 +217,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 @@ -265,29 +230,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 { @@ -298,8 +263,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
@@ -319,7 +282,6 @@ public com.google.protobuf.ByteString getDescriptionBytes() {
    * 
* * string filter = 3; - * * @return The filter. */ @java.lang.Override @@ -328,15 +290,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
@@ -356,15 +317,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 { @@ -375,8 +337,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]".
@@ -385,7 +345,6 @@ public com.google.protobuf.ByteString getFilterBytes() {
    * 
* * string dataset = 4; - * * @return The dataset. */ @java.lang.Override @@ -394,15 +353,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]".
@@ -411,15 +369,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 { @@ -430,17 +389,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 @@ -448,17 +403,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 @@ -466,16 +417,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() { @@ -485,17 +433,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 @@ -503,17 +447,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 @@ -521,16 +461,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() { @@ -540,8 +477,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
@@ -549,7 +484,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
    * 
* * string most_recent_editor = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The mostRecentEditor. */ @java.lang.Override @@ -558,15 +492,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
@@ -574,15 +507,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 { @@ -593,15 +527,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 @@ -610,30 +541,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 { @@ -642,7 +573,6 @@ public com.google.protobuf.ByteString getPrincipalBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -654,7 +584,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -701,10 +632,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_); @@ -720,28 +653,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -779,126 +719,117 @@ 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() @@ -906,15 +837,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -946,9 +878,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 @@ -967,8 +899,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_; @@ -993,39 +924,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; @@ -1033,8 +963,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(); @@ -1084,8 +1013,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.securitycenter.v1.BigQueryExport) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.securitycenter.v1.BigQueryExport) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1097,8 +1025,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.
@@ -1111,13 +1037,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; @@ -1126,8 +1052,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.
@@ -1140,14 +1064,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 { @@ -1155,8 +1080,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.
@@ -1169,22 +1092,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.
@@ -1197,18 +1118,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.
@@ -1221,16 +1139,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; @@ -1238,20 +1156,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; @@ -1260,21 +1176,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 { @@ -1282,61 +1197,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; @@ -1344,8 +1252,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
@@ -1365,13 +1271,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; @@ -1380,8 +1286,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
@@ -1401,14 +1305,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 { @@ -1416,8 +1321,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
@@ -1437,22 +1340,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
@@ -1472,18 +1373,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
@@ -1503,16 +1401,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; @@ -1520,8 +1418,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]".
@@ -1530,13 +1426,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; @@ -1545,8 +1441,6 @@ public java.lang.String getDataset() { } } /** - * - * *
      * The dataset to write findings' updates to. Its format is
      * "projects/[project_id]/datasets/[bigquery_dataset_id]".
@@ -1555,14 +1449,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 { @@ -1570,8 +1465,6 @@ public com.google.protobuf.ByteString getDatasetBytes() { } } /** - * - * *
      * The dataset to write findings' updates to. Its format is
      * "projects/[project_id]/datasets/[bigquery_dataset_id]".
@@ -1580,22 +1473,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]".
@@ -1604,18 +1495,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]".
@@ -1624,16 +1512,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; @@ -1641,64 +1529,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) { @@ -1714,19 +1583,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(); @@ -1737,23 +1603,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; } @@ -1765,17 +1627,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) { @@ -1789,70 +1647,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_; @@ -1860,64 +1702,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) { @@ -1933,19 +1756,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(); @@ -1956,23 +1776,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; } @@ -1984,17 +1800,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) { @@ -2008,70 +1820,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_; @@ -2079,8 +1875,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
@@ -2088,13 +1882,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; @@ -2103,8 +1897,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
@@ -2112,14 +1904,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 { @@ -2127,8 +1920,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
@@ -2136,22 +1927,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
@@ -2159,18 +1948,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
@@ -2178,16 +1964,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; @@ -2195,21 +1981,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; @@ -2218,22 +2002,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 { @@ -2241,71 +2024,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); } @@ -2315,12 +2091,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(); } @@ -2329,16 +2105,16 @@ 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 { - return new BigQueryExport(input, extensionRegistry); - } - }; + 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 { + return new BigQueryExport(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2353,4 +2129,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.securitycenter.v1.BigQueryExport getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/BigQueryExportName.java b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/BigQueryExportName.java similarity index 100% rename from proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/BigQueryExportName.java rename to owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/BigQueryExportName.java diff --git a/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/BigQueryExportOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/BigQueryExportOrBuilder.java similarity index 83% rename from proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/BigQueryExportOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/BigQueryExportOrBuilder.java index 913eaddea..e24d90ab0 100644 --- a/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/BigQueryExportOrBuilder.java +++ b/owl-bot-staging/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/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/BigQueryExportProto.java b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/BigQueryExportProto.java new file mode 100644 index 000000000..59f6d78ac --- /dev/null +++ b/owl-bot-staging/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/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/BulkMuteFindingsRequest.java b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/BulkMuteFindingsRequest.java similarity index 72% rename from proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/BulkMuteFindingsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/BulkMuteFindingsRequest.java index dd8dd5634..64585cedb 100644 --- a/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/BulkMuteFindingsRequest.java +++ b/owl-bot-staging/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,15 +31,16 @@ 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;
   }
-
   private BulkMuteFindingsRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -76,34 +59,31 @@ private BulkMuteFindingsRequest(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              parent_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            parent_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              filter_ = s;
-              break;
-            }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            filter_ = s;
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              muteAnnotation_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            muteAnnotation_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -111,43 +91,36 @@ private BulkMuteFindingsRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.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 @@ -156,33 +129,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 { @@ -193,8 +164,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
@@ -214,7 +183,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string filter = 2; - * * @return The filter. */ @java.lang.Override @@ -223,15 +191,14 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** - * - * *
    * Expression that identifies findings that should be updated.
    * The expression is a list of zero or more restrictions combined
@@ -251,15 +218,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 { @@ -270,53 +238,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=602 + * @deprecated google.cloud.securitycenter.v1.BulkMuteFindingsRequest.mute_annotation is deprecated. + * See google/cloud/securitycenter/v1/securitycenter_service.proto;l=602 * @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=602 + * @deprecated google.cloud.securitycenter.v1.BulkMuteFindingsRequest.mute_annotation is deprecated. + * See google/cloud/securitycenter/v1/securitycenter_service.proto;l=602 * @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 { @@ -325,7 +288,6 @@ public com.google.protobuf.ByteString getMuteAnnotationBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -337,7 +299,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -373,17 +336,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -407,104 +372,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:
@@ -515,23 +472,21 @@ 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()
@@ -539,15 +494,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -561,9 +517,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
@@ -582,8 +538,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_;
@@ -595,39 +550,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;
@@ -635,8 +589,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();
@@ -668,8 +621,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.securitycenter.v1.BulkMuteFindingsRequest) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.securitycenter.v1.BulkMuteFindingsRequest) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -681,24 +633,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; @@ -707,25 +655,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 { @@ -733,73 +678,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; @@ -807,8 +739,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
@@ -828,13 +758,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; @@ -843,8 +773,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
@@ -864,14 +792,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 { @@ -879,8 +808,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
@@ -900,22 +827,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
@@ -935,18 +860,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
@@ -966,16 +888,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; @@ -983,24 +905,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=602 + * @deprecated google.cloud.securitycenter.v1.BulkMuteFindingsRequest.mute_annotation is deprecated. + * See google/cloud/securitycenter/v1/securitycenter_service.proto;l=602 * @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; @@ -1009,25 +928,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=602 + * @deprecated google.cloud.securitycenter.v1.BulkMuteFindingsRequest.mute_annotation is deprecated. + * See google/cloud/securitycenter/v1/securitycenter_service.proto;l=602 * @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 { @@ -1035,80 +952,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=602 + * @deprecated google.cloud.securitycenter.v1.BulkMuteFindingsRequest.mute_annotation is deprecated. + * See google/cloud/securitycenter/v1/securitycenter_service.proto;l=602 * @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=602 + * @deprecated google.cloud.securitycenter.v1.BulkMuteFindingsRequest.mute_annotation is deprecated. + * See google/cloud/securitycenter/v1/securitycenter_service.proto;l=602 * @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=602 + * @deprecated google.cloud.securitycenter.v1.BulkMuteFindingsRequest.mute_annotation is deprecated. + * See google/cloud/securitycenter/v1/securitycenter_service.proto;l=602 * @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); } @@ -1118,12 +1025,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(); } @@ -1132,16 +1039,16 @@ 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 { - return new BulkMuteFindingsRequest(input, extensionRegistry); - } - }; + 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 { + return new BulkMuteFindingsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1156,4 +1063,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.securitycenter.v1.BulkMuteFindingsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/BulkMuteFindingsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/BulkMuteFindingsRequestOrBuilder.java similarity index 69% rename from proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/BulkMuteFindingsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/BulkMuteFindingsRequestOrBuilder.java index 911496824..b42e89fd7 100644 --- a/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/BulkMuteFindingsRequestOrBuilder.java +++ b/owl-bot-staging/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=602 + * @deprecated google.cloud.securitycenter.v1.BulkMuteFindingsRequest.mute_annotation is deprecated. + * See google/cloud/securitycenter/v1/securitycenter_service.proto;l=602 * @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=602 + * @deprecated google.cloud.securitycenter.v1.BulkMuteFindingsRequest.mute_annotation is deprecated. + * See google/cloud/securitycenter/v1/securitycenter_service.proto;l=602 * @return The bytes for muteAnnotation. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getMuteAnnotationBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getMuteAnnotationBytes(); } diff --git a/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/BulkMuteFindingsResponse.java b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/BulkMuteFindingsResponse.java similarity index 67% rename from proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/BulkMuteFindingsResponse.java rename to owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/BulkMuteFindingsResponse.java index 12d621360..3355fbffc 100644 --- a/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/BulkMuteFindingsResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/BulkMuteFindingsResponse.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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; } - private BulkMuteFindingsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,13 +52,13 @@ private BulkMuteFindingsResponse( case 0: done = true; break; - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -82,30 +66,27 @@ private BulkMuteFindingsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.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; @@ -117,7 +98,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { unknownFields.writeTo(output); } @@ -135,13 +117,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -160,127 +141,117 @@ 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() @@ -288,15 +259,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -304,9 +276,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.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 @@ -325,8 +297,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; } @@ -335,39 +306,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; @@ -375,8 +345,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.unknownFields); onChanged(); return this; @@ -396,8 +365,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.securitycenter.v1.BulkMuteFindingsResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.securitycenter.v1.BulkMuteFindingsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -406,9 +374,9 @@ public Builder mergeFrom( } return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -418,12 +386,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.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(); } @@ -432,16 +400,16 @@ 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 { - return new BulkMuteFindingsResponse(input, extensionRegistry); - } - }; + 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 { + return new BulkMuteFindingsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -456,4 +424,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.securitycenter.v1.BulkMuteFindingsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/BulkMuteFindingsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/BulkMuteFindingsResponseOrBuilder.java new file mode 100644 index 000000000..28f111609 --- /dev/null +++ b/owl-bot-staging/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/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Compliance.java b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Compliance.java similarity index 72% rename from proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Compliance.java rename to owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Compliance.java index 0ab2a44ae..e38f24f55 100644 --- a/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Compliance.java +++ b/owl-bot-staging/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,15 +28,16 @@ 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;
   }
-
   private Compliance(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -74,37 +57,34 @@ private Compliance(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              standard_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            standard_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              version_ = s;
-              break;
-            }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                ids_ = new com.google.protobuf.LazyStringArrayList();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              ids_.add(s);
-              break;
+            version_ = s;
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              ids_ = new com.google.protobuf.LazyStringArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            ids_.add(s);
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -112,7 +92,8 @@ private Compliance(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         ids_ = ids_.getUnmodifiableView();
@@ -121,34 +102,28 @@ private Compliance(
       makeExtensionsImmutable();
     }
   }
-
-  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 @@ -157,30 +132,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 { @@ -191,14 +166,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 @@ -207,29 +179,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 { @@ -240,42 +212,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. */ @@ -283,23 +247,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; @@ -311,7 +272,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -352,17 +314,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -387,104 +351,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.
@@ -492,23 +449,21 @@ 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()
@@ -516,15 +471,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -538,9 +494,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
@@ -559,8 +515,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_;
@@ -577,39 +532,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;
@@ -664,26 +618,23 @@ public Builder mergeFrom(
       }
       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; @@ -692,22 +643,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 { @@ -715,64 +665,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; @@ -780,20 +723,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; @@ -802,21 +743,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 { @@ -824,111 +764,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. */ @@ -936,90 +860,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() { @@ -1029,30 +943,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); } @@ -1062,12 +974,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(); } @@ -1076,16 +988,16 @@ 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 { - return new Compliance(input, extensionRegistry); - } - }; + 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 { + return new Compliance(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1100,4 +1012,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.securitycenter.v1.Compliance getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ComplianceOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ComplianceOrBuilder.java similarity index 67% rename from proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ComplianceOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ComplianceOrBuilder.java index 5c95e93b5..f4fca6aff 100644 --- a/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ComplianceOrBuilder.java +++ b/owl-bot-staging/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/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ComplianceProto.java b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ComplianceProto.java new file mode 100644 index 000000000..009724a6c --- /dev/null +++ b/owl-bot-staging/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/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Connection.java b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Connection.java similarity index 72% rename from proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Connection.java rename to owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Connection.java index 075bd8f1f..6faa9b69b 100644 --- a/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Connection.java +++ b/owl-bot-staging/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,15 +27,16 @@ 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; } - private Connection( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,44 +55,41 @@ private Connection( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - destinationIp_ = s; - break; - } - case 16: - { - destinationPort_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + destinationIp_ = s; + break; + } + case 16: { - sourceIp_ = s; - break; - } - case 32: - { - sourcePort_ = input.readInt32(); - break; - } - case 40: - { - int rawValue = input.readEnum(); + destinationPort_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - protocol_ = rawValue; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + sourceIp_ = s; + break; + } + case 32: { + + sourcePort_ = input.readInt32(); + break; + } + case 40: { + int rawValue = input.readEnum(); + + protocol_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -117,41 +97,36 @@ private Connection( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.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).
      * 
@@ -160,8 +135,6 @@ public enum Protocol implements com.google.protobuf.ProtocolMessageEnum { */ PROTOCOL_UNSPECIFIED(0), /** - * - * *
      * Internet Control Message Protocol.
      * 
@@ -170,8 +143,6 @@ public enum Protocol implements com.google.protobuf.ProtocolMessageEnum { */ ICMP(1), /** - * - * *
      * Transmission Control Protocol.
      * 
@@ -180,8 +151,6 @@ public enum Protocol implements com.google.protobuf.ProtocolMessageEnum { */ TCP(6), /** - * - * *
      * User Datagram Protocol.
      * 
@@ -190,8 +159,6 @@ public enum Protocol implements com.google.protobuf.ProtocolMessageEnum { */ UDP(17), /** - * - * *
      * Generic Routing Encapsulation.
      * 
@@ -200,8 +167,6 @@ public enum Protocol implements com.google.protobuf.ProtocolMessageEnum { */ GRE(47), /** - * - * *
      * Encap Security Payload.
      * 
@@ -213,8 +178,6 @@ public enum Protocol implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Unspecified protocol (not HOPOPT).
      * 
@@ -223,8 +186,6 @@ public enum Protocol implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PROTOCOL_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Internet Control Message Protocol.
      * 
@@ -233,8 +194,6 @@ public enum Protocol implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ICMP_VALUE = 1; /** - * - * *
      * Transmission Control Protocol.
      * 
@@ -243,8 +202,6 @@ public enum Protocol implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TCP_VALUE = 6; /** - * - * *
      * User Datagram Protocol.
      * 
@@ -253,8 +210,6 @@ public enum Protocol implements com.google.protobuf.ProtocolMessageEnum { */ public static final int UDP_VALUE = 17; /** - * - * *
      * Generic Routing Encapsulation.
      * 
@@ -263,8 +218,6 @@ public enum Protocol implements com.google.protobuf.ProtocolMessageEnum { */ public static final int GRE_VALUE = 47; /** - * - * *
      * Encap Security Payload.
      * 
@@ -273,6 +226,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( @@ -297,55 +251,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; @@ -365,15 +316,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 @@ -382,30 +330,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 { @@ -416,15 +364,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 @@ -435,14 +380,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 @@ -451,29 +393,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 { @@ -484,14 +426,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 @@ -502,43 +441,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; @@ -550,7 +477,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -563,9 +491,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_); } unknownFields.writeTo(output); @@ -581,18 +507,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -602,18 +529,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -641,127 +571,118 @@ 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() @@ -769,15 +690,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -795,9 +717,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 @@ -816,8 +738,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_; @@ -831,39 +752,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; @@ -920,21 +840,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; @@ -943,22 +861,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 { @@ -966,80 +883,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 @@ -1047,38 +954,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; @@ -1086,20 +987,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; @@ -1108,21 +1007,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 { @@ -1130,76 +1028,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 @@ -1207,36 +1095,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; @@ -1244,67 +1126,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. */ @@ -1312,31 +1178,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); } @@ -1346,12 +1209,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(); } @@ -1360,16 +1223,16 @@ 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 { - return new Connection(input, extensionRegistry); - } - }; + 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 { + return new Connection(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1384,4 +1247,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.securitycenter.v1.Connection getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ConnectionOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ConnectionOrBuilder.java similarity index 69% rename from proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ConnectionOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ConnectionOrBuilder.java index 0122fb2f9..b4767499b 100644 --- a/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ConnectionOrBuilder.java +++ b/owl-bot-staging/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/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ConnectionProto.java b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ConnectionProto.java new file mode 100644 index 000000000..5e2059a76 --- /dev/null +++ b/owl-bot-staging/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/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Contact.java b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Contact.java similarity index 69% rename from proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Contact.java rename to owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Contact.java index e73c828a4..113ba0640 100644 --- a/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Contact.java +++ b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Contact.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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; } - private Contact( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private Contact( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - email_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + email_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,39 +73,34 @@ private Contact( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.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 @@ -132,29 +109,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 { @@ -163,7 +140,6 @@ public com.google.protobuf.ByteString getEmailBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -175,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(email_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, email_); } @@ -199,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -226,127 +203,118 @@ 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() @@ -354,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -372,9 +341,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 @@ -393,8 +362,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; @@ -404,39 +372,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; @@ -480,20 +447,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; @@ -502,21 +467,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 { @@ -524,68 +488,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); } @@ -595,12 +552,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(); } @@ -609,16 +566,16 @@ 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 { - return new Contact(input, extensionRegistry); - } - }; + 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 { + return new Contact(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -633,4 +590,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.securitycenter.v1.Contact getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ContactDetails.java b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ContactDetails.java similarity index 73% rename from proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ContactDetails.java rename to owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ContactDetails.java index 48ba5adfa..42df17fb3 100644 --- a/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ContactDetails.java +++ b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ContactDetails.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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; } - private ContactDetails( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,24 +54,22 @@ private ContactDetails( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - contacts_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - contacts_.add( - input.readMessage( - com.google.cloud.securitycenter.v1.Contact.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + contacts_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + contacts_.add( + input.readMessage(com.google.cloud.securitycenter.v1.Contact.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -96,7 +77,8 @@ private ContactDetails( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { contacts_ = java.util.Collections.unmodifiableList(contacts_); @@ -105,27 +87,22 @@ private ContactDetails( makeExtensionsImmutable(); } } - - 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
    * 
@@ -137,8 +114,6 @@ public java.util.List getContactsLis return contacts_; } /** - * - * *
    * A list of contacts
    * 
@@ -146,13 +121,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
    * 
@@ -164,8 +137,6 @@ public int getContactsCount() { return contacts_.size(); } /** - * - * *
    * A list of contacts
    * 
@@ -177,8 +148,6 @@ public com.google.cloud.securitycenter.v1.Contact getContacts(int index) { return contacts_.get(index); } /** - * - * *
    * A list of contacts
    * 
@@ -186,12 +155,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; @@ -203,7 +172,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < contacts_.size(); i++) { output.writeMessage(1, contacts_.get(i)); } @@ -217,7 +187,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -227,15 +198,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -257,126 +228,117 @@ 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() @@ -384,17 +346,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getContactsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -408,9 +370,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 @@ -429,8 +391,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)) { @@ -449,39 +410,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; @@ -489,8 +449,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()) { @@ -509,10 +468,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_); } @@ -537,8 +495,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.securitycenter.v1.ContactDetails) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.securitycenter.v1.ContactDetails) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -547,28 +504,21 @@ public Builder mergeFrom( } 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
      * 
@@ -583,8 +533,6 @@ public java.util.List getContactsLis } } /** - * - * *
      * A list of contacts
      * 
@@ -599,8 +547,6 @@ public int getContactsCount() { } } /** - * - * *
      * A list of contacts
      * 
@@ -615,15 +561,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(); @@ -637,8 +582,6 @@ public Builder setContacts(int index, com.google.cloud.securitycenter.v1.Contact return this; } /** - * - * *
      * A list of contacts
      * 
@@ -657,8 +600,6 @@ public Builder setContacts( return this; } /** - * - * *
      * A list of contacts
      * 
@@ -679,15 +620,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(); @@ -701,15 +641,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()); @@ -720,8 +659,6 @@ public Builder addContacts(com.google.cloud.securitycenter.v1.Contact.Builder bu return this; } /** - * - * *
      * A list of contacts
      * 
@@ -740,8 +677,6 @@ public Builder addContacts( return this; } /** - * - * *
      * A list of contacts
      * 
@@ -752,7 +687,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); @@ -760,8 +696,6 @@ public Builder addAllContacts( return this; } /** - * - * *
      * A list of contacts
      * 
@@ -779,8 +713,6 @@ public Builder clearContacts() { return this; } /** - * - * *
      * A list of contacts
      * 
@@ -798,44 +730,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 { @@ -843,8 +770,6 @@ public com.google.cloud.securitycenter.v1.ContactOrBuilder getContactsOrBuilder( } } /** - * - * *
      * A list of contacts
      * 
@@ -852,55 +777,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); } @@ -910,12 +829,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(); } @@ -924,16 +843,16 @@ 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 { - return new ContactDetails(input, extensionRegistry); - } - }; + 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 { + return new ContactDetails(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -948,4 +867,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.securitycenter.v1.ContactDetails getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ContactDetailsOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ContactDetailsOrBuilder.java similarity index 61% rename from proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ContactDetailsOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ContactDetailsOrBuilder.java index 3f02f5f44..a8758c422 100644 --- a/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ContactDetailsOrBuilder.java +++ b/owl-bot-staging/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/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ContactDetailsProto.java b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ContactDetailsProto.java new file mode 100644 index 000000000..05974b13c --- /dev/null +++ b/owl-bot-staging/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/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ContactOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ContactOrBuilder.java new file mode 100644 index 000000000..fab422a72 --- /dev/null +++ b/owl-bot-staging/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/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Container.java b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Container.java similarity index 74% rename from proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Container.java rename to owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Container.java index 3cc999b9c..fe68f4444 100644 --- a/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Container.java +++ b/owl-bot-staging/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,15 +28,16 @@ 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; } - private Container( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -74,45 +57,40 @@ private Container( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - uri_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + uri_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - imageId_ = s; - break; - } - case 34: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - labels_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - labels_.add( - input.readMessage( - com.google.cloud.securitycenter.v1.Label.parser(), extensionRegistry)); - break; + imageId_ = s; + break; + } + case 34: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + labels_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + labels_.add( + input.readMessage(com.google.cloud.securitycenter.v1.Label.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -120,7 +98,8 @@ private Container( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { labels_ = java.util.Collections.unmodifiableList(labels_); @@ -129,33 +108,27 @@ private Container( makeExtensionsImmutable(); } } - - 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 @@ -164,29 +137,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * 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 { @@ -197,15 +170,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 @@ -214,30 +184,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 { @@ -248,8 +218,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
@@ -257,7 +225,6 @@ public com.google.protobuf.ByteString getUriBytes() {
    * 
* * string image_id = 3; - * * @return The imageId. */ @java.lang.Override @@ -266,15 +233,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
@@ -282,15 +248,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 { @@ -301,8 +268,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.
    * 
@@ -314,8 +279,6 @@ public java.util.List getLabelsList() return labels_; } /** - * - * *
    * Container labels, as provided by the container runtime.
    * 
@@ -323,13 +286,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.
    * 
@@ -341,8 +302,6 @@ public int getLabelsCount() { return labels_.size(); } /** - * - * *
    * Container labels, as provided by the container runtime.
    * 
@@ -354,8 +313,6 @@ public com.google.cloud.securitycenter.v1.Label getLabels(int index) { return labels_.get(index); } /** - * - * *
    * Container labels, as provided by the container runtime.
    * 
@@ -363,12 +320,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; @@ -380,7 +337,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -412,7 +370,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -422,18 +381,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -460,127 +422,118 @@ 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() @@ -588,17 +541,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getLabelsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -618,9 +571,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 @@ -639,8 +592,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_; @@ -662,39 +614,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; @@ -733,10 +684,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_); } @@ -770,25 +720,22 @@ public Builder mergeFrom( } 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; @@ -797,21 +744,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 { @@ -819,61 +765,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; @@ -881,21 +820,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; @@ -904,22 +841,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 { @@ -927,64 +863,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; @@ -992,8 +921,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
@@ -1001,13 +928,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; @@ -1016,8 +943,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
@@ -1025,14 +950,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 { @@ -1040,8 +966,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
@@ -1049,22 +973,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
@@ -1072,18 +994,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
@@ -1091,40 +1010,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.
      * 
@@ -1139,8 +1052,6 @@ public java.util.List getLabelsList() } } /** - * - * *
      * Container labels, as provided by the container runtime.
      * 
@@ -1155,8 +1066,6 @@ public int getLabelsCount() { } } /** - * - * *
      * Container labels, as provided by the container runtime.
      * 
@@ -1171,15 +1080,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(); @@ -1193,8 +1101,6 @@ public Builder setLabels(int index, com.google.cloud.securitycenter.v1.Label val return this; } /** - * - * *
      * Container labels, as provided by the container runtime.
      * 
@@ -1213,8 +1119,6 @@ public Builder setLabels( return this; } /** - * - * *
      * Container labels, as provided by the container runtime.
      * 
@@ -1235,15 +1139,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(); @@ -1257,15 +1160,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()); @@ -1276,8 +1178,6 @@ public Builder addLabels(com.google.cloud.securitycenter.v1.Label.Builder builde return this; } /** - * - * *
      * Container labels, as provided by the container runtime.
      * 
@@ -1296,8 +1196,6 @@ public Builder addLabels( return this; } /** - * - * *
      * Container labels, as provided by the container runtime.
      * 
@@ -1308,7 +1206,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); @@ -1316,8 +1215,6 @@ public Builder addAllLabels( return this; } /** - * - * *
      * Container labels, as provided by the container runtime.
      * 
@@ -1335,8 +1232,6 @@ public Builder clearLabels() { return this; } /** - * - * *
      * Container labels, as provided by the container runtime.
      * 
@@ -1354,44 +1249,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 { @@ -1399,8 +1289,6 @@ public com.google.cloud.securitycenter.v1.LabelOrBuilder getLabelsOrBuilder(int } } /** - * - * *
      * Container labels, as provided by the container runtime.
      * 
@@ -1408,54 +1296,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); } @@ -1465,12 +1348,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(); } @@ -1479,16 +1362,16 @@ 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 { - return new Container(input, extensionRegistry); - } - }; + 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 { + return new Container(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1503,4 +1386,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.securitycenter.v1.Container getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ContainerOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ContainerOrBuilder.java similarity index 72% rename from proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ContainerOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ContainerOrBuilder.java index 4543b2eff..496b571fd 100644 --- a/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ContainerOrBuilder.java +++ b/owl-bot-staging/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/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ContainerProto.java b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ContainerProto.java new file mode 100644 index 000000000..223e319f3 --- /dev/null +++ b/owl-bot-staging/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/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateBigQueryExportRequest.java b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateBigQueryExportRequest.java similarity index 66% rename from proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateBigQueryExportRequest.java rename to owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateBigQueryExportRequest.java index 2a8ae9919..50d3a1894 100644 --- a/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateBigQueryExportRequest.java +++ b/owl-bot-staging/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,15 +26,16 @@ 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; } - private CreateBigQueryExportRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,44 +54,38 @@ private CreateBigQueryExportRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; + parent_ = s; + break; + } + case 18: { + com.google.cloud.securitycenter.v1.BigQueryExport.Builder subBuilder = null; + if (bigQueryExport_ != null) { + subBuilder = bigQueryExport_.toBuilder(); } - case 18: - { - com.google.cloud.securitycenter.v1.BigQueryExport.Builder subBuilder = null; - if (bigQueryExport_ != null) { - subBuilder = bigQueryExport_.toBuilder(); - } - bigQueryExport_ = - input.readMessage( - com.google.cloud.securitycenter.v1.BigQueryExport.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(bigQueryExport_); - bigQueryExport_ = subBuilder.buildPartial(); - } - - break; + bigQueryExport_ = input.readMessage(com.google.cloud.securitycenter.v1.BigQueryExport.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(bigQueryExport_); + bigQueryExport_ = subBuilder.buildPartial(); } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - bigQueryExportId_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + bigQueryExportId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -116,43 +93,36 @@ private CreateBigQueryExportRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.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 @@ -161,33 +131,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 { @@ -198,16 +166,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 @@ -215,34 +178,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() { @@ -252,8 +204,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
@@ -262,7 +212,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 @@ -271,15 +220,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
@@ -288,15 +236,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 { @@ -305,7 +254,6 @@ public com.google.protobuf.ByteString getBigQueryExportIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -317,7 +265,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -340,7 +289,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_); @@ -353,20 +303,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -392,127 +344,117 @@ 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() @@ -520,15 +462,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -546,14 +489,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(); } @@ -568,8 +510,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_; @@ -585,39 +526,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; @@ -625,9 +565,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(); @@ -658,9 +596,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.securitycenter.v1.CreateBigQueryExportRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.securitycenter.v1.CreateBigQueryExportRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -672,24 +608,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; @@ -698,25 +630,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 { @@ -724,73 +653,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; @@ -798,58 +714,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) { @@ -865,15 +762,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) { @@ -887,23 +780,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; } @@ -915,15 +802,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) { @@ -937,64 +820,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_; @@ -1002,8 +869,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
@@ -1012,13 +877,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; @@ -1027,8 +892,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
@@ -1037,14 +900,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 { @@ -1052,8 +916,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
@@ -1062,22 +924,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
@@ -1086,18 +946,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
@@ -1106,23 +963,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); } @@ -1132,32 +989,30 @@ 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 { - return new CreateBigQueryExportRequest(input, extensionRegistry); - } - }; + 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 { + return new CreateBigQueryExportRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1169,8 +1024,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/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateBigQueryExportRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateBigQueryExportRequestOrBuilder.java similarity index 59% rename from proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateBigQueryExportRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateBigQueryExportRequestOrBuilder.java index 353f15853..3f272247c 100644 --- a/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateBigQueryExportRequestOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateFindingRequest.java b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateFindingRequest.java similarity index 67% rename from proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateFindingRequest.java rename to owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateFindingRequest.java index e009964c2..ec857615f 100644 --- a/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateFindingRequest.java +++ b/owl-bot-staging/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,15 +26,16 @@ 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; } - private CreateFindingRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,43 +54,38 @@ private CreateFindingRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - findingId_ = s; - break; + findingId_ = s; + break; + } + case 26: { + com.google.cloud.securitycenter.v1.Finding.Builder subBuilder = null; + if (finding_ != null) { + subBuilder = finding_.toBuilder(); } - case 26: - { - com.google.cloud.securitycenter.v1.Finding.Builder subBuilder = null; - if (finding_ != null) { - subBuilder = finding_.toBuilder(); - } - finding_ = - input.readMessage( - com.google.cloud.securitycenter.v1.Finding.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(finding_); - finding_ = subBuilder.buildPartial(); - } - - break; + finding_ = input.readMessage(com.google.cloud.securitycenter.v1.Finding.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(finding_); + finding_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -115,42 +93,35 @@ private CreateFindingRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.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 @@ -159,32 +130,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. 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 { @@ -195,8 +164,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
@@ -204,7 +171,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string finding_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The findingId. */ @java.lang.Override @@ -213,15 +179,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
@@ -229,15 +194,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 { @@ -248,17 +214,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 @@ -266,36 +227,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() { @@ -303,7 +253,6 @@ public com.google.cloud.securitycenter.v1.FindingOrBuilder getFindingOrBuilder() } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -315,7 +264,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -341,7 +291,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -351,19 +302,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -390,127 +343,117 @@ 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() @@ -518,15 +461,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -544,9 +488,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 @@ -565,8 +509,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) { @@ -582,39 +525,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; @@ -622,8 +564,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(); @@ -654,8 +595,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.securitycenter.v1.CreateFindingRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.securitycenter.v1.CreateFindingRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -667,23 +607,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; @@ -692,24 +628,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 { @@ -717,70 +650,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; @@ -788,8 +708,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
@@ -797,13 +715,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; @@ -812,8 +730,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
@@ -821,14 +737,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 { @@ -836,8 +753,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
@@ -845,22 +760,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
@@ -868,18 +781,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
@@ -887,16 +797,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; @@ -904,61 +814,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) { @@ -974,18 +865,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(); @@ -996,24 +884,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; } @@ -1025,16 +907,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) { @@ -1048,74 +926,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); } @@ -1125,12 +987,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(); } @@ -1139,16 +1001,16 @@ 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 { - return new CreateFindingRequest(input, extensionRegistry); - } - }; + 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 { + return new CreateFindingRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1163,4 +1025,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.securitycenter.v1.CreateFindingRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateFindingRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateFindingRequestOrBuilder.java similarity index 60% rename from proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateFindingRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateFindingRequestOrBuilder.java index 7b2a8f61d..3d6ecd597 100644 --- a/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateFindingRequestOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateMuteConfigRequest.java b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateMuteConfigRequest.java similarity index 67% rename from proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateMuteConfigRequest.java rename to owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateMuteConfigRequest.java index 6a7526d0b..0a4746c96 100644 --- a/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateMuteConfigRequest.java +++ b/owl-bot-staging/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,15 +26,16 @@ 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; } - private CreateMuteConfigRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,43 +54,38 @@ private CreateMuteConfigRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; + parent_ = s; + break; + } + case 18: { + com.google.cloud.securitycenter.v1.MuteConfig.Builder subBuilder = null; + if (muteConfig_ != null) { + subBuilder = muteConfig_.toBuilder(); } - case 18: - { - com.google.cloud.securitycenter.v1.MuteConfig.Builder subBuilder = null; - if (muteConfig_ != null) { - subBuilder = muteConfig_.toBuilder(); - } - muteConfig_ = - input.readMessage( - com.google.cloud.securitycenter.v1.MuteConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(muteConfig_); - muteConfig_ = subBuilder.buildPartial(); - } - - break; + muteConfig_ = input.readMessage(com.google.cloud.securitycenter.v1.MuteConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(muteConfig_); + muteConfig_ = subBuilder.buildPartial(); } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - muteConfigId_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + muteConfigId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -115,43 +93,36 @@ private CreateMuteConfigRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.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 @@ -160,33 +131,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 { @@ -197,16 +166,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 @@ -214,34 +178,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() { @@ -251,8 +204,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
@@ -261,7 +212,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 @@ -270,15 +220,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
@@ -287,15 +236,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 { @@ -304,7 +254,6 @@ public com.google.protobuf.ByteString getMuteConfigIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -316,7 +265,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -339,7 +289,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (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_); @@ -352,20 +303,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -391,127 +344,117 @@ 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() @@ -519,15 +462,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -545,9 +489,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.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 @@ -566,8 +510,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_; @@ -583,39 +526,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; @@ -623,8 +565,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(); @@ -655,8 +596,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.securitycenter.v1.CreateMuteConfigRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.securitycenter.v1.CreateMuteConfigRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -668,24 +608,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; @@ -694,25 +630,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 { @@ -720,73 +653,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; @@ -794,58 +714,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) { @@ -861,15 +762,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) { @@ -883,23 +780,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; } @@ -911,15 +802,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) { @@ -933,64 +820,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_; @@ -998,8 +869,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
@@ -1008,13 +877,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; @@ -1023,8 +892,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
@@ -1033,14 +900,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 { @@ -1048,8 +916,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
@@ -1058,22 +924,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
@@ -1082,18 +946,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
@@ -1102,23 +963,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); } @@ -1128,12 +989,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(); } @@ -1142,16 +1003,16 @@ 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 { - return new CreateMuteConfigRequest(input, extensionRegistry); - } - }; + 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 { + return new CreateMuteConfigRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1166,4 +1027,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.securitycenter.v1.CreateMuteConfigRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateMuteConfigRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateMuteConfigRequestOrBuilder.java similarity index 59% rename from proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateMuteConfigRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateMuteConfigRequestOrBuilder.java index 07965be0e..2aadf4ad7 100644 --- a/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateMuteConfigRequestOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateNotificationConfigRequest.java b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateNotificationConfigRequest.java similarity index 64% rename from proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateNotificationConfigRequest.java rename to owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateNotificationConfigRequest.java index 1889b0e70..afb05529c 100644 --- a/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateNotificationConfigRequest.java +++ b/owl-bot-staging/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,15 +26,16 @@ 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; } - private CreateNotificationConfigRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,44 +54,38 @@ private CreateNotificationConfigRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - configId_ = s; - break; + configId_ = s; + break; + } + case 26: { + com.google.cloud.securitycenter.v1.NotificationConfig.Builder subBuilder = null; + if (notificationConfig_ != null) { + subBuilder = notificationConfig_.toBuilder(); } - case 26: - { - com.google.cloud.securitycenter.v1.NotificationConfig.Builder subBuilder = null; - if (notificationConfig_ != null) { - subBuilder = notificationConfig_.toBuilder(); - } - notificationConfig_ = - input.readMessage( - com.google.cloud.securitycenter.v1.NotificationConfig.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(notificationConfig_); - notificationConfig_ = subBuilder.buildPartial(); - } - - break; + notificationConfig_ = input.readMessage(com.google.cloud.securitycenter.v1.NotificationConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(notificationConfig_); + notificationConfig_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -117,42 +93,35 @@ private CreateNotificationConfigRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.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]".
    * 
* - * - * string parent = 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 @@ -161,32 +130,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. Resource name of the new notification config's parent. Its format is
    * "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 { @@ -197,8 +164,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.
@@ -207,7 +172,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string config_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The configId. */ @java.lang.Override @@ -216,15 +180,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.
@@ -233,15 +196,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 { @@ -252,17 +216,12 @@ 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 @@ -270,45 +229,32 @@ 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; @@ -320,7 +266,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -346,7 +293,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -356,19 +304,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -395,145 +345,134 @@ 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() + // Construct using com.google.cloud.securitycenter.v1.CreateNotificationConfigRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -551,16 +490,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 @@ -574,8 +511,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) { @@ -591,51 +527,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(); @@ -666,9 +597,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.securitycenter.v1.CreateNotificationConfigRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.securitycenter.v1.CreateNotificationConfigRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -680,23 +609,19 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. Resource name of the new notification config's parent. Its format is
      * "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; @@ -705,24 +630,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Resource name of the new notification config's parent. Its format is
      * "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 { @@ -730,70 +652,57 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Resource name of the new notification config's parent. Its format is
      * "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 notification config's parent. Its format is
      * "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 notification config's parent. Its format is
      * "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; @@ -801,8 +710,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.
@@ -811,13 +718,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; @@ -826,8 +733,6 @@ public java.lang.String getConfigId() { } } /** - * - * *
      * Required.
      * Unique identifier provided by the client within the parent scope.
@@ -836,14 +741,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 { @@ -851,8 +757,6 @@ public com.google.protobuf.ByteString getConfigIdBytes() { } } /** - * - * *
      * Required.
      * Unique identifier provided by the client within the parent scope.
@@ -861,22 +765,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.
@@ -885,18 +787,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.
@@ -905,16 +804,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; @@ -922,64 +821,44 @@ 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(); @@ -993,16 +872,12 @@ 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) { @@ -1016,25 +891,18 @@ 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; } @@ -1046,16 +914,12 @@ 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) { @@ -1069,76 +933,58 @@ 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); } @@ -1148,32 +994,30 @@ 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 { - return new CreateNotificationConfigRequest(input, extensionRegistry); - } - }; + 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 { + return new CreateNotificationConfigRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1185,8 +1029,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/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateNotificationConfigRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateNotificationConfigRequestOrBuilder.java similarity index 60% rename from proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateNotificationConfigRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateNotificationConfigRequestOrBuilder.java index e133d3953..553e974e8 100644 --- a/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateNotificationConfigRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateNotificationConfigRequestOrBuilder.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 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]".
    * 
* - * - * string parent = 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]".
    * 
* - * - * string parent = 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.
@@ -65,13 +38,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.
@@ -80,52 +50,38 @@ 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/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateSourceRequest.java b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateSourceRequest.java similarity index 64% rename from proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateSourceRequest.java rename to owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateSourceRequest.java index 0e9e44836..b9138b600 100644 --- a/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateSourceRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateSourceRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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; } - private CreateSourceRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,36 +53,32 @@ private CreateSourceRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; + parent_ = s; + break; + } + case 18: { + com.google.cloud.securitycenter.v1.Source.Builder subBuilder = null; + if (source_ != null) { + subBuilder = source_.toBuilder(); } - case 18: - { - com.google.cloud.securitycenter.v1.Source.Builder subBuilder = null; - if (source_ != null) { - subBuilder = source_.toBuilder(); - } - source_ = - input.readMessage( - com.google.cloud.securitycenter.v1.Source.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(source_); - source_ = subBuilder.buildPartial(); - } - - break; + source_ = input.readMessage(com.google.cloud.securitycenter.v1.Source.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(source_); + source_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -107,42 +86,35 @@ private CreateSourceRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.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 @@ -151,32 +123,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 { @@ -187,17 +157,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 @@ -205,36 +170,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() { @@ -242,7 +196,6 @@ public com.google.cloud.securitycenter.v1.SourceOrBuilder getSourceOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -254,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_); } @@ -274,7 +228,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -284,18 +239,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -320,127 +276,117 @@ 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() @@ -448,15 +394,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -472,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_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 @@ -493,8 +440,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_; @@ -509,39 +455,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; @@ -549,8 +494,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(); @@ -577,8 +521,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.securitycenter.v1.CreateSourceRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.securitycenter.v1.CreateSourceRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -590,23 +533,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; @@ -615,24 +554,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 { @@ -640,70 +576,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; @@ -711,61 +634,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) { @@ -781,18 +685,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(); @@ -803,24 +704,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; } @@ -832,16 +727,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) { @@ -855,74 +746,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); } @@ -932,12 +807,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(); } @@ -946,16 +821,16 @@ 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 { - return new CreateSourceRequest(input, extensionRegistry); - } - }; + 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 { + return new CreateSourceRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -970,4 +845,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.securitycenter.v1.CreateSourceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateSourceRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateSourceRequestOrBuilder.java similarity index 51% rename from proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateSourceRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateSourceRequestOrBuilder.java index 66a408e83..8552a2d04 100644 --- a/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateSourceRequestOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Cve.java b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Cve.java similarity index 75% rename from proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Cve.java rename to owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Cve.java index b7498fde1..1e0e50bc5 100644 --- a/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Cve.java +++ b/owl-bot-staging/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,15 +27,16 @@ 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;
   }
-
   private Cve(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -73,53 +56,46 @@ private Cve(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              id_ = s;
-              break;
-            }
-          case 18:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                references_ =
-                    new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              references_.add(
-                  input.readMessage(
-                      com.google.cloud.securitycenter.v1.Reference.parser(), extensionRegistry));
-              break;
+            id_ = s;
+            break;
+          }
+          case 18: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              references_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          case 26:
-            {
-              com.google.cloud.securitycenter.v1.Cvssv3.Builder subBuilder = null;
-              if (cvssv3_ != null) {
-                subBuilder = cvssv3_.toBuilder();
-              }
-              cvssv3_ =
-                  input.readMessage(
-                      com.google.cloud.securitycenter.v1.Cvssv3.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(cvssv3_);
-                cvssv3_ = subBuilder.buildPartial();
-              }
-
-              break;
+            references_.add(
+                input.readMessage(com.google.cloud.securitycenter.v1.Reference.parser(), extensionRegistry));
+            break;
+          }
+          case 26: {
+            com.google.cloud.securitycenter.v1.Cvssv3.Builder subBuilder = null;
+            if (cvssv3_ != null) {
+              subBuilder = cvssv3_.toBuilder();
             }
-          case 32:
-            {
-              upstreamFixAvailable_ = input.readBool();
-              break;
+            cvssv3_ = input.readMessage(com.google.cloud.securitycenter.v1.Cvssv3.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(cvssv3_);
+              cvssv3_ = subBuilder.buildPartial();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+
+            break;
+          }
+          case 32: {
+
+            upstreamFixAvailable_ = input.readBool();
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -127,7 +103,8 @@ private Cve(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         references_ = java.util.Collections.unmodifiableList(references_);
@@ -136,33 +113,27 @@ private Cve(
       makeExtensionsImmutable();
     }
   }
-
-  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 @@ -171,29 +142,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 { @@ -204,8 +175,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
@@ -218,8 +187,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
@@ -228,13 +195,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
@@ -247,8 +212,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
@@ -261,8 +224,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
@@ -271,22 +232,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 @@ -294,26 +253,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
@@ -329,14 +281,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 @@ -345,7 +294,6 @@ public boolean getUpstreamFixAvailable() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -357,7 +305,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -383,13 +332,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -399,20 +351,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -435,110 +391,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) + unknownFields.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
@@ -546,23 +496,21 @@ 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()
@@ -570,17 +518,17 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getReferencesFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -604,9 +552,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
@@ -625,8 +573,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) {
@@ -652,39 +599,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;
@@ -715,10 +661,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_);
           }
@@ -758,25 +703,22 @@ public Builder mergeFrom(
       }
       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; @@ -785,21 +727,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 { @@ -807,86 +748,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
@@ -902,8 +829,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
@@ -919,8 +844,6 @@ public int getReferencesCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Additional information about the CVE.
      * e.g. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34527
@@ -936,8 +859,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
@@ -945,7 +866,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();
@@ -959,8 +881,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
@@ -980,8 +900,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
@@ -1003,8 +921,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
@@ -1012,7 +928,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();
@@ -1026,8 +943,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
@@ -1047,8 +962,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
@@ -1068,8 +981,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
@@ -1081,7 +992,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);
@@ -1089,8 +1001,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
@@ -1109,8 +1019,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
@@ -1129,8 +1037,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
@@ -1138,12 +1044,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
@@ -1151,16 +1056,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
@@ -1168,8 +1071,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 {
@@ -1177,8 +1080,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
@@ -1187,12 +1088,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
@@ -1200,13 +1099,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
@@ -1214,23 +1112,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_;
@@ -1238,49 +1133,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
@@ -1302,8 +1184,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
@@ -1311,7 +1191,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();
@@ -1322,8 +1203,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
@@ -1335,9 +1214,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;
         }
@@ -1349,8 +1226,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
@@ -1370,8 +1245,6 @@ public Builder clearCvssv3() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Describe Common Vulnerability Scoring System specified at
      * https://www.first.org/cvss/v3.1/specification-document
@@ -1380,13 +1253,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
@@ -1398,14 +1269,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
@@ -1414,32 +1282,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 @@ -1447,43 +1309,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); } @@ -1493,12 +1349,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(); } @@ -1507,16 +1363,16 @@ 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 { - return new Cve(input, extensionRegistry); - } - }; + 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 { + return new Cve(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1531,4 +1387,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.securitycenter.v1.Cve getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CveOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CveOrBuilder.java similarity index 77% rename from proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CveOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CveOrBuilder.java index e0c6b64ba..049698d86 100644 --- a/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CveOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Cvssv3.java b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Cvssv3.java similarity index 75% rename from proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Cvssv3.java rename to owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Cvssv3.java index 56684fba4..6e6bc286e 100644 --- a/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Cvssv3.java +++ b/owl-bot-staging/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,15 +32,16 @@ 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; } - private Cvssv3( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -77,74 +60,66 @@ private Cvssv3( case 0: done = true; break; - case 9: - { - baseScore_ = input.readDouble(); - break; - } - case 40: - { - int rawValue = input.readEnum(); + case 9: { - attackVector_ = rawValue; - break; - } - case 48: - { - int rawValue = input.readEnum(); + baseScore_ = input.readDouble(); + break; + } + case 40: { + int rawValue = input.readEnum(); - attackComplexity_ = rawValue; - break; - } - case 56: - { - int rawValue = input.readEnum(); + attackVector_ = rawValue; + break; + } + case 48: { + int rawValue = input.readEnum(); - privilegesRequired_ = rawValue; - break; - } - case 64: - { - int rawValue = input.readEnum(); + attackComplexity_ = rawValue; + break; + } + case 56: { + int rawValue = input.readEnum(); - userInteraction_ = rawValue; - break; - } - case 72: - { - int rawValue = input.readEnum(); + privilegesRequired_ = rawValue; + break; + } + case 64: { + int rawValue = input.readEnum(); - scope_ = rawValue; - break; - } - case 80: - { - int rawValue = input.readEnum(); + userInteraction_ = rawValue; + break; + } + case 72: { + int rawValue = input.readEnum(); - confidentialityImpact_ = rawValue; - break; - } - case 88: - { - int rawValue = input.readEnum(); + scope_ = rawValue; + break; + } + case 80: { + int rawValue = input.readEnum(); - integrityImpact_ = rawValue; - break; - } - case 96: - { - int rawValue = input.readEnum(); + confidentialityImpact_ = rawValue; + break; + } + case 88: { + int rawValue = input.readEnum(); - availabilityImpact_ = rawValue; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + integrityImpact_ = rawValue; + break; + } + case 96: { + int rawValue = input.readEnum(); + + availabilityImpact_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -152,31 +127,27 @@ private Cvssv3( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.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.
@@ -184,10 +155,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.
      * 
@@ -196,8 +166,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
@@ -208,8 +176,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.
@@ -219,8 +185,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.
@@ -230,8 +194,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.
@@ -244,8 +206,6 @@ public enum AttackVector implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Invalid value.
      * 
@@ -254,8 +214,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
@@ -266,8 +224,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.
@@ -277,8 +233,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.
@@ -288,8 +242,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.
@@ -299,6 +251,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(
@@ -323,53 +276,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;
@@ -387,8 +338,6 @@ private AttackVector(int value) {
   }
 
   /**
-   *
-   *
    * 
    * This metric describes the conditions beyond the attacker's control that
    * must exist in order to exploit the vulnerability.
@@ -396,10 +345,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.
      * 
@@ -408,8 +356,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
@@ -420,8 +366,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
@@ -437,8 +381,6 @@ public enum AttackComplexity implements com.google.protobuf.ProtocolMessageEnum
     ;
 
     /**
-     *
-     *
      * 
      * Invalid value.
      * 
@@ -447,8 +389,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
@@ -459,8 +399,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
@@ -473,6 +411,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(
@@ -497,42 +436,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);
     }
 
@@ -541,7 +477,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;
@@ -559,8 +496,6 @@ private AttackComplexity(int value) {
   }
 
   /**
-   *
-   *
    * 
    * This metric describes the level of privileges an attacker must possess
    * before successfully exploiting the vulnerability.
@@ -568,10 +503,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.
      * 
@@ -580,8 +514,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
@@ -592,8 +524,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.
@@ -605,8 +535,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
@@ -620,8 +548,6 @@ public enum PrivilegesRequired implements com.google.protobuf.ProtocolMessageEnu
     ;
 
     /**
-     *
-     *
      * 
      * Invalid value.
      * 
@@ -630,8 +556,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
@@ -642,8 +566,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.
@@ -655,8 +577,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
@@ -667,6 +587,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(
@@ -691,16 +612,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;
       }
     }
 
@@ -708,28 +624,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);
     }
 
@@ -738,7 +654,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;
@@ -756,8 +673,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
@@ -766,10 +681,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.
      * 
@@ -778,8 +692,6 @@ public enum UserInteraction implements com.google.protobuf.ProtocolMessageEnum { */ USER_INTERACTION_UNSPECIFIED(0), /** - * - * *
      * The vulnerable system can be exploited without interaction from any user.
      * 
@@ -788,8 +700,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.
@@ -802,8 +712,6 @@ public enum UserInteraction implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Invalid value.
      * 
@@ -812,8 +720,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.
      * 
@@ -822,8 +728,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.
@@ -833,6 +737,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(
@@ -857,42 +762,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);
     }
 
@@ -901,7 +803,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;
@@ -919,8 +822,6 @@ private UserInteraction(int value) {
   }
 
   /**
-   *
-   *
    * 
    * The Scope metric captures whether a vulnerability in one vulnerable
    * component impacts resources in components beyond its security scope.
@@ -928,10 +829,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.
      * 
@@ -940,8 +840,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.
@@ -951,8 +849,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.
@@ -965,8 +861,6 @@ public enum Scope implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Invalid value.
      * 
@@ -975,8 +869,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.
@@ -986,8 +878,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.
@@ -997,6 +887,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(
@@ -1021,49 +912,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;
@@ -1081,8 +972,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
@@ -1091,10 +980,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.
      * 
@@ -1103,8 +991,6 @@ public enum Impact implements com.google.protobuf.ProtocolMessageEnum { */ IMPACT_UNSPECIFIED(0), /** - * - * *
      * High impact.
      * 
@@ -1113,8 +999,6 @@ public enum Impact implements com.google.protobuf.ProtocolMessageEnum { */ IMPACT_HIGH(1), /** - * - * *
      * Low impact.
      * 
@@ -1123,8 +1007,6 @@ public enum Impact implements com.google.protobuf.ProtocolMessageEnum { */ IMPACT_LOW(2), /** - * - * *
      * No impact.
      * 
@@ -1136,8 +1018,6 @@ public enum Impact implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Invalid value.
      * 
@@ -1146,8 +1026,6 @@ public enum Impact implements com.google.protobuf.ProtocolMessageEnum { */ public static final int IMPACT_UNSPECIFIED_VALUE = 0; /** - * - * *
      * High impact.
      * 
@@ -1156,8 +1034,6 @@ public enum Impact implements com.google.protobuf.ProtocolMessageEnum { */ public static final int IMPACT_HIGH_VALUE = 1; /** - * - * *
      * Low impact.
      * 
@@ -1166,8 +1042,6 @@ public enum Impact implements com.google.protobuf.ProtocolMessageEnum { */ public static final int IMPACT_LOW_VALUE = 2; /** - * - * *
      * No impact.
      * 
@@ -1176,6 +1050,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( @@ -1200,51 +1075,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; @@ -1264,14 +1138,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 @@ -1282,8 +1153,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
@@ -1293,16 +1162,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
@@ -1312,104 +1177,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
@@ -1417,16 +1253,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
@@ -1434,62 +1266,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
@@ -1497,16 +1313,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
@@ -1514,95 +1326,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; @@ -1614,44 +1404,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_); } unknownFields.writeTo(output); @@ -1664,43 +1443,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1710,16 +1486,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; @@ -1740,10 +1516,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; @@ -1765,127 +1539,118 @@ 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() @@ -1893,15 +1658,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1927,9 +1693,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 @@ -1948,8 +1714,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_; @@ -1967,39 +1732,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; @@ -2064,16 +1828,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 @@ -2081,36 +1842,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; @@ -2118,8 +1873,6 @@ public Builder clearBaseScore() { private int attackVector_ = 0; /** - * - * *
      * Base Metrics
      * Represents the intrinsic characteristics of a vulnerability that are
@@ -2129,16 +1882,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
@@ -2148,19 +1897,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
@@ -2170,21 +1916,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
@@ -2194,7 +1934,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. */ @@ -2202,14 +1941,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
@@ -2219,11 +1956,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; @@ -2231,98 +1967,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; @@ -2330,103 +2046,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; @@ -2434,8 +2125,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
@@ -2443,16 +2132,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
@@ -2460,19 +2145,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
@@ -2480,21 +2162,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
@@ -2502,23 +2178,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
@@ -2526,11 +2198,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; @@ -2538,69 +2209,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. */ @@ -2608,25 +2265,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; @@ -2634,8 +2288,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
@@ -2643,16 +2295,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
@@ -2660,19 +2308,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
@@ -2680,21 +2325,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
@@ -2702,23 +2341,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
@@ -2726,11 +2361,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; @@ -2738,71 +2372,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. */ @@ -2810,25 +2428,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; @@ -2836,71 +2451,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. */ @@ -2908,32 +2507,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); } @@ -2943,12 +2539,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(); } @@ -2957,16 +2553,16 @@ 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 { - return new Cvssv3(input, extensionRegistry); - } - }; + 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 { + return new Cvssv3(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2981,4 +2577,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.securitycenter.v1.Cvssv3 getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Cvssv3OrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Cvssv3OrBuilder.java similarity index 88% rename from proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Cvssv3OrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Cvssv3OrBuilder.java index 057b0e685..2f70ec964 100644 --- a/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Cvssv3OrBuilder.java +++ b/owl-bot-staging/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/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Database.java b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Database.java new file mode 100644 index 000000000..7ba76605d --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Database.java @@ -0,0 +1,1379 @@ +// 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
+ * instances or Cloud Spanner instances), or the database instance itself.
+ * Some database resources may not have the full resource name populated
+ * because these resource types are not yet supported by Cloud Asset Inventory
+ * (e.g. CloudSQL databases).  In these cases only the display name will be
+ * provided.
+ * 
+ * + * Protobuf type {@code google.cloud.securitycenter.v1.Database} + */ +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; + // Use Database.newBuilder() to construct. + private Database(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private Database() { + name_ = ""; + displayName_ = ""; + userName_ = ""; + query_ = ""; + grantees_ = com.google.protobuf.LazyStringArrayList.EMPTY; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new Database(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private Database( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + name_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + + displayName_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + userName_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + query_ = s; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + grantees_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + grantees_.add(s); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000001) != 0)) { + grantees_ = grantees_.getUnmodifiableView(); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + 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 + .ensureFieldAccessorsInitialized( + 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 + public java.lang.String getName() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + 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() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + 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 + public java.lang.String getDisplayName() { + java.lang.Object ref = displayName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + 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() { + 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); + displayName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + 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 + public java.lang.String getUserName() { + java.lang.Object ref = userName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + 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() { + 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); + userName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + 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 + public java.lang.String getQuery() { + java.lang.Object ref = query_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + 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() { + 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); + query_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + 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() { + 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. + */ + 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) { + return grantees_.getByteString(index); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, displayName_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(userName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, userName_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(query_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, query_); + } + for (int i = 0; i < grantees_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, grantees_.getRaw(i)); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, displayName_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(userName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, userName_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(query_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, query_); + } + { + int dataSize = 0; + for (int i = 0; i < grantees_.size(); i++) { + dataSize += computeStringSizeNoTag(grantees_.getRaw(i)); + } + size += dataSize; + size += 1 * getGranteesList().size(); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + 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; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (37 * hash) + DISPLAY_NAME_FIELD_NUMBER; + hash = (53 * hash) + getDisplayName().hashCode(); + hash = (37 * hash) + USER_NAME_FIELD_NUMBER; + hash = (53 * hash) + getUserName().hashCode(); + hash = (37 * hash) + QUERY_FIELD_NUMBER; + hash = (53 * hash) + getQuery().hashCode(); + if (getGranteesCount() > 0) { + hash = (37 * hash) + GRANTEES_FIELD_NUMBER; + hash = (53 * hash) + getGranteesList().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + 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) + 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) + 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); + } + public static com.google.cloud.securitycenter.v1.Database 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.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) + throws java.io.IOException { + 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); + } + 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); + } + + @java.lang.Override + 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); + } + + @java.lang.Override + 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
+   * instances or Cloud Spanner instances), or the database instance itself.
+   * Some database resources may not have the full resource name populated
+   * because these resource types are not yet supported by Cloud Asset Inventory
+   * (e.g. CloudSQL databases).  In these cases only the display name will be
+   * provided.
+   * 
+ * + * Protobuf type {@code google.cloud.securitycenter.v1.Database} + */ + 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; + } + + @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 + .ensureFieldAccessorsInitialized( + 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() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + name_ = ""; + + displayName_ = ""; + + userName_ = ""; + + query_ = ""; + + grantees_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000001); + return this; + } + + @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; + } + + @java.lang.Override + public com.google.cloud.securitycenter.v1.Database getDefaultInstanceForType() { + return com.google.cloud.securitycenter.v1.Database.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.securitycenter.v1.Database build() { + com.google.cloud.securitycenter.v1.Database result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @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); + int from_bitField0_ = bitField0_; + result.name_ = name_; + result.displayName_ = displayName_; + result.userName_ = userName_; + result.query_ = query_; + if (((bitField0_ & 0x00000001) != 0)) { + grantees_ = grantees_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.grantees_ = grantees_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.securitycenter.v1.Database other) { + if (other == com.google.cloud.securitycenter.v1.Database.getDefaultInstance()) return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + onChanged(); + } + if (!other.getDisplayName().isEmpty()) { + displayName_ = other.displayName_; + onChanged(); + } + if (!other.getUserName().isEmpty()) { + userName_ = other.userName_; + onChanged(); + } + if (!other.getQuery().isEmpty()) { + query_ = other.query_; + onChanged(); + } + if (!other.grantees_.isEmpty()) { + if (grantees_.isEmpty()) { + grantees_ = other.grantees_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureGranteesIsMutable(); + grantees_.addAll(other.grantees_); + } + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.securitycenter.v1.Database parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.securitycenter.v1.Database) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + 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; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * 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() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * 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) { + if (value == null) { + 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) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + name_ = value; + onChanged(); + return this; + } + + 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; + java.lang.String s = bs.toStringUtf8(); + displayName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * 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() { + java.lang.Object ref = displayName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + displayName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * 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) { + if (value == null) { + 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) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + displayName_ = value; + onChanged(); + return this; + } + + 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; + java.lang.String s = bs.toStringUtf8(); + userName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * 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() { + java.lang.Object ref = userName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + userName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * 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) { + if (value == null) { + 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) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + userName_ = value; + onChanged(); + return this; + } + + 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; + java.lang.String s = bs.toStringUtf8(); + query_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * The SQL statement associated with the relevant access.
+     * 
+ * + * string query = 4; + * @return The bytes for query. + */ + 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); + query_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * 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) { + if (value == null) { + 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) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + query_ = value; + onChanged(); + return this; + } + + 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() { + 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. + */ + 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) { + 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) { + if (value == null) { + 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) { + if (value == null) { + 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) { + ensureGranteesIsMutable(); + 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() { + grantees_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000001); + 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 bytes of the grantees to add. + * @return This builder for chaining. + */ + public Builder addGranteesBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + 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) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + 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(); + } + + 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 { + return new Database(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.securitycenter.v1.Database getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DatabaseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DatabaseOrBuilder.java new file mode 100644 index 000000000..11f4f0f36 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DatabaseOrBuilder.java @@ -0,0 +1,138 @@ +// 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 + // @@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(); + + /** + *
+   * 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(); + + /** + *
+   * 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(); + + /** + *
+   * 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(); + + /** + *
+   * 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(); + /** + *
+   * 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); +} diff --git a/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DatabaseProto.java b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DatabaseProto.java new file mode 100644 index 000000000..b28d9f441 --- /dev/null +++ b/owl-bot-staging/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/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DeleteBigQueryExportRequest.java b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DeleteBigQueryExportRequest.java similarity index 66% rename from proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DeleteBigQueryExportRequest.java rename to owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DeleteBigQueryExportRequest.java index e2d85ccf1..3f16b9ad4 100644 --- a/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DeleteBigQueryExportRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DeleteBigQueryExportRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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; } - private DeleteBigQueryExportRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private DeleteBigQueryExportRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,33 +73,29 @@ private DeleteBigQueryExportRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.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},
@@ -125,10 +103,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 @@ -137,15 +112,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},
@@ -153,18 +127,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 { @@ -173,7 +146,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -185,7 +157,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -209,15 +182,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -237,127 +210,117 @@ 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() @@ -365,15 +328,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -383,14 +347,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.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(); } @@ -405,8 +368,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; @@ -416,39 +378,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; @@ -456,9 +417,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(); @@ -482,9 +441,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.securitycenter.v1.DeleteBigQueryExportRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.securitycenter.v1.DeleteBigQueryExportRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -496,8 +453,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},
@@ -505,16 +460,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; @@ -523,8 +476,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. Name of the big query export to delete. Its format is
      * organizations/{organization}/bigQueryExports/{export_id},
@@ -532,17 +483,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 { @@ -550,8 +500,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. Name of the big query export to delete. Its format is
      * organizations/{organization}/bigQueryExports/{export_id},
@@ -559,25 +507,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},
@@ -585,21 +529,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},
@@ -607,26 +546,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); } @@ -636,32 +573,30 @@ 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 { - return new DeleteBigQueryExportRequest(input, extensionRegistry); - } - }; + 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 { + return new DeleteBigQueryExportRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -673,8 +608,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/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DeleteBigQueryExportRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DeleteBigQueryExportRequestOrBuilder.java new file mode 100644 index 000000000..e462d0529 --- /dev/null +++ b/owl-bot-staging/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/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DeleteMuteConfigRequest.java b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DeleteMuteConfigRequest.java similarity index 67% rename from proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DeleteMuteConfigRequest.java rename to owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DeleteMuteConfigRequest.java index 710e89a2b..29b3c12f0 100644 --- a/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DeleteMuteConfigRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DeleteMuteConfigRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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; } - private DeleteMuteConfigRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private DeleteMuteConfigRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,33 +73,29 @@ private DeleteMuteConfigRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.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},
@@ -125,10 +103,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 @@ -137,15 +112,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},
@@ -153,18 +127,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 { @@ -173,7 +146,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -185,7 +157,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -209,15 +182,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -237,127 +210,117 @@ 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() @@ -365,15 +328,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -383,9 +347,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 @@ -404,8 +368,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; @@ -415,39 +378,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; @@ -455,8 +417,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(); @@ -480,8 +441,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.securitycenter.v1.DeleteMuteConfigRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.securitycenter.v1.DeleteMuteConfigRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -493,8 +453,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},
@@ -502,16 +460,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; @@ -520,8 +476,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. Name of the mute config to delete. Its format is
      * organizations/{organization}/muteConfigs/{config_id},
@@ -529,17 +483,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 { @@ -547,8 +500,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. Name of the mute config to delete. Its format is
      * organizations/{organization}/muteConfigs/{config_id},
@@ -556,25 +507,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},
@@ -582,21 +529,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},
@@ -604,26 +546,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); } @@ -633,12 +573,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(); } @@ -647,16 +587,16 @@ 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 { - return new DeleteMuteConfigRequest(input, extensionRegistry); - } - }; + 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 { + return new DeleteMuteConfigRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -671,4 +611,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.securitycenter.v1.DeleteMuteConfigRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DeleteMuteConfigRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DeleteMuteConfigRequestOrBuilder.java new file mode 100644 index 000000000..aa3ea7330 --- /dev/null +++ b/owl-bot-staging/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/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DeleteNotificationConfigRequest.java b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DeleteNotificationConfigRequest.java similarity index 62% rename from proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DeleteNotificationConfigRequest.java rename to owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DeleteNotificationConfigRequest.java index a660730d1..7e2dda533 100644 --- a/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DeleteNotificationConfigRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DeleteNotificationConfigRequest.java @@ -1,58 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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; } - private DeleteNotificationConfigRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,20 +53,19 @@ private DeleteNotificationConfigRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,42 +73,35 @@ private DeleteNotificationConfigRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.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 @@ -136,32 +110,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. 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 { @@ -170,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -182,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -206,15 +178,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -234,145 +206,134 @@ 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() + // Construct using com.google.cloud.securitycenter.v1.DeleteNotificationConfigRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -382,16 +343,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 @@ -405,8 +364,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; @@ -416,51 +374,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(); @@ -484,9 +437,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.securitycenter.v1.DeleteNotificationConfigRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.securitycenter.v1.DeleteNotificationConfigRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -498,23 +449,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; @@ -523,24 +470,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 { @@ -548,77 +492,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); } @@ -628,32 +559,30 @@ 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 { - return new DeleteNotificationConfigRequest(input, extensionRegistry); - } - }; + 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 { + return new DeleteNotificationConfigRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -665,8 +594,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/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DeleteNotificationConfigRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DeleteNotificationConfigRequestOrBuilder.java new file mode 100644 index 000000000..e75642df2 --- /dev/null +++ b/owl-bot-staging/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/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/EnvironmentVariable.java b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/EnvironmentVariable.java similarity index 69% rename from proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/EnvironmentVariable.java rename to owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/EnvironmentVariable.java index b9509f210..dc2e89732 100644 --- a/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/EnvironmentVariable.java +++ b/owl-bot-staging/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,15 +27,16 @@ 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;
   }
-
   private EnvironmentVariable(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -72,27 +55,25 @@ private EnvironmentVariable(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            name_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              val_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            val_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -100,39 +81,34 @@ private EnvironmentVariable(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.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 @@ -141,29 +117,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 { @@ -174,14 +150,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 @@ -190,29 +163,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 { @@ -221,7 +194,6 @@ public com.google.protobuf.ByteString getValBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -233,7 +205,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -263,16 +236,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -294,104 +268,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.
@@ -399,23 +365,21 @@ 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()
@@ -423,15 +387,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -443,9 +408,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
@@ -464,8 +429,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();
@@ -476,39 +440,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;
@@ -516,8 +479,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();
@@ -545,8 +507,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.securitycenter.v1.EnvironmentVariable) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.securitycenter.v1.EnvironmentVariable) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -558,20 +519,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; @@ -580,21 +539,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 { @@ -602,61 +560,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; @@ -664,20 +615,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; @@ -686,21 +635,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 { @@ -708,68 +656,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); } @@ -779,12 +720,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(); } @@ -793,16 +734,16 @@ 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 { - return new EnvironmentVariable(input, extensionRegistry); - } - }; + 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 { + return new EnvironmentVariable(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -817,4 +758,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.securitycenter.v1.EnvironmentVariable getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/EnvironmentVariableOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/EnvironmentVariableOrBuilder.java similarity index 55% rename from proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/EnvironmentVariableOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/EnvironmentVariableOrBuilder.java index a041145cf..bcbbd3523 100644 --- a/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/EnvironmentVariableOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ExfilResource.java b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ExfilResource.java similarity index 74% rename from proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ExfilResource.java rename to owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ExfilResource.java index 79365402d..840ff6c82 100644 --- a/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ExfilResource.java +++ b/owl-bot-staging/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,15 +26,16 @@ 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; } - private ExfilResource( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,30 +55,28 @@ private ExfilResource( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - components_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - components_.add(s); - break; + name_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + components_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + components_.add(s); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -103,7 +84,8 @@ private ExfilResource( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { components_ = components_.getUnmodifiableView(); @@ -112,33 +94,27 @@ private ExfilResource( makeExtensionsImmutable(); } } - - 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 @@ -147,29 +123,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 { @@ -180,8 +156,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.
@@ -190,15 +164,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.
@@ -207,15 +179,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.
@@ -224,7 +193,6 @@ public int getComponentsCount() {
    * 
* * repeated string components = 2; - * * @param index The index of the element to return. * @return The components at the given index. */ @@ -232,8 +200,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.
@@ -242,16 +208,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; @@ -263,7 +228,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -298,16 +264,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -330,127 +297,118 @@ 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() @@ -458,15 +416,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -478,9 +437,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 @@ -499,8 +458,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)) { @@ -516,39 +474,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; @@ -556,8 +513,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(); @@ -600,25 +556,22 @@ public Builder mergeFrom( } 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; @@ -627,21 +580,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 { @@ -649,78 +601,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.
@@ -729,15 +670,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.
@@ -746,15 +685,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.
@@ -763,7 +699,6 @@ public int getComponentsCount() {
      * 
* * repeated string components = 2; - * * @param index The index of the element to return. * @return The components at the given index. */ @@ -771,8 +706,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.
@@ -781,16 +714,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.
@@ -799,23 +730,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.
@@ -824,22 +753,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.
@@ -848,19 +775,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.
@@ -869,7 +795,6 @@ public Builder addAllComponents(java.lang.Iterable values) {
      * 
* * repeated string components = 2; - * * @return This builder for chaining. */ public Builder clearComponents() { @@ -879,8 +804,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.
@@ -889,23 +812,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); } @@ -915,12 +838,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(); } @@ -929,16 +852,16 @@ 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 { - return new ExfilResource(input, extensionRegistry); - } - }; + 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 { + return new ExfilResource(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -953,4 +876,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.securitycenter.v1.ExfilResource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ExfilResourceOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ExfilResourceOrBuilder.java similarity index 73% rename from proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ExfilResourceOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ExfilResourceOrBuilder.java index 40756efb7..544908750 100644 --- a/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ExfilResourceOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Exfiltration.java b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Exfiltration.java similarity index 78% rename from proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Exfiltration.java rename to owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Exfiltration.java index 7d864369b..e39c44786 100644 --- a/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Exfiltration.java +++ b/owl-bot-staging/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,15 +29,16 @@ 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;
   }
-
   private Exfiltration(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -75,39 +58,31 @@ private Exfiltration(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                sources_ =
-                    new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              sources_.add(
-                  input.readMessage(
-                      com.google.cloud.securitycenter.v1.ExfilResource.parser(),
-                      extensionRegistry));
-              break;
+          case 10: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              sources_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          case 18:
-            {
-              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                targets_ =
-                    new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000002;
-              }
-              targets_.add(
-                  input.readMessage(
-                      com.google.cloud.securitycenter.v1.ExfilResource.parser(),
-                      extensionRegistry));
-              break;
+            sources_.add(
+                input.readMessage(com.google.cloud.securitycenter.v1.ExfilResource.parser(), extensionRegistry));
+            break;
+          }
+          case 18: {
+            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+              targets_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000002;
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            targets_.add(
+                input.readMessage(com.google.cloud.securitycenter.v1.ExfilResource.parser(), extensionRegistry));
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -115,7 +90,8 @@ private Exfiltration(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         sources_ = java.util.Collections.unmodifiableList(sources_);
@@ -127,27 +103,22 @@ private Exfiltration(
       makeExtensionsImmutable();
     }
   }
-
-  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
@@ -161,8 +132,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
@@ -172,13 +141,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
@@ -192,8 +159,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
@@ -207,8 +172,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
@@ -218,15 +181,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.
@@ -239,8 +201,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.
@@ -249,13 +209,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.
@@ -268,8 +226,6 @@ public int getTargetsCount() {
     return targets_.size();
   }
   /**
-   *
-   *
    * 
    * If there are multiple targets, each target would get a complete copy of the
    * "joined" source data.
@@ -282,8 +238,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.
@@ -292,12 +246,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;
@@ -309,7 +263,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  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));
     }
@@ -326,10 +281,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 += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -339,16 +296,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 (!unknownFields.equals(other.unknownFields)) return false;
     return true;
   }
@@ -373,104 +331,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
@@ -480,23 +431,21 @@ 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()
@@ -504,18 +453,18 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getSourcesFieldBuilder();
         getTargetsFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -535,9 +484,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
@@ -556,8 +505,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)) {
@@ -585,39 +533,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;
@@ -625,8 +572,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()) {
@@ -645,10 +591,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_);
           }
@@ -672,10 +617,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_);
           }
@@ -709,29 +653,21 @@ public Builder mergeFrom(
       }
       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
@@ -748,8 +684,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
@@ -766,8 +700,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
@@ -784,8 +716,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
@@ -794,7 +724,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();
@@ -808,8 +739,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
@@ -830,8 +759,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
@@ -854,8 +781,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
@@ -864,7 +789,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();
@@ -878,8 +804,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
@@ -900,8 +824,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
@@ -922,8 +844,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
@@ -936,7 +856,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);
@@ -944,8 +865,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
@@ -965,8 +884,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
@@ -986,8 +903,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
@@ -996,12 +911,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
@@ -1013,14 +927,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
@@ -1029,8 +940,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 {
@@ -1038,8 +949,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
@@ -1049,12 +958,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
@@ -1063,13 +970,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
@@ -1078,48 +984,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.
@@ -1135,8 +1031,6 @@ public java.util.List getTarge
       }
     }
     /**
-     *
-     *
      * 
      * If there are multiple targets, each target would get a complete copy of the
      * "joined" source data.
@@ -1152,8 +1046,6 @@ public int getTargetsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * If there are multiple targets, each target would get a complete copy of the
      * "joined" source data.
@@ -1169,8 +1061,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.
@@ -1178,7 +1068,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();
@@ -1192,8 +1083,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.
@@ -1213,8 +1102,6 @@ public Builder setTargets(
       return this;
     }
     /**
-     *
-     *
      * 
      * If there are multiple targets, each target would get a complete copy of the
      * "joined" source data.
@@ -1236,8 +1123,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.
@@ -1245,7 +1130,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();
@@ -1259,8 +1145,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.
@@ -1280,8 +1164,6 @@ public Builder addTargets(
       return this;
     }
     /**
-     *
-     *
      * 
      * If there are multiple targets, each target would get a complete copy of the
      * "joined" source data.
@@ -1301,8 +1183,6 @@ public Builder addTargets(
       return this;
     }
     /**
-     *
-     *
      * 
      * If there are multiple targets, each target would get a complete copy of the
      * "joined" source data.
@@ -1314,7 +1194,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);
@@ -1322,8 +1203,6 @@ public Builder addAllTargets(
       return this;
     }
     /**
-     *
-     *
      * 
      * If there are multiple targets, each target would get a complete copy of the
      * "joined" source data.
@@ -1342,8 +1221,6 @@ public Builder clearTargets() {
       return this;
     }
     /**
-     *
-     *
      * 
      * If there are multiple targets, each target would get a complete copy of the
      * "joined" source data.
@@ -1362,8 +1239,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.
@@ -1371,12 +1246,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.
@@ -1387,14 +1261,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.
@@ -1402,8 +1273,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 {
@@ -1411,8 +1282,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.
@@ -1421,12 +1290,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.
@@ -1434,13 +1301,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.
@@ -1448,30 +1314,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);
     }
 
@@ -1481,12 +1344,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();
   }
@@ -1495,16 +1358,16 @@ 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 {
-          return new Exfiltration(input, extensionRegistry);
-        }
-      };
+  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 {
+      return new Exfiltration(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1519,4 +1382,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.securitycenter.v1.Exfiltration getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ExfiltrationOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ExfiltrationOrBuilder.java
similarity index 80%
rename from proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ExfiltrationOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ExfiltrationOrBuilder.java
index f84ebb366..5167c57ad 100644
--- a/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ExfiltrationOrBuilder.java
+++ b/owl-bot-staging/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/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ExfiltrationProto.java b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ExfiltrationProto.java
new file mode 100644
index 000000000..d524306b3
--- /dev/null
+++ b/owl-bot-staging/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/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ExternalSystem.java b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ExternalSystem.java
similarity index 74%
rename from proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ExternalSystem.java
rename to owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ExternalSystem.java
index fd9a7f95c..0ea1bcb0e 100644
--- a/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ExternalSystem.java
+++ b/owl-bot-staging/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,15 +28,16 @@ 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; } - private ExternalSystem( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -74,59 +57,53 @@ private ExternalSystem( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - assignees_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - assignees_.add(s); - break; + name_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + assignees_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + assignees_.add(s); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - externalUid_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + externalUid_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - status_ = s; - break; + status_ = s; + break; + } + case 42: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (externalSystemUpdateTime_ != null) { + subBuilder = externalSystemUpdateTime_.toBuilder(); } - case 42: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (externalSystemUpdateTime_ != null) { - subBuilder = externalSystemUpdateTime_.toBuilder(); - } - externalSystemUpdateTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(externalSystemUpdateTime_); - externalSystemUpdateTime_ = subBuilder.buildPartial(); - } - - break; + externalSystemUpdateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(externalSystemUpdateTime_); + externalSystemUpdateTime_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -134,7 +111,8 @@ private ExternalSystem( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { assignees_ = assignees_.getUnmodifiableView(); @@ -143,27 +121,22 @@ private ExternalSystem( makeExtensionsImmutable(); } } - - 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.:
@@ -173,7 +146,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -182,15 +154,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.:
@@ -200,15 +171,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 { @@ -219,42 +191,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. */ @@ -262,32 +226,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 @@ -296,29 +255,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 { @@ -329,15 +288,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 @@ -346,30 +302,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 { @@ -380,15 +336,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 @@ -396,26 +349,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.
@@ -429,7 +375,6 @@ public com.google.protobuf.TimestampOrBuilder getExternalSystemUpdateTimeOrBuild
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -441,7 +386,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
     }
@@ -484,9 +430,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 += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -496,21 +441,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 (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -543,126 +492,117 @@ 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() @@ -670,15 +610,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -700,9 +641,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 @@ -721,8 +662,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)) { @@ -745,39 +685,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; @@ -785,8 +724,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(); @@ -831,8 +769,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.securitycenter.v1.ExternalSystem) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.securitycenter.v1.ExternalSystem) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -841,13 +778,10 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * External System Name e.g. jira, demisto, etc.
      *  e.g.:
@@ -857,13 +791,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; @@ -872,8 +806,6 @@ public java.lang.String getName() { } } /** - * - * *
      * External System Name e.g. jira, demisto, etc.
      *  e.g.:
@@ -883,14 +815,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 { @@ -898,8 +831,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * External System Name e.g. jira, demisto, etc.
      *  e.g.:
@@ -909,22 +840,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.:
@@ -934,18 +863,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.:
@@ -955,67 +881,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. */ @@ -1023,90 +939,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() { @@ -1116,22 +1022,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(); @@ -1140,20 +1044,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; @@ -1162,21 +1064,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 { @@ -1184,61 +1085,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; @@ -1246,21 +1140,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; @@ -1269,22 +1161,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 { @@ -1292,64 +1183,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; @@ -1357,49 +1241,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.
@@ -1421,8 +1292,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.
@@ -1442,8 +1311,6 @@ public Builder setExternalSystemUpdateTime(
       return this;
     }
     /**
-     *
-     *
      * 
      * The most recent time when the corresponding finding's ticket/tracker was
      * updated in the external system.
@@ -1455,9 +1322,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;
         }
@@ -1469,8 +1334,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.
@@ -1490,8 +1353,6 @@ public Builder clearExternalSystemUpdateTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The most recent time when the corresponding finding's ticket/tracker was
      * updated in the external system.
@@ -1500,13 +1361,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.
@@ -1518,14 +1377,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.
@@ -1534,24 +1390,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);
     }
 
@@ -1561,12 +1414,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();
   }
@@ -1575,16 +1428,16 @@ 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 {
-          return new ExternalSystem(input, extensionRegistry);
-        }
-      };
+  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 {
+      return new ExternalSystem(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1599,4 +1452,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.securitycenter.v1.ExternalSystem getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ExternalSystemOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ExternalSystemOrBuilder.java
similarity index 78%
rename from proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ExternalSystemOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ExternalSystemOrBuilder.java
index ccb54495b..2f83a97f8 100644
--- a/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ExternalSystemOrBuilder.java
+++ b/owl-bot-staging/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/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ExternalSystemProto.java b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ExternalSystemProto.java
new file mode 100644
index 000000000..8d9028c66
--- /dev/null
+++ b/owl-bot-staging/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/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/File.java b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/File.java
similarity index 73%
rename from proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/File.java
rename to owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/File.java
index 6c0279a19..fc0355e53 100644
--- a/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/File.java
+++ b/owl-bot-staging/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,15 +28,16 @@ private File() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new File();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private File(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -73,49 +56,46 @@ private File(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              path_ = s;
-              break;
-            }
-          case 16:
-            {
-              size_ = input.readInt64();
-              break;
-            }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            path_ = s;
+            break;
+          }
+          case 16: {
 
-              sha256_ = s;
-              break;
-            }
-          case 32:
-            {
-              hashedSize_ = input.readInt64();
-              break;
-            }
-          case 40:
-            {
-              partiallyHashed_ = input.readBool();
-              break;
-            }
-          case 50:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            size_ = input.readInt64();
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              contents_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            sha256_ = s;
+            break;
+          }
+          case 32: {
+
+            hashedSize_ = input.readInt64();
+            break;
+          }
+          case 40: {
+
+            partiallyHashed_ = input.readBool();
+            break;
+          }
+          case 50: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            contents_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -123,39 +103,34 @@ private File(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  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 @@ -164,29 +139,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 { @@ -197,14 +172,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 @@ -215,8 +187,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
@@ -224,7 +194,6 @@ public long getSize() {
    * 
* * string sha256 = 3; - * * @return The sha256. */ @java.lang.Override @@ -233,15 +202,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
@@ -249,15 +217,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 { @@ -268,8 +237,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
@@ -277,7 +244,6 @@ public com.google.protobuf.ByteString getSha256Bytes() {
    * 
* * int64 hashed_size = 4; - * * @return The hashedSize. */ @java.lang.Override @@ -288,14 +254,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 @@ -306,15 +269,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 @@ -323,30 +283,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 { @@ -355,7 +315,6 @@ public com.google.protobuf.ByteString getContentsBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -367,7 +326,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -399,16 +359,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_); @@ -421,19 +384,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -448,13 +417,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) + unknownFields.hashCode(); @@ -462,104 +434,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
@@ -567,23 +532,21 @@ 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()
@@ -591,15 +554,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -619,9 +583,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
@@ -640,8 +604,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_;
@@ -656,39 +619,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;
@@ -749,20 +711,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; @@ -771,21 +731,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 { @@ -793,76 +752,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 @@ -870,36 +819,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; @@ -907,8 +850,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
@@ -916,13 +857,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; @@ -931,8 +872,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
@@ -940,14 +879,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 { @@ -955,8 +895,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
@@ -964,22 +902,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
@@ -987,18 +923,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
@@ -1006,25 +939,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
@@ -1032,7 +963,6 @@ public Builder setSha256Bytes(com.google.protobuf.ByteString value) {
      * 
* * int64 hashed_size = 4; - * * @return The hashedSize. */ @java.lang.Override @@ -1040,8 +970,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
@@ -1049,19 +977,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
@@ -1069,26 +994,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 @@ -1096,36 +1017,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; @@ -1133,21 +1048,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; @@ -1156,22 +1069,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 { @@ -1179,71 +1091,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); } @@ -1253,12 +1158,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(); } @@ -1267,16 +1172,16 @@ 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 { - return new File(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public File parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new File(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1291,4 +1196,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.securitycenter.v1.File getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FileOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FileOrBuilder.java similarity index 72% rename from proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FileOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FileOrBuilder.java index 421dafb03..04a82d41e 100644 --- a/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FileOrBuilder.java +++ b/owl-bot-staging/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/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FileProto.java b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FileProto.java new file mode 100644 index 000000000..1ac1d8dbf --- /dev/null +++ b/owl-bot-staging/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/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Finding.java b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Finding.java similarity index 74% rename from proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Finding.java rename to owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Finding.java index cd44fba17..eb4cf38ce 100644 --- a/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Finding.java +++ b/owl-bot-staging/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_ = "";
@@ -65,15 +47,16 @@ private Finding() {
 
   @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;
   }
-
   private Finding(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -93,374 +76,318 @@ private Finding(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            name_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              parent_ = s;
-              break;
-            }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            parent_ = s;
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              resourceName_ = s;
-              break;
-            }
-          case 32:
-            {
-              int rawValue = input.readEnum();
+            resourceName_ = s;
+            break;
+          }
+          case 32: {
+            int rawValue = input.readEnum();
 
-              state_ = rawValue;
-              break;
-            }
-          case 42:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            state_ = rawValue;
+            break;
+          }
+          case 42: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              category_ = s;
-              break;
-            }
-          case 50:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            category_ = s;
+            break;
+          }
+          case 50: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              externalUri_ = s;
-              break;
+            externalUri_ = s;
+            break;
+          }
+          case 58: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              sourceProperties_ = com.google.protobuf.MapField.newMapField(
+                  SourcePropertiesDefaultEntryHolder.defaultEntry);
+              mutable_bitField0_ |= 0x00000001;
             }
-          case 58:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                sourceProperties_ =
-                    com.google.protobuf.MapField.newMapField(
-                        SourcePropertiesDefaultEntryHolder.defaultEntry);
-                mutable_bitField0_ |= 0x00000001;
-              }
-              com.google.protobuf.MapEntry
-                  sourceProperties__ =
-                      input.readMessage(
-                          SourcePropertiesDefaultEntryHolder.defaultEntry.getParserForType(),
-                          extensionRegistry);
-              sourceProperties_
-                  .getMutableMap()
-                  .put(sourceProperties__.getKey(), sourceProperties__.getValue());
-              break;
+            com.google.protobuf.MapEntry
+            sourceProperties__ = input.readMessage(
+                SourcePropertiesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+            sourceProperties_.getMutableMap().put(
+                sourceProperties__.getKey(), sourceProperties__.getValue());
+            break;
+          }
+          case 66: {
+            com.google.cloud.securitycenter.v1.SecurityMarks.Builder subBuilder = null;
+            if (securityMarks_ != null) {
+              subBuilder = securityMarks_.toBuilder();
             }
-          case 66:
-            {
-              com.google.cloud.securitycenter.v1.SecurityMarks.Builder subBuilder = null;
-              if (securityMarks_ != null) {
-                subBuilder = securityMarks_.toBuilder();
-              }
-              securityMarks_ =
-                  input.readMessage(
-                      com.google.cloud.securitycenter.v1.SecurityMarks.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(securityMarks_);
-                securityMarks_ = subBuilder.buildPartial();
-              }
-
-              break;
+            securityMarks_ = input.readMessage(com.google.cloud.securitycenter.v1.SecurityMarks.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(securityMarks_);
+              securityMarks_ = subBuilder.buildPartial();
             }
-          case 74:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (eventTime_ != null) {
-                subBuilder = eventTime_.toBuilder();
-              }
-              eventTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(eventTime_);
-                eventTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+
+            break;
+          }
+          case 74: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (eventTime_ != null) {
+              subBuilder = eventTime_.toBuilder();
             }
-          case 82:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (createTime_ != null) {
-                subBuilder = createTime_.toBuilder();
-              }
-              createTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(createTime_);
-                createTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+            eventTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(eventTime_);
+              eventTime_ = subBuilder.buildPartial();
             }
-          case 96:
-            {
-              int rawValue = input.readEnum();
 
-              severity_ = rawValue;
-              break;
+            break;
+          }
+          case 82: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (createTime_ != null) {
+              subBuilder = createTime_.toBuilder();
             }
-          case 114:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
-
-              canonicalName_ = s;
-              break;
+            createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(createTime_);
+              createTime_ = subBuilder.buildPartial();
             }
-          case 120:
-            {
-              int rawValue = input.readEnum();
 
-              mute_ = rawValue;
-              break;
+            break;
+          }
+          case 96: {
+            int rawValue = input.readEnum();
+
+            severity_ = rawValue;
+            break;
+          }
+          case 114: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            canonicalName_ = s;
+            break;
+          }
+          case 120: {
+            int rawValue = input.readEnum();
+
+            mute_ = rawValue;
+            break;
+          }
+          case 136: {
+            int rawValue = input.readEnum();
+
+            findingClass_ = rawValue;
+            break;
+          }
+          case 146: {
+            com.google.cloud.securitycenter.v1.Indicator.Builder subBuilder = null;
+            if (indicator_ != null) {
+              subBuilder = indicator_.toBuilder();
+            }
+            indicator_ = input.readMessage(com.google.cloud.securitycenter.v1.Indicator.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(indicator_);
+              indicator_ = subBuilder.buildPartial();
             }
-          case 136:
-            {
-              int rawValue = input.readEnum();
 
-              findingClass_ = rawValue;
-              break;
+            break;
+          }
+          case 162: {
+            com.google.cloud.securitycenter.v1.Vulnerability.Builder subBuilder = null;
+            if (vulnerability_ != null) {
+              subBuilder = vulnerability_.toBuilder();
             }
-          case 146:
-            {
-              com.google.cloud.securitycenter.v1.Indicator.Builder subBuilder = null;
-              if (indicator_ != null) {
-                subBuilder = indicator_.toBuilder();
-              }
-              indicator_ =
-                  input.readMessage(
-                      com.google.cloud.securitycenter.v1.Indicator.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(indicator_);
-                indicator_ = subBuilder.buildPartial();
-              }
-
-              break;
+            vulnerability_ = input.readMessage(com.google.cloud.securitycenter.v1.Vulnerability.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(vulnerability_);
+              vulnerability_ = subBuilder.buildPartial();
             }
-          case 162:
-            {
-              com.google.cloud.securitycenter.v1.Vulnerability.Builder subBuilder = null;
-              if (vulnerability_ != null) {
-                subBuilder = vulnerability_.toBuilder();
-              }
-              vulnerability_ =
-                  input.readMessage(
-                      com.google.cloud.securitycenter.v1.Vulnerability.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(vulnerability_);
-                vulnerability_ = subBuilder.buildPartial();
-              }
-
-              break;
+
+            break;
+          }
+          case 170: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (muteUpdateTime_ != null) {
+              subBuilder = muteUpdateTime_.toBuilder();
             }
-          case 170:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (muteUpdateTime_ != null) {
-                subBuilder = muteUpdateTime_.toBuilder();
-              }
-              muteUpdateTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(muteUpdateTime_);
-                muteUpdateTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+            muteUpdateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(muteUpdateTime_);
+              muteUpdateTime_ = subBuilder.buildPartial();
             }
-          case 178:
-            {
-              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                externalSystems_ =
-                    com.google.protobuf.MapField.newMapField(
-                        ExternalSystemsDefaultEntryHolder.defaultEntry);
-                mutable_bitField0_ |= 0x00000002;
-              }
-              com.google.protobuf.MapEntry<
-                      java.lang.String, com.google.cloud.securitycenter.v1.ExternalSystem>
-                  externalSystems__ =
-                      input.readMessage(
-                          ExternalSystemsDefaultEntryHolder.defaultEntry.getParserForType(),
-                          extensionRegistry);
-              externalSystems_
-                  .getMutableMap()
-                  .put(externalSystems__.getKey(), externalSystems__.getValue());
-              break;
+
+            break;
+          }
+          case 178: {
+            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+              externalSystems_ = com.google.protobuf.MapField.newMapField(
+                  ExternalSystemsDefaultEntryHolder.defaultEntry);
+              mutable_bitField0_ |= 0x00000002;
             }
-          case 202:
-            {
-              com.google.cloud.securitycenter.v1.MitreAttack.Builder subBuilder = null;
-              if (mitreAttack_ != null) {
-                subBuilder = mitreAttack_.toBuilder();
-              }
-              mitreAttack_ =
-                  input.readMessage(
-                      com.google.cloud.securitycenter.v1.MitreAttack.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(mitreAttack_);
-                mitreAttack_ = subBuilder.buildPartial();
-              }
-
-              break;
+            com.google.protobuf.MapEntry
+            externalSystems__ = input.readMessage(
+                ExternalSystemsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+            externalSystems_.getMutableMap().put(
+                externalSystems__.getKey(), externalSystems__.getValue());
+            break;
+          }
+          case 202: {
+            com.google.cloud.securitycenter.v1.MitreAttack.Builder subBuilder = null;
+            if (mitreAttack_ != null) {
+              subBuilder = mitreAttack_.toBuilder();
             }
-          case 210:
-            {
-              com.google.cloud.securitycenter.v1.Access.Builder subBuilder = null;
-              if (access_ != null) {
-                subBuilder = access_.toBuilder();
-              }
-              access_ =
-                  input.readMessage(
-                      com.google.cloud.securitycenter.v1.Access.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(access_);
-                access_ = subBuilder.buildPartial();
-              }
-
-              break;
+            mitreAttack_ = input.readMessage(com.google.cloud.securitycenter.v1.MitreAttack.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(mitreAttack_);
+              mitreAttack_ = subBuilder.buildPartial();
             }
-          case 226:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
 
-              muteInitiator_ = s;
-              break;
+            break;
+          }
+          case 210: {
+            com.google.cloud.securitycenter.v1.Access.Builder subBuilder = null;
+            if (access_ != null) {
+              subBuilder = access_.toBuilder();
             }
-          case 242:
-            {
-              if (!((mutable_bitField0_ & 0x00000008) != 0)) {
-                processes_ = new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000008;
-              }
-              processes_.add(
-                  input.readMessage(
-                      com.google.cloud.securitycenter.v1.Process.parser(), extensionRegistry));
-              break;
+            access_ = input.readMessage(com.google.cloud.securitycenter.v1.Access.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(access_);
+              access_ = subBuilder.buildPartial();
+            }
+
+            break;
+          }
+          case 226: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            muteInitiator_ = s;
+            break;
+          }
+          case 242: {
+            if (!((mutable_bitField0_ & 0x00000008) != 0)) {
+              processes_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000008;
             }
-          case 250:
-            {
-              if (!((mutable_bitField0_ & 0x00000004) != 0)) {
-                connections_ =
-                    new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000004;
-              }
-              connections_.add(
-                  input.readMessage(
-                      com.google.cloud.securitycenter.v1.Connection.parser(), extensionRegistry));
-              break;
+            processes_.add(
+                input.readMessage(com.google.cloud.securitycenter.v1.Process.parser(), extensionRegistry));
+            break;
+          }
+          case 250: {
+            if (!((mutable_bitField0_ & 0x00000004) != 0)) {
+              connections_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000004;
             }
-          case 266:
-            {
-              if (!((mutable_bitField0_ & 0x00000010) != 0)) {
-                contacts_ =
-                    com.google.protobuf.MapField.newMapField(
-                        ContactsDefaultEntryHolder.defaultEntry);
-                mutable_bitField0_ |= 0x00000010;
-              }
-              com.google.protobuf.MapEntry<
-                      java.lang.String, com.google.cloud.securitycenter.v1.ContactDetails>
-                  contacts__ =
-                      input.readMessage(
-                          ContactsDefaultEntryHolder.defaultEntry.getParserForType(),
-                          extensionRegistry);
-              contacts_.getMutableMap().put(contacts__.getKey(), contacts__.getValue());
-              break;
+            connections_.add(
+                input.readMessage(com.google.cloud.securitycenter.v1.Connection.parser(), extensionRegistry));
+            break;
+          }
+          case 266: {
+            if (!((mutable_bitField0_ & 0x00000010) != 0)) {
+              contacts_ = com.google.protobuf.MapField.newMapField(
+                  ContactsDefaultEntryHolder.defaultEntry);
+              mutable_bitField0_ |= 0x00000010;
             }
-          case 274:
-            {
-              if (!((mutable_bitField0_ & 0x00000020) != 0)) {
-                compliances_ =
-                    new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000020;
-              }
-              compliances_.add(
-                  input.readMessage(
-                      com.google.cloud.securitycenter.v1.Compliance.parser(), extensionRegistry));
-              break;
+            com.google.protobuf.MapEntry
+            contacts__ = input.readMessage(
+                ContactsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+            contacts_.getMutableMap().put(
+                contacts__.getKey(), contacts__.getValue());
+            break;
+          }
+          case 274: {
+            if (!((mutable_bitField0_ & 0x00000020) != 0)) {
+              compliances_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000020;
             }
-          case 298:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            compliances_.add(
+                input.readMessage(com.google.cloud.securitycenter.v1.Compliance.parser(), extensionRegistry));
+            break;
+          }
+          case 298: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              description_ = s;
-              break;
+            description_ = s;
+            break;
+          }
+          case 306: {
+            com.google.cloud.securitycenter.v1.Exfiltration.Builder subBuilder = null;
+            if (exfiltration_ != null) {
+              subBuilder = exfiltration_.toBuilder();
             }
-          case 306:
-            {
-              com.google.cloud.securitycenter.v1.Exfiltration.Builder subBuilder = null;
-              if (exfiltration_ != null) {
-                subBuilder = exfiltration_.toBuilder();
-              }
-              exfiltration_ =
-                  input.readMessage(
-                      com.google.cloud.securitycenter.v1.Exfiltration.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(exfiltration_);
-                exfiltration_ = subBuilder.buildPartial();
-              }
-
-              break;
+            exfiltration_ = input.readMessage(com.google.cloud.securitycenter.v1.Exfiltration.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(exfiltration_);
+              exfiltration_ = subBuilder.buildPartial();
             }
-          case 314:
-            {
-              if (!((mutable_bitField0_ & 0x00000040) != 0)) {
-                iamBindings_ =
-                    new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000040;
-              }
-              iamBindings_.add(
-                  input.readMessage(
-                      com.google.cloud.securitycenter.v1.IamBinding.parser(), extensionRegistry));
-              break;
+
+            break;
+          }
+          case 314: {
+            if (!((mutable_bitField0_ & 0x00000040) != 0)) {
+              iamBindings_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000040;
             }
-          case 322:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            iamBindings_.add(
+                input.readMessage(com.google.cloud.securitycenter.v1.IamBinding.parser(), extensionRegistry));
+            break;
+          }
+          case 322: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              nextSteps_ = s;
-              break;
+            nextSteps_ = s;
+            break;
+          }
+          case 338: {
+            if (!((mutable_bitField0_ & 0x00000080) != 0)) {
+              containers_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000080;
+            }
+            containers_.add(
+                input.readMessage(com.google.cloud.securitycenter.v1.Container.parser(), extensionRegistry));
+            break;
+          }
+          case 346: {
+            com.google.cloud.securitycenter.v1.Kubernetes.Builder subBuilder = null;
+            if (kubernetes_ != null) {
+              subBuilder = kubernetes_.toBuilder();
+            }
+            kubernetes_ = input.readMessage(com.google.cloud.securitycenter.v1.Kubernetes.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(kubernetes_);
+              kubernetes_ = subBuilder.buildPartial();
             }
-          case 338:
-            {
-              if (!((mutable_bitField0_ & 0x00000080) != 0)) {
-                containers_ =
-                    new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000080;
-              }
-              containers_.add(
-                  input.readMessage(
-                      com.google.cloud.securitycenter.v1.Container.parser(), extensionRegistry));
-              break;
+
+            break;
+          }
+          case 354: {
+            com.google.cloud.securitycenter.v1.Database.Builder subBuilder = null;
+            if (database_ != null) {
+              subBuilder = database_.toBuilder();
             }
-          case 346:
-            {
-              com.google.cloud.securitycenter.v1.Kubernetes.Builder subBuilder = null;
-              if (kubernetes_ != null) {
-                subBuilder = kubernetes_.toBuilder();
-              }
-              kubernetes_ =
-                  input.readMessage(
-                      com.google.cloud.securitycenter.v1.Kubernetes.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(kubernetes_);
-                kubernetes_ = subBuilder.buildPartial();
-              }
-
-              break;
+            database_ = input.readMessage(com.google.cloud.securitycenter.v1.Database.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(database_);
+              database_ = subBuilder.buildPartial();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -468,7 +395,8 @@ private Finding(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000008) != 0)) {
         processes_ = java.util.Collections.unmodifiableList(processes_);
@@ -489,15 +417,15 @@ private Finding(
       makeExtensionsImmutable();
     }
   }
-
-  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();
@@ -506,33 +434,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.
      * 
@@ -541,8 +464,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
      * The finding requires attention and has not been addressed yet.
      * 
@@ -551,8 +472,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.
@@ -565,8 +484,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Unspecified state.
      * 
@@ -575,8 +492,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.
      * 
@@ -585,8 +500,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.
@@ -596,6 +509,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(
@@ -620,49 +534,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;
@@ -680,18 +594,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.
@@ -701,8 +612,6 @@ public enum Severity implements com.google.protobuf.ProtocolMessageEnum {
      */
     SEVERITY_UNSPECIFIED(0),
     /**
-     *
-     *
      * 
      * Vulnerability:
      * A critical vulnerability is easily discoverable by an external actor,
@@ -719,8 +628,6 @@ public enum Severity implements com.google.protobuf.ProtocolMessageEnum {
      */
     CRITICAL(1),
     /**
-     *
-     *
      * 
      * Vulnerability:
      * A high risk vulnerability can be easily discovered and exploited in
@@ -740,8 +647,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
@@ -760,8 +665,6 @@ public enum Severity implements com.google.protobuf.ProtocolMessageEnum {
      */
     MEDIUM(3),
     /**
-     *
-     *
      * 
      * Vulnerability:
      * A low risk vulnerability hampers a security organization's ability to
@@ -780,8 +683,6 @@ public enum Severity implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * This value is used for findings when a source doesn't write a severity
      * value.
@@ -791,8 +692,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,
@@ -809,8 +708,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
@@ -830,8 +727,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
@@ -850,8 +745,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
@@ -867,6 +760,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(
@@ -891,53 +785,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;
@@ -955,18 +847,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.
      * 
@@ -975,8 +864,6 @@ public enum Mute implements com.google.protobuf.ProtocolMessageEnum { */ MUTE_UNSPECIFIED(0), /** - * - * *
      * Finding has been muted.
      * 
@@ -985,8 +872,6 @@ public enum Mute implements com.google.protobuf.ProtocolMessageEnum { */ MUTED(1), /** - * - * *
      * Finding has been unmuted.
      * 
@@ -995,8 +880,6 @@ public enum Mute implements com.google.protobuf.ProtocolMessageEnum { */ UNMUTED(2), /** - * - * *
      * Finding has never been muted/unmuted.
      * 
@@ -1008,8 +891,6 @@ public enum Mute implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Unspecified.
      * 
@@ -1018,8 +899,6 @@ public enum Mute implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MUTE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Finding has been muted.
      * 
@@ -1028,8 +907,6 @@ public enum Mute implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MUTED_VALUE = 1; /** - * - * *
      * Finding has been unmuted.
      * 
@@ -1038,8 +915,6 @@ public enum Mute implements com.google.protobuf.ProtocolMessageEnum { */ public static final int UNMUTED_VALUE = 2; /** - * - * *
      * Finding has never been muted/unmuted.
      * 
@@ -1048,6 +923,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( @@ -1072,51 +948,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; @@ -1134,18 +1009,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.
      * 
@@ -1154,8 +1026,6 @@ public enum FindingClass implements com.google.protobuf.ProtocolMessageEnum { */ FINDING_CLASS_UNSPECIFIED(0), /** - * - * *
      * Describes unwanted or malicious activity.
      * 
@@ -1164,8 +1034,6 @@ public enum FindingClass implements com.google.protobuf.ProtocolMessageEnum { */ THREAT(1), /** - * - * *
      * Describes a potential weakness in software that increases risk to
      * Confidentiality & Integrity & Availability.
@@ -1175,8 +1043,6 @@ public enum FindingClass implements com.google.protobuf.ProtocolMessageEnum {
      */
     VULNERABILITY(2),
     /**
-     *
-     *
      * 
      * Describes a potential weakness in cloud resource/asset configuration that
      * increases risk.
@@ -1186,8 +1052,6 @@ public enum FindingClass implements com.google.protobuf.ProtocolMessageEnum {
      */
     MISCONFIGURATION(3),
     /**
-     *
-     *
      * 
      * Describes a security observation that is for informational purposes.
      * 
@@ -1196,8 +1060,6 @@ public enum FindingClass implements com.google.protobuf.ProtocolMessageEnum { */ OBSERVATION(4), /** - * - * *
      * Describes an error that prevents some SCC functionality.
      * 
@@ -1209,8 +1071,6 @@ public enum FindingClass implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Unspecified finding class.
      * 
@@ -1219,8 +1079,6 @@ public enum FindingClass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FINDING_CLASS_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Describes unwanted or malicious activity.
      * 
@@ -1229,8 +1087,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.
@@ -1240,8 +1096,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.
@@ -1251,8 +1105,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.
      * 
@@ -1261,8 +1113,6 @@ public enum FindingClass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int OBSERVATION_VALUE = 4; /** - * - * *
      * Describes an error that prevents some SCC functionality.
      * 
@@ -1271,6 +1121,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( @@ -1295,55 +1146,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; @@ -1363,8 +1211,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
@@ -1373,7 +1219,6 @@ private FindingClass(int value) {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -1382,15 +1227,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
@@ -1399,15 +1243,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 { @@ -1418,8 +1263,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
@@ -1429,7 +1272,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string parent = 2; - * * @return The parent. */ @java.lang.Override @@ -1438,15 +1280,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
@@ -1456,15 +1297,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 { @@ -1475,8 +1317,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:
@@ -1487,7 +1327,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string resource_name = 3; - * * @return The resourceName. */ @java.lang.Override @@ -1496,15 +1335,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:
@@ -1515,15 +1353,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 { @@ -1534,44 +1373,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.
@@ -1579,7 +1407,6 @@ public com.google.cloud.securitycenter.v1.Finding.State getState() {
    * 
* * string category = 5; - * * @return The category. */ @java.lang.Override @@ -1588,15 +1415,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.
@@ -1604,15 +1430,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 { @@ -1623,8 +1450,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.
@@ -1632,7 +1457,6 @@ public com.google.protobuf.ByteString getCategoryBytes() {
    * 
* * string external_uri = 6; - * * @return The externalUri. */ @java.lang.Override @@ -1641,15 +1465,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.
@@ -1657,15 +1480,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 { @@ -1674,25 +1498,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); @@ -1704,8 +1524,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
@@ -1715,22 +1533,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
@@ -1741,12 +1559,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
@@ -1757,18 +1574,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
@@ -1779,10 +1594,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)) {
@@ -1794,18 +1609,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 @@ -1813,38 +1623,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() { @@ -1854,8 +1653,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.
@@ -1867,7 +1664,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 @@ -1875,8 +1671,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.
@@ -1888,7 +1682,6 @@ public boolean hasEventTime() {
    * 
* * .google.protobuf.Timestamp event_time = 9; - * * @return The eventTime. */ @java.lang.Override @@ -1896,8 +1689,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.
@@ -1918,14 +1709,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 @@ -1933,14 +1721,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 @@ -1948,8 +1733,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.
    * 
@@ -1964,48 +1747,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}",
@@ -2016,7 +1786,6 @@ public com.google.cloud.securitycenter.v1.Finding.Severity getSeverity() {
    * 
* * string canonical_name = 14; - * * @return The canonicalName. */ @java.lang.Override @@ -2025,15 +1794,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}",
@@ -2044,15 +1812,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 { @@ -2063,8 +1832,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
@@ -2072,16 +1839,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
@@ -2089,60 +1852,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
@@ -2152,7 +1899,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 @@ -2160,8 +1906,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
@@ -2171,18 +1915,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
@@ -2201,8 +1940,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
@@ -2210,7 +1947,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 @@ -2218,8 +1954,6 @@ public boolean hasVulnerability() { return vulnerability_ != null; } /** - * - * *
    * Represents vulnerability specific fields like cve, cvss scores etc.
    * CVE stands for Common Vulnerabilities and Exposures
@@ -2227,18 +1961,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
@@ -2255,16 +1984,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 @@ -2272,34 +1996,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() { @@ -2307,29 +2020,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); @@ -2341,88 +2046,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.
+   * 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.
+   * 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.
+   * 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.
+   * 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)) { @@ -2434,15 +2123,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 @@ -2450,26 +2136,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
@@ -2485,15 +2164,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 @@ -2501,26 +2177,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.
@@ -2536,8 +2205,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.
    * 
@@ -2549,8 +2216,6 @@ public java.util.List getConnecti return connections_; } /** - * - * *
    * Contains information about the IP connection associated with the finding.
    * 
@@ -2558,13 +2223,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.
    * 
@@ -2576,8 +2239,6 @@ public int getConnectionsCount() { return connections_.size(); } /** - * - * *
    * Contains information about the IP connection associated with the finding.
    * 
@@ -2589,8 +2250,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.
    * 
@@ -2598,15 +2257,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
@@ -2615,7 +2273,6 @@ public com.google.cloud.securitycenter.v1.ConnectionOrBuilder getConnectionsOrBu
    * 
* * string mute_initiator = 28; - * * @return The muteInitiator. */ @java.lang.Override @@ -2624,15 +2281,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
@@ -2641,15 +2297,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 { @@ -2660,8 +2317,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.
    * 
@@ -2673,8 +2328,6 @@ public java.util.List getProcessesLi return processes_; } /** - * - * *
    * Represents operating system processes associated with the Finding.
    * 
@@ -2682,13 +2335,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.
    * 
@@ -2700,8 +2351,6 @@ public int getProcessesCount() { return processes_.size(); } /** - * - * *
    * Represents operating system processes associated with the Finding.
    * 
@@ -2713,8 +2362,6 @@ public com.google.cloud.securitycenter.v1.Process getProcesses(int index) { return processes_.get(index); } /** - * - * *
    * Represents operating system processes associated with the Finding.
    * 
@@ -2722,36 +2369,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_; } @@ -2760,12 +2401,10 @@ public int getContactsCount() { return internalGetContacts().getMap().size(); } /** - * - * *
-   * Output only. Map containing the point of contacts for the given finding. The key
-   * represents the type of contact, while the value contains a list of all the
-   * contacts that pertain. Please refer to:
+   * Output only. Map containing the point of contacts for the given finding.
+   * The key represents the type of contact, while the value contains a list of
+   * all the contacts that pertain. Please refer to:
    * https://cloud.google.com/resource-manager/docs/managing-notification-contacts#notification-categories
    *     {
    *       "security": {
@@ -2781,31 +2420,28 @@ 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 point of contacts for the given finding. The key
-   * represents the type of contact, while the value contains a list of all the
-   * contacts that pertain. Please refer to:
+   * Output only. Map containing the point of contacts for the given finding.
+   * The key represents the type of contact, while the value contains a list of
+   * all the contacts that pertain. Please refer to:
    * https://cloud.google.com/resource-manager/docs/managing-notification-contacts#notification-categories
    *     {
    *       "security": {
@@ -2821,22 +2457,18 @@ 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 point of contacts for the given finding. The key
-   * represents the type of contact, while the value contains a list of all the
-   * contacts that pertain. Please refer to:
+   * Output only. Map containing the point of contacts for the given finding.
+   * The key represents the type of contact, while the value contains a list of
+   * all the contacts that pertain. Please refer to:
    * https://cloud.google.com/resource-manager/docs/managing-notification-contacts#notification-categories
    *     {
    *       "security": {
@@ -2852,27 +2484,23 @@ 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 point of contacts for the given finding. The key
-   * represents the type of contact, while the value contains a list of all the
-   * contacts that pertain. Please refer to:
+   * Output only. Map containing the point of contacts for the given finding.
+   * The key represents the type of contact, while the value contains a list of
+   * all the contacts that pertain. Please refer to:
    * https://cloud.google.com/resource-manager/docs/managing-notification-contacts#notification-categories
    *     {
    *       "security": {
@@ -2888,16 +2516,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)) { @@ -2909,8 +2534,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.
@@ -2923,8 +2546,6 @@ public java.util.List getComplian
     return compliances_;
   }
   /**
-   *
-   *
    * 
    * Contains compliance information for security standards associated to the
    * finding.
@@ -2933,13 +2554,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.
@@ -2952,8 +2571,6 @@ public int getCompliancesCount() {
     return compliances_.size();
   }
   /**
-   *
-   *
    * 
    * Contains compliance information for security standards associated to the
    * finding.
@@ -2966,8 +2583,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.
@@ -2976,21 +2591,19 @@ 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 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 @@ -2999,29 +2612,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 { @@ -3032,14 +2645,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 @@ -3047,25 +2657,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.
    * 
@@ -3080,8 +2683,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.
    * 
@@ -3093,8 +2694,6 @@ public java.util.List getIamBindi return iamBindings_; } /** - * - * *
    * Represents IAM bindings associated with the Finding.
    * 
@@ -3102,13 +2701,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.
    * 
@@ -3120,8 +2717,6 @@ public int getIamBindingsCount() { return iamBindings_.size(); } /** - * - * *
    * Represents IAM bindings associated with the Finding.
    * 
@@ -3133,8 +2728,6 @@ public com.google.cloud.securitycenter.v1.IamBinding getIamBindings(int index) { return iamBindings_.get(index); } /** - * - * *
    * Represents IAM bindings associated with the Finding.
    * 
@@ -3142,21 +2735,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 @@ -3165,29 +2756,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 { @@ -3198,8 +2789,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.
@@ -3212,8 +2801,6 @@ public java.util.List getContainer
     return containers_;
   }
   /**
-   *
-   *
    * 
    * Containers associated with the finding. containers provides information
    * for both Kubernetes and non-Kubernetes containers.
@@ -3222,13 +2809,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.
@@ -3241,8 +2826,6 @@ public int getContainersCount() {
     return containers_.size();
   }
   /**
-   *
-   *
    * 
    * Containers associated with the finding. containers provides information
    * for both Kubernetes and non-Kubernetes containers.
@@ -3255,8 +2838,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.
@@ -3265,21 +2846,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 @@ -3287,25 +2866,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.
    * 
@@ -3317,20 +2889,58 @@ public com.google.cloud.securitycenter.v1.KubernetesOrBuilder getKubernetesOrBui return getKubernetes(); } - private byte memoizedIsInitialized = -1; - + 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 - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; + public boolean hasDatabase() { + return database_ != null; } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + /** + *
+   * 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_; + } + /** + *
+   * Database associated with the finding.
+   * 
+ * + * .google.cloud.securitycenter.v1.Database database = 44; + */ + @java.lang.Override + public com.google.cloud.securitycenter.v1.DatabaseOrBuilder getDatabaseOrBuilder() { + return getDatabase(); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -3349,8 +2959,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()); } @@ -3360,8 +2974,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_)) { @@ -3370,9 +2983,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) { @@ -3384,8 +2995,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()); } @@ -3401,8 +3016,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)); } @@ -3424,6 +3043,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (kubernetes_ != null) { output.writeMessage(43, getKubernetes()); } + if (database_ != null) { + output.writeMessage(44, getDatabase()); + } unknownFields.writeTo(output); } @@ -3443,7 +3065,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_); @@ -3451,108 +3074,123 @@ 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(description_)) { 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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -3562,74 +3200,105 @@ public int 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 (!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 (!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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -3740,109 +3409,106 @@ public int hashCode() { hash = (37 * hash) + KUBERNETES_FIELD_NUMBER; hash = (53 * hash) + getKubernetes().hashCode(); } + if (hasDatabase()) { + hash = (37 * hash) + DATABASE_FIELD_NUMBER; + hash = (53 * hash) + getDatabase().hashCode(); + } hash = (29 * hash) + unknownFields.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
@@ -3854,17 +3520,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();
@@ -3873,12 +3540,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();
@@ -3887,18 +3555,16 @@ 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()
@@ -3906,13 +3572,14 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getConnectionsFieldBuilder();
         getProcessesFieldBuilder();
         getCompliancesFieldBuilder();
@@ -3920,7 +3587,6 @@ private void maybeForceBuilderInitialization() {
         getContainersFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -4043,13 +3709,19 @@ public Builder clear() {
         kubernetes_ = null;
         kubernetesBuilder_ = null;
       }
+      if (databaseBuilder_ == null) {
+        database_ = null;
+      } else {
+        database_ = null;
+        databaseBuilder_ = null;
+      }
       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
@@ -4068,8 +3740,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_;
@@ -4185,6 +3856,11 @@ public com.google.cloud.securitycenter.v1.Finding buildPartial() {
       } else {
         result.kubernetes_ = kubernetesBuilder_.build();
       }
+      if (databaseBuilder_ == null) {
+        result.database_ = database_;
+      } else {
+        result.database_ = databaseBuilder_.build();
+      }
       onBuilt();
       return result;
     }
@@ -4193,39 +3869,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;
@@ -4257,7 +3932,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());
       }
@@ -4289,7 +3965,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());
       }
@@ -4314,10 +3991,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_);
           }
@@ -4345,16 +4021,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()) {
@@ -4373,10 +4049,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_);
           }
@@ -4407,10 +4082,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_);
           }
@@ -4438,10 +4112,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_);
           }
@@ -4450,6 +4123,9 @@ public Builder mergeFrom(com.google.cloud.securitycenter.v1.Finding other) {
       if (other.hasKubernetes()) {
         mergeKubernetes(other.getKubernetes());
       }
+      if (other.hasDatabase()) {
+        mergeDatabase(other.getDatabase());
+      }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
       return this;
@@ -4478,13 +4154,10 @@ public Builder mergeFrom(
       }
       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
@@ -4493,13 +4166,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; @@ -4508,8 +4181,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
@@ -4518,14 +4189,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 { @@ -4533,8 +4205,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
@@ -4543,22 +4213,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
@@ -4567,18 +4235,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
@@ -4587,16 +4252,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; @@ -4604,8 +4269,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
@@ -4615,13 +4278,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; @@ -4630,8 +4293,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
@@ -4641,14 +4302,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 { @@ -4656,8 +4318,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
@@ -4667,22 +4327,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
@@ -4692,18 +4350,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
@@ -4713,16 +4368,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; @@ -4730,8 +4385,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:
@@ -4742,13 +4395,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; @@ -4757,8 +4410,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:
@@ -4769,14 +4420,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 { @@ -4784,8 +4436,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:
@@ -4796,22 +4446,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:
@@ -4822,18 +4470,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:
@@ -4844,16 +4489,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; @@ -4861,67 +4506,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. */ @@ -4929,24 +4558,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; @@ -4954,8 +4580,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.
@@ -4963,13 +4587,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; @@ -4978,8 +4602,6 @@ public java.lang.String getCategory() { } } /** - * - * *
      * The additional taxonomy group within findings from a given source.
      * This field is immutable after creation time.
@@ -4987,14 +4609,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 { @@ -5002,8 +4625,6 @@ public com.google.protobuf.ByteString getCategoryBytes() { } } /** - * - * *
      * The additional taxonomy group within findings from a given source.
      * This field is immutable after creation time.
@@ -5011,22 +4632,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.
@@ -5034,18 +4653,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.
@@ -5053,16 +4669,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; @@ -5070,8 +4686,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.
@@ -5079,13 +4693,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; @@ -5094,8 +4708,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.
@@ -5103,14 +4715,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 { @@ -5118,8 +4731,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.
@@ -5127,22 +4738,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.
@@ -5150,18 +4759,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.
@@ -5169,41 +4775,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(); @@ -5215,8 +4817,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
@@ -5226,22 +4826,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
@@ -5252,12 +4852,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
@@ -5268,18 +4867,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
@@ -5290,10 +4887,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)) {
@@ -5303,12 +4900,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
@@ -5318,21 +4914,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
@@ -5342,20 +4940,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
@@ -5365,72 +4962,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) { @@ -5446,17 +5026,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) { @@ -5470,25 +5046,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; } @@ -5500,17 +5070,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) { @@ -5524,70 +5090,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_; @@ -5595,13 +5145,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.
@@ -5613,15 +5158,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.
@@ -5633,7 +5175,6 @@ public boolean hasEventTime() {
      * 
* * .google.protobuf.Timestamp event_time = 9; - * * @return The eventTime. */ public com.google.protobuf.Timestamp getEventTime() { @@ -5644,8 +5185,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.
@@ -5672,8 +5211,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.
@@ -5686,7 +5223,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();
@@ -5697,8 +5235,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.
@@ -5715,7 +5251,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;
         }
@@ -5727,8 +5263,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.
@@ -5753,8 +5287,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.
@@ -5768,13 +5300,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.
@@ -5791,12 +5321,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.
@@ -5810,17 +5339,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_;
@@ -5828,47 +5354,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.
      * 
@@ -5889,15 +5402,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(); @@ -5908,8 +5420,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time at which the finding was created in Security Command Center.
      * 
@@ -5920,7 +5430,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; } @@ -5932,8 +5442,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the finding was created in Security Command Center.
      * 
@@ -5952,8 +5460,6 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * The time at which the finding was created in Security Command Center.
      * 
@@ -5961,13 +5467,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.
      * 
@@ -5978,14 +5482,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.
      * 
@@ -5993,17 +5494,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_; @@ -6011,71 +5509,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. */ @@ -6083,25 +5565,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; @@ -6109,8 +5588,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}",
@@ -6121,13 +5598,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; @@ -6136,8 +5613,6 @@ public java.lang.String getCanonicalName() { } } /** - * - * *
      * The canonical name of the finding. It's either
      * "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}",
@@ -6148,14 +5623,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 { @@ -6163,8 +5639,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}",
@@ -6175,22 +5649,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}",
@@ -6201,18 +5673,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}",
@@ -6223,16 +5692,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; @@ -6240,8 +5709,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
@@ -6249,16 +5716,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
@@ -6266,19 +5729,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
@@ -6286,19 +5746,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
@@ -6306,7 +5762,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. */ @@ -6314,14 +5769,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
@@ -6329,11 +5782,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; @@ -6341,67 +5793,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. */ @@ -6409,24 +5845,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; @@ -6434,13 +5867,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
@@ -6450,15 +5878,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
@@ -6468,21 +5893,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
@@ -6507,8 +5927,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
@@ -6531,8 +5949,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
@@ -6547,9 +5963,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;
         }
@@ -6561,8 +5975,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
@@ -6585,8 +5997,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
@@ -6598,13 +6008,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
@@ -6619,14 +6027,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
@@ -6638,17 +6043,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_;
@@ -6656,13 +6058,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
@@ -6670,15 +6067,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
@@ -6686,21 +6080,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
@@ -6723,8 +6112,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
@@ -6745,8 +6132,6 @@ public Builder setVulnerability(
       return this;
     }
     /**
-     *
-     *
      * 
      * Represents vulnerability specific fields like cve, cvss scores etc.
      * CVE stands for Common Vulnerabilities and Exposures
@@ -6759,9 +6144,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;
         }
@@ -6773,8 +6156,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
@@ -6795,8 +6176,6 @@ public Builder clearVulnerability() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Represents vulnerability specific fields like cve, cvss scores etc.
      * CVE stands for Common Vulnerabilities and Exposures
@@ -6806,13 +6185,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
@@ -6825,14 +6202,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
@@ -6842,17 +6216,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_;
@@ -6860,58 +6231,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) { @@ -6927,17 +6279,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(); @@ -6948,23 +6297,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; } @@ -6976,15 +6319,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) { @@ -6998,92 +6337,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(); @@ -7095,88 +6411,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.
+     * 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.
+     * 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.
+     * 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.
+     * 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)) { @@ -7186,121 +6486,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.
+     * 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.
+     * 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.
+     * 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
@@ -7322,8 +6603,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
@@ -7343,8 +6622,6 @@ public Builder setMitreAttack(
       return this;
     }
     /**
-     *
-     *
      * 
      * MITRE ATT&CK tactics and techniques related to this finding.
      * See: https://attack.mitre.org
@@ -7356,9 +6633,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;
         }
@@ -7370,8 +6645,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
@@ -7391,8 +6664,6 @@ public Builder clearMitreAttack() {
       return this;
     }
     /**
-     *
-     *
      * 
      * MITRE ATT&CK tactics and techniques related to this finding.
      * See: https://attack.mitre.org
@@ -7401,13 +6672,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
@@ -7419,14 +6688,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
@@ -7435,17 +6701,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_;
@@ -7453,49 +6716,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.
@@ -7517,8 +6767,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.
@@ -7526,7 +6774,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();
@@ -7537,8 +6786,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.
@@ -7550,9 +6797,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;
         }
@@ -7564,8 +6809,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.
@@ -7585,8 +6828,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.
@@ -7595,13 +6836,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.
@@ -7613,14 +6852,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.
@@ -7629,42 +6865,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.
      * 
@@ -7679,8 +6905,6 @@ public java.util.List getConnecti } } /** - * - * *
      * Contains information about the IP connection associated with the finding.
      * 
@@ -7695,8 +6919,6 @@ public int getConnectionsCount() { } } /** - * - * *
      * Contains information about the IP connection associated with the finding.
      * 
@@ -7711,15 +6933,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(); @@ -7733,8 +6954,6 @@ public Builder setConnections(int index, com.google.cloud.securitycenter.v1.Conn return this; } /** - * - * *
      * Contains information about the IP connection associated with the finding.
      * 
@@ -7753,8 +6972,6 @@ public Builder setConnections( return this; } /** - * - * *
      * Contains information about the IP connection associated with the finding.
      * 
@@ -7775,15 +6992,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(); @@ -7797,8 +7013,6 @@ public Builder addConnections(int index, com.google.cloud.securitycenter.v1.Conn return this; } /** - * - * *
      * Contains information about the IP connection associated with the finding.
      * 
@@ -7817,8 +7031,6 @@ public Builder addConnections( return this; } /** - * - * *
      * Contains information about the IP connection associated with the finding.
      * 
@@ -7837,8 +7049,6 @@ public Builder addConnections( return this; } /** - * - * *
      * Contains information about the IP connection associated with the finding.
      * 
@@ -7849,7 +7059,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); @@ -7857,8 +7068,6 @@ public Builder addAllConnections( return this; } /** - * - * *
      * Contains information about the IP connection associated with the finding.
      * 
@@ -7876,8 +7085,6 @@ public Builder clearConnections() { return this; } /** - * - * *
      * Contains information about the IP connection associated with the finding.
      * 
@@ -7895,20 +7102,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.
      * 
@@ -7918,22 +7122,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 { @@ -7941,8 +7142,6 @@ public com.google.cloud.securitycenter.v1.ConnectionOrBuilder getConnectionsOrBu } } /** - * - * *
      * Contains information about the IP connection associated with the finding.
      * 
@@ -7950,48 +7149,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_; @@ -7999,8 +7192,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
@@ -8009,13 +7200,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; @@ -8024,8 +7215,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
@@ -8034,14 +7223,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 { @@ -8049,8 +7239,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
@@ -8059,22 +7247,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
@@ -8083,18 +7269,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
@@ -8103,41 +7286,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.
      * 
@@ -8152,8 +7328,6 @@ public java.util.List getProcessesLi } } /** - * - * *
      * Represents operating system processes associated with the Finding.
      * 
@@ -8168,8 +7342,6 @@ public int getProcessesCount() { } } /** - * - * *
      * Represents operating system processes associated with the Finding.
      * 
@@ -8184,15 +7356,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(); @@ -8206,8 +7377,6 @@ public Builder setProcesses(int index, com.google.cloud.securitycenter.v1.Proces return this; } /** - * - * *
      * Represents operating system processes associated with the Finding.
      * 
@@ -8226,8 +7395,6 @@ public Builder setProcesses( return this; } /** - * - * *
      * Represents operating system processes associated with the Finding.
      * 
@@ -8248,15 +7415,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(); @@ -8270,8 +7436,6 @@ public Builder addProcesses(int index, com.google.cloud.securitycenter.v1.Proces return this; } /** - * - * *
      * Represents operating system processes associated with the Finding.
      * 
@@ -8290,8 +7454,6 @@ public Builder addProcesses( return this; } /** - * - * *
      * Represents operating system processes associated with the Finding.
      * 
@@ -8310,8 +7472,6 @@ public Builder addProcesses( return this; } /** - * - * *
      * Represents operating system processes associated with the Finding.
      * 
@@ -8322,7 +7482,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); @@ -8330,8 +7491,6 @@ public Builder addAllProcesses( return this; } /** - * - * *
      * Represents operating system processes associated with the Finding.
      * 
@@ -8349,8 +7508,6 @@ public Builder clearProcesses() { return this; } /** - * - * *
      * Represents operating system processes associated with the Finding.
      * 
@@ -8368,44 +7525,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 { @@ -8413,8 +7565,6 @@ public com.google.cloud.securitycenter.v1.ProcessOrBuilder getProcessesOrBuilder } } /** - * - * *
      * Represents operating system processes associated with the Finding.
      * 
@@ -8422,74 +7572,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(); @@ -8501,12 +7640,10 @@ public int getContactsCount() { return internalGetContacts().getMap().size(); } /** - * - * *
-     * Output only. Map containing the point of contacts for the given finding. The key
-     * represents the type of contact, while the value contains a list of all the
-     * contacts that pertain. Please refer to:
+     * Output only. Map containing the point of contacts for the given finding.
+     * The key represents the type of contact, while the value contains a list of
+     * all the contacts that pertain. Please refer to:
      * https://cloud.google.com/resource-manager/docs/managing-notification-contacts#notification-categories
      *     {
      *       "security": {
@@ -8522,31 +7659,28 @@ 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 point of contacts for the given finding. The key
-     * represents the type of contact, while the value contains a list of all the
-     * contacts that pertain. Please refer to:
+     * Output only. Map containing the point of contacts for the given finding.
+     * The key represents the type of contact, while the value contains a list of
+     * all the contacts that pertain. Please refer to:
      * https://cloud.google.com/resource-manager/docs/managing-notification-contacts#notification-categories
      *     {
      *       "security": {
@@ -8562,22 +7696,18 @@ 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 point of contacts for the given finding. The key
-     * represents the type of contact, while the value contains a list of all the
-     * contacts that pertain. Please refer to:
+     * Output only. Map containing the point of contacts for the given finding.
+     * The key represents the type of contact, while the value contains a list of
+     * all the contacts that pertain. Please refer to:
      * https://cloud.google.com/resource-manager/docs/managing-notification-contacts#notification-categories
      *     {
      *       "security": {
@@ -8593,27 +7723,23 @@ 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 point of contacts for the given finding. The key
-     * represents the type of contact, while the value contains a list of all the
-     * contacts that pertain. Please refer to:
+     * Output only. Map containing the point of contacts for the given finding.
+     * The key represents the type of contact, while the value contains a list of
+     * all the contacts that pertain. Please refer to:
      * https://cloud.google.com/resource-manager/docs/managing-notification-contacts#notification-categories
      *     {
      *       "security": {
@@ -8629,16 +7755,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)) { @@ -8648,16 +7771,15 @@ public com.google.cloud.securitycenter.v1.ContactDetails getContactsOrThrow( } public Builder clearContacts() { - internalGetMutableContacts().getMutableMap().clear(); + internalGetMutableContacts().getMutableMap() + .clear(); return this; } /** - * - * *
-     * Output only. Map containing the point of contacts for the given finding. The key
-     * represents the type of contact, while the value contains a list of all the
-     * contacts that pertain. Please refer to:
+     * Output only. Map containing the point of contacts for the given finding.
+     * The key represents the type of contact, while the value contains a list of
+     * all the contacts that pertain. Please refer to:
      * https://cloud.google.com/resource-manager/docs/managing-notification-contacts#notification-categories
      *     {
      *       "security": {
@@ -8673,30 +7795,29 @@ 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 point of contacts for the given finding. The key
-     * represents the type of contact, while the value contains a list of all the
-     * contacts that pertain. Please refer to:
+     * Output only. Map containing the point of contacts for the given finding.
+     * The key represents the type of contact, while the value contains a list of
+     * all the contacts that pertain. Please refer to:
      * https://cloud.google.com/resource-manager/docs/managing-notification-contacts#notification-categories
      *     {
      *       "security": {
@@ -8712,29 +7833,25 @@ 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 point of contacts for the given finding. The key
-     * represents the type of contact, while the value contains a list of all the
-     * contacts that pertain. Please refer to:
+     * Output only. Map containing the point of contacts for the given finding.
+     * The key represents the type of contact, while the value contains a list of
+     * all the contacts that pertain. Please refer to:
      * https://cloud.google.com/resource-manager/docs/managing-notification-contacts#notification-categories
      *     {
      *       "security": {
@@ -8750,36 +7867,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.
@@ -8795,8 +7905,6 @@ public java.util.List getComplian
       }
     }
     /**
-     *
-     *
      * 
      * Contains compliance information for security standards associated to the
      * finding.
@@ -8812,8 +7920,6 @@ public int getCompliancesCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Contains compliance information for security standards associated to the
      * finding.
@@ -8829,8 +7935,6 @@ public com.google.cloud.securitycenter.v1.Compliance getCompliances(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * Contains compliance information for security standards associated to the
      * finding.
@@ -8838,7 +7942,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();
@@ -8852,8 +7957,6 @@ public Builder setCompliances(int index, com.google.cloud.securitycenter.v1.Comp
       return this;
     }
     /**
-     *
-     *
      * 
      * Contains compliance information for security standards associated to the
      * finding.
@@ -8873,8 +7976,6 @@ public Builder setCompliances(
       return this;
     }
     /**
-     *
-     *
      * 
      * Contains compliance information for security standards associated to the
      * finding.
@@ -8896,8 +7997,6 @@ public Builder addCompliances(com.google.cloud.securitycenter.v1.Compliance valu
       return this;
     }
     /**
-     *
-     *
      * 
      * Contains compliance information for security standards associated to the
      * finding.
@@ -8905,7 +8004,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();
@@ -8919,8 +8019,6 @@ public Builder addCompliances(int index, com.google.cloud.securitycenter.v1.Comp
       return this;
     }
     /**
-     *
-     *
      * 
      * Contains compliance information for security standards associated to the
      * finding.
@@ -8940,8 +8038,6 @@ public Builder addCompliances(
       return this;
     }
     /**
-     *
-     *
      * 
      * Contains compliance information for security standards associated to the
      * finding.
@@ -8961,8 +8057,6 @@ public Builder addCompliances(
       return this;
     }
     /**
-     *
-     *
      * 
      * Contains compliance information for security standards associated to the
      * finding.
@@ -8974,7 +8068,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);
@@ -8982,8 +8077,6 @@ public Builder addAllCompliances(
       return this;
     }
     /**
-     *
-     *
      * 
      * Contains compliance information for security standards associated to the
      * finding.
@@ -9002,8 +8095,6 @@ public Builder clearCompliances() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Contains compliance information for security standards associated to the
      * finding.
@@ -9022,8 +8113,6 @@ public Builder removeCompliances(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Contains compliance information for security standards associated to the
      * finding.
@@ -9031,12 +8120,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.
@@ -9047,14 +8135,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.
@@ -9062,8 +8147,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 {
@@ -9071,8 +8156,6 @@ public com.google.cloud.securitycenter.v1.ComplianceOrBuilder getCompliancesOrBu
       }
     }
     /**
-     *
-     *
      * 
      * Contains compliance information for security standards associated to the
      * finding.
@@ -9081,12 +8164,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.
@@ -9094,13 +8175,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.
@@ -9108,23 +8188,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_;
@@ -9132,20 +8209,18 @@ public com.google.cloud.securitycenter.v1.Compliance.Builder addCompliancesBuild
 
     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; @@ -9154,21 +8229,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 { @@ -9176,61 +8250,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; @@ -9238,47 +8305,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.
      * 
@@ -9299,8 +8353,6 @@ public Builder setExfiltration(com.google.cloud.securitycenter.v1.Exfiltration v return this; } /** - * - * *
      * Represents exfiltration associated with the Finding.
      * 
@@ -9319,8 +8371,6 @@ public Builder setExfiltration( return this; } /** - * - * *
      * Represents exfiltration associated with the Finding.
      * 
@@ -9331,9 +8381,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; } @@ -9345,8 +8393,6 @@ public Builder mergeExfiltration(com.google.cloud.securitycenter.v1.Exfiltration return this; } /** - * - * *
      * Represents exfiltration associated with the Finding.
      * 
@@ -9365,8 +8411,6 @@ public Builder clearExfiltration() { return this; } /** - * - * *
      * Represents exfiltration associated with the Finding.
      * 
@@ -9374,13 +8418,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.
      * 
@@ -9391,14 +8433,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.
      * 
@@ -9406,42 +8445,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.
      * 
@@ -9456,8 +8485,6 @@ public java.util.List getIamBindi } } /** - * - * *
      * Represents IAM bindings associated with the Finding.
      * 
@@ -9472,8 +8499,6 @@ public int getIamBindingsCount() { } } /** - * - * *
      * Represents IAM bindings associated with the Finding.
      * 
@@ -9488,15 +8513,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(); @@ -9510,8 +8534,6 @@ public Builder setIamBindings(int index, com.google.cloud.securitycenter.v1.IamB return this; } /** - * - * *
      * Represents IAM bindings associated with the Finding.
      * 
@@ -9530,8 +8552,6 @@ public Builder setIamBindings( return this; } /** - * - * *
      * Represents IAM bindings associated with the Finding.
      * 
@@ -9552,15 +8572,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(); @@ -9574,8 +8593,6 @@ public Builder addIamBindings(int index, com.google.cloud.securitycenter.v1.IamB return this; } /** - * - * *
      * Represents IAM bindings associated with the Finding.
      * 
@@ -9594,8 +8611,6 @@ public Builder addIamBindings( return this; } /** - * - * *
      * Represents IAM bindings associated with the Finding.
      * 
@@ -9614,8 +8629,6 @@ public Builder addIamBindings( return this; } /** - * - * *
      * Represents IAM bindings associated with the Finding.
      * 
@@ -9626,7 +8639,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); @@ -9634,8 +8648,6 @@ public Builder addAllIamBindings( return this; } /** - * - * *
      * Represents IAM bindings associated with the Finding.
      * 
@@ -9653,8 +8665,6 @@ public Builder clearIamBindings() { return this; } /** - * - * *
      * Represents IAM bindings associated with the Finding.
      * 
@@ -9672,20 +8682,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.
      * 
@@ -9695,22 +8702,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 { @@ -9718,8 +8722,6 @@ public com.google.cloud.securitycenter.v1.IamBindingOrBuilder getIamBindingsOrBu } } /** - * - * *
      * Represents IAM bindings associated with the Finding.
      * 
@@ -9727,48 +8729,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_; @@ -9776,20 +8772,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; @@ -9798,21 +8792,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 { @@ -9820,86 +8813,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.
@@ -9915,8 +8894,6 @@ public java.util.List getContainer
       }
     }
     /**
-     *
-     *
      * 
      * Containers associated with the finding. containers provides information
      * for both Kubernetes and non-Kubernetes containers.
@@ -9932,8 +8909,6 @@ public int getContainersCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Containers associated with the finding. containers provides information
      * for both Kubernetes and non-Kubernetes containers.
@@ -9949,8 +8924,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.
@@ -9958,7 +8931,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();
@@ -9972,8 +8946,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.
@@ -9993,8 +8965,6 @@ public Builder setContainers(
       return this;
     }
     /**
-     *
-     *
      * 
      * Containers associated with the finding. containers provides information
      * for both Kubernetes and non-Kubernetes containers.
@@ -10016,8 +8986,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.
@@ -10025,7 +8993,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();
@@ -10039,8 +9008,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.
@@ -10060,8 +9027,6 @@ public Builder addContainers(
       return this;
     }
     /**
-     *
-     *
      * 
      * Containers associated with the finding. containers provides information
      * for both Kubernetes and non-Kubernetes containers.
@@ -10081,8 +9046,6 @@ public Builder addContainers(
       return this;
     }
     /**
-     *
-     *
      * 
      * Containers associated with the finding. containers provides information
      * for both Kubernetes and non-Kubernetes containers.
@@ -10094,7 +9057,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);
@@ -10102,8 +9066,6 @@ public Builder addAllContainers(
       return this;
     }
     /**
-     *
-     *
      * 
      * Containers associated with the finding. containers provides information
      * for both Kubernetes and non-Kubernetes containers.
@@ -10122,8 +9084,6 @@ public Builder clearContainers() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Containers associated with the finding. containers provides information
      * for both Kubernetes and non-Kubernetes containers.
@@ -10142,8 +9102,6 @@ public Builder removeContainers(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Containers associated with the finding. containers provides information
      * for both Kubernetes and non-Kubernetes containers.
@@ -10151,12 +9109,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.
@@ -10164,16 +9121,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.
@@ -10181,8 +9136,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 {
@@ -10190,8 +9145,6 @@ public com.google.cloud.securitycenter.v1.ContainerOrBuilder getContainersOrBuil
       }
     }
     /**
-     *
-     *
      * 
      * Containers associated with the finding. containers provides information
      * for both Kubernetes and non-Kubernetes containers.
@@ -10200,12 +9153,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.
@@ -10213,13 +9164,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.
@@ -10227,23 +9177,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_;
@@ -10251,47 +9198,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.
      * 
@@ -10312,8 +9246,6 @@ public Builder setKubernetes(com.google.cloud.securitycenter.v1.Kubernetes value return this; } /** - * - * *
      * Kubernetes resources associated with the finding.
      * 
@@ -10332,8 +9264,6 @@ public Builder setKubernetes( return this; } /** - * - * *
      * Kubernetes resources associated with the finding.
      * 
@@ -10344,9 +9274,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; } @@ -10358,8 +9286,6 @@ public Builder mergeKubernetes(com.google.cloud.securitycenter.v1.Kubernetes val return this; } /** - * - * *
      * Kubernetes resources associated with the finding.
      * 
@@ -10378,8 +9304,6 @@ public Builder clearKubernetes() { return this; } /** - * - * *
      * Kubernetes resources associated with the finding.
      * 
@@ -10387,13 +9311,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.
      * 
@@ -10404,14 +9326,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.
      * 
@@ -10419,24 +9338,176 @@ 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_; } + 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_; + /** + *
+     * 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_; + } else { + return databaseBuilder_.getMessage(); + } + } + /** + *
+     * Database associated with the finding.
+     * 
+ * + * .google.cloud.securitycenter.v1.Database database = 44; + */ + public Builder setDatabase(com.google.cloud.securitycenter.v1.Database value) { + if (databaseBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + database_ = value; + onChanged(); + } else { + databaseBuilder_.setMessage(value); + } + + return this; + } + /** + *
+     * Database associated with the finding.
+     * 
+ * + * .google.cloud.securitycenter.v1.Database database = 44; + */ + public Builder setDatabase( + com.google.cloud.securitycenter.v1.Database.Builder builderForValue) { + if (databaseBuilder_ == null) { + database_ = builderForValue.build(); + onChanged(); + } else { + databaseBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+     * Database associated with the finding.
+     * 
+ * + * .google.cloud.securitycenter.v1.Database database = 44; + */ + 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(); + } else { + database_ = value; + } + onChanged(); + } else { + databaseBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+     * Database associated with the finding.
+     * 
+ * + * .google.cloud.securitycenter.v1.Database database = 44; + */ + public Builder clearDatabase() { + if (databaseBuilder_ == null) { + database_ = null; + onChanged(); + } else { + database_ = null; + databaseBuilder_ = null; + } + + return this; + } + /** + *
+     * Database associated with the finding.
+     * 
+ * + * .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.
+     * 
+ * + * .google.cloud.securitycenter.v1.Database database = 44; + */ + 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_; + } + } + /** + *
+     * Database associated with the finding.
+     * 
+ * + * .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> + 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()); + database_ = null; + } + return databaseBuilder_; + } @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -10446,12 +9517,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(); } @@ -10460,16 +9531,16 @@ 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 { - return new Finding(input, extensionRegistry); - } - }; + 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 { + return new Finding(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -10484,4 +9555,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.securitycenter.v1.Finding getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FindingName.java b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FindingName.java similarity index 100% rename from proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FindingName.java rename to owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FindingName.java diff --git a/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FindingOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FindingOrBuilder.java similarity index 81% rename from proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FindingOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FindingOrBuilder.java index 9d30c7bb1..fde3cfa5b 100644 --- a/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FindingOrBuilder.java +++ b/owl-bot-staging/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.
+   * 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.
+   * 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.
+   * 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.
+   * 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.
+   * 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,34 +743,29 @@ 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 point of contacts for the given finding. The key
-   * represents the type of contact, while the value contains a list of all the
-   * contacts that pertain. Please refer to:
+   * Output only. Map containing the point of contacts for the given finding.
+   * The key represents the type of contact, while the value contains a list of
+   * all the contacts that pertain. Please refer to:
    * https://cloud.google.com/resource-manager/docs/managing-notification-contacts#notification-categories
    *     {
    *       "security": {
@@ -968,18 +781,14 @@ 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 point of contacts for the given finding. The key
-   * represents the type of contact, while the value contains a list of all the
-   * contacts that pertain. Please refer to:
+   * Output only. Map containing the point of contacts for the given finding.
+   * The key represents the type of contact, while the value contains a list of
+   * all the contacts that pertain. Please refer to:
    * https://cloud.google.com/resource-manager/docs/managing-notification-contacts#notification-categories
    *     {
    *       "security": {
@@ -995,21 +804,21 @@ 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 point of contacts for the given finding. The key
-   * represents the type of contact, while the value contains a list of all the
-   * contacts that pertain. Please refer to:
+   * Output only. Map containing the point of contacts for the given finding.
+   * The key represents the type of contact, while the value contains a list of
+   * all the contacts that pertain. Please refer to:
    * https://cloud.google.com/resource-manager/docs/managing-notification-contacts#notification-categories
    *     {
    *       "security": {
@@ -1025,19 +834,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]; */ java.util.Map - getContactsMap(); + getContactsMap(); /** - * - * *
-   * Output only. Map containing the point of contacts for the given finding. The key
-   * represents the type of contact, while the value contains a list of all the
-   * contacts that pertain. Please refer to:
+   * Output only. Map containing the point of contacts for the given finding.
+   * The key represents the type of contact, while the value contains a list of
+   * all the contacts that pertain. Please refer to:
    * https://cloud.google.com/resource-manager/docs/managing-notification-contacts#notification-categories
    *     {
    *       "security": {
@@ -1053,23 +858,19 @@ 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 point of contacts for the given finding. The key
-   * represents the type of contact, while the value contains a list of all the
-   * contacts that pertain. Please refer to:
+   * Output only. Map containing the point of contacts for the given finding.
+   * The key represents the type of contact, while the value contains a list of
+   * all the contacts that pertain. Please refer to:
    * https://cloud.google.com/resource-manager/docs/managing-notification-contacts#notification-categories
    *     {
    *       "security": {
@@ -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,60 +938,48 @@ 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);
 
   /**
-   *
-   *
    * 
    * 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.
    * 
@@ -1209,18 +989,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.
    * 
@@ -1229,8 +1006,6 @@ com.google.cloud.securitycenter.v1.ContactDetails getContactsOrDefault( */ com.google.cloud.securitycenter.v1.IamBinding getIamBindings(int index); /** - * - * *
    * Represents IAM bindings associated with the Finding.
    * 
@@ -1239,55 +1014,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.
@@ -1295,10 +1060,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.
@@ -1308,8 +1072,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.
@@ -1319,8 +1081,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.
@@ -1328,11 +1088,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.
@@ -1340,35 +1098,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.
    * 
@@ -1376,4 +1127,31 @@ com.google.cloud.securitycenter.v1.ContactDetails getContactsOrDefault( * .google.cloud.securitycenter.v1.Kubernetes kubernetes = 43; */ 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.
+   * 
+ * + * .google.cloud.securitycenter.v1.Database database = 44; + */ + com.google.cloud.securitycenter.v1.DatabaseOrBuilder getDatabaseOrBuilder(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FindingOuterClass.java b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FindingOuterClass.java new file mode 100644 index 000000000..36f74e988 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FindingOuterClass.java @@ -0,0 +1,216 @@ +// 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\"\204\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\023\n\013description" + + "\030% \001(\t\022B\n\014exfiltration\030& \001(\0132,.google.cl" + + "oud.securitycenter.v1.Exfiltration\022@\n\014ia" + + "m_bindings\030\' \003(\0132*.google.cloud.security" + + "center.v1.IamBinding\022\022\n\nnext_steps\030( \001(\t" + + "\022=\n\ncontainers\030* \003(\0132).google.cloud.secu" + + "ritycenter.v1.Container\022>\n\nkubernetes\030+ " + + "\001(\0132*.google.cloud.securitycenter.v1.Kub" + + "ernetes\022:\n\010database\030, \001(\0132(.google.cloud" + + ".securitycenter.v1.Database\032O\n\025SourcePro" + + "pertiesEntry\022\013\n\003key\030\001 \001(\t\022%\n\005value\030\002 \001(\013" + + "2\026.google.protobuf.Value:\0028\001\032f\n\024External" + + "SystemsEntry\022\013\n\003key\030\001 \001(\t\022=\n\005value\030\002 \001(\013" + + "2..google.cloud.securitycenter.v1.Extern" + + "alSystem:\0028\001\032_\n\rContactsEntry\022\013\n\003key\030\001 \001" + + "(\t\022=\n\005value\030\002 \001(\0132..google.cloud.securit" + + "ycenter.v1.ContactDetails:\0028\001\"8\n\005State\022\025" + + "\n\021STATE_UNSPECIFIED\020\000\022\n\n\006ACTIVE\020\001\022\014\n\010INA" + + "CTIVE\020\002\"Q\n\010Severity\022\030\n\024SEVERITY_UNSPECIF" + + "IED\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_UNSPECIFIED\020\000" + + "\022\t\n\005MUTED\020\001\022\013\n\007UNMUTED\020\002\022\r\n\tUNDEFINED\020\004\"" + + "\202\001\n\014FindingClass\022\035\n\031FINDING_CLASS_UNSPEC" + + "IFIED\020\000\022\n\n\006THREAT\020\001\022\021\n\rVULNERABILITY\020\002\022\024" + + "\n\020MISCONFIGURATION\020\003\022\017\n\013OBSERVATION\020\004\022\r\n" + + "\tSCC_ERROR\020\005:\333\001\352A\327\001\n%securitycenter.goog" + + "leapis.com/Finding\022@organizations/{organ" + + "ization}/sources/{source}/findings/{find" + + "ing}\0224folders/{folder}/sources/{source}/" + + "findings/{finding}\0226projects/{project}/s" + + "ources/{source}/findings/{finding}B\332\001\n\"c" + + "om.google.cloud.securitycenter.v1P\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[] { + 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", "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/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Folder.java b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Folder.java similarity index 70% rename from proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Folder.java rename to owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Folder.java index b0a6035e3..647029637 100644 --- a/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Folder.java +++ b/owl-bot-staging/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,15 +27,16 @@ 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;
   }
-
   private Folder(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -72,27 +55,25 @@ private Folder(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              resourceFolder_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            resourceFolder_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              resourceFolderDisplayName_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            resourceFolderDisplayName_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -100,40 +81,35 @@ private Folder(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.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 @@ -142,30 +118,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 { @@ -176,14 +152,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 @@ -192,29 +165,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 { @@ -223,7 +196,6 @@ public com.google.protobuf.ByteString getResourceFolderDisplayNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -235,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(resourceFolder_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, resourceFolder_); } @@ -255,8 +228,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -266,16 +238,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -296,104 +269,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.
@@ -401,23 +367,21 @@ 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()
@@ -425,15 +389,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -445,9 +410,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
@@ -466,8 +431,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();
@@ -478,39 +442,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;
@@ -558,21 +521,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; @@ -581,22 +542,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 { @@ -604,64 +564,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; @@ -669,20 +622,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; @@ -691,21 +642,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 { @@ -713,68 +663,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); } @@ -784,12 +727,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(); } @@ -798,16 +741,16 @@ 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 { - return new Folder(input, extensionRegistry); - } - }; + 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 { + return new Folder(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -822,4 +765,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.securitycenter.v1.Folder getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FolderName.java b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FolderName.java similarity index 100% rename from proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FolderName.java rename to owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FolderName.java diff --git a/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FolderOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FolderOrBuilder.java similarity index 60% rename from proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FolderOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FolderOrBuilder.java index 325d2ec0d..3e97d4e38 100644 --- a/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FolderOrBuilder.java +++ b/owl-bot-staging/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/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FolderProto.java b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FolderProto.java new file mode 100644 index 000000000..a1295ec42 --- /dev/null +++ b/owl-bot-staging/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/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Geolocation.java b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Geolocation.java similarity index 68% rename from proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Geolocation.java rename to owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Geolocation.java index 930766df7..faf1a2c0a 100644 --- a/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Geolocation.java +++ b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Geolocation.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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; } - private Geolocation( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private Geolocation( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - regionCode_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + regionCode_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,39 +73,34 @@ private Geolocation( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.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 @@ -132,29 +109,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 { @@ -163,7 +140,6 @@ public com.google.protobuf.ByteString getRegionCodeBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -175,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(regionCode_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, regionCode_); } @@ -199,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -226,127 +203,118 @@ 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() @@ -354,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -372,9 +341,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 @@ -393,8 +362,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; @@ -404,39 +372,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; @@ -480,20 +447,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; @@ -502,21 +467,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 { @@ -524,68 +488,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); } @@ -595,12 +552,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(); } @@ -609,16 +566,16 @@ 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 { - return new Geolocation(input, extensionRegistry); - } - }; + 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 { + return new Geolocation(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -633,4 +590,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.securitycenter.v1.Geolocation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GeolocationOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GeolocationOrBuilder.java new file mode 100644 index 000000000..0b3d14d2e --- /dev/null +++ b/owl-bot-staging/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/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetBigQueryExportRequest.java b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetBigQueryExportRequest.java similarity index 67% rename from proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetBigQueryExportRequest.java rename to owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetBigQueryExportRequest.java index f1a98e72d..70e2f5737 100644 --- a/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetBigQueryExportRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetBigQueryExportRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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; } - private GetBigQueryExportRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetBigQueryExportRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,33 +73,29 @@ private GetBigQueryExportRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.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},
@@ -125,10 +103,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 @@ -137,15 +112,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},
@@ -153,18 +127,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 { @@ -173,7 +146,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -185,7 +157,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -209,15 +182,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -237,127 +210,117 @@ 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() @@ -365,15 +328,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -383,9 +347,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 @@ -404,8 +368,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; @@ -415,39 +378,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; @@ -455,8 +417,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(); @@ -480,8 +441,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.securitycenter.v1.GetBigQueryExportRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.securitycenter.v1.GetBigQueryExportRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -493,8 +453,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},
@@ -502,16 +460,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; @@ -520,8 +476,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. Name of the big query export to retrieve. Its format is
      * organizations/{organization}/bigQueryExports/{export_id},
@@ -529,17 +483,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 { @@ -547,8 +500,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. Name of the big query export to retrieve. Its format is
      * organizations/{organization}/bigQueryExports/{export_id},
@@ -556,25 +507,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},
@@ -582,21 +529,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},
@@ -604,26 +546,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); } @@ -633,12 +573,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(); } @@ -647,16 +587,16 @@ 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 { - return new GetBigQueryExportRequest(input, extensionRegistry); - } - }; + 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 { + return new GetBigQueryExportRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -671,4 +611,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.securitycenter.v1.GetBigQueryExportRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetBigQueryExportRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetBigQueryExportRequestOrBuilder.java new file mode 100644 index 000000000..24a999b0c --- /dev/null +++ b/owl-bot-staging/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/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetMuteConfigRequest.java b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetMuteConfigRequest.java similarity index 67% rename from proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetMuteConfigRequest.java rename to owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetMuteConfigRequest.java index 2c35d2635..7953b91fb 100644 --- a/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetMuteConfigRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetMuteConfigRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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; } - private GetMuteConfigRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetMuteConfigRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,33 +73,29 @@ private GetMuteConfigRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.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},
@@ -125,10 +103,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 @@ -137,15 +112,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},
@@ -153,18 +127,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 { @@ -173,7 +146,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -185,7 +157,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -209,15 +182,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -237,127 +210,117 @@ 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() @@ -365,15 +328,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -383,9 +347,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 @@ -404,8 +368,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; @@ -415,39 +378,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; @@ -455,8 +417,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(); @@ -480,8 +441,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.securitycenter.v1.GetMuteConfigRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.securitycenter.v1.GetMuteConfigRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -493,8 +453,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},
@@ -502,16 +460,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; @@ -520,8 +476,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. Name of the mute config to retrieve. Its format is
      * organizations/{organization}/muteConfigs/{config_id},
@@ -529,17 +483,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 { @@ -547,8 +500,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. Name of the mute config to retrieve. Its format is
      * organizations/{organization}/muteConfigs/{config_id},
@@ -556,25 +507,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},
@@ -582,21 +529,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},
@@ -604,26 +546,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); } @@ -633,12 +573,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(); } @@ -647,16 +587,16 @@ 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 { - return new GetMuteConfigRequest(input, extensionRegistry); - } - }; + 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 { + return new GetMuteConfigRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -671,4 +611,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.securitycenter.v1.GetMuteConfigRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetMuteConfigRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetMuteConfigRequestOrBuilder.java new file mode 100644 index 000000000..c5ae6e39c --- /dev/null +++ b/owl-bot-staging/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/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetNotificationConfigRequest.java b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetNotificationConfigRequest.java similarity index 64% rename from proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetNotificationConfigRequest.java rename to owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetNotificationConfigRequest.java index dee55f9a2..7d504bee3 100644 --- a/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetNotificationConfigRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetNotificationConfigRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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; } - private GetNotificationConfigRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetNotificationConfigRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,42 +73,35 @@ private GetNotificationConfigRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.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 @@ -135,32 +110,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. 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 { @@ -169,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -205,15 +178,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -233,127 +206,117 @@ 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() @@ -361,15 +324,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -379,14 +343,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.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(); } @@ -401,8 +364,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; @@ -412,50 +374,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(); @@ -479,9 +437,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.securitycenter.v1.GetNotificationConfigRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.securitycenter.v1.GetNotificationConfigRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -493,23 +449,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; @@ -518,24 +470,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 { @@ -543,77 +492,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); } @@ -623,32 +559,30 @@ 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 { - return new GetNotificationConfigRequest(input, extensionRegistry); - } - }; + 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 { + return new GetNotificationConfigRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -660,8 +594,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/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetNotificationConfigRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetNotificationConfigRequestOrBuilder.java new file mode 100644 index 000000000..7dae1ef25 --- /dev/null +++ b/owl-bot-staging/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/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetOrganizationSettingsRequest.java b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetOrganizationSettingsRequest.java similarity index 63% rename from proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetOrganizationSettingsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetOrganizationSettingsRequest.java index 8e000df4f..fbb5039c6 100644 --- a/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetOrganizationSettingsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetOrganizationSettingsRequest.java @@ -1,58 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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; } - private GetOrganizationSettingsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,20 +53,19 @@ private GetOrganizationSettingsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,42 +73,35 @@ private GetOrganizationSettingsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.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 @@ -136,32 +110,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. 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 { @@ -170,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -182,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -206,15 +178,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -234,145 +206,134 @@ 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() + // Construct using com.google.cloud.securitycenter.v1.GetOrganizationSettingsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -382,14 +343,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(); } @@ -404,8 +364,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; @@ -415,50 +374,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(); @@ -482,9 +437,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.securitycenter.v1.GetOrganizationSettingsRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.securitycenter.v1.GetOrganizationSettingsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -496,23 +449,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; @@ -521,24 +470,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 { @@ -546,77 +492,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); } @@ -626,32 +559,30 @@ 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 { - return new GetOrganizationSettingsRequest(input, extensionRegistry); - } - }; + 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 { + return new GetOrganizationSettingsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -663,8 +594,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/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetOrganizationSettingsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetOrganizationSettingsRequestOrBuilder.java new file mode 100644 index 000000000..9f0dfe98e --- /dev/null +++ b/owl-bot-staging/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/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetSourceRequest.java b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetSourceRequest.java similarity index 66% rename from proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetSourceRequest.java rename to owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetSourceRequest.java index 8593eb8fe..47e1b6656 100644 --- a/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetSourceRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetSourceRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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; } - private GetSourceRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetSourceRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,42 +73,35 @@ private GetSourceRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.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 @@ -135,32 +110,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. 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 { @@ -169,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -205,15 +178,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -233,126 +206,117 @@ 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() @@ -360,15 +324,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -378,9 +343,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.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 @@ -399,8 +364,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; @@ -410,39 +374,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; @@ -450,8 +413,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(); @@ -475,8 +437,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.securitycenter.v1.GetSourceRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.securitycenter.v1.GetSourceRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -488,23 +449,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; @@ -513,24 +470,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 { @@ -538,77 +492,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); } @@ -618,12 +559,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(); } @@ -632,16 +573,16 @@ 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 { - return new GetSourceRequest(input, extensionRegistry); - } - }; + 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 { + return new GetSourceRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -656,4 +597,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.securitycenter.v1.GetSourceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetSourceRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetSourceRequestOrBuilder.java new file mode 100644 index 000000000..c25dba2e7 --- /dev/null +++ b/owl-bot-staging/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/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupAssetsRequest.java b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupAssetsRequest.java similarity index 84% rename from proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupAssetsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupAssetsRequest.java index 6704c358d..39b8c0111 100644 --- a/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupAssetsRequest.java +++ b/owl-bot-staging/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,15 +28,16 @@ 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; } - private GroupAssetsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,76 +56,68 @@ private GroupAssetsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + filter_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - groupBy_ = s; - break; - } - case 34: - { - com.google.protobuf.Duration.Builder subBuilder = null; - if (compareDuration_ != null) { - subBuilder = compareDuration_.toBuilder(); - } - compareDuration_ = - input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(compareDuration_); - compareDuration_ = subBuilder.buildPartial(); - } - - break; + groupBy_ = s; + break; + } + case 34: { + com.google.protobuf.Duration.Builder subBuilder = null; + if (compareDuration_ != null) { + subBuilder = compareDuration_.toBuilder(); } - case 42: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (readTime_ != null) { - subBuilder = readTime_.toBuilder(); - } - readTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(readTime_); - readTime_ = subBuilder.buildPartial(); - } - - break; + compareDuration_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(compareDuration_); + compareDuration_ = subBuilder.buildPartial(); } - case 58: - { - java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; + break; + } + case 42: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (readTime_ != null) { + subBuilder = readTime_.toBuilder(); } - case 64: - { - pageSize_ = input.readInt32(); - break; + readTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(readTime_); + readTime_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 58: { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + case 64: { + + pageSize_ = input.readInt32(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -150,43 +125,36 @@ private GroupAssetsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.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 @@ -195,33 +163,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 { @@ -232,8 +198,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
@@ -285,7 +249,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string filter = 2; - * * @return The filter. */ @java.lang.Override @@ -294,15 +257,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
@@ -354,15 +316,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 { @@ -373,8 +336,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. For
@@ -393,7 +354,6 @@ public com.google.protobuf.ByteString getFilterBytes() {
    * 
* * string group_by = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The groupBy. */ @java.lang.Override @@ -402,15 +362,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. For
@@ -429,15 +388,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 { @@ -448,8 +408,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
@@ -476,7 +434,6 @@ public com.google.protobuf.ByteString getGroupByBytes() {
    * 
* * .google.protobuf.Duration compare_duration = 4; - * * @return Whether the compareDuration field is set. */ @java.lang.Override @@ -484,8 +441,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
@@ -512,18 +467,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
@@ -559,8 +509,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
@@ -569,7 +517,6 @@ public com.google.protobuf.DurationOrBuilder getCompareDurationOrBuilder() {
    * 
* * .google.protobuf.Timestamp read_time = 5; - * * @return Whether the readTime field is set. */ @java.lang.Override @@ -577,8 +524,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
@@ -587,7 +532,6 @@ public boolean hasReadTime() {
    * 
* * .google.protobuf.Timestamp read_time = 5; - * * @return The readTime. */ @java.lang.Override @@ -595,8 +539,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
@@ -614,8 +556,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
@@ -623,7 +563,6 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
    * 
* * string page_token = 7; - * * @return The pageToken. */ @java.lang.Override @@ -632,15 +571,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
@@ -648,15 +586,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 { @@ -667,15 +606,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 @@ -684,7 +620,6 @@ public int getPageSize() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -696,7 +631,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -737,16 +673,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -756,27 +695,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -812,127 +757,117 @@ 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() @@ -940,15 +875,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -978,9 +914,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 @@ -999,8 +935,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_; @@ -1024,39 +959,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; @@ -1064,8 +998,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(); @@ -1110,8 +1043,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.securitycenter.v1.GroupAssetsRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.securitycenter.v1.GroupAssetsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1123,24 +1055,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; @@ -1149,25 +1077,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 { @@ -1175,73 +1100,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; @@ -1249,8 +1161,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
@@ -1302,13 +1212,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; @@ -1317,8 +1227,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
@@ -1370,14 +1278,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 { @@ -1385,8 +1294,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
@@ -1438,22 +1345,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
@@ -1505,18 +1410,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
@@ -1568,16 +1470,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; @@ -1585,8 +1487,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. For
@@ -1605,13 +1505,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; @@ -1620,8 +1520,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. For
@@ -1640,14 +1538,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 { @@ -1655,8 +1554,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. For
@@ -1675,22 +1572,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. For
@@ -1709,18 +1604,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. For
@@ -1739,16 +1631,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; @@ -1756,13 +1648,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
@@ -1789,15 +1676,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
@@ -1824,21 +1708,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
@@ -1880,8 +1759,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
@@ -1909,7 +1786,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();
@@ -1920,8 +1798,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
@@ -1953,9 +1829,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;
         }
@@ -1967,8 +1841,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
@@ -2008,8 +1880,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
@@ -2038,13 +1908,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
@@ -2076,14 +1944,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
@@ -2112,17 +1977,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_;
@@ -2130,13 +1992,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
@@ -2145,15 +2002,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
@@ -2162,7 +2016,6 @@ public boolean hasReadTime() {
      * 
* * .google.protobuf.Timestamp read_time = 5; - * * @return The readTime. */ public com.google.protobuf.Timestamp getReadTime() { @@ -2173,8 +2026,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
@@ -2198,8 +2049,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
@@ -2209,7 +2058,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();
@@ -2220,8 +2070,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
@@ -2235,7 +2083,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;
         }
@@ -2247,8 +2095,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
@@ -2270,8 +2116,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
@@ -2282,13 +2126,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
@@ -2302,12 +2144,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
@@ -2318,17 +2159,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_;
@@ -2336,8 +2174,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
@@ -2345,13 +2181,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; @@ -2360,8 +2196,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
@@ -2369,14 +2203,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 { @@ -2384,8 +2219,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
@@ -2393,22 +2226,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
@@ -2416,18 +2247,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
@@ -2435,32 +2263,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 @@ -2468,45 +2293,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); } @@ -2516,12 +2335,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(); } @@ -2530,16 +2349,16 @@ 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 { - return new GroupAssetsRequest(input, extensionRegistry); - } - }; + 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 { + return new GroupAssetsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2554,4 +2373,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.securitycenter.v1.GroupAssetsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupAssetsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupAssetsRequestOrBuilder.java similarity index 91% rename from proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupAssetsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupAssetsRequestOrBuilder.java index b6eb60a72..e24e974e8 100644 --- a/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupAssetsRequestOrBuilder.java +++ b/owl-bot-staging/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. For
@@ -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. For
@@ -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/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupAssetsResponse.java b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupAssetsResponse.java similarity index 77% rename from proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupAssetsResponse.java rename to owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupAssetsResponse.java index 32c351f0b..bb81d5891 100644 --- a/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupAssetsResponse.java +++ b/owl-bot-staging/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,15 +26,16 @@ 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; } - private GroupAssetsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,52 +55,46 @@ private GroupAssetsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - groupByResults_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - groupByResults_.add( - input.readMessage( - com.google.cloud.securitycenter.v1.GroupResult.parser(), extensionRegistry)); - break; - } - case 18: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (readTime_ != null) { - subBuilder = readTime_.toBuilder(); - } - readTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(readTime_); - readTime_ = subBuilder.buildPartial(); - } - - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + groupByResults_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - - nextPageToken_ = s; - break; + groupByResults_.add( + input.readMessage(com.google.cloud.securitycenter.v1.GroupResult.parser(), extensionRegistry)); + break; + } + case 18: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (readTime_ != null) { + subBuilder = readTime_.toBuilder(); } - case 32: - { - totalSize_ = input.readInt32(); - break; + readTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(readTime_); + readTime_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + nextPageToken_ = s; + break; + } + case 32: { + + totalSize_ = input.readInt32(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -125,7 +102,8 @@ private GroupAssetsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { groupByResults_ = java.util.Collections.unmodifiableList(groupByResults_); @@ -134,27 +112,22 @@ private GroupAssetsResponse( makeExtensionsImmutable(); } } - - 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
@@ -168,8 +141,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
@@ -179,13 +150,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
@@ -199,8 +168,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
@@ -214,8 +181,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
@@ -233,14 +198,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 @@ -248,14 +210,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 @@ -263,8 +222,6 @@ public com.google.protobuf.Timestamp getReadTime() { return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_; } /** - * - * *
    * Time used for executing the groupBy request.
    * 
@@ -279,15 +236,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 @@ -296,30 +250,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 { @@ -330,14 +284,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 @@ -346,7 +297,6 @@ public int getTotalSize() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -358,7 +308,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -381,16 +332,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -400,21 +354,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -444,127 +401,117 @@ 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() @@ -572,17 +519,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getGroupByResultsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -606,9 +553,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 @@ -627,8 +574,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)) { @@ -654,39 +600,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; @@ -694,8 +639,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()) { @@ -714,10 +658,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_); } @@ -752,8 +695,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.securitycenter.v1.GroupAssetsResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.securitycenter.v1.GroupAssetsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -762,30 +704,21 @@ public Builder mergeFrom( } 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
@@ -802,8 +735,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
@@ -820,8 +751,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
@@ -838,8 +767,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
@@ -863,8 +790,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
@@ -885,8 +810,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
@@ -909,8 +832,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
@@ -934,8 +855,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
@@ -956,8 +875,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
@@ -978,8 +895,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
@@ -992,7 +907,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);
@@ -1000,8 +916,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
@@ -1021,8 +935,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
@@ -1042,8 +954,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
@@ -1057,8 +967,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
@@ -1070,14 +978,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
@@ -1086,8 +991,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 {
@@ -1095,8 +1000,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
@@ -1106,12 +1009,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
@@ -1122,12 +1023,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
@@ -1136,22 +1035,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(),
@@ -1163,33 +1056,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() { @@ -1200,8 +1084,6 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** - * - * *
      * Time used for executing the groupBy request.
      * 
@@ -1222,15 +1104,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(); @@ -1241,8 +1122,6 @@ public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue return this; } /** - * - * *
      * Time used for executing the groupBy request.
      * 
@@ -1253,7 +1132,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; } @@ -1265,8 +1144,6 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time used for executing the groupBy request.
      * 
@@ -1285,8 +1162,6 @@ public Builder clearReadTime() { return this; } /** - * - * *
      * Time used for executing the groupBy request.
      * 
@@ -1294,13 +1169,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.
      * 
@@ -1311,12 +1184,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.
      * 
@@ -1324,17 +1196,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_; @@ -1342,21 +1211,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; @@ -1365,22 +1232,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 { @@ -1388,79 +1254,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 @@ -1468,43 +1324,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); } @@ -1514,12 +1364,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(); } @@ -1528,16 +1378,16 @@ 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 { - return new GroupAssetsResponse(input, extensionRegistry); - } - }; + 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 { + return new GroupAssetsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1552,4 +1402,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.securitycenter.v1.GroupAssetsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupAssetsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupAssetsResponseOrBuilder.java similarity index 79% rename from proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupAssetsResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupAssetsResponseOrBuilder.java index 98c950b78..8e1053426 100644 --- a/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupAssetsResponseOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupFindingsRequest.java b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupFindingsRequest.java similarity index 84% rename from proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupFindingsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupFindingsRequest.java index 0a4b5e509..f9ddb9b92 100644 --- a/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupFindingsRequest.java +++ b/owl-bot-staging/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,15 +28,16 @@ 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; } - private GroupFindingsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,76 +56,68 @@ private GroupFindingsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + filter_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - groupBy_ = s; - break; - } - case 34: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (readTime_ != null) { - subBuilder = readTime_.toBuilder(); - } - readTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(readTime_); - readTime_ = subBuilder.buildPartial(); - } - - break; + groupBy_ = s; + break; + } + case 34: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (readTime_ != null) { + subBuilder = readTime_.toBuilder(); } - case 42: - { - com.google.protobuf.Duration.Builder subBuilder = null; - if (compareDuration_ != null) { - subBuilder = compareDuration_.toBuilder(); - } - compareDuration_ = - input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(compareDuration_); - compareDuration_ = subBuilder.buildPartial(); - } - - break; + readTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(readTime_); + readTime_ = subBuilder.buildPartial(); } - case 58: - { - java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; + break; + } + case 42: { + com.google.protobuf.Duration.Builder subBuilder = null; + if (compareDuration_ != null) { + subBuilder = compareDuration_.toBuilder(); } - case 64: - { - pageSize_ = input.readInt32(); - break; + compareDuration_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(compareDuration_); + compareDuration_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 58: { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + case 64: { + + pageSize_ = input.readInt32(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -150,33 +125,29 @@ private GroupFindingsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.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]",
@@ -187,10 +158,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 @@ -199,15 +167,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]",
@@ -218,18 +185,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 { @@ -240,8 +206,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
@@ -291,7 +255,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string filter = 2; - * * @return The filter. */ @java.lang.Override @@ -300,15 +263,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
@@ -358,15 +320,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 { @@ -377,8 +340,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: comma separated
@@ -394,7 +355,6 @@ public com.google.protobuf.ByteString getFilterBytes() {
    * 
* * string group_by = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The groupBy. */ @java.lang.Override @@ -403,15 +363,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: comma separated
@@ -427,15 +386,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 { @@ -446,8 +406,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
@@ -456,7 +414,6 @@ public com.google.protobuf.ByteString getGroupByBytes() {
    * 
* * .google.protobuf.Timestamp read_time = 4; - * * @return Whether the readTime field is set. */ @java.lang.Override @@ -464,8 +421,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
@@ -474,7 +429,6 @@ public boolean hasReadTime() {
    * 
* * .google.protobuf.Timestamp read_time = 4; - * * @return The readTime. */ @java.lang.Override @@ -482,8 +436,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
@@ -501,8 +453,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
@@ -534,7 +484,6 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
    * 
* * .google.protobuf.Duration compare_duration = 5; - * * @return Whether the compareDuration field is set. */ @java.lang.Override @@ -542,8 +491,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
@@ -575,18 +522,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
@@ -627,8 +569,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
@@ -636,7 +576,6 @@ public com.google.protobuf.DurationOrBuilder getCompareDurationOrBuilder() {
    * 
* * string page_token = 7; - * * @return The pageToken. */ @java.lang.Override @@ -645,15 +584,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
@@ -661,15 +599,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 { @@ -680,15 +619,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 @@ -697,7 +633,6 @@ public int getPageSize() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -709,7 +644,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -750,16 +686,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -769,27 +708,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -825,127 +770,117 @@ 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() @@ -953,15 +888,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -991,9 +927,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 @@ -1012,8 +948,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_; @@ -1037,39 +972,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; @@ -1077,8 +1011,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(); @@ -1123,8 +1056,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.securitycenter.v1.GroupFindingsRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.securitycenter.v1.GroupFindingsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1136,8 +1068,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]",
@@ -1148,16 +1078,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; @@ -1166,8 +1094,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Name of the source to groupBy. Its format is
      * "organizations/[organization_id]/sources/[source_id]",
@@ -1178,17 +1104,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 { @@ -1196,8 +1121,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Name of the source to groupBy. Its format is
      * "organizations/[organization_id]/sources/[source_id]",
@@ -1208,25 +1131,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]",
@@ -1237,21 +1156,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]",
@@ -1262,19 +1176,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; @@ -1282,8 +1194,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
@@ -1333,13 +1243,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; @@ -1348,8 +1258,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
@@ -1399,14 +1307,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 { @@ -1414,8 +1323,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
@@ -1465,22 +1372,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
@@ -1530,18 +1435,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
@@ -1591,16 +1493,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; @@ -1608,8 +1510,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: comma separated
@@ -1625,13 +1525,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; @@ -1640,8 +1540,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: comma separated
@@ -1657,14 +1555,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 { @@ -1672,8 +1571,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: comma separated
@@ -1689,22 +1586,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: comma separated
@@ -1720,18 +1615,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: comma separated
@@ -1747,16 +1639,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; @@ -1764,13 +1656,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
@@ -1779,15 +1666,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
@@ -1796,7 +1680,6 @@ public boolean hasReadTime() {
      * 
* * .google.protobuf.Timestamp read_time = 4; - * * @return The readTime. */ public com.google.protobuf.Timestamp getReadTime() { @@ -1807,8 +1690,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
@@ -1832,8 +1713,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
@@ -1843,7 +1722,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();
@@ -1854,8 +1734,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
@@ -1869,7 +1747,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;
         }
@@ -1881,8 +1759,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
@@ -1904,8 +1780,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
@@ -1916,13 +1790,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
@@ -1936,12 +1808,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
@@ -1952,17 +1823,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_;
@@ -1970,13 +1838,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
@@ -2008,15 +1871,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
@@ -2048,21 +1908,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
@@ -2109,8 +1964,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
@@ -2143,7 +1996,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();
@@ -2154,8 +2008,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
@@ -2192,9 +2044,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;
         }
@@ -2206,8 +2056,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
@@ -2252,8 +2100,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
@@ -2287,13 +2133,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
@@ -2330,14 +2174,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
@@ -2371,17 +2212,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_;
@@ -2389,8 +2227,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
@@ -2398,13 +2234,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; @@ -2413,8 +2249,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
@@ -2422,14 +2256,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 { @@ -2437,8 +2272,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
@@ -2446,22 +2279,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
@@ -2469,18 +2300,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
@@ -2488,32 +2316,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 @@ -2521,45 +2346,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); } @@ -2569,12 +2388,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(); } @@ -2583,16 +2402,16 @@ 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 { - return new GroupFindingsRequest(input, extensionRegistry); - } - }; + 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 { + return new GroupFindingsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2607,4 +2426,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.securitycenter.v1.GroupFindingsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupFindingsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupFindingsRequestOrBuilder.java similarity index 91% rename from proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupFindingsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupFindingsRequestOrBuilder.java index 6fedd107a..ee6835622 100644 --- a/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupFindingsRequestOrBuilder.java +++ b/owl-bot-staging/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: comma separated
@@ -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: comma separated
@@ -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/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupFindingsResponse.java b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupFindingsResponse.java similarity index 77% rename from proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupFindingsResponse.java rename to owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupFindingsResponse.java index b5fa86cee..2471a641e 100644 --- a/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupFindingsResponse.java +++ b/owl-bot-staging/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,15 +26,16 @@ 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; } - private GroupFindingsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,52 +55,46 @@ private GroupFindingsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - groupByResults_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - groupByResults_.add( - input.readMessage( - com.google.cloud.securitycenter.v1.GroupResult.parser(), extensionRegistry)); - break; - } - case 18: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (readTime_ != null) { - subBuilder = readTime_.toBuilder(); - } - readTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(readTime_); - readTime_ = subBuilder.buildPartial(); - } - - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + groupByResults_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - - nextPageToken_ = s; - break; + groupByResults_.add( + input.readMessage(com.google.cloud.securitycenter.v1.GroupResult.parser(), extensionRegistry)); + break; + } + case 18: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (readTime_ != null) { + subBuilder = readTime_.toBuilder(); } - case 32: - { - totalSize_ = input.readInt32(); - break; + readTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(readTime_); + readTime_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + nextPageToken_ = s; + break; + } + case 32: { + + totalSize_ = input.readInt32(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -125,7 +102,8 @@ private GroupFindingsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { groupByResults_ = java.util.Collections.unmodifiableList(groupByResults_); @@ -134,27 +112,22 @@ private GroupFindingsResponse( makeExtensionsImmutable(); } } - - 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
@@ -168,8 +141,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
@@ -179,13 +150,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
@@ -199,8 +168,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
@@ -214,8 +181,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
@@ -233,14 +198,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 @@ -248,14 +210,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 @@ -263,8 +222,6 @@ public com.google.protobuf.Timestamp getReadTime() { return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_; } /** - * - * *
    * Time used for executing the groupBy request.
    * 
@@ -279,15 +236,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 @@ -296,30 +250,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 { @@ -330,14 +284,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 @@ -346,7 +297,6 @@ public int getTotalSize() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -358,7 +308,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -381,16 +332,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -400,21 +354,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -444,127 +401,117 @@ 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() @@ -572,17 +519,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getGroupByResultsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -606,9 +553,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 @@ -627,8 +574,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)) { @@ -654,39 +600,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; @@ -694,8 +639,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()) { @@ -714,10 +658,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_); } @@ -752,8 +695,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.securitycenter.v1.GroupFindingsResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.securitycenter.v1.GroupFindingsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -762,30 +704,21 @@ public Builder mergeFrom( } 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
@@ -802,8 +735,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
@@ -820,8 +751,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
@@ -838,8 +767,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
@@ -863,8 +790,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
@@ -885,8 +810,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
@@ -909,8 +832,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
@@ -934,8 +855,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
@@ -956,8 +875,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
@@ -978,8 +895,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
@@ -992,7 +907,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);
@@ -1000,8 +916,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
@@ -1021,8 +935,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
@@ -1042,8 +954,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
@@ -1057,8 +967,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
@@ -1070,14 +978,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
@@ -1086,8 +991,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 {
@@ -1095,8 +1000,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
@@ -1106,12 +1009,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
@@ -1122,12 +1023,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
@@ -1136,22 +1035,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(),
@@ -1163,33 +1056,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() { @@ -1200,8 +1084,6 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** - * - * *
      * Time used for executing the groupBy request.
      * 
@@ -1222,15 +1104,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(); @@ -1241,8 +1122,6 @@ public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue return this; } /** - * - * *
      * Time used for executing the groupBy request.
      * 
@@ -1253,7 +1132,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; } @@ -1265,8 +1144,6 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time used for executing the groupBy request.
      * 
@@ -1285,8 +1162,6 @@ public Builder clearReadTime() { return this; } /** - * - * *
      * Time used for executing the groupBy request.
      * 
@@ -1294,13 +1169,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.
      * 
@@ -1311,12 +1184,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.
      * 
@@ -1324,17 +1196,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_; @@ -1342,21 +1211,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; @@ -1365,22 +1232,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 { @@ -1388,79 +1254,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 @@ -1468,43 +1324,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); } @@ -1514,12 +1364,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(); } @@ -1528,16 +1378,16 @@ 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 { - return new GroupFindingsResponse(input, extensionRegistry); - } - }; + 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 { + return new GroupFindingsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1552,4 +1402,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.securitycenter.v1.GroupFindingsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupFindingsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupFindingsResponseOrBuilder.java similarity index 79% rename from proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupFindingsResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupFindingsResponseOrBuilder.java index 8a33fee8c..c283f5262 100644 --- a/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupFindingsResponseOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupResult.java b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupResult.java similarity index 65% rename from proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupResult.java rename to owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupResult.java index 983f8ac00..c5c7e4947 100644 --- a/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupResult.java +++ b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupResult.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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; } - private GroupResult( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -69,34 +53,31 @@ private GroupResult( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - properties_ = - com.google.protobuf.MapField.newMapField( - PropertiesDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; - } - com.google.protobuf.MapEntry - properties__ = - input.readMessage( - PropertiesDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - properties_.getMutableMap().put(properties__.getKey(), properties__.getValue()); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + properties_ = com.google.protobuf.MapField.newMapField( + PropertiesDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; } - case 16: - { - count_ = input.readInt64(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + com.google.protobuf.MapEntry + properties__ = input.readMessage( + PropertiesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + properties_.getMutableMap().put( + properties__.getKey(), properties__.getValue()); + break; + } + case 16: { + + count_ = input.readInt64(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -104,60 +85,57 @@ private GroupResult( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.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_; } @@ -166,30 +144,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.
    * 
@@ -197,12 +173,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.
    * 
@@ -210,18 +185,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.
    * 
@@ -229,10 +202,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)) { @@ -244,14 +217,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 @@ -260,7 +230,6 @@ public long getCount() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -272,9 +241,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_); } @@ -287,18 +261,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -308,16 +283,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -334,153 +310,147 @@ 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) + unknownFields.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() @@ -488,15 +458,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -507,9 +478,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 @@ -528,8 +499,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(); @@ -542,39 +512,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; @@ -583,7 +552,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()); } @@ -615,27 +585,24 @@ public Builder mergeFrom( } 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(); @@ -647,30 +614,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.
      * 
@@ -678,12 +643,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.
      * 
@@ -691,18 +655,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.
      * 
@@ -710,10 +672,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)) { @@ -723,75 +685,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 @@ -799,43 +760,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); } @@ -845,12 +800,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(); } @@ -859,16 +814,16 @@ 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 { - return new GroupResult(input, extensionRegistry); - } - }; + 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 { + return new GroupResult(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -883,4 +838,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.securitycenter.v1.GroupResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupResultOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupResultOrBuilder.java similarity index 56% rename from proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupResultOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupResultOrBuilder.java index 85083b4c5..cf6bc3f33 100644 --- a/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupResultOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/IamBinding.java b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/IamBinding.java similarity index 71% rename from proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/IamBinding.java rename to owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/IamBinding.java index a6bc54298..c1648a2bb 100644 --- a/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/IamBinding.java +++ b/owl-bot-staging/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,15 +28,16 @@ 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;
   }
-
   private IamBinding(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -73,34 +56,31 @@ private IamBinding(
           case 0:
             done = true;
             break;
-          case 8:
-            {
-              int rawValue = input.readEnum();
+          case 8: {
+            int rawValue = input.readEnum();
 
-              action_ = rawValue;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            action_ = rawValue;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              role_ = s;
-              break;
-            }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            role_ = s;
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              member_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            member_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -108,41 +88,36 @@ private IamBinding(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.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.
      * 
@@ -151,8 +126,6 @@ public enum Action implements com.google.protobuf.ProtocolMessageEnum { */ ACTION_UNSPECIFIED(0), /** - * - * *
      * Addition of a Binding.
      * 
@@ -161,8 +134,6 @@ public enum Action implements com.google.protobuf.ProtocolMessageEnum { */ ADD(1), /** - * - * *
      * Removal of a Binding.
      * 
@@ -174,8 +145,6 @@ public enum Action implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Unspecified.
      * 
@@ -184,8 +153,6 @@ public enum Action implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ACTION_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Addition of a Binding.
      * 
@@ -194,8 +161,6 @@ public enum Action implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ADD_VALUE = 1; /** - * - * *
      * Removal of a Binding.
      * 
@@ -204,6 +169,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( @@ -228,49 +194,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; @@ -290,53 +256,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 @@ -345,30 +297,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 { @@ -379,15 +331,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 @@ -396,30 +345,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 { @@ -428,7 +377,6 @@ public com.google.protobuf.ByteString getMemberBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -440,9 +388,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_)) { @@ -460,9 +408,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_); @@ -478,17 +426,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -511,104 +460,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.
@@ -616,23 +558,21 @@ 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()
@@ -640,15 +580,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -662,9 +603,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
@@ -683,8 +624,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_;
@@ -696,39 +636,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;
@@ -779,67 +718,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. */ @@ -847,24 +770,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; @@ -872,21 +792,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; @@ -895,22 +813,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 { @@ -918,64 +835,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; @@ -983,21 +893,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; @@ -1006,22 +914,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 { @@ -1029,71 +936,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); } @@ -1103,12 +1003,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(); } @@ -1117,16 +1017,16 @@ 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 { - return new IamBinding(input, extensionRegistry); - } - }; + 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 { + return new IamBinding(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1141,4 +1041,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.securitycenter.v1.IamBinding getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/IamBindingOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/IamBindingOrBuilder.java similarity index 67% rename from proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/IamBindingOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/IamBindingOrBuilder.java index c5fed6b31..5a36e59aa 100644 --- a/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/IamBindingOrBuilder.java +++ b/owl-bot-staging/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/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/IamBindingProto.java b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/IamBindingProto.java new file mode 100644 index 000000000..eb64b7e0b --- /dev/null +++ b/owl-bot-staging/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/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Indicator.java b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Indicator.java similarity index 62% rename from proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Indicator.java rename to owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Indicator.java index acfb6b9e0..bb7197ff1 100644 --- a/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Indicator.java +++ b/owl-bot-staging/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,15 +31,16 @@ 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;
   }
-
   private Indicator(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -77,57 +60,49 @@ private Indicator(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                ipAddresses_ = new com.google.protobuf.LazyStringArrayList();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              ipAddresses_.add(s);
-              break;
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              ipAddresses_ = new com.google.protobuf.LazyStringArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
-              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                domains_ = new com.google.protobuf.LazyStringArrayList();
-                mutable_bitField0_ |= 0x00000002;
-              }
-              domains_.add(s);
-              break;
+            ipAddresses_.add(s);
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
+            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+              domains_ = new com.google.protobuf.LazyStringArrayList();
+              mutable_bitField0_ |= 0x00000002;
             }
-          case 26:
-            {
-              if (!((mutable_bitField0_ & 0x00000004) != 0)) {
-                signatures_ =
-                    new java.util.ArrayList<
-                        com.google.cloud.securitycenter.v1.Indicator.ProcessSignature>();
-                mutable_bitField0_ |= 0x00000004;
-              }
-              signatures_.add(
-                  input.readMessage(
-                      com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.parser(),
-                      extensionRegistry));
-              break;
+            domains_.add(s);
+            break;
+          }
+          case 26: {
+            if (!((mutable_bitField0_ & 0x00000004) != 0)) {
+              signatures_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000004;
             }
-          case 34:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
-              if (!((mutable_bitField0_ & 0x00000008) != 0)) {
-                uris_ = new com.google.protobuf.LazyStringArrayList();
-                mutable_bitField0_ |= 0x00000008;
-              }
-              uris_.add(s);
-              break;
+            signatures_.add(
+                input.readMessage(com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.parser(), extensionRegistry));
+            break;
+          }
+          case 34: {
+            java.lang.String s = input.readStringRequireUtf8();
+            if (!((mutable_bitField0_ & 0x00000008) != 0)) {
+              uris_ = new com.google.protobuf.LazyStringArrayList();
+              mutable_bitField0_ |= 0x00000008;
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            uris_.add(s);
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -135,7 +110,8 @@ private Indicator(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         ipAddresses_ = ipAddresses_.getUnmodifiableView();
@@ -153,148 +129,110 @@ private Indicator(
       makeExtensionsImmutable();
     }
   }
-
-  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; } - private ProcessSignature( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -313,67 +251,41 @@ private ProcessSignature( case 0: done = true; break; - case 50: - { - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature - .Builder - subBuilder = null; - if (signatureCase_ == 6) { - subBuilder = - ((com.google.cloud.securitycenter.v1.Indicator.ProcessSignature - .MemoryHashSignature) - signature_) - .toBuilder(); - } - signature_ = - input.readMessage( - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature - .MemoryHashSignature.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.securitycenter.v1.Indicator.ProcessSignature - .MemoryHashSignature) - signature_); - signature_ = subBuilder.buildPartial(); - } - signatureCase_ = 6; - break; + case 50: { + com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Builder subBuilder = null; + if (signatureCase_ == 6) { + subBuilder = ((com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature) signature_).toBuilder(); } - case 58: - { - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature - .Builder - subBuilder = null; - if (signatureCase_ == 7) { - subBuilder = - ((com.google.cloud.securitycenter.v1.Indicator.ProcessSignature - .YaraRuleSignature) - signature_) - .toBuilder(); - } - signature_ = - input.readMessage( - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature - .YaraRuleSignature.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.securitycenter.v1.Indicator.ProcessSignature - .YaraRuleSignature) - signature_); - signature_ = subBuilder.buildPartial(); - } - signatureCase_ = 7; - break; + signature_ = + input.readMessage(com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature) signature_); + signature_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + signatureCase_ = 6; + break; + } + case 58: { + com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature.Builder subBuilder = null; + if (signatureCase_ == 7) { + subBuilder = ((com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature) signature_).toBuilder(); + } + signature_ = + input.readMessage(com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature) signature_); + signature_ = subBuilder.buildPartial(); } + signatureCase_ = 7; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -381,154 +293,115 @@ private ProcessSignature( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.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(); @@ -536,15 +409,16 @@ 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; } - private MemoryHashSignature( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -564,36 +438,28 @@ private MemoryHashSignature( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - binaryFamily_ = s; - break; - } - case 34: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - detections_ = - new java.util.ArrayList< - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature - .MemoryHashSignature.Detection>(); - mutable_bitField0_ |= 0x00000001; - } - detections_.add( - input.readMessage( - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature - .MemoryHashSignature.Detection.parser(), - extensionRegistry)); - break; + binaryFamily_ = s; + break; + } + case 34: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + detections_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + detections_.add( + input.readMessage(com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -601,8 +467,8 @@ private MemoryHashSignature( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { detections_ = java.util.Collections.unmodifiableList(detections_); @@ -611,105 +477,88 @@ private MemoryHashSignature( makeExtensionsImmutable(); } } - - 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; } - private Detection( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -728,25 +577,24 @@ private Detection( case 0: done = true; break; - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - binary_ = s; - break; - } - case 25: - { - percentPagesMatched_ = input.readDouble(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + binary_ = s; + break; + } + case 25: { + + percentPagesMatched_ = input.readDouble(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -754,43 +602,35 @@ private Detection( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.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 @@ -799,30 +639,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 { @@ -833,15 +673,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 @@ -850,7 +687,6 @@ public double getPercentPagesMatched() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -863,7 +699,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_); } @@ -883,8 +719,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -894,24 +730,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -926,128 +756,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) + unknownFields.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 @@ -1057,53 +854,44 @@ 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() + // Construct using com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1115,26 +903,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); } @@ -1142,14 +923,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(); @@ -1160,60 +935,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(); @@ -1236,16 +997,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature - .Detection - parsedMessage = null; + com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature - .Detection) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1257,21 +1013,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; @@ -1280,22 +1034,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 { @@ -1303,80 +1056,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 @@ -1384,43 +1127,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) { @@ -1433,36 +1169,30 @@ 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 { - return new Detection(input, extensionRegistry); - } - }; + 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 { + return new Detection(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1474,24 +1204,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 @@ -1500,29 +1226,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 { @@ -1531,104 +1257,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; @@ -1640,7 +1333,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -1660,7 +1354,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1670,18 +1365,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1704,116 +1398,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 @@ -1823,55 +1489,45 @@ 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() + // Construct using com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getDetectionsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1887,23 +1543,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); } @@ -1911,11 +1563,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) { @@ -1935,57 +1584,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(); @@ -2008,10 +1646,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_); } @@ -2032,14 +1669,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature - parsedMessage = null; + com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -2048,25 +1682,22 @@ public Builder mergeFrom( } 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; @@ -2075,21 +1706,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 { @@ -2097,106 +1727,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 { @@ -2204,16 +1808,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) { @@ -2223,20 +1823,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 { @@ -2244,22 +1838,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(); @@ -2273,22 +1860,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()); @@ -2299,21 +1879,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(); @@ -2327,22 +1900,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(); @@ -2356,21 +1922,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()); @@ -2381,22 +1941,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()); @@ -2407,26 +1960,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); @@ -2434,16 +1980,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) { @@ -2456,16 +1998,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) { @@ -2478,60 +2016,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 { @@ -2539,82 +2059,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(), @@ -2623,7 +2109,6 @@ public Builder removeDetections(int index) { } return detectionsBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2636,35 +2121,30 @@ 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 { - return new MemoryHashSignature(input, extensionRegistry); - } - }; + 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 { + return new MemoryHashSignature(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2676,77 +2156,68 @@ 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; } - private YaraRuleSignature( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -2765,20 +2236,19 @@ private YaraRuleSignature( case 0: done = true; break; - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + case 42: { + java.lang.String s = input.readStringRequireUtf8(); - yaraRule_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + yaraRule_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2786,42 +2256,34 @@ private YaraRuleSignature( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.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 @@ -2830,29 +2292,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 { @@ -2861,7 +2323,6 @@ public com.google.protobuf.ByteString getYaraRuleBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2873,7 +2334,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -2897,17 +2359,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -2926,104 +2386,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 @@ -3033,52 +2477,44 @@ 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() + // Construct using com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -3088,23 +2524,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); } @@ -3112,11 +2544,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; @@ -3126,56 +2555,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(); @@ -3195,14 +2614,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature - parsedMessage = null; + com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -3214,20 +2630,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; @@ -3236,21 +2650,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 { @@ -3258,66 +2671,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) { @@ -3330,34 +2735,30 @@ 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 { - return new YaraRuleSignature(input, extensionRegistry); - } - }; + 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 { + return new YaraRuleSignature(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3369,24 +2770,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; } @@ -3402,38 +2800,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 @@ -3441,63 +2831,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 @@ -3505,52 +2874,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; @@ -3562,18 +2915,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_); } unknownFields.writeTo(output); } @@ -3585,18 +2933,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -3606,21 +2948,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: @@ -3654,94 +2997,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 @@ -3751,32 +3087,27 @@ 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() @@ -3784,15 +3115,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -3802,14 +3134,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(); } @@ -3824,8 +3155,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_; @@ -3849,67 +3179,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.unknownFields); onChanged(); @@ -3930,9 +3251,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.securitycenter.v1.Indicator.ProcessSignature) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.securitycenter.v1.Indicator.ProcessSignature) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -3941,12 +3260,12 @@ public Builder mergeFrom( } 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() { @@ -3956,24 +3275,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 @@ -3981,50 +3291,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(); @@ -4038,19 +3333,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(); @@ -4061,31 +3351,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; } @@ -4101,15 +3378,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) { @@ -4128,110 +3401,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 @@ -4239,49 +3469,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(); @@ -4295,19 +3511,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(); @@ -4318,31 +3529,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; } @@ -4358,15 +3556,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) { @@ -4385,89 +3579,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) { @@ -4480,32 +3643,30 @@ 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 { - return new ProcessSignature(input, extensionRegistry); - } - }; + 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 { + return new ProcessSignature(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4517,51 +3678,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. */ @@ -4569,60 +3722,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. */ @@ -4630,142 +3773,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. */ @@ -4773,23 +3889,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; @@ -4801,7 +3914,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -4840,7 +3954,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; @@ -4858,18 +3973,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -4902,104 +4020,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
@@ -5009,23 +4120,21 @@ 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()
@@ -5033,17 +4142,17 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getSignaturesFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -5063,9 +4172,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
@@ -5084,8 +4193,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();
@@ -5119,39 +4227,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;
@@ -5198,10 +4305,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_);
           }
@@ -5245,55 +4351,44 @@ public Builder mergeFrom(
       }
       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. */ @@ -5301,90 +4396,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() { @@ -5394,74 +4479,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. */ @@ -5469,90 +4542,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() { @@ -5562,59 +4625,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 { @@ -5622,15 +4673,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) { @@ -5640,15 +4688,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) { @@ -5658,15 +4703,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) { @@ -5683,19 +4725,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()); @@ -5706,18 +4744,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(); @@ -5731,15 +4765,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) { @@ -5756,15 +4787,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) { @@ -5778,19 +4806,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()); @@ -5801,22 +4825,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); @@ -5824,15 +4845,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) { @@ -5845,15 +4863,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) { @@ -5866,53 +4881,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 { @@ -5920,119 +4924,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. */ @@ -6040,90 +5018,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() { @@ -6133,30 +5101,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); } @@ -6166,12 +5132,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(); } @@ -6180,16 +5146,16 @@ 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 { - return new Indicator(input, extensionRegistry); - } - }; + 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 { + return new Indicator(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -6204,4 +5170,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.securitycenter.v1.Indicator getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/IndicatorOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/IndicatorOrBuilder.java similarity index 74% rename from proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/IndicatorOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/IndicatorOrBuilder.java index 6f1809dba..ce6035225 100644 --- a/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/IndicatorOrBuilder.java +++ b/owl-bot-staging/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/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/IndicatorProto.java b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/IndicatorProto.java new file mode 100644 index 000000000..d72184040 --- /dev/null +++ b/owl-bot-staging/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/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Kubernetes.java b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Kubernetes.java similarity index 76% rename from proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Kubernetes.java rename to owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Kubernetes.java index bc2654e96..d3f232185 100644 --- a/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Kubernetes.java +++ b/owl-bot-staging/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,15 +30,16 @@ 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; } - private Kubernetes( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -76,94 +59,67 @@ private Kubernetes( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - pods_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - pods_.add( - input.readMessage( - com.google.cloud.securitycenter.v1.Kubernetes.Pod.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + pods_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - nodes_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; - } - nodes_.add( - input.readMessage( - com.google.cloud.securitycenter.v1.Kubernetes.Node.parser(), - extensionRegistry)); - break; + pods_.add( + input.readMessage(com.google.cloud.securitycenter.v1.Kubernetes.Pod.parser(), extensionRegistry)); + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + nodes_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; } - case 26: - { - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - nodePools_ = - new java.util.ArrayList< - com.google.cloud.securitycenter.v1.Kubernetes.NodePool>(); - mutable_bitField0_ |= 0x00000004; - } - nodePools_.add( - input.readMessage( - com.google.cloud.securitycenter.v1.Kubernetes.NodePool.parser(), - extensionRegistry)); - break; + nodes_.add( + input.readMessage(com.google.cloud.securitycenter.v1.Kubernetes.Node.parser(), extensionRegistry)); + break; + } + case 26: { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + nodePools_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000004; } - case 34: - { - if (!((mutable_bitField0_ & 0x00000008) != 0)) { - roles_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000008; - } - roles_.add( - input.readMessage( - com.google.cloud.securitycenter.v1.Kubernetes.Role.parser(), - extensionRegistry)); - break; + nodePools_.add( + input.readMessage(com.google.cloud.securitycenter.v1.Kubernetes.NodePool.parser(), extensionRegistry)); + break; + } + case 34: { + if (!((mutable_bitField0_ & 0x00000008) != 0)) { + roles_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000008; } - case 42: - { - if (!((mutable_bitField0_ & 0x00000010) != 0)) { - bindings_ = - new java.util.ArrayList< - com.google.cloud.securitycenter.v1.Kubernetes.Binding>(); - mutable_bitField0_ |= 0x00000010; - } - bindings_.add( - input.readMessage( - com.google.cloud.securitycenter.v1.Kubernetes.Binding.parser(), - extensionRegistry)); - break; + roles_.add( + input.readMessage(com.google.cloud.securitycenter.v1.Kubernetes.Role.parser(), extensionRegistry)); + break; + } + case 42: { + if (!((mutable_bitField0_ & 0x00000010) != 0)) { + bindings_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000010; } - case 50: - { - if (!((mutable_bitField0_ & 0x00000020) != 0)) { - accessReviews_ = - new java.util.ArrayList< - com.google.cloud.securitycenter.v1.Kubernetes.AccessReview>(); - mutable_bitField0_ |= 0x00000020; - } - accessReviews_.add( - input.readMessage( - com.google.cloud.securitycenter.v1.Kubernetes.AccessReview.parser(), - extensionRegistry)); - break; + bindings_.add( + input.readMessage(com.google.cloud.securitycenter.v1.Kubernetes.Binding.parser(), extensionRegistry)); + break; + } + case 50: { + if (!((mutable_bitField0_ & 0x00000020) != 0)) { + accessReviews_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000020; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + accessReviews_.add( + input.readMessage(com.google.cloud.securitycenter.v1.Kubernetes.AccessReview.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -171,7 +127,8 @@ private Kubernetes( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { pods_ = java.util.Collections.unmodifiableList(pods_); @@ -195,80 +152,64 @@ private Kubernetes( makeExtensionsImmutable(); } } - - 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.
@@ -276,10 +217,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.
@@ -289,8 +229,6 @@ public interface PodOrBuilder
      */
     com.google.cloud.securitycenter.v1.Label getLabels(int index);
     /**
-     *
-     *
      * 
      * Pod labels.  For Kubernetes containers, these are applied to the
      * container.
@@ -300,8 +238,6 @@ public interface PodOrBuilder
      */
     int getLabelsCount();
     /**
-     *
-     *
      * 
      * Pod labels.  For Kubernetes containers, these are applied to the
      * container.
@@ -309,11 +245,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.
@@ -321,21 +255,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.
      * 
@@ -344,8 +276,6 @@ public interface PodOrBuilder */ com.google.cloud.securitycenter.v1.Container getContainers(int index); /** - * - * *
      * Pod containers associated with this finding, if any.
      * 
@@ -354,46 +284,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_ = ""; @@ -403,15 +327,16 @@ 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; } - private Pod( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -431,50 +356,43 @@ private Pod( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - ns_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + ns_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 26: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - labels_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - labels_.add( - input.readMessage( - com.google.cloud.securitycenter.v1.Label.parser(), extensionRegistry)); - break; + name_ = s; + break; + } + case 26: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + labels_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 34: - { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - containers_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; - } - containers_.add( - input.readMessage( - com.google.cloud.securitycenter.v1.Container.parser(), extensionRegistry)); - break; + labels_.add( + input.readMessage(com.google.cloud.securitycenter.v1.Label.parser(), extensionRegistry)); + break; + } + case 34: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + containers_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + containers_.add( + input.readMessage(com.google.cloud.securitycenter.v1.Container.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -482,7 +400,8 @@ private Pod( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { labels_ = java.util.Collections.unmodifiableList(labels_); @@ -494,33 +413,27 @@ private Pod( makeExtensionsImmutable(); } } - - 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 @@ -529,29 +442,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 { @@ -562,14 +475,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 @@ -578,29 +488,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 { @@ -611,8 +521,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.
@@ -625,8 +533,6 @@ public java.util.List getLabelsList()
       return labels_;
     }
     /**
-     *
-     *
      * 
      * Pod labels.  For Kubernetes containers, these are applied to the
      * container.
@@ -635,13 +541,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.
@@ -654,8 +558,6 @@ public int getLabelsCount() {
       return labels_.size();
     }
     /**
-     *
-     *
      * 
      * Pod labels.  For Kubernetes containers, these are applied to the
      * container.
@@ -668,8 +570,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.
@@ -678,15 +578,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.
      * 
@@ -698,8 +597,6 @@ public java.util.List getContainer return containers_; } /** - * - * *
      * Pod containers associated with this finding, if any.
      * 
@@ -707,13 +604,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.
      * 
@@ -725,8 +620,6 @@ public int getContainersCount() { return containers_.size(); } /** - * - * *
      * Pod containers associated with this finding, if any.
      * 
@@ -738,8 +631,6 @@ public com.google.cloud.securitycenter.v1.Container getContainers(int index) { return containers_.get(index); } /** - * - * *
      * Pod containers associated with this finding, if any.
      * 
@@ -747,12 +638,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; @@ -764,7 +655,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -793,10 +685,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -806,18 +700,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -847,93 +744,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 @@ -943,32 +834,27 @@ 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() @@ -976,18 +862,18 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getLabelsFieldBuilder(); getContainersFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1011,9 +897,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 @@ -1032,8 +918,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_; @@ -1063,41 +948,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; @@ -1105,8 +987,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(); @@ -1133,10 +1014,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_); } @@ -1160,10 +1040,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_); } @@ -1188,8 +1067,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.securitycenter.v1.Kubernetes.Pod) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.securitycenter.v1.Kubernetes.Pod) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1198,25 +1076,22 @@ public Builder mergeFrom( } 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; @@ -1225,21 +1100,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 { @@ -1247,61 +1121,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; @@ -1309,20 +1176,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; @@ -1331,21 +1196,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 { @@ -1353,85 +1217,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.
@@ -1447,8 +1298,6 @@ public java.util.List getLabelsList()
         }
       }
       /**
-       *
-       *
        * 
        * Pod labels.  For Kubernetes containers, these are applied to the
        * container.
@@ -1464,8 +1313,6 @@ public int getLabelsCount() {
         }
       }
       /**
-       *
-       *
        * 
        * Pod labels.  For Kubernetes containers, these are applied to the
        * container.
@@ -1481,8 +1328,6 @@ public com.google.cloud.securitycenter.v1.Label getLabels(int index) {
         }
       }
       /**
-       *
-       *
        * 
        * Pod labels.  For Kubernetes containers, these are applied to the
        * container.
@@ -1490,7 +1335,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();
@@ -1504,8 +1350,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.
@@ -1525,8 +1369,6 @@ public Builder setLabels(
         return this;
       }
       /**
-       *
-       *
        * 
        * Pod labels.  For Kubernetes containers, these are applied to the
        * container.
@@ -1548,8 +1390,6 @@ public Builder addLabels(com.google.cloud.securitycenter.v1.Label value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Pod labels.  For Kubernetes containers, these are applied to the
        * container.
@@ -1557,7 +1397,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();
@@ -1571,8 +1412,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.
@@ -1580,7 +1419,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());
@@ -1591,8 +1431,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.
@@ -1612,8 +1450,6 @@ public Builder addLabels(
         return this;
       }
       /**
-       *
-       *
        * 
        * Pod labels.  For Kubernetes containers, these are applied to the
        * container.
@@ -1625,7 +1461,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);
@@ -1633,8 +1470,6 @@ public Builder addAllLabels(
         return this;
       }
       /**
-       *
-       *
        * 
        * Pod labels.  For Kubernetes containers, these are applied to the
        * container.
@@ -1653,8 +1488,6 @@ public Builder clearLabels() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Pod labels.  For Kubernetes containers, these are applied to the
        * container.
@@ -1673,8 +1506,6 @@ public Builder removeLabels(int index) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Pod labels.  For Kubernetes containers, these are applied to the
        * container.
@@ -1682,12 +1513,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.
@@ -1695,16 +1525,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.
@@ -1712,8 +1540,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 {
@@ -1721,8 +1549,6 @@ public com.google.cloud.securitycenter.v1.LabelOrBuilder getLabelsOrBuilder(int
         }
       }
       /**
-       *
-       *
        * 
        * Pod labels.  For Kubernetes containers, these are applied to the
        * container.
@@ -1731,12 +1557,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.
@@ -1744,13 +1568,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.
@@ -1758,48 +1581,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.
        * 
@@ -1814,8 +1627,6 @@ public java.util.List getContainer } } /** - * - * *
        * Pod containers associated with this finding, if any.
        * 
@@ -1830,8 +1641,6 @@ public int getContainersCount() { } } /** - * - * *
        * Pod containers associated with this finding, if any.
        * 
@@ -1846,15 +1655,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(); @@ -1868,8 +1676,6 @@ public Builder setContainers(int index, com.google.cloud.securitycenter.v1.Conta return this; } /** - * - * *
        * Pod containers associated with this finding, if any.
        * 
@@ -1888,8 +1694,6 @@ public Builder setContainers( return this; } /** - * - * *
        * Pod containers associated with this finding, if any.
        * 
@@ -1910,15 +1714,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(); @@ -1932,8 +1735,6 @@ public Builder addContainers(int index, com.google.cloud.securitycenter.v1.Conta return this; } /** - * - * *
        * Pod containers associated with this finding, if any.
        * 
@@ -1952,8 +1753,6 @@ public Builder addContainers( return this; } /** - * - * *
        * Pod containers associated with this finding, if any.
        * 
@@ -1972,8 +1771,6 @@ public Builder addContainers( return this; } /** - * - * *
        * Pod containers associated with this finding, if any.
        * 
@@ -1984,7 +1781,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); @@ -1992,8 +1790,6 @@ public Builder addAllContainers( return this; } /** - * - * *
        * Pod containers associated with this finding, if any.
        * 
@@ -2011,8 +1807,6 @@ public Builder clearContainers() { return this; } /** - * - * *
        * Pod containers associated with this finding, if any.
        * 
@@ -2030,20 +1824,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.
        * 
@@ -2053,22 +1844,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 { @@ -2076,8 +1864,6 @@ public com.google.cloud.securitycenter.v1.ContainerOrBuilder getContainersOrBuil } } /** - * - * *
        * Pod containers associated with this finding, if any.
        * 
@@ -2085,53 +1871,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) { @@ -2144,12 +1923,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(); } @@ -2158,16 +1937,16 @@ 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 { - return new Pod(input, extensionRegistry); - } - }; + 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 { + return new Pod(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2182,74 +1961,67 @@ 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; } - private Node( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -2268,20 +2040,19 @@ private Node( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2289,40 +2060,35 @@ private Node( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.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 @@ -2331,30 +2097,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 { @@ -2363,7 +2129,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2375,7 +2140,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -2399,15 +2165,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -2427,93 +2193,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 @@ -2523,32 +2283,27 @@ 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() @@ -2556,15 +2311,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -2574,9 +2330,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 @@ -2595,8 +2351,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; @@ -2606,41 +2361,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; @@ -2648,8 +2400,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(); @@ -2673,8 +2424,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.securitycenter.v1.Kubernetes.Node) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.securitycenter.v1.Kubernetes.Node) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -2686,21 +2436,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; @@ -2709,22 +2457,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 { @@ -2732,69 +2479,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) { @@ -2807,12 +2546,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(); } @@ -2821,16 +2560,16 @@ 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 { - return new Node(input, extensionRegistry); - } - }; + 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 { + return new Node(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2845,51 +2584,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.
      * 
@@ -2898,8 +2629,6 @@ public interface NodePoolOrBuilder */ com.google.cloud.securitycenter.v1.Kubernetes.Node getNodes(int index); /** - * - * *
      * Nodes associated with the finding.
      * 
@@ -2908,46 +2637,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(); @@ -2955,15 +2678,16 @@ 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; } - private NodePool( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -2983,33 +2707,28 @@ private NodePool( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - nodes_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - nodes_.add( - input.readMessage( - com.google.cloud.securitycenter.v1.Kubernetes.Node.parser(), - extensionRegistry)); - break; + name_ = s; + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + nodes_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nodes_.add( + input.readMessage(com.google.cloud.securitycenter.v1.Kubernetes.Node.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3017,7 +2736,8 @@ private NodePool( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { nodes_ = java.util.Collections.unmodifiableList(nodes_); @@ -3026,33 +2746,27 @@ private NodePool( makeExtensionsImmutable(); } } - - 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 @@ -3061,29 +2775,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 { @@ -3094,8 +2808,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.
      * 
@@ -3107,8 +2819,6 @@ public java.util.List getNod return nodes_; } /** - * - * *
      * Nodes associated with the finding.
      * 
@@ -3116,13 +2826,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.
      * 
@@ -3134,8 +2842,6 @@ public int getNodesCount() { return nodes_.size(); } /** - * - * *
      * Nodes associated with the finding.
      * 
@@ -3147,8 +2853,6 @@ public com.google.cloud.securitycenter.v1.Kubernetes.Node getNodes(int index) { return nodes_.get(index); } /** - * - * *
      * Nodes associated with the finding.
      * 
@@ -3162,7 +2866,6 @@ public com.google.cloud.securitycenter.v1.Kubernetes.NodeOrBuilder getNodesOrBui } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3174,7 +2877,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -3194,7 +2898,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -3204,16 +2909,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -3237,94 +2943,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 @@ -3334,32 +3033,27 @@ 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() @@ -3367,17 +3061,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getNodesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -3393,9 +3087,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 @@ -3414,8 +3108,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) { @@ -3435,41 +3128,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) { - return super.setField(field, value); + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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; @@ -3477,8 +3167,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(); @@ -3501,10 +3190,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_); } @@ -3529,8 +3217,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.securitycenter.v1.Kubernetes.NodePool) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.securitycenter.v1.Kubernetes.NodePool) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -3539,25 +3226,22 @@ public Builder mergeFrom( } 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; @@ -3566,21 +3250,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 { @@ -3588,86 +3271,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.
        * 
@@ -3682,8 +3351,6 @@ public java.util.List getNod } } /** - * - * *
        * Nodes associated with the finding.
        * 
@@ -3698,8 +3365,6 @@ public int getNodesCount() { } } /** - * - * *
        * Nodes associated with the finding.
        * 
@@ -3714,15 +3379,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(); @@ -3736,8 +3400,6 @@ public Builder setNodes(int index, com.google.cloud.securitycenter.v1.Kubernetes return this; } /** - * - * *
        * Nodes associated with the finding.
        * 
@@ -3756,8 +3418,6 @@ public Builder setNodes( return this; } /** - * - * *
        * Nodes associated with the finding.
        * 
@@ -3778,15 +3438,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(); @@ -3800,8 +3459,6 @@ public Builder addNodes(int index, com.google.cloud.securitycenter.v1.Kubernetes return this; } /** - * - * *
        * Nodes associated with the finding.
        * 
@@ -3820,8 +3477,6 @@ public Builder addNodes( return this; } /** - * - * *
        * Nodes associated with the finding.
        * 
@@ -3840,8 +3495,6 @@ public Builder addNodes( return this; } /** - * - * *
        * Nodes associated with the finding.
        * 
@@ -3852,7 +3505,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); @@ -3860,8 +3514,6 @@ public Builder addAllNodes( return this; } /** - * - * *
        * Nodes associated with the finding.
        * 
@@ -3879,8 +3531,6 @@ public Builder clearNodes() { return this; } /** - * - * *
        * Nodes associated with the finding.
        * 
@@ -3898,20 +3548,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.
        * 
@@ -3921,22 +3568,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 { @@ -3944,8 +3588,6 @@ public com.google.cloud.securitycenter.v1.Kubernetes.NodeOrBuilder getNodesOrBui } } /** - * - * *
        * Nodes associated with the finding.
        * 
@@ -3953,54 +3595,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) { @@ -4013,12 +3647,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(); } @@ -4027,16 +3661,16 @@ 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 { - return new NodePool(input, extensionRegistry); - } - }; + 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 { + return new NodePool(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4051,107 +3685,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_ = ""; @@ -4160,15 +3775,16 @@ 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; } - private Role( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -4187,34 +3803,31 @@ private Role( case 0: done = true; break; - case 8: - { - int rawValue = input.readEnum(); + case 8: { + int rawValue = input.readEnum(); - kind_ = rawValue; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + kind_ = rawValue; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - ns_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + ns_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -4222,41 +3835,36 @@ private Role( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.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.
        * 
@@ -4265,8 +3873,6 @@ public enum Kind implements com.google.protobuf.ProtocolMessageEnum { */ KIND_UNSPECIFIED(0), /** - * - * *
        * Kubernetes Role.
        * 
@@ -4275,8 +3881,6 @@ public enum Kind implements com.google.protobuf.ProtocolMessageEnum { */ ROLE(1), /** - * - * *
        * Kubernetes ClusterRole.
        * 
@@ -4288,8 +3892,6 @@ public enum Kind implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
        * Role type is not specified.
        * 
@@ -4298,8 +3900,6 @@ public enum Kind implements com.google.protobuf.ProtocolMessageEnum { */ public static final int KIND_UNSPECIFIED_VALUE = 0; /** - * - * *
        * Kubernetes Role.
        * 
@@ -4308,8 +3908,6 @@ public enum Kind implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ROLE_VALUE = 1; /** - * - * *
        * Kubernetes ClusterRole.
        * 
@@ -4318,6 +3916,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( @@ -4342,51 +3941,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; @@ -4406,52 +4003,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 @@ -4460,29 +4043,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 { @@ -4493,14 +4076,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 @@ -4509,29 +4089,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 { @@ -4540,7 +4120,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -4552,9 +4131,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_)) { @@ -4572,9 +4151,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_); @@ -4590,17 +4169,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -4624,93 +4204,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 @@ -4720,32 +4294,27 @@ 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() @@ -4753,15 +4322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -4775,9 +4345,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 @@ -4796,8 +4366,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_; @@ -4809,41 +4378,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; @@ -4851,8 +4417,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()); } @@ -4883,8 +4448,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.securitycenter.v1.Kubernetes.Role) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.securitycenter.v1.Kubernetes.Role) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -4896,67 +4460,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. */ @@ -4964,24 +4512,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; @@ -4989,20 +4534,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; @@ -5011,21 +4554,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 { @@ -5033,61 +4575,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; @@ -5095,20 +4630,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; @@ -5117,21 +4650,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 { @@ -5139,66 +4671,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) { @@ -5211,12 +4735,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(); } @@ -5225,16 +4749,16 @@ 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 { - return new Role(input, extensionRegistry); - } - }; + 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 { + return new Role(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5249,90 +4773,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.
      * 
@@ -5342,8 +4848,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.
@@ -5351,10 +4855,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.
@@ -5364,8 +4867,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.
@@ -5375,8 +4876,6 @@ public interface BindingOrBuilder
      */
     int getSubjectsCount();
     /**
-     *
-     *
      * 
      * Represents the subjects(s) bound to the role. Not always available
      * for PATCH requests.
@@ -5384,11 +4883,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.
@@ -5396,27 +4893,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_ = ""; @@ -5425,15 +4920,16 @@ 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; } - private Binding( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -5453,58 +4949,47 @@ private Binding( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - ns_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + ns_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; + name_ = s; + break; + } + case 26: { + com.google.cloud.securitycenter.v1.Kubernetes.Role.Builder subBuilder = null; + if (role_ != null) { + subBuilder = role_.toBuilder(); } - case 26: - { - com.google.cloud.securitycenter.v1.Kubernetes.Role.Builder subBuilder = null; - if (role_ != null) { - subBuilder = role_.toBuilder(); - } - role_ = - input.readMessage( - com.google.cloud.securitycenter.v1.Kubernetes.Role.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(role_); - role_ = subBuilder.buildPartial(); - } - - break; + role_ = input.readMessage(com.google.cloud.securitycenter.v1.Kubernetes.Role.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(role_); + role_ = subBuilder.buildPartial(); } - case 34: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - subjects_ = - new java.util.ArrayList< - com.google.cloud.securitycenter.v1.Kubernetes.Subject>(); - mutable_bitField0_ |= 0x00000001; - } - subjects_.add( - input.readMessage( - com.google.cloud.securitycenter.v1.Kubernetes.Subject.parser(), - extensionRegistry)); - break; + + break; + } + case 34: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + subjects_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + subjects_.add( + input.readMessage(com.google.cloud.securitycenter.v1.Kubernetes.Subject.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -5512,7 +4997,8 @@ private Binding( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { subjects_ = java.util.Collections.unmodifiableList(subjects_); @@ -5521,33 +5007,27 @@ private Binding( makeExtensionsImmutable(); } } - - 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 @@ -5556,29 +5036,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 { @@ -5589,14 +5069,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 @@ -5605,29 +5082,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 { @@ -5638,14 +5115,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 @@ -5653,25 +5127,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.
      * 
@@ -5686,8 +5153,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.
@@ -5700,8 +5165,6 @@ public java.util.List get
       return subjects_;
     }
     /**
-     *
-     *
      * 
      * Represents the subjects(s) bound to the role. Not always available
      * for PATCH requests.
@@ -5710,13 +5173,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.
@@ -5729,8 +5190,6 @@ public int getSubjectsCount() {
       return subjects_.size();
     }
     /**
-     *
-     *
      * 
      * Represents the subjects(s) bound to the role. Not always available
      * for PATCH requests.
@@ -5743,8 +5202,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.
@@ -5759,7 +5216,6 @@ public com.google.cloud.securitycenter.v1.Kubernetes.SubjectOrBuilder getSubject
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -5771,7 +5227,8 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.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_);
       }
@@ -5800,10 +5257,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 += unknownFields.getSerializedSize();
       memoizedSize = size;
@@ -5813,21 +5272,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 (!unknownFields.equals(other.unknownFields)) return false;
       return true;
     }
@@ -5857,94 +5319,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
@@ -5954,32 +5409,27 @@ 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() @@ -5987,17 +5437,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getSubjectsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -6021,9 +5471,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 @@ -6042,8 +5492,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_; @@ -6069,41 +5518,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; @@ -6111,8 +5557,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(); @@ -6142,10 +5587,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_); } @@ -6170,8 +5614,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.securitycenter.v1.Kubernetes.Binding) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.securitycenter.v1.Kubernetes.Binding) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -6180,25 +5623,22 @@ public Builder mergeFrom( } 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; @@ -6207,21 +5647,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 { @@ -6229,61 +5668,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; @@ -6291,20 +5723,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; @@ -6313,21 +5743,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 { @@ -6335,61 +5764,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; @@ -6397,47 +5819,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.
        * 
@@ -6458,8 +5867,6 @@ public Builder setRole(com.google.cloud.securitycenter.v1.Kubernetes.Role value) return this; } /** - * - * *
        * The Role or ClusterRole referenced by the binding.
        * 
@@ -6478,8 +5885,6 @@ public Builder setRole( return this; } /** - * - * *
        * The Role or ClusterRole referenced by the binding.
        * 
@@ -6490,9 +5895,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; } @@ -6504,8 +5907,6 @@ public Builder mergeRole(com.google.cloud.securitycenter.v1.Kubernetes.Role valu return this; } /** - * - * *
        * The Role or ClusterRole referenced by the binding.
        * 
@@ -6524,8 +5925,6 @@ public Builder clearRole() { return this; } /** - * - * *
        * The Role or ClusterRole referenced by the binding.
        * 
@@ -6533,13 +5932,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.
        * 
@@ -6550,14 +5947,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.
        * 
@@ -6565,43 +5959,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.
@@ -6609,8 +5992,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 {
@@ -6618,8 +6000,6 @@ private void ensureSubjectsIsMutable() {
         }
       }
       /**
-       *
-       *
        * 
        * Represents the subjects(s) bound to the role. Not always available
        * for PATCH requests.
@@ -6635,8 +6015,6 @@ public int getSubjectsCount() {
         }
       }
       /**
-       *
-       *
        * 
        * Represents the subjects(s) bound to the role. Not always available
        * for PATCH requests.
@@ -6652,8 +6030,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.
@@ -6676,8 +6052,6 @@ public Builder setSubjects(
         return this;
       }
       /**
-       *
-       *
        * 
        * Represents the subjects(s) bound to the role. Not always available
        * for PATCH requests.
@@ -6686,8 +6060,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());
@@ -6698,8 +6071,6 @@ public Builder setSubjects(
         return this;
       }
       /**
-       *
-       *
        * 
        * Represents the subjects(s) bound to the role. Not always available
        * for PATCH requests.
@@ -6721,8 +6092,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.
@@ -6745,8 +6114,6 @@ public Builder addSubjects(
         return this;
       }
       /**
-       *
-       *
        * 
        * Represents the subjects(s) bound to the role. Not always available
        * for PATCH requests.
@@ -6766,8 +6133,6 @@ public Builder addSubjects(
         return this;
       }
       /**
-       *
-       *
        * 
        * Represents the subjects(s) bound to the role. Not always available
        * for PATCH requests.
@@ -6776,8 +6141,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());
@@ -6788,8 +6152,6 @@ public Builder addSubjects(
         return this;
       }
       /**
-       *
-       *
        * 
        * Represents the subjects(s) bound to the role. Not always available
        * for PATCH requests.
@@ -6798,11 +6160,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);
@@ -6810,8 +6172,6 @@ public Builder addAllSubjects(
         return this;
       }
       /**
-       *
-       *
        * 
        * Represents the subjects(s) bound to the role. Not always available
        * for PATCH requests.
@@ -6830,8 +6190,6 @@ public Builder clearSubjects() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Represents the subjects(s) bound to the role. Not always available
        * for PATCH requests.
@@ -6850,8 +6208,6 @@ public Builder removeSubjects(int index) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Represents the subjects(s) bound to the role. Not always available
        * for PATCH requests.
@@ -6864,8 +6220,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.
@@ -6876,14 +6230,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.
@@ -6891,9 +6242,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 {
@@ -6901,8 +6251,6 @@ public com.google.cloud.securitycenter.v1.Kubernetes.SubjectOrBuilder getSubject
         }
       }
       /**
-       *
-       *
        * 
        * Represents the subjects(s) bound to the role. Not always available
        * for PATCH requests.
@@ -6911,12 +6259,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.
@@ -6926,13 +6272,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.
@@ -6940,28 +6283,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) {
@@ -6974,12 +6313,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();
     }
@@ -6988,16 +6327,16 @@ 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 {
-            return new Binding(input, extensionRegistry);
-          }
-        };
+    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 {
+        return new Binding(input, extensionRegistry);
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -7012,107 +6351,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_ = ""; @@ -7121,15 +6441,16 @@ 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; } - private Subject( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -7148,34 +6469,31 @@ private Subject( case 0: done = true; break; - case 8: - { - int rawValue = input.readEnum(); + case 8: { + int rawValue = input.readEnum(); - kind_ = rawValue; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + kind_ = rawValue; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - ns_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + ns_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -7183,41 +6501,36 @@ private Subject( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.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.
        * 
@@ -7226,8 +6539,6 @@ public enum AuthType implements com.google.protobuf.ProtocolMessageEnum { */ AUTH_TYPE_UNSPECIFIED(0), /** - * - * *
        * User with valid certificate.
        * 
@@ -7236,8 +6547,6 @@ public enum AuthType implements com.google.protobuf.ProtocolMessageEnum { */ USER(1), /** - * - * *
        * Users managed by Kubernetes API with credentials stored as Secrets.
        * 
@@ -7246,8 +6555,6 @@ public enum AuthType implements com.google.protobuf.ProtocolMessageEnum { */ SERVICEACCOUNT(2), /** - * - * *
        * Collection of users.
        * 
@@ -7259,8 +6566,6 @@ public enum AuthType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
        * Authentication is not specified.
        * 
@@ -7269,8 +6574,6 @@ public enum AuthType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int AUTH_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
        * User with valid certificate.
        * 
@@ -7279,8 +6582,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.
        * 
@@ -7289,8 +6590,6 @@ public enum AuthType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SERVICEACCOUNT_VALUE = 2; /** - * - * *
        * Collection of users.
        * 
@@ -7299,6 +6598,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( @@ -7323,53 +6623,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; @@ -7389,52 +6686,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 @@ -7443,29 +6726,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 { @@ -7476,14 +6759,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 @@ -7492,29 +6772,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 { @@ -7523,7 +6803,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -7535,10 +6814,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_)) { @@ -7556,10 +6834,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_); @@ -7575,17 +6852,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -7609,94 +6887,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 @@ -7706,32 +6977,27 @@ 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() @@ -7739,15 +7005,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -7761,9 +7028,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 @@ -7782,8 +7049,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_; @@ -7795,41 +7061,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; @@ -7837,8 +7100,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()); } @@ -7869,8 +7131,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.securitycenter.v1.Kubernetes.Subject) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.securitycenter.v1.Kubernetes.Subject) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -7882,67 +7143,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. */ @@ -7950,24 +7195,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; @@ -7975,20 +7217,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; @@ -7997,21 +7237,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 { @@ -8019,61 +7258,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; @@ -8081,20 +7313,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; @@ -8103,21 +7333,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 { @@ -8125,66 +7354,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) { @@ -8197,12 +7418,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(); } @@ -8211,16 +7432,16 @@ 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 { - return new Subject(input, extensionRegistry); - } - }; + 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 { + return new Subject(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -8235,41 +7456,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
@@ -8277,13 +7491,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
@@ -8291,141 +7502,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.
@@ -8433,16 +7617,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_ = "";
@@ -8455,15 +7638,16 @@ 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;
     }
-
     private AccessReview(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -8482,62 +7666,55 @@ private AccessReview(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+            case 10: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                group_ = s;
-                break;
-              }
-            case 18:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+              group_ = s;
+              break;
+            }
+            case 18: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                ns_ = s;
-                break;
-              }
-            case 26:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+              ns_ = s;
+              break;
+            }
+            case 26: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                name_ = s;
-                break;
-              }
-            case 34:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+              name_ = s;
+              break;
+            }
+            case 34: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                resource_ = s;
-                break;
-              }
-            case 42:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+              resource_ = s;
+              break;
+            }
+            case 42: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                subresource_ = s;
-                break;
-              }
-            case 50:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+              subresource_ = s;
+              break;
+            }
+            case 50: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                verb_ = s;
-                break;
-              }
-            case 58:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+              verb_ = s;
+              break;
+            }
+            case 58: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                version_ = s;
-                break;
-              }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              version_ = s;
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -8545,39 +7722,34 @@ private AccessReview(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.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 @@ -8586,29 +7758,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 { @@ -8619,8 +7791,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
@@ -8628,7 +7798,6 @@ public com.google.protobuf.ByteString getGroupBytes() {
      * 
* * string ns = 2; - * * @return The ns. */ @java.lang.Override @@ -8637,15 +7806,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
@@ -8653,15 +7821,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 { @@ -8672,14 +7841,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 @@ -8688,29 +7854,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 { @@ -8721,14 +7887,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 @@ -8737,29 +7900,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 { @@ -8770,14 +7933,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 @@ -8786,29 +7946,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 { @@ -8819,15 +7979,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 @@ -8836,30 +7993,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 { @@ -8870,14 +8027,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 @@ -8886,29 +8040,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 { @@ -8917,7 +8071,6 @@ public com.google.protobuf.ByteString getVersionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -8929,7 +8082,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -8989,21 +8143,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -9035,94 +8195,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 @@ -9132,8 +8285,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.
@@ -9141,24 +8292,21 @@ 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()
@@ -9166,15 +8314,16 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -9196,14 +8345,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();
       }
 
@@ -9218,8 +8366,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_;
@@ -9235,41 +8382,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;
@@ -9277,9 +8421,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();
@@ -9327,8 +8469,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.cloud.securitycenter.v1.Kubernetes.AccessReview) e.getUnfinishedMessage();
+          parsedMessage = (com.google.cloud.securitycenter.v1.Kubernetes.AccessReview) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -9340,20 +8481,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; @@ -9362,21 +8501,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 { @@ -9384,61 +8522,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; @@ -9446,8 +8577,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
@@ -9455,13 +8584,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; @@ -9470,8 +8599,6 @@ public java.lang.String getNs() { } } /** - * - * *
        * Namespace of the action being requested. Currently, there is no
        * distinction between no namespace and all namespaces.  Both
@@ -9479,14 +8606,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 { @@ -9494,8 +8622,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
@@ -9503,22 +8629,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
@@ -9526,18 +8650,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
@@ -9545,16 +8666,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; @@ -9562,20 +8683,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; @@ -9584,21 +8703,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 { @@ -9606,61 +8724,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; @@ -9668,20 +8779,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; @@ -9690,21 +8799,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 { @@ -9712,61 +8820,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; @@ -9774,20 +8875,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; @@ -9796,21 +8895,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 { @@ -9818,61 +8916,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; @@ -9880,21 +8971,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; @@ -9903,22 +8992,21 @@ 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 { @@ -9926,64 +9014,57 @@ public com.google.protobuf.ByteString getVerbBytes() { } } /** - * - * *
        * 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; @@ -9991,20 +9072,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; @@ -10013,21 +9092,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 { @@ -10035,66 +9113,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) { @@ -10107,13 +9177,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(); } @@ -10122,16 +9191,16 @@ 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 { - return new AccessReview(input, extensionRegistry); - } - }; + 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 { + return new AccessReview(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -10146,13 +9215,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.
@@ -10165,8 +9233,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.
@@ -10175,13 +9241,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.
@@ -10194,8 +9258,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.
@@ -10208,8 +9270,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.
@@ -10218,15 +9278,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.
    * 
@@ -10238,8 +9297,6 @@ public java.util.List getNod return nodes_; } /** - * - * *
    * Provides Kubernetes Node information.
    * 
@@ -10247,13 +9304,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.
    * 
@@ -10265,8 +9320,6 @@ public int getNodesCount() { return nodes_.size(); } /** - * - * *
    * Provides Kubernetes Node information.
    * 
@@ -10278,8 +9331,6 @@ public com.google.cloud.securitycenter.v1.Kubernetes.Node getNodes(int index) { return nodes_.get(index); } /** - * - * *
    * Provides Kubernetes Node information.
    * 
@@ -10287,15 +9338,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.
@@ -10308,8 +9358,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.
@@ -10318,13 +9366,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.
@@ -10337,8 +9383,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.
@@ -10351,8 +9395,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.
@@ -10369,8 +9411,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.
@@ -10383,8 +9423,6 @@ public java.util.List getRol
     return roles_;
   }
   /**
-   *
-   *
    * 
    * Provides Kubernetes role information for findings that involve
    * Roles or ClusterRoles.
@@ -10393,13 +9431,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.
@@ -10412,8 +9448,6 @@ public int getRolesCount() {
     return roles_.size();
   }
   /**
-   *
-   *
    * 
    * Provides Kubernetes role information for findings that involve
    * Roles or ClusterRoles.
@@ -10426,8 +9460,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.
@@ -10436,15 +9468,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.
@@ -10457,8 +9488,6 @@ public java.util.List get
     return bindings_;
   }
   /**
-   *
-   *
    * 
    * Provides Kubernetes role binding information for findings that involve
    * RoleBindings or ClusterRoleBindings.
@@ -10467,13 +9496,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.
@@ -10486,8 +9513,6 @@ public int getBindingsCount() {
     return bindings_.size();
   }
   /**
-   *
-   *
    * 
    * Provides Kubernetes role binding information for findings that involve
    * RoleBindings or ClusterRoleBindings.
@@ -10500,8 +9525,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.
@@ -10518,87 +9541,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; @@ -10610,7 +9615,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -10639,22 +9645,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -10664,20 +9676,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -10718,127 +9735,118 @@ 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() @@ -10846,13 +9854,14 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getPodsFieldBuilder(); getNodesFieldBuilder(); getNodePoolsFieldBuilder(); @@ -10861,7 +9870,6 @@ private void maybeForceBuilderInitialization() { getAccessReviewsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -10905,9 +9913,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 @@ -10926,8 +9934,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)) { @@ -10991,39 +9998,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; @@ -11050,10 +10056,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_); } @@ -11077,10 +10082,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_); } @@ -11104,10 +10108,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_); } @@ -11131,10 +10134,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_); } @@ -11158,10 +10160,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_); } @@ -11185,10 +10186,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_); } @@ -11222,28 +10222,21 @@ public Builder mergeFrom( } 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.
@@ -11259,8 +10252,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.
@@ -11276,8 +10267,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.
@@ -11293,8 +10282,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.
@@ -11302,7 +10289,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();
@@ -11316,8 +10304,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.
@@ -11337,8 +10323,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.
@@ -11360,8 +10344,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.
@@ -11369,7 +10351,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();
@@ -11383,8 +10366,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.
@@ -11404,8 +10385,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.
@@ -11425,8 +10404,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.
@@ -11438,7 +10415,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);
@@ -11446,8 +10424,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.
@@ -11466,8 +10442,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.
@@ -11486,8 +10460,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.
@@ -11495,12 +10467,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.
@@ -11508,16 +10479,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.
@@ -11525,8 +10494,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 {
@@ -11534,8 +10503,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.
@@ -11544,12 +10511,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.
@@ -11557,14 +10522,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.
@@ -11572,48 +10535,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.
      * 
@@ -11628,8 +10581,6 @@ public java.util.List getNod } } /** - * - * *
      * Provides Kubernetes Node information.
      * 
@@ -11644,8 +10595,6 @@ public int getNodesCount() { } } /** - * - * *
      * Provides Kubernetes Node information.
      * 
@@ -11660,15 +10609,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(); @@ -11682,8 +10630,6 @@ public Builder setNodes(int index, com.google.cloud.securitycenter.v1.Kubernetes return this; } /** - * - * *
      * Provides Kubernetes Node information.
      * 
@@ -11702,8 +10648,6 @@ public Builder setNodes( return this; } /** - * - * *
      * Provides Kubernetes Node information.
      * 
@@ -11724,15 +10668,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(); @@ -11746,8 +10689,6 @@ public Builder addNodes(int index, com.google.cloud.securitycenter.v1.Kubernetes return this; } /** - * - * *
      * Provides Kubernetes Node information.
      * 
@@ -11766,8 +10707,6 @@ public Builder addNodes( return this; } /** - * - * *
      * Provides Kubernetes Node information.
      * 
@@ -11786,8 +10725,6 @@ public Builder addNodes( return this; } /** - * - * *
      * Provides Kubernetes Node information.
      * 
@@ -11798,7 +10735,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); @@ -11806,8 +10744,6 @@ public Builder addAllNodes( return this; } /** - * - * *
      * Provides Kubernetes Node information.
      * 
@@ -11825,8 +10761,6 @@ public Builder clearNodes() { return this; } /** - * - * *
      * Provides Kubernetes Node information.
      * 
@@ -11844,20 +10778,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.
      * 
@@ -11867,22 +10798,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 { @@ -11890,8 +10818,6 @@ public com.google.cloud.securitycenter.v1.Kubernetes.NodeOrBuilder getNodesOrBui } } /** - * - * *
      * Provides Kubernetes Node information.
      * 
@@ -11899,75 +10825,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.
@@ -11975,8 +10886,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 {
@@ -11984,8 +10894,6 @@ private void ensureNodePoolsIsMutable() {
       }
     }
     /**
-     *
-     *
      * 
      * GKE Node Pools associated with the finding. This field will
      * contain NodePool information for each Node, when it is available.
@@ -12001,8 +10909,6 @@ public int getNodePoolsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * GKE Node Pools associated with the finding. This field will
      * contain NodePool information for each Node, when it is available.
@@ -12018,8 +10924,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.
@@ -12042,8 +10946,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.
@@ -12063,8 +10965,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.
@@ -12086,8 +10986,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.
@@ -12110,8 +11008,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.
@@ -12131,8 +11027,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.
@@ -12152,8 +11046,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.
@@ -12162,11 +11054,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);
@@ -12174,8 +11066,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.
@@ -12194,8 +11084,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.
@@ -12214,8 +11102,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.
@@ -12228,8 +11114,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.
@@ -12240,14 +11124,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.
@@ -12255,8 +11136,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 {
@@ -12264,8 +11145,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.
@@ -12274,12 +11153,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.
@@ -12289,13 +11166,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.
@@ -12303,48 +11177,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.
@@ -12360,8 +11224,6 @@ public java.util.List getRol
       }
     }
     /**
-     *
-     *
      * 
      * Provides Kubernetes role information for findings that involve
      * Roles or ClusterRoles.
@@ -12377,8 +11239,6 @@ public int getRolesCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Provides Kubernetes role information for findings that involve
      * Roles or ClusterRoles.
@@ -12394,8 +11254,6 @@ public com.google.cloud.securitycenter.v1.Kubernetes.Role getRoles(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * Provides Kubernetes role information for findings that involve
      * Roles or ClusterRoles.
@@ -12403,7 +11261,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();
@@ -12417,8 +11276,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.
@@ -12438,8 +11295,6 @@ public Builder setRoles(
       return this;
     }
     /**
-     *
-     *
      * 
      * Provides Kubernetes role information for findings that involve
      * Roles or ClusterRoles.
@@ -12461,8 +11316,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.
@@ -12470,7 +11323,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();
@@ -12484,8 +11338,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.
@@ -12505,8 +11357,6 @@ public Builder addRoles(
       return this;
     }
     /**
-     *
-     *
      * 
      * Provides Kubernetes role information for findings that involve
      * Roles or ClusterRoles.
@@ -12526,8 +11376,6 @@ public Builder addRoles(
       return this;
     }
     /**
-     *
-     *
      * 
      * Provides Kubernetes role information for findings that involve
      * Roles or ClusterRoles.
@@ -12539,7 +11387,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);
@@ -12547,8 +11396,6 @@ public Builder addAllRoles(
       return this;
     }
     /**
-     *
-     *
      * 
      * Provides Kubernetes role information for findings that involve
      * Roles or ClusterRoles.
@@ -12567,8 +11414,6 @@ public Builder clearRoles() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Provides Kubernetes role information for findings that involve
      * Roles or ClusterRoles.
@@ -12587,8 +11432,6 @@ public Builder removeRoles(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Provides Kubernetes role information for findings that involve
      * Roles or ClusterRoles.
@@ -12596,12 +11439,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.
@@ -12612,14 +11454,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.
@@ -12627,8 +11466,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 {
@@ -12636,8 +11475,6 @@ public com.google.cloud.securitycenter.v1.Kubernetes.RoleOrBuilder getRolesOrBui
       }
     }
     /**
-     *
-     *
      * 
      * Provides Kubernetes role information for findings that involve
      * Roles or ClusterRoles.
@@ -12646,12 +11483,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.
@@ -12659,14 +11494,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.
@@ -12674,49 +11507,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.
@@ -12732,8 +11554,6 @@ public java.util.List get
       }
     }
     /**
-     *
-     *
      * 
      * Provides Kubernetes role binding information for findings that involve
      * RoleBindings or ClusterRoleBindings.
@@ -12749,8 +11569,6 @@ public int getBindingsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Provides Kubernetes role binding information for findings that involve
      * RoleBindings or ClusterRoleBindings.
@@ -12766,8 +11584,6 @@ public com.google.cloud.securitycenter.v1.Kubernetes.Binding getBindings(int ind
       }
     }
     /**
-     *
-     *
      * 
      * Provides Kubernetes role binding information for findings that involve
      * RoleBindings or ClusterRoleBindings.
@@ -12790,8 +11606,6 @@ public Builder setBindings(
       return this;
     }
     /**
-     *
-     *
      * 
      * Provides Kubernetes role binding information for findings that involve
      * RoleBindings or ClusterRoleBindings.
@@ -12811,8 +11625,6 @@ public Builder setBindings(
       return this;
     }
     /**
-     *
-     *
      * 
      * Provides Kubernetes role binding information for findings that involve
      * RoleBindings or ClusterRoleBindings.
@@ -12834,8 +11646,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.
@@ -12858,8 +11668,6 @@ public Builder addBindings(
       return this;
     }
     /**
-     *
-     *
      * 
      * Provides Kubernetes role binding information for findings that involve
      * RoleBindings or ClusterRoleBindings.
@@ -12879,8 +11687,6 @@ public Builder addBindings(
       return this;
     }
     /**
-     *
-     *
      * 
      * Provides Kubernetes role binding information for findings that involve
      * RoleBindings or ClusterRoleBindings.
@@ -12900,8 +11706,6 @@ public Builder addBindings(
       return this;
     }
     /**
-     *
-     *
      * 
      * Provides Kubernetes role binding information for findings that involve
      * RoleBindings or ClusterRoleBindings.
@@ -12910,11 +11714,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);
@@ -12922,8 +11726,6 @@ public Builder addAllBindings(
       return this;
     }
     /**
-     *
-     *
      * 
      * Provides Kubernetes role binding information for findings that involve
      * RoleBindings or ClusterRoleBindings.
@@ -12942,8 +11744,6 @@ public Builder clearBindings() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Provides Kubernetes role binding information for findings that involve
      * RoleBindings or ClusterRoleBindings.
@@ -12962,8 +11762,6 @@ public Builder removeBindings(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Provides Kubernetes role binding information for findings that involve
      * RoleBindings or ClusterRoleBindings.
@@ -12976,8 +11774,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.
@@ -12988,14 +11784,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.
@@ -13003,8 +11796,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 {
@@ -13012,8 +11805,6 @@ public com.google.cloud.securitycenter.v1.Kubernetes.BindingOrBuilder getBinding
       }
     }
     /**
-     *
-     *
      * 
      * Provides Kubernetes role binding information for findings that involve
      * RoleBindings or ClusterRoleBindings.
@@ -13022,12 +11813,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.
@@ -13037,13 +11826,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.
@@ -13051,59 +11837,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 { @@ -13111,15 +11884,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) { @@ -13129,15 +11899,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) { @@ -13147,15 +11914,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) { @@ -13172,19 +11936,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()); @@ -13195,18 +11955,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(); @@ -13220,15 +11976,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) { @@ -13245,15 +11998,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) { @@ -13267,19 +12017,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()); @@ -13290,22 +12036,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); @@ -13313,15 +12056,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) { @@ -13334,15 +12074,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) { @@ -13355,53 +12092,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 { @@ -13409,67 +12135,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(), @@ -13478,9 +12185,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); } @@ -13490,12 +12197,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(); } @@ -13504,16 +12211,16 @@ 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 { - return new Kubernetes(input, extensionRegistry); - } - }; + 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 { + return new Kubernetes(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -13528,4 +12235,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.securitycenter.v1.Kubernetes getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/KubernetesOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/KubernetesOrBuilder.java similarity index 85% rename from proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/KubernetesOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/KubernetesOrBuilder.java index 5ddcb5f60..2462ec95f 100644 --- a/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/KubernetesOrBuilder.java +++ b/owl-bot-staging/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/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/KubernetesProto.java b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/KubernetesProto.java new file mode 100644 index 000000000..2063b484c --- /dev/null +++ b/owl-bot-staging/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/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Label.java b/owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Label.java similarity index 69% rename from proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Label.java rename to owl-bot-staging/v1/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Label.java index e761f30b3..e697e7f46 100644 --- a/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Label.java +++ b/owl-bot-staging/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,15 +27,16 @@ 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;
   }
-
   private Label(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -72,27 +55,25 @@ private Label(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            name_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              value_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            value_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -100,39 +81,34 @@ private Label(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.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 @@ -141,29 +117,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 { @@ -174,14 +150,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 @@ -190,29 +163,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 { @@ -221,7 +194,6 @@ public com.google.protobuf.ByteString getValueBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -233,7 +205,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -263,15 +236,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -292,104 +267,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().
@@ -397,23 +365,21 @@ 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()
@@ -421,15 +387,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -441,9 +408,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
@@ -462,8 +429,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();
@@ -474,39 +440,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;
@@ -554,20 +519,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; @@ -576,21 +539,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 { @@ -598,61 +560,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; @@ -660,20 +615,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; @@ -682,21 +635,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 { @@ -704,68 +656,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); } @@ -775,12 +720,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(); } @@ -789,16 +734,16 @@ public static com.google.cloud.securitycenter.v1.Label getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser